You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SSE enabled get and set of runtime parameters using CIMI #40
Search for fully qualified name in collection which should return 1 or 0 answer: curl -i -X GET -b cookie.txt 'https://localhost/api/run-parameter?$filter=run-id=%27b5d53585-edb4-4278-b267-006f65cdaeca%27%20and%20node-name=%27node%27%20and%20node-index=%271%27%20and%20name=%27hostname%27'
Activity
0xbase12 commentedon Jul 24, 2017
GET run parameter resource
Json:
curl -i -b cookie.txt https://localhost/api/run-parameter/df0aff5a-d5da-4ab7-aa93-11a179f362e5 -k -H "Accept: application/json"HTTP/1.1 200 OK
Server: nginx/1.12.0
Date: Mon, 24 Jul 2017 12:18:13 GMT
Content-Type: application/json
Content-Length: 753
Connection: keep-alive
SSE:
curl -i -X GET -b cookie.txt https://localhost/api/run-parameter/df0aff5a-d5da-4ab7-aa93-11a179f362e5 -k -H "Accept: text/event-stream"PUT run parameter resource
param.json is a file with following content:
curl -i -X PUT -b cookie.txt https://localhost/api/run-parameter/df0aff5a-d5da-4ab7-aa93-11a179f362e5 -k -H "Content-Type:application/json" -d @param.jsonGET resource collection
Json
curl -i -X GET -b cookie.txt 'https://localhost/api/run-parameter?$filter=run-id=%27b5d53585-edb4-4278-b267-006f65cdaeca%27' -k -H "Accept: application/json"SSE
curl -i -X GET -b cookie.txt 'https://localhost/api/run-parameter?$filter=run-id=%27b5d53585-edb4-4278-b267-006f65cdaeca%27' -k -H "Accept: text/event-stream"0xbase12 commentedon Jul 24, 2017
Search for fully qualified name in collection which should return 1 or 0 answer:
curl -i -X GET -b cookie.txt 'https://localhost/api/run-parameter?$filter=run-id=%27b5d53585-edb4-4278-b267-006f65cdaeca%27%20and%20node-name=%27node%27%20and%20node-index=%271%27%20and%20name=%27hostname%27'konstan commentedon Jul 24, 2017
To get the actual unique map with the requested RTP
$filter=... and $last="1"