Skip to content

davidraleigh/geometry-client-cpp

Repository files navigation

From inside repo directory

protoc --cpp_out ./geometry/src -I ./proto \
    ./proto/epl/grpc/geometry_operators.proto \
    ./proto/epl/protobuf/geometry.proto
protoc --grpc_out=./geometry/src -I ./proto  --plugin=protoc-gen-grpc=/usr/local/bin/grpc_cpp_plugin ./proto/epl/grpc/geometry_operators.proto

Testing

Start Service:

docker run -p 8980:8980 -it --network=geometry-network --name=temp-c us.gcr.io/echoparklabs/geometry-service-java

Get ip address:

sudo docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' temp-c

Use ip address to run tests:

sudo docker run -it --network=geometry-network -e GEOMETRY_SERVICE_HOST=172.18.0.2:8980 temp-i /bin/bash -c "cd geometry-test; ./unitTest"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published