Skip to content

Commit ef60adc

Browse files
authored
Adding Orchestration Configuration Update APIs to Analytics Runtime Postman collection
1 parent 7c4a341 commit ef60adc

1 file changed

Lines changed: 82 additions & 13 deletions

File tree

postman/Analytics_Runtime.json.postman_collection

Lines changed: 82 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,12 @@
6262
"description": "",
6363
"order": [
6464
"5a5bcb1c-735d-cbe1-4ca0-77507454de68",
65+
"619982f0-2596-3d4a-ad59-5f90b07cd4f4",
6566
"a33efc2c-1af5-6cfd-e597-6537dca5f6f8",
6667
"5d522811-c5dd-3f91-f673-a5f3f12c3f33"
6768
],
6869
"owner": 0,
69-
"collectionId": "ae11bfa5-7c12-37a2-3672-45eb1ed88c73"
70+
"collectionId": "51981624-7fae-c993-716a-2e2e875f4ff3"
7071
},
7172
{
7273
"id": "174d690f-b2ac-f464-d699-9a84f458c811",
@@ -75,6 +76,7 @@
7576
"order": [
7677
"20e61d6b-8482-4dbb-122c-a19409cd12c9",
7778
"efe694c8-0493-2f06-3b7a-8b466d17b33b",
79+
"3ae9902e-87c4-c86b-9e61-17cb73b452f8",
7880
"adcdbeeb-e053-71d4-2611-356a9ad1a7b0",
7981
"f7cc2705-caff-37f9-1e60-7ac77d5137af",
8082
"b62da512-c3b5-74e5-74a6-7c348c206032",
@@ -126,12 +128,11 @@
126128
"timestamp": 1429047848333,
127129
"owner": 0,
128130
"public": false,
129-
"published": false,
130131
"requests": [
131132
{
132133
"id": "19052015-a8c8-6641-367d-e478d04db440",
133-
"headers": "Accept: application/octet-stream\nAuthorization: Bearer {{token}}\nPredix-Zone-Id: {{runtime_tenant}}\n",
134-
"url": "{{config_uri}}/api/v2/config/orchestrations/models/9c60ef3f-f8f4-4fc1-b9c4-e98183946bfe/file",
134+
"headers": "Accept: application/json\nAuthorization: Bearer {{token}}\nPredix-Zone-Id: {{runtime_tenant}}\n",
135+
"url": "{{config_uri}}/api/v2/config/orchestrations/models",
135136
"preRequestScript": "",
136137
"pathVariables": {},
137138
"method": "GET",
@@ -140,18 +141,17 @@
140141
"version": 2,
141142
"tests": "",
142143
"currentHelper": "normal",
143-
"helperAttributes": "{}",
144-
"time": 1470689930578,
144+
"helperAttributes": {},
145+
"time": 1473458203430,
145146
"name": "Retrieve Models",
146147
"description": "",
147148
"collectionId": "51981624-7fae-c993-716a-2e2e875f4ff3",
148-
"responses": [],
149-
"folder": "6839dc72-2a61-1765-74ae-eba3cda141a9"
149+
"responses": []
150150
},
151151
{
152152
"id": "20e61d6b-8482-4dbb-122c-a19409cd12c9",
153153
"headers": "//Accept: application/octet-stream\nAuthorization: Bearer {{token}}\nPredix-Zone-Id: {{runtime_tenant}}\n",
154-
"url": "{{config_uri}}/api/v2/config/orchestrations/2bc96dca-8dbc-4adb-9fa9-4b74cffe61eb/file?type=bpmn",
154+
"url": "{{config_uri}}/api/v2/config/orchestrations",
155155
"preRequestScript": "",
156156
"pathVariables": {},
157157
"method": "GET",
@@ -161,12 +161,11 @@
161161
"tests": "",
162162
"currentHelper": "normal",
163163
"helperAttributes": {},
164-
"time": 1455929066183,
164+
"time": 1472773880890,
165165
"name": "Retrieve All Orchestration Configurations",
166166
"description": "",
167167
"collectionId": "51981624-7fae-c993-716a-2e2e875f4ff3",
168-
"responses": [],
169-
"folder": "174d690f-b2ac-f464-d699-9a84f458c811"
168+
"responses": []
170169
},
171170
{
172171
"id": "298a7b02-c2e3-290b-a404-041cdb6e254b",
@@ -262,6 +261,26 @@
262261
"responses": [],
263262
"rawModeData": "{\n \"orchestrationConfigurationId\": \"string\",\n \"assetId\": \"string\",\n \"assetDataFieldsMap\": {\n \"<fieldId>\": \"<tagName>\"\n },\n \"assetGroup\": {\n \"dataSourceId\": \"string\",\n \"assetSelectionFilter\": \"string\"\n },\n \"modelGroupKey\": \"string\"\n}"
264263
},
264+
{
265+
"id": "3ae9902e-87c4-c86b-9e61-17cb73b452f8",
266+
"headers": "Accept: application/json\nContent-Type: application/json\nAuthorization: Bearer {{token}}\nPredix-Zone-Id: {{runtime_tenant}}\n",
267+
"url": "{{config_uri}}/api/v2/config/orchestrations/9c60ef3f-f8f4-4fc1-b9c4-e98183946bfe",
268+
"preRequestScript": "",
269+
"pathVariables": {},
270+
"method": "PUT",
271+
"data": [],
272+
"dataMode": "raw",
273+
"version": 2,
274+
"tests": "",
275+
"currentHelper": "normal",
276+
"helperAttributes": {},
277+
"time": 1489622294592,
278+
"name": "Update Orchestration Configuration",
279+
"description": "",
280+
"collectionId": "51981624-7fae-c993-716a-2e2e875f4ff3",
281+
"responses": [],
282+
"rawModeData": "{\n\t\"id\": \"9c60ef3f-f8f4-4fc1-b9c4-e98183946bfe\",\n \"name\": \"my orchestration\",\n \"author\": \"test\",\n \"description\": \"test\"\n}"
283+
},
265284
{
266285
"id": "3e352731-87ea-0f07-2ec3-311193581548",
267286
"headers": "Authorization: Bearer {{token}}\nPredix-Zone-Id: {{runtime_tenant}}\n",
@@ -437,6 +456,56 @@
437456
"responses": [],
438457
"folder": "97a06b14-12bd-4acb-af56-e9c1493bd56b"
439458
},
459+
{
460+
"id": "619982f0-2596-3d4a-ad59-5f90b07cd4f4",
461+
"headers": "Accept: application/json\nContent-Type: multipart/form-data\nAuthorization: Bearer {{token}}\nPredix-Zone-Id: {{runtime_tenant}}\n",
462+
"url": "{{config_uri}}/api/v2/config/orchestrations/artifacts/9c60ef3f-f8f4-4fc1-b9c4-e98183946bfe",
463+
"preRequestScript": "",
464+
"pathVariables": {},
465+
"method": "PUT",
466+
"data": [
467+
{
468+
"key": "file",
469+
"value": "",
470+
"type": "file",
471+
"enabled": true
472+
},
473+
{
474+
"key": "orchestrationEntryId",
475+
"value": "2bc96dca-8dbc-4adb-9fa9-4b74cffe61eb",
476+
"type": "text",
477+
"enabled": true
478+
},
479+
{
480+
"key": "type",
481+
"value": "bpmn",
482+
"type": "text",
483+
"enabled": true
484+
},
485+
{
486+
"key": "name",
487+
"value": "my orchestration bpmn",
488+
"type": "text",
489+
"enabled": true
490+
},
491+
{
492+
"key": "description",
493+
"value": "my orchestration bpmn file",
494+
"type": "text",
495+
"enabled": true
496+
}
497+
],
498+
"dataMode": "params",
499+
"version": 2,
500+
"tests": "",
501+
"currentHelper": "normal",
502+
"helperAttributes": {},
503+
"time": 1489622100446,
504+
"name": "Update Orchestration Artifact",
505+
"description": "",
506+
"collectionId": "51981624-7fae-c993-716a-2e2e875f4ff3",
507+
"responses": []
508+
},
440509
{
441510
"id": "66a58f66-5870-02f5-dece-b46b3e851185",
442511
"headers": "Accept: application/json\nContent-Type: multipart/form-data\nAuthorization: Bearer {{token}}\nPredix-Zone-Id: {{runtime_tenant}}\n",
@@ -1029,4 +1098,4 @@
10291098
"folder": "174d690f-b2ac-f464-d699-9a84f458c811"
10301099
}
10311100
]
1032-
}
1101+
}

0 commit comments

Comments
 (0)