@itentialopensource/adapter-iap 0.2.3 → 0.4.0

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 (134) hide show
  1. package/AUTH.md +35 -0
  2. package/BROKER.md +199 -0
  3. package/CALLS.md +3567 -0
  4. package/CHANGELOG.md +16 -0
  5. package/CODE_OF_CONDUCT.md +12 -17
  6. package/CONTRIBUTING.md +3 -148
  7. package/ENHANCE.md +69 -0
  8. package/PROPERTIES.md +641 -0
  9. package/README.md +235 -576
  10. package/SUMMARY.md +9 -0
  11. package/SYSTEMINFO.md +18 -0
  12. package/TROUBLESHOOT.md +47 -0
  13. package/adapter.js +33555 -260
  14. package/adapterBase.js +854 -408
  15. package/changelogs/changelog.md +40 -0
  16. package/entities/.generic/action.json +105 -0
  17. package/entities/.generic/schema.json +6 -1
  18. package/entities/AdapterModels/action.json +25 -0
  19. package/entities/AdapterModels/schema.json +19 -0
  20. package/entities/Adapters/action.json +303 -0
  21. package/entities/Adapters/schema.json +32 -0
  22. package/entities/AdminEssentials/action.json +4 -0
  23. package/entities/AgManager/action.json +87 -0
  24. package/entities/AgManager/schema.json +22 -0
  25. package/entities/Applications/action.json +196 -0
  26. package/entities/Applications/schema.json +27 -0
  27. package/entities/Authentication/action.json +288 -0
  28. package/entities/Authentication/schema.json +31 -0
  29. package/entities/Authorization/action.json +349 -0
  30. package/entities/Authorization/mockdatafiles/getAccount-default.json +42 -0
  31. package/entities/Authorization/mockdatafiles/getGroup-default.json +40 -0
  32. package/entities/Authorization/mockdatafiles/getRole-default.json +81 -0
  33. package/entities/Authorization/schema.json +34 -0
  34. package/entities/AutomationCatalog/action.json +26 -0
  35. package/entities/AutomationCatalog/schema.json +2 -1
  36. package/entities/AutomationStudio/action.json +518 -0
  37. package/entities/AutomationStudio/schema.json +42 -0
  38. package/entities/ConfigManager/action.json +1162 -2
  39. package/entities/ConfigManager/schema.json +56 -1
  40. package/entities/DeviceCounts/action.json +26 -0
  41. package/entities/DeviceCounts/schema.json +19 -0
  42. package/entities/ExternalLinks/action.json +111 -0
  43. package/entities/ExternalLinks/schema.json +23 -0
  44. package/entities/Formbuilder/action.json +367 -0
  45. package/entities/Formbuilder/schema.json +35 -0
  46. package/entities/Health/action.json +136 -0
  47. package/entities/Health/schema.json +24 -0
  48. package/entities/Help/action.json +92 -0
  49. package/entities/Help/schema.json +22 -0
  50. package/entities/Indexes/action.json +91 -0
  51. package/entities/Indexes/schema.json +22 -0
  52. package/entities/IntegrationModels/action.json +154 -0
  53. package/entities/IntegrationModels/schema.json +25 -0
  54. package/entities/Integrations/action.json +132 -0
  55. package/entities/Integrations/schema.json +24 -0
  56. package/entities/JsonForms/action.json +216 -0
  57. package/entities/JsonForms/schema.json +28 -0
  58. package/entities/LifecycleManager/action.json +326 -0
  59. package/entities/LifecycleManager/schema.json +33 -0
  60. package/entities/MOP/action.json +24 -0
  61. package/entities/MOP/schema.json +2 -1
  62. package/entities/NsoManager/action.json +686 -0
  63. package/entities/NsoManager/schema.json +50 -0
  64. package/entities/Oauth/action.json +131 -0
  65. package/entities/Oauth/schema.json +24 -0
  66. package/entities/OperationsManager/action.json +822 -0
  67. package/entities/OperationsManager/schema.json +57 -0
  68. package/entities/Prebuilts/action.json +154 -0
  69. package/entities/Prebuilts/schema.json +25 -0
  70. package/entities/PrebuiltsRepository/action.json +111 -0
  71. package/entities/PrebuiltsRepository/schema.json +23 -0
  72. package/entities/Profiles/action.json +175 -0
  73. package/entities/Profiles/schema.json +26 -0
  74. package/entities/PrometheusMetrics/action.json +26 -0
  75. package/entities/PrometheusMetrics/schema.json +19 -0
  76. package/entities/Schema/action.json +92 -0
  77. package/entities/Schema/schema.json +22 -0
  78. package/entities/Search/action.json +25 -0
  79. package/entities/Search/schema.json +19 -0
  80. package/entities/ServiceCatalog/action.json +328 -0
  81. package/entities/ServiceCatalog/schema.json +33 -0
  82. package/entities/ServiceManagement/action.json +707 -0
  83. package/entities/ServiceManagement/schema.json +51 -0
  84. package/entities/Tags/action.json +257 -0
  85. package/entities/Tags/schema.json +30 -0
  86. package/entities/TemplateBuilder/action.json +132 -0
  87. package/entities/TemplateBuilder/schema.json +24 -0
  88. package/entities/Transformations/action.json +153 -0
  89. package/entities/Transformations/schema.json +25 -0
  90. package/entities/WorkFlowEngine/action.json +175 -8
  91. package/entities/WorkFlowEngine/schema.json +6 -1
  92. package/entities/WorkflowBuilder/action.json +280 -0
  93. package/entities/WorkflowBuilder/schema.json +31 -0
  94. package/error.json +6 -0
  95. package/metadata.json +64 -0
  96. package/package.json +28 -22
  97. package/pronghorn.json +24018 -2544
  98. package/propertiesDecorators.json +14 -0
  99. package/propertiesSchema.json +827 -6
  100. package/refs?service=git-upload-pack +0 -0
  101. package/report/IAP-swagger_2020.json +1 -1
  102. package/report/adapter-openapi.json +22672 -0
  103. package/report/adapter-openapi.yaml +17802 -0
  104. package/report/adapterInfo.json +10 -0
  105. package/report/updateReport1691507326854.json +120 -0
  106. package/report/updateReport1692202369162.json +120 -0
  107. package/report/updateReport1694459817194.json +120 -0
  108. package/report/updateReport1698172268901.json +120 -0
  109. package/report/updateReport1698420299974.json +120 -0
  110. package/sampleProperties.json +147 -3
  111. package/test/integration/adapterTestBasicGet.js +3 -5
  112. package/test/integration/adapterTestConnectivity.js +91 -42
  113. package/test/integration/adapterTestIntegration.js +10840 -103
  114. package/test/unit/adapterBaseTestUnit.js +388 -308
  115. package/test/unit/adapterTestUnit.js +10722 -473
  116. package/utils/adapterInfo.js +206 -0
  117. package/utils/addAuth.js +94 -0
  118. package/utils/artifactize.js +1 -1
  119. package/utils/basicGet.js +1 -14
  120. package/utils/checkMigrate.js +1 -1
  121. package/utils/entitiesToDB.js +179 -0
  122. package/utils/findPath.js +1 -1
  123. package/utils/methodDocumentor.js +273 -0
  124. package/utils/modify.js +14 -16
  125. package/utils/packModificationScript.js +1 -1
  126. package/utils/patches2bundledDeps.js +90 -0
  127. package/utils/pre-commit.sh +5 -0
  128. package/utils/removeHooks.js +20 -0
  129. package/utils/taskMover.js +309 -0
  130. package/utils/tbScript.js +129 -53
  131. package/utils/tbUtils.js +125 -25
  132. package/utils/testRunner.js +17 -17
  133. package/utils/troubleshootingAdapter.js +10 -31
  134. package/workflows/README.md +0 -3
