diff --git a/Instructions.md b/Instructions.md index 305cc52..ab1d203 100644 --- a/Instructions.md +++ b/Instructions.md @@ -41,7 +41,6 @@ start the docker container test urls (replace {{TOKEN}} with your token): - http://localhost:8081/helloworld/guest http://localhost:8080/helloworld/details?gcube-token={{TOKEN}} @@ -51,6 +50,11 @@ http://localhost:8080/helloworld/auth?gcube-token={{TOKEN}} (checks for myRole r http://localhost:8080/helloworld/auth/orm_member?gcube-token={{TOKEN}} (checks for OrganizationMember role) +GUBE state: +http://localhost:8081/helloworld/gcube/resource/metrics +http://localhost:8081/helloworld/gcube/resource/health + + ### Authentication: #### GCUBE-TOKEN param diff --git a/docker/container.ini b/docker/container.ini index fbf1e3c..9c15874 100644 --- a/docker/container.ini +++ b/docker/container.ini @@ -1,5 +1,5 @@ [node] -mode = online +mode = offline hostname = mb-lelii.isti.cnr.it protocol= http port = 8080 diff --git a/docs/postman/Smartgears4 helloword.postman_collection.json b/docs/postman/Smartgears4 helloword.postman_collection.json index e892710..1c30063 100644 --- a/docs/postman/Smartgears4 helloword.postman_collection.json +++ b/docs/postman/Smartgears4 helloword.postman_collection.json @@ -14,7 +14,13 @@ "type": "noauth" }, "method": "GET", - "header": [], + "header": [ + { + "key": "", + "value": "{{token}}", + "type": "text" + } + ], "url": { "raw": "{{base_url}}/{{application}}/hello?gcube-token={{gcube_token}}", "host": [ @@ -138,41 +144,6 @@ }, "response": [] }, - { - "name": "auth TOKEN PARAM", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{uma_token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/{{application}}/auth/?gcube-token={{gcube_token}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "{{application}}", - "auth", - "" - ], - "query": [ - { - "key": "gcube-token", - "value": "{{gcube_token}}" - } - ] - } - }, - "response": [] - }, { "name": "auth org member BEARER", "request": { @@ -189,9 +160,9 @@ "method": "GET", "header": [], "url": { - "raw": "Z{{base_url}}/{{application}}/auth/org_member", + "raw": "{{base_url}}/{{application}}/auth/org_member", "host": [ - "Z{{base_url}}" + "{{base_url}}" ], "path": [ "{{application}}",