SEBA-749 Initial Checkin of nem-ondemand-proxy;
Add Makefile
Add Kubernetes yaml and scripts

Change-Id: Ic76d2a68bb11a95d5d57a04f1fab373ec36c0958
945 files changed
tree: 563db07b5d5d2568dc5c98eb2cf2bb65a11366f1
  1. .gitreview
  2. Makefile
  3. README.md
  4. VERSION
  5. compose/
  6. docker/
  7. go.mod
  8. go.sum
  9. grpc_client.go
  10. kubernetes/
  11. nem_grpc_server.go
  12. protos/
  13. vendor/
README.md

To build the image for nem-onmand-service use following command.

docker build -t nem-ondemand-proxy .

To launch the docker cotainer for nem-ondemand-proxy use following command

docker-compose -f compose/nem-proxy-go.yml up -d

To submit a request:

Enter the nem-ondemand-api container

install curl and download grpcurl

apk add curl && curl -L https://github.com/fullstorydev/grpcurl/releases/download/v1.4.0/grpcurl_1.4.0_linux_x86_64.tar.gz | tar -xz && mv grpcurl /usr/bin/

execute a request on the first bbsim onu

grpcurl -plaintext -d '{"id": "2910b26bbb29521d93fab21b"}' localhost:50052 on_demand_api.NemService/OmciTest