@@ -0,0 +1,40 @@
1
+
2
+ ## 0.2.3 [08-04-2021]
3
+
4
+ * Update sampleProperties.json
5
+
6
+ See merge request itentialopensource/adapters/adapter-iap!5
7
+
8
+ ---
9
+
10
+ ## 0.2.2 [03-07-2021]
11
+
12
+ * migration to the latest adapter foundation - and healthcheck change
13
+
14
+ See merge request itentialopensource/adapters/adapter-iap!4
15
+
16
+ ---
17
+
18
+ ## 0.2.1 [07-08-2020]
19
+
20
+ * migration
21
+
22
+ See merge request itentialopensource/adapters/adapter-iap!2
23
+
24
+ ---
25
+
26
+ ## 0.2.0 [06-03-2020]
27
+
28
+ * Minor/adapt 199
29
+
30
+ See merge request itentialopensource/adapters/adapter-iap!1
31
+
32
+ ---
33
+
34
+ ## 0.1.1 [03-26-2020]
35
+
36
+ * Bug fixes and performance improvements
37
+
38
+ See commit f84b907
39
+
40
+ ---
@@ -104,6 +104,111 @@
104
104
  "mockFile": ""
105
105
  }
106
106
  ]
107
+ },
108
+ {
109
+ "name": "getGenericsNoBase",
110
+ "protocol": "REST",
111
+ "method": "GET",
112
+ "entitypath": "/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
113
+ "requestSchema": "schema.json",
114
+ "responseSchema": "schema.json",
115
+ "timeout": 0,
116
+ "sendEmpty": false,
117
+ "sendGetBody": false,
118
+ "requestDatatype": "JSON",
119
+ "responseDatatype": "JSON",
120
+ "headers": {},
121
+ "responseObjects": [
122
+ {
123
+ "type": "default",
124
+ "key": "",
125
+ "mockFile": ""
126
+ }
127
+ ]
128
+ },
129
+ {
130
+ "name": "createGenericNoBase",
131
+ "protocol": "REST",
132
+ "method": "POST",
133
+ "entitypath": "/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
134
+ "requestSchema": "schema.json",
135
+ "responseSchema": "schema.json",
136
+ "timeout": 0,
137
+ "sendEmpty": false,
138
+ "sendGetBody": false,
139
+ "requestDatatype": "JSON",
140
+ "responseDatatype": "JSON",
141
+ "headers": {},
142
+ "responseObjects": [
143
+ {
144
+ "type": "default",
145
+ "key": "",
146
+ "mockFile": ""
147
+ }
148
+ ]
149
+ },
150
+ {
151
+ "name": "updateGenericNoBase",
152
+ "protocol": "REST",
153
+ "method": "PUT",
154
+ "entitypath": "/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
155
+ "requestSchema": "schema.json",
156
+ "responseSchema": "schema.json",
157
+ "timeout": 0,
158
+ "sendEmpty": false,
159
+ "sendGetBody": false,
160
+ "requestDatatype": "JSON",
161
+ "responseDatatype": "JSON",
162
+ "headers": {},
163
+ "responseObjects": [
164
+ {
165
+ "type": "default",
166
+ "key": "",
167
+ "mockFile": ""
168
+ }
169
+ ]
170
+ },
171
+ {
172
+ "name": "patchGenericNoBase",
173
+ "protocol": "REST",
174
+ "method": "PATCH",
175
+ "entitypath": "/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
176
+ "requestSchema": "schema.json",
177
+ "responseSchema": "schema.json",
178
+ "timeout": 0,
179
+ "sendEmpty": false,
180
+ "sendGetBody": false,
181
+ "requestDatatype": "JSON",
182
+ "responseDatatype": "JSON",
183
+ "headers": {},
184
+ "responseObjects": [
185
+ {
186
+ "type": "default",
187
+ "key": "",
188
+ "mockFile": ""
189
+ }
190
+ ]
191
+ },
192
+ {
193
+ "name": "deleteGenericNoBase",
194
+ "protocol": "REST",
195
+ "method": "DELETE",
196
+ "entitypath": "/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
197
+ "requestSchema": "schema.json",
198
+ "responseSchema": "schema.json",
199
+ "timeout": 0,
200
+ "sendEmpty": false,
201
+ "sendGetBody": false,
202
+ "requestDatatype": "JSON",
203
+ "responseDatatype": "JSON",
204
+ "headers": {},
205
+ "responseObjects": [
206
+ {
207
+ "type": "default",
208
+ "key": "",
209
+ "mockFile": ""
210
+ }
211
+ ]
107
212
  }
