Getting Started
Install docker compose https://docs.docker.com/compose/install/
get git repository 1)# git clone [email protected]:Wancy/DockerCompose_knox_titanREST.git 2)# git pull
cd to the git repository
run docker compose 1)# docker-compose up -d
check if three containers are running 1)# docker ps
Try curl command
1)# curl -Hcontent-type:application/json -u guest:guest-password -k https://localhost:8443/gateway/default/gremlin -d '{"gremlin": "100-1"}'
2)# curl -Hcontent-type:application/json -u guest:guest-password -k https://localhost:8443/gateway/default/gremlin/graphs -d '{"gremlin": "100-1"}'
3)# curl -Hcontent-type:application/json -u guest:guest-password -k https://localhost:8443/gateway/default/gremlin?gremlin=100-1
4)# curl -Hcontent-type:application/json -u guest:guest-password -k https://localhost:8443/gateway/default/gremlin/graphs?gremlin=100-1
The command should all return corrent result something like:
{"requestId":"732a1e6f-b1b8-4867-9f33-044903cc604b","status":{"message":"","code":200,"attributes":{}},"result":{"data":[99],"meta":{}}}
Content type
Image
Digest
Size
108.8 MB
Last updated
over 9 years ago
docker pull wancy/knox_titanrest_testing