@itentialopensource/adapter-onap_blueprint_processor 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/.eslintignore +5 -0
  2. package/.eslintrc.js +18 -0
  3. package/.jshintrc +3 -0
  4. package/AUTH.md +37 -0
  5. package/BROKER.md +211 -0
  6. package/CALLS.md +476 -0
  7. package/CHANGELOG.md +9 -0
  8. package/CODE_OF_CONDUCT.md +43 -0
  9. package/CONTRIBUTING.md +13 -0
  10. package/ENHANCE.md +69 -0
  11. package/LICENSE +201 -0
  12. package/PROPERTIES.md +646 -0
  13. package/README.md +343 -0
  14. package/SUMMARY.md +9 -0
  15. package/SYSTEMINFO.md +19 -0
  16. package/TAB1.md +11 -0
  17. package/TAB2.md +319 -0
  18. package/TROUBLESHOOT.md +47 -0
  19. package/adapter.js +4563 -0
  20. package/adapterBase.js +1452 -0
  21. package/changelogs/CHANGELOG.md +0 -0
  22. package/entities/.generic/action.json +214 -0
  23. package/entities/.generic/schema.json +28 -0
  24. package/entities/.system/action.json +50 -0
  25. package/entities/.system/mockdatafiles/getToken-default.json +3 -0
  26. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  27. package/entities/.system/schema.json +19 -0
  28. package/entities/.system/schemaTokenReq.json +53 -0
  29. package/entities/.system/schemaTokenResp.json +53 -0
  30. package/entities/BlueprintModelCatalog/action.json +374 -0
  31. package/entities/BlueprintModelCatalog/mockdatafiles/getAllBlueprintModels-default.json +41 -0
  32. package/entities/BlueprintModelCatalog/mockdatafiles/getAllBlueprintModelsByKeyword-default.json +28 -0
  33. package/entities/BlueprintModelCatalog/mockdatafiles/searchBlueprintModelsByTags-default.json +28 -0
  34. package/entities/BlueprintModelCatalog/schema.json +36 -0
  35. package/entities/ExecutionServiceCatalog/action.json +24 -0
  36. package/entities/ExecutionServiceCatalog/schema.json +19 -0
  37. package/entities/ModelTypeCatalog/action.json +87 -0
  38. package/entities/ModelTypeCatalog/mockdatafiles/getModelTypeByDefinitionType-default.json +68 -0
  39. package/entities/ModelTypeCatalog/mockdatafiles/searchModelTypesByTags-default.json +68 -0
  40. package/entities/ModelTypeCatalog/schema.json +22 -0
  41. package/entities/ResourceConfiguration/action.json +107 -0
  42. package/entities/ResourceConfiguration/mockdatafiles/getAllConfigSnapshotsByID-default.json +26 -0
  43. package/entities/ResourceConfiguration/mockdatafiles/getAllConfigSnapshotsByType-default.json +18 -0
  44. package/entities/ResourceConfiguration/schema.json +23 -0
  45. package/entities/ResourceDictionary/action.json +209 -0
  46. package/entities/ResourceDictionary/mockdatafiles/getAllResourceDictionaryGroups-default.json +6 -0
  47. package/entities/ResourceDictionary/mockdatafiles/searchResourceDictionaryByNames-default.json +14609 -0
  48. package/entities/ResourceDictionary/mockdatafiles/searchResourceDictionaryByTags-default.json +5329 -0
  49. package/entities/ResourceDictionary/schema.json +28 -0
  50. package/entities/ResourceTemplate/action.json +65 -0
  51. package/entities/ResourceTemplate/mockdatafiles/getTemplatesWithOccurrences-default.json +26 -0
  52. package/entities/ResourceTemplate/schema.json +21 -0
  53. package/entities/Resources/action.json +87 -0
  54. package/entities/Resources/mockdatafiles/getAllResourcesUsingResolutionKey-default.json +70 -0
  55. package/entities/Resources/mockdatafiles/getResourcesWithOccurrences-default.json +70 -0
  56. package/entities/Resources/schema.json +22 -0
  57. package/error.json +190 -0
  58. package/metadata.json +89 -0
  59. package/package.json +80 -0
  60. package/pronghorn.json +22633 -0
  61. package/propertiesDecorators.json +14 -0
  62. package/propertiesSchema.json +1658 -0
  63. package/refs?service=git-upload-pack +0 -0
  64. package/report/adapter-openapi.json +3789 -0
  65. package/report/adapter-openapi.yaml +2624 -0
  66. package/report/adapterInfo.json +10 -0
  67. package/report/cds-bp-processor-api-swagger.json +3203 -0
  68. package/report/creationReport.json +460 -0
  69. package/report/updateReport1727443189469.json +120 -0
  70. package/sampleProperties.json +268 -0
  71. package/test/integration/adapterTestBasicGet.js +83 -0
  72. package/test/integration/adapterTestConnectivity.js +142 -0
  73. package/test/integration/adapterTestIntegration.js +1693 -0
  74. package/test/unit/adapterBaseTestUnit.js +1024 -0
  75. package/test/unit/adapterTestUnit.js +3287 -0
  76. package/utils/adapterInfo.js +206 -0
  77. package/utils/addAuth.js +94 -0
  78. package/utils/artifactize.js +146 -0
  79. package/utils/basicGet.js +50 -0
  80. package/utils/checkMigrate.js +63 -0
  81. package/utils/entitiesToDB.js +179 -0
  82. package/utils/findPath.js +74 -0
  83. package/utils/methodDocumentor.js +273 -0
  84. package/utils/modify.js +152 -0
  85. package/utils/packModificationScript.js +35 -0
  86. package/utils/patches2bundledDeps.js +90 -0
  87. package/utils/pre-commit.sh +32 -0
  88. package/utils/removeHooks.js +20 -0
  89. package/utils/setup.js +33 -0
  90. package/utils/taskMover.js +309 -0
  91. package/utils/tbScript.js +239 -0
  92. package/utils/tbUtils.js +489 -0
  93. package/utils/testRunner.js +298 -0
  94. package/utils/troubleshootingAdapter.js +193 -0