108
213
  ]
109
214
  }
@@ -14,7 +14,12 @@
14
14
  "createGeneric",
15
15
  "updateGeneric",
16
16
  "patchGeneric",
17
- "deleteGeneric"
17
+ "deleteGeneric",
18
+ "getGenericsNoBase",
19
+ "createGenericNoBase",
20
+ "updateGenericNoBase",
21
+ "patchGenericNoBase",
22
+ "deleteGenericNoBase"
18
23
  ],
19
24
  "external_name": "ph_request_type"
20
25
  }
@@ -0,0 +1,25 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getAdapterModelTypes",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/adapter-models/types?{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": ""
21
+ }
22
+ ]
23
+ }
24
+ ]
25
+ }
@@ -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": "",
12
+ "enum": [
13
+ "getAdapterModelTypes"
14
+ ],
15
+ "external_name": "ph_request_type"
16
+ }
17
+ },
18
+ "definitions": {}
19
+ }
@@ -0,0 +1,303 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "createAdapter",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/adapters?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "requestDatatype": "JSON",
13
+ "responseDatatype": "JSON",
14
+ "headers": {},
15
+ "startVersion" : "2020.2",
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": ""
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "getAdapters",
26
+ "protocol": "REST",
27
+ "method": "GET",
28
+ "entitypath": "{base_path}/{version}/adapters?{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
+ "startVersion" : "2020.2",
38
+ "responseObjects": [
39
+ {
40
+ "type": "default",
41
+ "key": "",
42
+ "mockFile": ""
43
+ }
44
+ ]
45
+ },
46
+ {
47
+ "name": "importAdapter",
48
+ "protocol": "REST",
49
+ "method": "POST",
50
+ "entitypath": "{base_path}/{version}/adapters/import?{query}",
51
+ "requestSchema": "schema.json",
52
+ "responseSchema": "schema.json",
53
+ "timeout": 0,
54
+ "sendEmpty": false,
55
+ "requestDatatype": "JSON",
56
+ "responseDatatype": "JSON",
57
+ "headers": {},
58
+ "startVersion" : "2021.2",
59
+ "responseObjects": [
60
+ {
61
+ "type": "default",
62
+ "key": "",
63
+ "mockFile": ""
64
+ }
65
+ ]
66
+ },
67
+ {
68
+ "name": "deleteAdapter",
69
+ "protocol": "REST",
70
+ "method": "DELETE",
71
+ "entitypath": "{base_path}/{version}/adapters/{pathv1}?{query}",
72
+ "requestSchema": "schema.json",
73
+ "responseSchema": "schema.json",
74
+ "timeout": 0,
75
+ "sendEmpty": false,
76
+ "requestDatatype": "JSON",
77
+ "responseDatatype": "JSON",
78
+ "headers": {},
79
+ "startVersion" : "2020.2",
80
+ "responseObjects": [
81
+ {
82
+ "type": "default",
83
+ "key": "",
84
+ "mockFile": ""
85
+ }
86
+ ]
87
+ },
88
+ {
89
+ "name": "getAdapter",
90
+ "protocol": "REST",
91
+ "method": "GET",
92
+ "entitypath": "{base_path}/{version}/adapters/{pathv1}?{query}",
93
+ "requestSchema": "schema.json",
94
+ "responseSchema": "schema.json",
95
+ "timeout": 0,
96
+ "sendEmpty": false,
97
+ "sendGetBody": false,
98
+ "requestDatatype": "JSON",
99
+ "responseDatatype": "JSON",
100
+ "headers": {},
101
+ "startVersion" : "2020.2",
102
+ "responseObjects": [
103
+ {
104
+ "type": "default",
105
+ "key": "",
106
+ "mockFile": ""
107
+ }
108
+ ]
109
+ },
110
+ {
111
+ "name": "updateAdapter",
112
+ "protocol": "REST",
113
+ "method": "PUT",
114
+ "entitypath": "{base_path}/{version}/adapters/{pathv1}?{query}",
115
+ "requestSchema": "schema.json",
116
+ "responseSchema": "schema.json",
117
+ "timeout": 0,
118
+ "sendEmpty": false,
119
+ "requestDatatype": "JSON",
120
+ "responseDatatype": "JSON",
121
+ "headers": {},
122
+ "startVersion" : "2020.2",
123
+ "responseObjects": [
124
+ {
125
+ "type": "default",
126
+ "key": "",
127
+ "mockFile": ""
128
+ }
129
+ ]
130
+ },
131
+ {
132
+ "name": "exportAdapter",
133
+ "protocol": "REST",
134
+ "method": "GET",
135
+ "entitypath": "{base_path}/{version}/adapters/{pathv1}/export?{query}",
136
+ "requestSchema": "schema.json",
137
+ "responseSchema": "schema.json",
138
+ "timeout": 0,
139
+ "sendEmpty": false,
140
+ "sendGetBody": false,
141
+ "requestDatatype": "JSON",
142
+ "responseDatatype": "JSON",
143
+ "headers": {},
144
+ "startVersion" : "2021.2",
145
+ "responseObjects": [
146
+ {
147
+ "type": "default",
148
+ "key": "",
149
+ "mockFile": ""
150
+ }
151
+ ]
152
+ },
153
+ {
154
+ "name": "getAdapterChangeLogs",
155
+ "protocol": "REST",
156
+ "method": "GET",
157
+ "entitypath": "{base_path}/{version}/adapters/{pathv1}/changelogs?{query}",
158
+ "requestSchema": "schema.json",
159
+ "responseSchema": "schema.json",
160
+ "timeout": 0,
161
+ "sendEmpty": false,
162
+ "sendGetBody": false,
163
+ "requestDatatype": "JSON",
164
+ "responseDatatype": "JSON",
165
+ "headers": {},
166
+ "startVersion" : "2020.2",
167
+ "responseObjects": [
168
+ {
169
+ "type": "default",
170
+ "key": "",
171
+ "mockFile": ""
172
+ }
173
+ ]
174
+ },
175
+ {
176
+ "name": "startAdapter",
177
+ "protocol": "REST",
178
+ "method": "PUT",
179
+ "entitypath": "{base_path}/{version}/adapters/{pathv1}/start?{query}",
180
+ "requestSchema": "schema.json",
181
+ "responseSchema": "schema.json",
182
+ "timeout": 0,
183
+ "sendEmpty": false,
184
+ "requestDatatype": "JSON",
185
+ "responseDatatype": "JSON",
186
+ "headers": {},
187
+ "startVersion" : "2020.2",
188
+ "responseObjects": [
189
+ {
190
+ "type": "default",
191
+ "key": "",
192
+ "mockFile": ""
193
+ }
194
+ ]
195
+ },
196
+ {
197
+ "name": "stopAdapter",
198
+ "protocol": "REST",
199
+ "method": "PUT",
200
+ "entitypath": "{base_path}/{version}/adapters/{pathv1}/stop?{query}",
201
+ "requestSchema": "schema.json",
202
+ "responseSchema": "schema.json",
203
+ "timeout": 0,
204
+ "sendEmpty": false,
205
+ "requestDatatype": "JSON",
206
+ "responseDatatype": "JSON",
207
+ "headers": {},
208
+ "startVersion" : "2020.2",
209
+ "responseObjects": [
210
+ {
211
+ "type": "default",
212
+ "key": "",
213
+ "mockFile": ""
214
+ }
215
+ ]
216
+ },
217
+ {
218
+ "name": "restartAdapter",
219
+ "protocol": "REST",
220
+ "method": "PUT",
221
+ "entitypath": "{base_path}/{version}/adapters/{pathv1}/restart?{query}",
222
+ "requestSchema": "schema.json",
223
+ "responseSchema": "schema.json",
224
+ "timeout": 0,
225
+ "sendEmpty": false,
226
+ "requestDatatype": "JSON",
227
+ "responseDatatype": "JSON",
228
+ "headers": {},
229
+ "startVersion" : "2020.2",
230
+ "responseObjects": [
231
+ {
232
+ "type": "default",
233
+ "key": "",
234
+ "mockFile": ""
235
+ }
236
+ ]
237
+ },
238
+ {
239
+ "name": "updateAdapterLogging",
240
+ "protocol": "REST",
241
+ "method": "PUT",
242
+ "entitypath": "{base_path}/{version}/adapters/{pathv1}/loglevel?{query}",
243
+ "requestSchema": "schema.json",
244
+ "responseSchema": "schema.json",
245
+ "timeout": 0,
246
+ "sendEmpty": false,
247
+ "requestDatatype": "JSON",
248
+ "responseDatatype": "JSON",
249
+ "headers": {},
250
+ "startVersion" : "2020.2",
251
+ "responseObjects": [
252
+ {
253
+ "type": "default",
254
+ "key": "",
255
+ "mockFile": ""
256
+ }
257
+ ]
258
+ },
259
+ {
260
+ "name": "updateAdapterProperties",
261
+ "protocol": "REST",
262
+ "method": "PUT",
263
+ "entitypath": "{base_path}/{version}/adapters/{pathv1}/properties?{query}",
264
+ "requestSchema": "schema.json",
265
+ "responseSchema": "schema.json",
266
+ "timeout": 0,
267
+ "sendEmpty": false,
268
+ "requestDatatype": "JSON",
269
+ "responseDatatype": "JSON",
270
+ "headers": {},
271
+ "startVersion" : "2020.2",
272
+ "responseObjects": [
273
+ {
274
+ "type": "default",
275
+ "key": "",
276
+ "mockFile": ""
277
+ }
278
+ ]
279
+ },
280
+ {
281
+ "name": "getBrokerMap",
282
+ "protocol": "REST",
283
+ "method": "GET",
284
+ "entitypath": "{base_path}/{version}/adapters/brokers/mapping?{query}",
285
+ "requestSchema": "schema.json",
286
+ "responseSchema": "schema.json",
287
+ "timeout": 0,
288
+ "sendEmpty": false,
289
+ "sendGetBody": false,
290
+ "requestDatatype": "JSON",
291
+ "responseDatatype": "JSON",
292
+ "headers": {},
293
+ "startVersion" : "2021.2",
294
+ "responseObjects": [
295
+ {
296
+ "type": "default",
297
+ "key": "",
298
+ "mockFile": ""
299
+ }
300
+ ]
301
+ }
302
+ ]
303
+ }
@@ -0,0 +1,32 @@
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": "",
12
+ "enum": [
13
+ "createAdapter",
14
+ "getAdapters",
15
+ "importAdapter",
16
+ "deleteAdapter",
17
+ "getAdapter",
18
+ "updateAdapter",
19
+ "exportAdapter",
20
+ "getAdapterChangeLogs",
21
+ "startAdapter",
22
+ "stopAdapter",
23
+ "restartAdapter",
24
+ "updateAdapterLogging",
25
+ "updateAdapterProperties",
26
+ "getBrokerMap"
27
+ ],
28
+ "external_name": "ph_request_type"
29
+ }
30
+ },
31
+ "definitions": {}
32
+ }
@@ -13,6 +13,7 @@
13
13
  "requestDatatype": "JSON",
