commit | 72cfd3690bf36a40f05b880a0b7b38654ef6ee52 | [log] [tgz] |
---|---|---|
author | onkarkundargi <onkar.kundargi@gmail.com> | Thu Feb 27 12:34:37 2020 +0530 |
committer | Scott Baker <smbaker@gmail.com> | Thu Mar 19 14:19:38 2020 -0700 |
tree | 563db07b5d5d2568dc5c98eb2cf2bb65a11366f1 | |
parent | 6971336a29edac1ebf1b0b25b2a853220cbefcc4 [diff] |
SEBA-749 Initial Checkin of nem-ondemand-proxy; Add Makefile Add Kubernetes yaml and scripts Change-Id: Ic76d2a68bb11a95d5d57a04f1fab373ec36c0958
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:
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/
grpcurl -plaintext -d '{"id": "2910b26bbb29521d93fab21b"}' localhost:50052 on_demand_api.NemService/OmciTest