@@ -0,0 +1,374 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getAllBlueprintModels",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/blueprint-model?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": "mockdatafiles/getAllBlueprintModels-default.json"
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "saveBlueprintModel",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/blueprint-model?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "requestDatatype": "FORM",
34
+ "responseDatatype": "JSON",
35
+ "headers": {},
36
+ "responseObjects": [
37
+ {
38
+ "type": "default",
39
+ "key": "",
40
+ "mockFile": ""
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "name": "bootstrapCDS",
46
+ "protocol": "REST",
47
+ "method": "POST",
48
+ "entitypath": "{base_path}/{version}/blueprint-model/bootstrap?{query}",
49
+ "requestSchema": "schema.json",
50
+ "responseSchema": "schema.json",
51
+ "timeout": 0,
52
+ "sendEmpty": false,
53
+ "requestDatatype": "JSON",
54
+ "responseDatatype": "JSON",
55
+ "headers": {},
56
+ "responseObjects": [
57
+ {
58
+ "type": "default",
59
+ "key": "",
60
+ "mockFile": ""
61
+ }
62
+ ]
63
+ },
64
+ {
65
+ "name": "getBlueprintModelByNameAndVersion",
66
+ "protocol": "REST",
67
+ "method": "GET",
68
+ "entitypath": "{base_path}/{version}/blueprint-model/by-name/{pathv1}/version/{pathv2}?{query}",
69
+ "requestSchema": "schema.json",
70
+ "responseSchema": "schema.json",
71
+ "timeout": 0,
72
+ "sendEmpty": false,
73
+ "sendGetBody": false,
74
+ "requestDatatype": "JSON",
75
+ "responseDatatype": "JSON",
76
+ "headers": {},
77
+ "responseObjects": [
78
+ {
79
+ "type": "default",
80
+ "key": "",
81
+ "mockFile": ""
82
+ }
83
+ ]
84
+ },
85
+ {
86
+ "name": "downloadBlueprintModelByNameAndVersion",
87
+ "protocol": "REST",
88
+ "method": "GET",
89
+ "entitypath": "{base_path}/{version}/blueprint-model/download/by-name/{pathv1}/version/{pathv2}?{query}",
90
+ "requestSchema": "schema.json",
91
+ "responseSchema": "schema.json",
92
+ "timeout": 0,
93
+ "sendEmpty": false,
94
+ "sendGetBody": false,
95
+ "requestDatatype": "JSON",
96
+ "responseDatatype": "JSON",
97
+ "headers": {},
98
+ "responseObjects": [
99
+ {
100
+ "type": "default",
101
+ "key": "",
102
+ "mockFile": ""
103
+ }
104
+ ]
105
+ },
106
+ {
107
+ "name": "downloadBlueprintModelByID",
108
+ "protocol": "REST",
109
+ "method": "GET",
110
+ "entitypath": "{base_path}/{version}/blueprint-model/download/{pathv1}?{query}",
111
+ "requestSchema": "schema.json",
112
+ "responseSchema": "schema.json",
113
+ "timeout": 0,
114
+ "sendEmpty": false,
115
+ "sendGetBody": false,
116
+ "requestDatatype": "JSON",
117
+ "responseDatatype": "JSON",
118
+ "headers": {},
119
+ "responseObjects": [
120
+ {
121
+ "type": "default",
122
+ "key": "",
123
+ "mockFile": ""
124
+ }
125
+ ]
126
+ },
127
+ {
128
+ "name": "enrichBlueprintModel",
129
+ "protocol": "REST",
130
+ "method": "POST",
131
+ "entitypath": "{base_path}/{version}/blueprint-model/enrich?{query}",
132
+ "requestSchema": "schema.json",
133
+ "responseSchema": "schema.json",
134
+ "timeout": 0,
135
+ "sendEmpty": false,
136
+ "requestDatatype": "FORM",
137
+ "responseDatatype": "JSON",
138
+ "headers": {},
139
+ "responseObjects": [
140
+ {
141
+ "type": "default",
142
+ "key": "",
143
+ "mockFile": ""
144
+ }
145
+ ]
146
+ },
147
+ {
148
+ "name": "enrichAndPublishBlueprintModel",
149
+ "protocol": "REST",
150
+ "method": "POST",
151
+ "entitypath": "{base_path}/{version}/blueprint-model/enrichandpublish?{query}",
152
+ "requestSchema": "schema.json",
153
+ "responseSchema": "schema.json",
154
+ "timeout": 0,
155
+ "sendEmpty": false,
156
+ "requestDatatype": "FORM",
157
+ "responseDatatype": "JSON",
158
+ "headers": {},
159
+ "responseObjects": [
160
+ {
161
+ "type": "default",
162
+ "key": "",
163
+ "mockFile": ""
164
+ }
165
+ ]
166
+ },
167
+ {
168
+ "name": "getAllBlueprintModelsByKeyword",
169
+ "protocol": "REST",
170
+ "method": "GET",
171
+ "entitypath": "{base_path}/{version}/blueprint-model/meta-data/{pathv1}?{query}",
172
+ "requestSchema": "schema.json",
173
+ "responseSchema": "schema.json",
174
+ "timeout": 0,
175
+ "sendEmpty": false,
176
+ "sendGetBody": false,
177
+ "requestDatatype": "JSON",
178
+ "responseDatatype": "JSON",
179
+ "headers": {},
180
+ "responseObjects": [
181
+ {
182
+ "type": "default",
183
+ "key": "",
184
+ "mockFile": "mockdatafiles/getAllBlueprintModelsByKeyword-default.json"
185
+ }
186
+ ]
187
+ },
188
+ {
189
+ "name": "deleteBlueprintModelByNameAndVersion",
190
+ "protocol": "REST",
191
+ "method": "DELETE",
192
+ "entitypath": "{base_path}/{version}/blueprint-model/name/{pathv1}/version/{pathv2}?{query}",
193
+ "requestSchema": "schema.json",
194
+ "responseSchema": "schema.json",
195
+ "timeout": 0,
196
+ "sendEmpty": false,
197
+ "requestDatatype": "JSON",
198
+ "responseDatatype": "JSON",
199
+ "headers": {},
200
+ "responseObjects": [
201
+ {
202
+ "type": "default",
203
+ "key": "",
204
+ "mockFile": ""
205
+ }
206
+ ]
207
+ },
208
+ {
209
+ "name": "getAllBlueprintModelPaged",
210
+ "protocol": "REST",
211
+ "method": "GET",
212
+ "entitypath": "{base_path}/{version}/blueprint-model/paged?{query}",
213
+ "requestSchema": "schema.json",
214
+ "responseSchema": "schema.json",
215
+ "timeout": 0,
216
+ "sendEmpty": false,
217
+ "sendGetBody": false,
218
+ "requestDatatype": "JSON",
219
+ "responseDatatype": "JSON",
220
+ "headers": {},
221
+ "responseObjects": [
222
+ {
223
+ "type": "default",
224
+ "key": "",
225
+ "mockFile": ""
226
+ }
227
+ ]
228
+ },
229
+ {
230
+ "name": "getAllBlueprintModelsPagedByKeyword",
231
+ "protocol": "REST",
232
+ "method": "GET",
233
+ "entitypath": "{base_path}/{version}/blueprint-model/paged/meta-data/{pathv1}?{query}",
234
+ "requestSchema": "schema.json",
235
+ "responseSchema": "schema.json",
236
+ "timeout": 0,
237
+ "sendEmpty": false,
238
+ "sendGetBody": false,
239
+ "requestDatatype": "JSON",
240
+ "responseDatatype": "JSON",
241
+ "headers": {},
242
+ "responseObjects": [
243
+ {
244
+ "type": "default",
245
+ "key": "",
246
+ "mockFile": ""
247
+ }
248
+ ]
249
+ },
250
+ {
251
+ "name": "publishBlueprintModel",
252
+ "protocol": "REST",
253
+ "method": "POST",
254
+ "entitypath": "{base_path}/{version}/blueprint-model/publish?{query}",
255
+ "requestSchema": "schema.json",
256
+ "responseSchema": "schema.json",
257
+ "timeout": 0,
258
+ "sendEmpty": false,
259
+ "requestDatatype": "FORM",
260
+ "responseDatatype": "JSON",
261
+ "headers": {},
262
+ "responseObjects": [
263
+ {
264
+ "type": "default",
265
+ "key": "",
266
+ "mockFile": ""
267
+ }
268
+ ]
269
+ },
270
+ {
271
+ "name": "searchBlueprintModelsByTags",
272
+ "protocol": "REST",
273
+ "method": "GET",
274
+ "entitypath": "{base_path}/{version}/blueprint-model/search/{pathv1}?{query}",
275
+ "requestSchema": "schema.json",
276
+ "responseSchema": "schema.json",
277
+ "timeout": 0,
278
+ "sendEmpty": false,
279
+ "sendGetBody": false,
280
+ "requestDatatype": "JSON",
281
+ "responseDatatype": "JSON",
282
+ "headers": {},
283
+ "responseObjects": [
284
+ {
285
+ "type": "default",
286
+ "key": "",
287
+ "mockFile": "mockdatafiles/searchBlueprintModelsByTags-default.json"
288
+ }
289
+ ]
290
+ },
291
+ {
292
+ "name": "getWorkflowSpecification",
293
+ "protocol": "REST",
294
+ "method": "POST",
295
+ "entitypath": "{base_path}/{version}/blueprint-model/workflow-spec?{query}",
296
+ "requestSchema": "schema.json",
297
+ "responseSchema": "schema.json",
298
+ "timeout": 0,
299
+ "sendEmpty": false,
300
+ "requestDatatype": "JSON",
301
+ "responseDatatype": "JSON",
302
+ "headers": {},
303
+ "responseObjects": [
304
+ {
305
+ "type": "default",
306
+ "key": "",
307
+ "mockFile": ""
308
+ }
309
+ ]
310
+ },
311
+ {
312
+ "name": "getBlueprintWorkflowsByNameAndVersion",
313
+ "protocol": "REST",
314
+ "method": "GET",
315
+ "entitypath": "{base_path}/{version}/blueprint-model/workflows/blueprint-name/{pathv1}/version/{pathv2}?{query}",
316
+ "requestSchema": "schema.json",
317
+ "responseSchema": "schema.json",
318
+ "timeout": 0,
319
+ "sendEmpty": false,
320
+ "sendGetBody": false,
321
+ "requestDatatype": "JSON",
322
+ "responseDatatype": "JSON",
323
+ "headers": {},
324
+ "responseObjects": [
325
+ {
326
+ "type": "default",
327
+ "key": "",
328
+ "mockFile": ""
329
+ }
330
+ ]
331
+ },
332
+ {
333
+ "name": "getBlueprintModelByID",
334
+ "protocol": "REST",
335
+ "method": "GET",
336
+ "entitypath": "{base_path}/{version}/blueprint-model/{pathv1}?{query}",
337
+ "requestSchema": "schema.json",
338
+ "responseSchema": "schema.json",
339
+ "timeout": 0,
340
+ "sendEmpty": false,
341
+ "sendGetBody": false,
342
+ "requestDatatype": "JSON",
343
+ "responseDatatype": "JSON",
344
+ "headers": {},
345
+ "responseObjects": [
346
+ {
347
+ "type": "default",
348
+ "key": "",
349
+ "mockFile": ""
350
+ }
351
+ ]
352
+ },
353
+ {
354
+ "name": "deleteBlueprintModelByID",
355
+ "protocol": "REST",
356
+ "method": "DELETE",
357
+ "entitypath": "{base_path}/{version}/blueprint-model/{pathv1}?{query}",
358
+ "requestSchema": "schema.json",
359
+ "responseSchema": "schema.json",
360
+ "timeout": 0,
361
+ "sendEmpty": false,
362
+ "requestDatatype": "JSON",
363
+ "responseDatatype": "JSON",
364
+ "headers": {},
365
+ "responseObjects": [
366
+ {
367
+ "type": "default",
368
+ "key": "",
369
+ "mockFile": ""
370
+ }
371
+ ]
372
+ }
373
+ ]
374
+ }
@@ -0,0 +1,41 @@
1
+ [
2
+ {
3
+ "id": "658f9a48-7f54-41ba-ae18-c69f26f3dc94",
4
+ "artifactUUId": "string",
5
+ "artifactType": "SDNC_MODEL",
6
+ "artifactVersion": "1.0.0",
7
+ "artifactDescription": "string",
8
+ "internalVersion": 10,
9
+ "createdDate": "2020-11-19T10:34:56.000Z",
10
+ "artifactName": "pnf_netconf",
11
+ "published": "pnf_netconf",
12
+ "updatedBy": "Deutsche Telekom AG",
13
+ "tags": "test"
14
+ },
15
+ {
16
+ "id": "658f9a48-7f54-41ba-ae18-c69f26f3dc94",
17
+ "artifactUUId": "string",
18
+ "artifactType": "SDNC_MODEL",
19
+ "artifactVersion": "1.0.0",
20
+ "artifactDescription": "string",
21
+ "internalVersion": 4,
22
+ "createdDate": "2020-11-19T10:34:56.000Z",
23
+ "artifactName": "pnf_netconf",
24
+ "published": "pnf_netconf",
25
+ "updatedBy": "Deutsche Telekom AG",
26
+ "tags": "test"
27
+ },
28
+ {
29
+ "id": "658f9a48-7f54-41ba-ae18-c69f26f3dc94",
30
+ "artifactUUId": "string",
31
+ "artifactType": "SDNC_MODEL",
32
+ "artifactVersion": "1.0.0",
33
+ "artifactDescription": "string",
34
+ "internalVersion": 6,
35
+ "createdDate": "2020-11-19T10:34:56.000Z",
36
+ "artifactName": "pnf_netconf",
37
+ "published": "pnf_netconf",
38
+ "updatedBy": "Deutsche Telekom AG",
39
+ "tags": "test"
40
+ }
41
+ ]
@@ -0,0 +1,28 @@
1
+ [
2
+ {
3
+ "id": "658f9a48-7f54-41ba-ae18-c69f26f3dc94",
4
+ "artifactUUId": "string",
5
+ "artifactType": "SDNC_MODEL",
6
+ "artifactVersion": "1.0.0",
7
+ "artifactDescription": "string",
8
+ "internalVersion": 1,
9
+ "createdDate": "2020-11-19T10:34:56.000Z",
10
+ "artifactName": "pnf_netconf",
11
+ "published": "pnf_netconf",
12
+ "updatedBy": "Deutsche Telekom AG",
13
+ "tags": "test"
14
+ },
15
+ {
16
+ "id": "658f9a48-7f54-41ba-ae18-c69f26f3dc94",
17
+ "artifactUUId": "string",
18
+ "artifactType": "SDNC_MODEL",
19
+ "artifactVersion": "1.0.0",
20
+ "artifactDescription": "string",
21
+ "internalVersion": 7,
22
+ "createdDate": "2020-11-19T10:34:56.000Z",
23
+ "artifactName": "pnf_netconf",
24
+ "published": "pnf_netconf",
25
+ "updatedBy": "Deutsche Telekom AG",
26
+ "tags": "test"
27
+ }
28
+ ]
@@ -0,0 +1,28 @@
1
+ [
2
+ {
3
+ "id": "658f9a48-7f54-41ba-ae18-c69f26f3dc94",
4
+ "artifactUUId": "string",
5
+ "artifactType": "SDNC_MODEL",
6
+ "artifactVersion": "1.0.0",
7
+ "artifactDescription": "string",
8
+ "internalVersion": 5,
9
+ "createdDate": "2020-11-19T10:34:56.000Z",
10
+ "artifactName": "pnf_netconf",
11
+ "published": "pnf_netconf",
12
+ "updatedBy": "Deutsche Telekom AG",
13
+ "tags": "test"
14
+ },
15
+ {
16
+ "id": "658f9a48-7f54-41ba-ae18-c69f26f3dc94",
17
+ "artifactUUId": "string",
18
+ "artifactType": "SDNC_MODEL",
19
+ "artifactVersion": "1.0.0",
20
+ "artifactDescription": "string",
21
+ "internalVersion": 9,
22
+ "createdDate": "2020-11-19T10:34:56.000Z",
23
+ "artifactName": "pnf_netconf",
24
+ "published": "pnf_netconf",
25
+ "updatedBy": "Deutsche Telekom AG",
26
+ "tags": "test"
27
+ }
28
+ ]
@@ -0,0 +1,36 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "getAllBlueprintModels",
12
+ "enum": [
13
+ "getAllBlueprintModels",
14
+ "saveBlueprintModel",
15
+ "bootstrapCDS",
16
+ "getBlueprintModelByNameAndVersion",
17
+ "downloadBlueprintModelByNameAndVersion",
18
+ "downloadBlueprintModelByID",
19
+ "enrichBlueprintModel",
20
+ "enrichAndPublishBlueprintModel",
21
+ "getAllBlueprintModelsByKeyword",
22
+ "deleteBlueprintModelByNameAndVersion",
23
+ "getAllBlueprintModelPaged",
24
+ "getAllBlueprintModelsPagedByKeyword",
25
+ "publishBlueprintModel",
26
+ "searchBlueprintModelsByTags",
27
+ "getWorkflowSpecification",
28
+ "getBlueprintWorkflowsByNameAndVersion",
29
+ "getBlueprintModelByID",
30
+ "deleteBlueprintModelByID"
31
+ ],
32
+ "external_name": "ph_request_type"
33
+ }
34
+ },
35
+ "definitions": {}
36
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "executeCBAWorkflowAction",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/execution-service/process?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "requestDatatype": "JSON",
13
+ "responseDatatype": "JSON",
14
+ "headers": {},
15
+ "responseObjects": [
16
+ {
17
+ "type": "default",
18
+ "key": "",
19
+ "mockFile": ""
20
+ }
21
+ ]
22
+ }
23
+ ]
24
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "executeCBAWorkflowAction",
12
+ "enum": [
13
+ "executeCBAWorkflowAction"
14
+ ],
15
+ "external_name": "ph_request_type"
16
+ }
17
+ },
18
+ "definitions": {}
19
+ }
@@ -0,0 +1,87 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getModelTypeByDefinitionType",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/model-type/by-definition/{pathv1}?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": "mockdatafiles/getModelTypeByDefinitionType-default.json"
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "searchModelTypesByTags",
26
+ "protocol": "REST",
27
+ "method": "GET",
28
+ "entitypath": "{base_path}/{version}/model-type/search/{pathv1}?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "sendGetBody": false,
34
+ "requestDatatype": "JSON",
35
+ "responseDatatype": "JSON",
36
+ "headers": {},
37
+ "responseObjects": [
38
+ {
39
+ "type": "default",
40
+ "key": "",
41
+ "mockFile": "mockdatafiles/searchModelTypesByTags-default.json"
42
+ }
43
+ ]
44
+ },
45
+ {
46
+ "name": "getModelTypeByName",
47
+ "protocol": "REST",
48
+ "method": "GET",
49
+ "entitypath": "{base_path}/{version}/model-type/{pathv1}?{query}",
50
+ "requestSchema": "schema.json",
51
+ "responseSchema": "schema.json",
52
+ "timeout": 0,
53
+ "sendEmpty": false,
54
+ "sendGetBody": false,
55
+ "requestDatatype": "JSON",
56
+ "responseDatatype": "JSON",
57
+ "headers": {},
58
+ "responseObjects": [
59
+ {
60
+ "type": "default",
61
+ "key": "",
62
+ "mockFile": ""
63
+ }
64
+ ]
65
+ },
66
+ {
67
+ "name": "deleteModelTypeByName",
68
+ "protocol": "REST",
69
+ "method": "DELETE",
70
+ "entitypath": "{base_path}/{version}/model-type/{pathv1}?{query}",
71
+ "requestSchema": "schema.json",
72
+ "responseSchema": "schema.json",
73
+ "timeout": 0,
74
+ "sendEmpty": false,
75
+ "requestDatatype": "JSON",
76
+ "responseDatatype": "JSON",
77
+ "headers": {},
78
+ "responseObjects": [
79
+ {
80
+ "type": "default",
81
+ "key": "",
82
+ "mockFile": ""
83
+ }
84
+ ]
85
+ }
86
+ ]
87
+ }