14
14
  "responseDatatype": "JSON",
15
15
  "headers": {},
16
+ "endVersion" : "2021.1",
16
17
  "responseObjects": [
17
18
  {
18
19
  "type": "default",
@@ -34,6 +35,7 @@
34
35
  "requestDatatype": "JSON",
35
36
  "responseDatatype": "JSON",
36
37
  "headers": {},
38
+ "endVersion" : "2021.1",
37
39
  "responseObjects": [
38
40
  {
39
41
  "type": "default",
@@ -55,6 +57,7 @@
55
57
  "requestDatatype": "JSON",
56
58
  "responseDatatype": "JSON",
57
59
  "headers": {},
60
+ "endVersion" : "2021.1",
58
61
  "responseObjects": [
59
62
  {
60
63
  "type": "default",
@@ -76,6 +79,7 @@
76
79
  "requestDatatype": "JSON",
77
80
  "responseDatatype": "JSON",
78
81
  "headers": {},
82
+ "endVersion" : "2021.1",
79
83
  "responseObjects": [
80
84
  {
81
85
  "type": "default",
@@ -0,0 +1,87 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "undiscoverAll",
5
+ "protocol": "REST",
6
+ "method": "DELETE",
7
+ "entitypath": "{base_path}/{version}/ag-manager/actions?{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
+ "name": "getAllAdaptersAllClusters",
25
+ "protocol": "REST",
26
+ "method": "GET",
27
+ "entitypath": "{base_path}/{version}/ag-manager/getClusterAdapters?{query}",
28
+ "requestSchema": "schema.json",
29
+ "responseSchema": "schema.json",
30
+ "timeout": 0,
31
+ "sendEmpty": false,
32
+ "sendGetBody": false,
33
+ "requestDatatype": "JSON",
34
+ "responseDatatype": "JSON",
35
+ "headers": {},
36
+ "startVersion" : "2021.1",
37
+ "responseObjects": [
38
+ {
39
+ "type": "default",
40
+ "key": "",
41
+ "mockFile": ""
42
+ }
43
+ ]
44
+ },
45
+ {
46
+ "name": "discoverModules",
47
+ "protocol": "REST",
48
+ "method": "GET",
49
+ "entitypath": "{base_path}/{version}/ag-manager/actions/{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": "undiscoverModules",
68
+ "protocol": "REST",
69
+ "method": "DELETE",
70
+ "entitypath": "{base_path}/{version}/ag-manager/actions/{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
+ }
@@ -0,0 +1,22 @@
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": "undiscoverAll",
12
+ "enum": [
13
+ "undiscoverAll",
14
+ "getAllAdaptersAllClusters",
15
+ "discoverModules",
16
+ "undiscoverModules"
17
+ ],
18
+ "external_name": "ph_request_type"
19
+ }
20
+ },
21
+ "definitions": {}
22
+ }