@itentialopensource/adapter-nutanix_intentful 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 (153) hide show
  1. package/.eslintignore +5 -0
  2. package/.eslintrc.js +18 -0
  3. package/.jshintrc +3 -0
  4. package/AUTH.md +34 -0
  5. package/BROKER.md +211 -0
  6. package/CALLS.md +1677 -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 +20 -0
  16. package/TAB1.md +10 -0
  17. package/TAB2.md +303 -0
  18. package/TROUBLESHOOT.md +47 -0
  19. package/adapter.js +26226 -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/AccessControlPolicies/action.json +105 -0
  31. package/entities/AccessControlPolicies/schema.json +23 -0
  32. package/entities/AddressGroups/action.json +105 -0
  33. package/entities/AddressGroups/schema.json +23 -0
  34. package/entities/Alerts/action.json +85 -0
  35. package/entities/Alerts/schema.json +22 -0
  36. package/entities/Audits/action.json +45 -0
  37. package/entities/Audits/schema.json +20 -0
  38. package/entities/Batch/action.json +24 -0
  39. package/entities/Batch/schema.json +19 -0
  40. package/entities/Blackouts/action.json +105 -0
  41. package/entities/Blackouts/schema.json +23 -0
  42. package/entities/Categories/action.json +186 -0
  43. package/entities/Categories/schema.json +27 -0
  44. package/entities/Clusters/action.json +65 -0
  45. package/entities/Clusters/schema.json +21 -0
  46. package/entities/DirectoryServices/action.json +125 -0
  47. package/entities/DirectoryServices/schema.json +24 -0
  48. package/entities/FloatingIp/action.json +105 -0
  49. package/entities/FloatingIp/schema.json +23 -0
  50. package/entities/Hosts/action.json +45 -0
  51. package/entities/Hosts/schema.json +20 -0
  52. package/entities/IdempotenceIdentifiers/action.json +65 -0
  53. package/entities/IdempotenceIdentifiers/schema.json +32 -0
  54. package/entities/IdentityProviders/action.json +126 -0
  55. package/entities/IdentityProviders/schema.json +24 -0
  56. package/entities/ImagePlacementPolicies/action.json +105 -0
  57. package/entities/ImagePlacementPolicies/schema.json +23 -0
  58. package/entities/Images/action.json +166 -0
  59. package/entities/Images/schema.json +26 -0
  60. package/entities/NetworkFunctionChains/action.json +105 -0
  61. package/entities/NetworkFunctionChains/schema.json +23 -0
  62. package/entities/NetworkSecurityRules/action.json +166 -0
  63. package/entities/NetworkSecurityRules/schema.json +26 -0
  64. package/entities/NgtPolicies/action.json +105 -0
  65. package/entities/NgtPolicies/schema.json +23 -0
  66. package/entities/Ovas/action.json +249 -0
  67. package/entities/Ovas/schema.json +52 -0
  68. package/entities/Permissions/action.json +45 -0
  69. package/entities/Permissions/schema.json +20 -0
  70. package/entities/Projects/action.json +105 -0
  71. package/entities/Projects/schema.json +23 -0
  72. package/entities/ProtectionRules/action.json +146 -0
  73. package/entities/ProtectionRules/schema.json +25 -0
  74. package/entities/RecoveryPlanJobs/action.json +126 -0
  75. package/entities/RecoveryPlanJobs/schema.json +24 -0
  76. package/entities/RecoveryPlans/action.json +126 -0
  77. package/entities/RecoveryPlans/schema.json +68 -0
  78. package/entities/RemoteSyslogModules/action.json +105 -0
  79. package/entities/RemoteSyslogModules/schema.json +23 -0
  80. package/entities/RemoteSyslogServers/action.json +126 -0
  81. package/entities/RemoteSyslogServers/schema.json +24 -0
  82. package/entities/Reports/action.json +267 -0
  83. package/entities/Reports/schema.json +31 -0
  84. package/entities/Roles/action.json +105 -0
  85. package/entities/Roles/schema.json +23 -0
  86. package/entities/RoutingPolicies/action.json +145 -0
  87. package/entities/RoutingPolicies/schema.json +25 -0
  88. package/entities/ServiceGroups/action.json +105 -0
  89. package/entities/ServiceGroups/schema.json +23 -0
  90. package/entities/StoragePolicies/action.json +125 -0
  91. package/entities/StoragePolicies/schema.json +24 -0
  92. package/entities/Subnets/action.json +105 -0
  93. package/entities/Subnets/schema.json +23 -0
  94. package/entities/Tasks/action.json +45 -0
  95. package/entities/Tasks/schema.json +20 -0
  96. package/entities/UserGroups/action.json +85 -0
  97. package/entities/UserGroups/schema.json +22 -0
  98. package/entities/Users/action.json +127 -0
  99. package/entities/Users/schema.json +24 -0
  100. package/entities/VirtualNetwork/action.json +105 -0
  101. package/entities/VirtualNetwork/schema.json +23 -0
  102. package/entities/VmHostAffinityLegacyPolicies/action.json +44 -0
  103. package/entities/VmHostAffinityLegacyPolicies/schema.json +20 -0
  104. package/entities/VmHostAffinityPolicies/action.json +145 -0
  105. package/entities/VmHostAffinityPolicies/schema.json +36 -0
  106. package/entities/Vms/action.json +365 -0
  107. package/entities/Vms/schema.json +36 -0
  108. package/entities/Vpc/action.json +45 -0
  109. package/entities/Vpc/schema.json +20 -0
  110. package/entities/VpnConnection/action.json +168 -0
  111. package/entities/VpnConnection/schema.json +26 -0
  112. package/entities/VpnGateway/action.json +105 -0
  113. package/entities/VpnGateway/schema.json +23 -0
  114. package/entities/Whatif/action.json +188 -0
  115. package/entities/Whatif/schema.json +38 -0
  116. package/error.json +190 -0
  117. package/metadata.json +92 -0
  118. package/package.json +81 -0
  119. package/pronghorn.json +12449 -0
  120. package/propertiesDecorators.json +14 -0
  121. package/propertiesSchema.json +1574 -0
  122. package/refs?service=git-upload-pack +0 -0
  123. package/report/adapter-openapi.json +85398 -0
  124. package/report/adapter-openapi.yaml +62985 -0
  125. package/report/adapterInfo.json +10 -0
  126. package/report/auto-adapter-openapi.json +9609 -0
  127. package/report/creationReport.json +2065 -0
  128. package/report/nutanix-openapi.json +85398 -0
  129. package/sampleProperties.json +257 -0
  130. package/test/integration/adapterTestBasicGet.js +83 -0
  131. package/test/integration/adapterTestConnectivity.js +118 -0
  132. package/test/integration/adapterTestIntegration.js +6792 -0
  133. package/test/unit/adapterBaseTestUnit.js +1024 -0
  134. package/test/unit/adapterTestUnit.js +9255 -0
  135. package/utils/adapterInfo.js +206 -0
  136. package/utils/addAuth.js +94 -0
  137. package/utils/artifactize.js +146 -0
  138. package/utils/basicGet.js +50 -0
  139. package/utils/checkMigrate.js +63 -0
  140. package/utils/entitiesToDB.js +179 -0
  141. package/utils/findPath.js +74 -0
  142. package/utils/methodDocumentor.js +273 -0
  143. package/utils/modify.js +152 -0
  144. package/utils/packModificationScript.js +35 -0
  145. package/utils/patches2bundledDeps.js +90 -0
  146. package/utils/pre-commit.sh +32 -0
  147. package/utils/removeHooks.js +20 -0
  148. package/utils/setup.js +33 -0
  149. package/utils/taskMover.js +309 -0
  150. package/utils/tbScript.js +239 -0
  151. package/utils/tbUtils.js +489 -0
  152. package/utils/testRunner.js +298 -0
  153. package/utils/troubleshootingAdapter.js +193 -0
@@ -0,0 +1,365 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "createVMResetRequest",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/vms/{pathv1}/reset?{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": "resumeReplicationForVM",
25
+ "protocol": "REST",
26
+ "method": "POST",
27
+ "entitypath": "{base_path}/{version}/vms/{pathv1}/resume_replication?{query}",
28
+ "requestSchema": "schema.json",
29
+ "responseSchema": "schema.json",
30
+ "timeout": 0,
31
+ "sendEmpty": false,
32
+ "requestDatatype": "JSON",
33
+ "responseDatatype": "JSON",
34
+ "headers": {},
35
+ "responseObjects": [
36
+ {
37
+ "type": "default",
38
+ "key": "",
39
+ "mockFile": ""
40
+ }
41
+ ]
42
+ },
43
+ {
44
+ "name": "createAVMPowerCycleRequest",
45
+ "protocol": "REST",
46
+ "method": "POST",
47
+ "entitypath": "{base_path}/{version}/vms/{pathv1}/power_cycle?{query}",
48
+ "requestSchema": "schema.json",
49
+ "responseSchema": "schema.json",
50
+ "timeout": 0,
51
+ "sendEmpty": false,
52
+ "requestDatatype": "JSON",
53
+ "responseDatatype": "JSON",
54
+ "headers": {},
55
+ "responseObjects": [
56
+ {
57
+ "type": "default",
58
+ "key": "",
59
+ "mockFile": ""
60
+ }
61
+ ]
62
+ },
63
+ {
64
+ "name": "pauseReplicationForVM",
65
+ "protocol": "REST",
66
+ "method": "POST",
67
+ "entitypath": "{base_path}/{version}/vms/{pathv1}/pause_replication?{query}",
68
+ "requestSchema": "schema.json",
69
+ "responseSchema": "schema.json",
70
+ "timeout": 0,
71
+ "sendEmpty": false,
72
+ "requestDatatype": "JSON",
73
+ "responseDatatype": "JSON",
74
+ "headers": {},
75
+ "responseObjects": [
76
+ {
77
+ "type": "default",
78
+ "key": "",
79
+ "mockFile": ""
80
+ }
81
+ ]
82
+ },
83
+ {
84
+ "name": "getVMs",
85
+ "protocol": "REST",
86
+ "method": "POST",
87
+ "entitypath": "{base_path}/{version}/vms/list?{query}",
88
+ "requestSchema": "schema.json",
89
+ "responseSchema": "schema.json",
90
+ "timeout": 0,
91
+ "sendEmpty": false,
92
+ "requestDatatype": "JSON",
93
+ "responseDatatype": "JSON",
94
+ "headers": {},
95
+ "responseObjects": [
96
+ {
97
+ "type": "default",
98
+ "key": "",
99
+ "mockFile": ""
100
+ }
101
+ ]
102
+ },
103
+ {
104
+ "name": "createAVMAcpiShutdownRequest",
105
+ "protocol": "REST",
106
+ "method": "POST",
107
+ "entitypath": "{base_path}/{version}/vms/{pathv1}/acpi_shutdown?{query}",
108
+ "requestSchema": "schema.json",
109
+ "responseSchema": "schema.json",
110
+ "timeout": 0,
111
+ "sendEmpty": false,
112
+ "requestDatatype": "JSON",
113
+ "responseDatatype": "JSON",
114
+ "headers": {},
115
+ "responseObjects": [
116
+ {
117
+ "type": "default",
118
+ "key": "",
119
+ "mockFile": ""
120
+ }
121
+ ]
122
+ },
123
+ {
124
+ "name": "cloneAVM",
125
+ "protocol": "REST",
126
+ "method": "POST",
127
+ "entitypath": "{base_path}/{version}/vms/{pathv1}/clone?{query}",
128
+ "requestSchema": "schema.json",
129
+ "responseSchema": "schema.json",
130
+ "timeout": 0,
131
+ "sendEmpty": false,
132
+ "requestDatatype": "JSON",
133
+ "responseDatatype": "JSON",
134
+ "headers": {},
135
+ "responseObjects": [
136
+ {
137
+ "type": "default",
138
+ "key": "",
139
+ "mockFile": ""
140
+ }
141
+ ]
142
+ },
143
+ {
144
+ "name": "updateAVM",
145
+ "protocol": "REST",
146
+ "method": "PUT",
147
+ "entitypath": "{base_path}/{version}/vms/{pathv1}?{query}",
148
+ "requestSchema": "schema.json",
149
+ "responseSchema": "schema.json",
150
+ "timeout": 0,
151
+ "sendEmpty": false,
152
+ "requestDatatype": "JSON",
153
+ "responseDatatype": "JSON",
154
+ "headers": {},
155
+ "responseObjects": [
156
+ {
157
+ "type": "default",
158
+ "key": "",
159
+ "mockFile": ""
160
+ }
161
+ ]
162
+ },
163
+ {
164
+ "name": "deleteAVM",
165
+ "protocol": "REST",
166
+ "method": "DELETE",
167
+ "entitypath": "{base_path}/{version}/vms/{pathv1}?{query}",
168
+ "requestSchema": "schema.json",
169
+ "responseSchema": "schema.json",
170
+ "timeout": 0,
171
+ "sendEmpty": false,
172
+ "requestDatatype": "JSON",
173
+ "responseDatatype": "JSON",
174
+ "headers": {},
175
+ "responseObjects": [
176
+ {
177
+ "type": "default",
178
+ "key": "",
179
+ "mockFile": ""
180
+ }
181
+ ]
182
+ },
183
+ {
184
+ "name": "getAVM",
185
+ "protocol": "REST",
186
+ "method": "GET",
187
+ "entitypath": "{base_path}/{version}/vms/{pathv1}?{query}",
188
+ "requestSchema": "schema.json",
189
+ "responseSchema": "schema.json",
190
+ "timeout": 0,
191
+ "sendEmpty": false,
192
+ "sendGetBody": false,
193
+ "requestDatatype": "JSON",
194
+ "responseDatatype": "JSON",
195
+ "headers": {},
196
+ "responseObjects": [
197
+ {
198
+ "type": "default",
199
+ "key": "",
200
+ "mockFile": ""
201
+ }
202
+ ]
203
+ },
204
+ {
205
+ "name": "migrateVMDisks",
206
+ "protocol": "REST",
207
+ "method": "POST",
208
+ "entitypath": "{base_path}/{version}/vms/{pathv1}/migrate_disks?{query}",
209
+ "requestSchema": "schema.json",
210
+ "responseSchema": "schema.json",
211
+ "timeout": 0,
212
+ "sendEmpty": false,
213
+ "requestDatatype": "JSON",
214
+ "responseDatatype": "JSON",
215
+ "headers": {},
216
+ "responseObjects": [
217
+ {
218
+ "type": "default",
219
+ "key": "",
220
+ "mockFile": ""
221
+ }
222
+ ]
223
+ },
224
+ {
225
+ "name": "requestIPAddressesForNICsWithUUIDs",
226
+ "protocol": "REST",
227
+ "method": "PUT",
228
+ "entitypath": "{base_path}/{version}/vms/{pathv1}/update_ip?{query}",
229
+ "requestSchema": "schema.json",
230
+ "responseSchema": "schema.json",
231
+ "timeout": 0,
232
+ "sendEmpty": false,
233
+ "requestDatatype": "JSON",
234
+ "responseDatatype": "JSON",
235
+ "headers": {},
236
+ "responseObjects": [
237
+ {
238
+ "type": "default",
239
+ "key": "",
240
+ "mockFile": ""
241
+ }
242
+ ]
243
+ },
244
+ {
245
+ "name": "createOVAObject",
246
+ "protocol": "REST",
247
+ "method": "POST",
248
+ "entitypath": "{base_path}/{version}/vms/{pathv1}/export?{query}",
249
+ "requestSchema": "schema.json",
250
+ "responseSchema": "schema.json",
251
+ "timeout": 0,
252
+ "sendEmpty": false,
253
+ "requestDatatype": "JSON",
254
+ "responseDatatype": "JSON",
255
+ "headers": {},
256
+ "responseObjects": [
257
+ {
258
+ "type": "default",
259
+ "key": "",
260
+ "mockFile": ""
261
+ }
262
+ ]
263
+ },
264
+ {
265
+ "name": "createVMAcpiRebootRequest",
266
+ "protocol": "REST",
267
+ "method": "POST",
268
+ "entitypath": "{base_path}/{version}/vms/{pathv1}/acpi_reboot?{query}",
269
+ "requestSchema": "schema.json",
270
+ "responseSchema": "schema.json",
271
+ "timeout": 0,
272
+ "sendEmpty": false,
273
+ "requestDatatype": "JSON",
274
+ "responseDatatype": "JSON",
275
+ "headers": {},
276
+ "responseObjects": [
277
+ {
278
+ "type": "default",
279
+ "key": "",
280
+ "mockFile": ""
281
+ }
282
+ ]
283
+ },
284
+ {
285
+ "name": "createVMGuestShutdownRequest",
286
+ "protocol": "REST",
287
+ "method": "POST",
288
+ "entitypath": "{base_path}/{version}/vms/{pathv1}/guest_shutdown?{query}",
289
+ "requestSchema": "schema.json",
290
+ "responseSchema": "schema.json",
291
+ "timeout": 0,
292
+ "sendEmpty": false,
293
+ "requestDatatype": "JSON",
294
+ "responseDatatype": "JSON",
295
+ "headers": {},
296
+ "responseObjects": [
297
+ {
298
+ "type": "default",
299
+ "key": "",
300
+ "mockFile": ""
301
+ }
302
+ ]
303
+ },
304
+ {
305
+ "name": "releaseIPAddressesForNICsForVMNICUUIDs",
306
+ "protocol": "REST",
307
+ "method": "PUT",
308
+ "entitypath": "{base_path}/{version}/vms/{pathv1}/release_ip?{query}",
309
+ "requestSchema": "schema.json",
310
+ "responseSchema": "schema.json",
311
+ "timeout": 0,
312
+ "sendEmpty": false,
313
+ "requestDatatype": "JSON",
314
+ "responseDatatype": "JSON",
315
+ "headers": {},
316
+ "responseObjects": [
317
+ {
318
+ "type": "default",
319
+ "key": "",
320
+ "mockFile": ""
321
+ }
322
+ ]
323
+ },
324
+ {
325
+ "name": "createVM",
326
+ "protocol": "REST",
327
+ "method": "POST",
328
+ "entitypath": "{base_path}/{version}/vms?{query}",
329
+ "requestSchema": "schema.json",
330
+ "responseSchema": "schema.json",
331
+ "timeout": 0,
332
+ "sendEmpty": false,
333
+ "requestDatatype": "JSON",
334
+ "responseDatatype": "JSON",
335
+ "headers": {},
336
+ "responseObjects": [
337
+ {
338
+ "type": "default",
339
+ "key": "",
340
+ "mockFile": ""
341
+ }
342
+ ]
343
+ },
344
+ {
345
+ "name": "createVMGuestRebootRequest",
346
+ "protocol": "REST",
347
+ "method": "POST",
348
+ "entitypath": "{base_path}/{version}/vms/{pathv1}/guest_reboot?{query}",
349
+ "requestSchema": "schema.json",
350
+ "responseSchema": "schema.json",
351
+ "timeout": 0,
352
+ "sendEmpty": false,
353
+ "requestDatatype": "JSON",
354
+ "responseDatatype": "JSON",
355
+ "headers": {},
356
+ "responseObjects": [
357
+ {
358
+ "type": "default",
359
+ "key": "",
360
+ "mockFile": ""
361
+ }
362
+ ]
363
+ }
364
+ ]
365
+ }
@@ -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": "createVMResetRequest",
12
+ "enum": [
13
+ "createVMResetRequest",
14
+ "resumeReplicationForVM",
15
+ "createAVMPowerCycleRequest",
16
+ "pauseReplicationForVM",
17
+ "getVMs",
18
+ "createAVMAcpiShutdownRequest",
19
+ "cloneAVM",
20
+ "updateAVM",
21
+ "deleteAVM",
22
+ "getAVM",
23
+ "migrateVMDisks",
24
+ "requestIPAddressesForNICsWithUUIDs",
25
+ "createOVAObject",
26
+ "createVMAcpiRebootRequest",
27
+ "createVMGuestShutdownRequest",
28
+ "releaseIPAddressesForNICsForVMNICUUIDs",
29
+ "createVM",
30
+ "createVMGuestRebootRequest"
31
+ ],
32
+ "external_name": "ph_request_type"
33
+ }
34
+ },
35
+ "definitions": {}
36
+ }
@@ -0,0 +1,45 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "updateAVpcRouteTable",
5
+ "protocol": "REST",
6
+ "method": "PUT",
7
+ "entitypath": "{base_path}/{version}/vpcs/{pathv1}/route_tables?{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": "getAVpcRouteTable",
25
+ "protocol": "REST",
26
+ "method": "GET",
27
+ "entitypath": "{base_path}/{version}/vpcs/{pathv1}/route_tables?{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
+ "responseObjects": [
37
+ {
38
+ "type": "default",
39
+ "key": "",
40
+ "mockFile": ""
41
+ }
42
+ ]
43
+ }
44
+ ]
45
+ }
@@ -0,0 +1,20 @@
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": "updateAVpcRouteTable",
12
+ "enum": [
13
+ "updateAVpcRouteTable",
14
+ "getAVpcRouteTable"
15
+ ],
16
+ "external_name": "ph_request_type"
17
+ }
18
+ },
19
+ "definitions": {}
20
+ }
@@ -0,0 +1,168 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "downloadVendorDeviceConfigurationSteps",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/vpn_connections/{pathv1}/vendor_config/{pathv2}/{pathv3}?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "PLAIN",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": ""
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "getVendorDevices",
26
+ "protocol": "REST",
27
+ "method": "GET",
28
+ "entitypath": "{base_path}/{version}/vpn_connections/{pathv1}/vendor_config?{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": ""
42
+ }
43
+ ]
44
+ },
45
+ {
46
+ "name": "updateAVpnConnection",
47
+ "protocol": "REST",
48
+ "method": "PUT",
49
+ "entitypath": "{base_path}/{version}/vpn_connections/{pathv1}?{query}",
50
+ "requestSchema": "schema.json",
51
+ "responseSchema": "schema.json",
52
+ "timeout": 0,
53
+ "sendEmpty": false,
54
+ "requestDatatype": "JSON",
55
+ "responseDatatype": "JSON",
56
+ "headers": {},
57
+ "responseObjects": [
58
+ {
59
+ "type": "default",
60
+ "key": "",
61
+ "mockFile": ""
62
+ }
63
+ ]
64
+ },
65
+ {
66
+ "name": "deleteAVpnConnection",
67
+ "protocol": "REST",
68
+ "method": "DELETE",
69
+ "entitypath": "{base_path}/{version}/vpn_connections/{pathv1}?{query}",
70
+ "requestSchema": "schema.json",
71
+ "responseSchema": "schema.json",
72
+ "timeout": 0,
73
+ "sendEmpty": 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": "getAVpnConnection",
87
+ "protocol": "REST",
88
+ "method": "GET",
89
+ "entitypath": "{base_path}/{version}/vpn_connections/{pathv1}?{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": "getVpncConnections",
108
+ "protocol": "REST",
109
+ "method": "POST",
110
+ "entitypath": "{base_path}/{version}/vpn_connections/list?{query}",
111
+ "requestSchema": "schema.json",
112
+ "responseSchema": "schema.json",
113
+ "timeout": 0,
114
+ "sendEmpty": false,
115
+ "requestDatatype": "JSON",
116
+ "responseDatatype": "JSON",
117
+ "headers": {},
118
+ "responseObjects": [
119
+ {
120
+ "type": "default",
121
+ "key": "",
122
+ "mockFile": ""
123
+ }
124
+ ]
125
+ },
126
+ {
127
+ "name": "createAVpnConnection",
128
+ "protocol": "REST",
129
+ "method": "POST",
130
+ "entitypath": "{base_path}/{version}/vpn_connections?{query}",
131
+ "requestSchema": "schema.json",
132
+ "responseSchema": "schema.json",
133
+ "timeout": 0,
134
+ "sendEmpty": false,
135
+ "requestDatatype": "JSON",
136
+ "responseDatatype": "JSON",
137
+ "headers": {},
138
+ "responseObjects": [
139
+ {
140
+ "type": "default",
141
+ "key": "",
142
+ "mockFile": ""
143
+ }
144
+ ]
145
+ },
146
+ {
147
+ "name": "getVpnConnectionsUuidVendorConfigName",
148
+ "protocol": "REST",
149
+ "method": "GET",
150
+ "entitypath": "{base_path}/{version}/vpn_connections/{pathv1}/vendor_config/{pathv2}?{query}",
151
+ "requestSchema": "schema.json",
152
+ "responseSchema": "schema.json",
153
+ "timeout": 0,
154
+ "sendEmpty": false,
155
+ "sendGetBody": false,
156
+ "requestDatatype": "JSON",
157
+ "responseDatatype": "PLAIN",
158
+ "headers": {},
159
+ "responseObjects": [
160
+ {
161
+ "type": "default",
162
+ "key": "",
163
+ "mockFile": ""
164
+ }
165
+ ]
166
+ }
167
+ ]
168
+ }
@@ -0,0 +1,26 @@
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": "downloadVendorDeviceConfigurationSteps",
12
+ "enum": [
13
+ "downloadVendorDeviceConfigurationSteps",
14
+ "getVendorDevices",
15
+ "updateAVpnConnection",
16
+ "deleteAVpnConnection",
17
+ "getAVpnConnection",
18
+ "getVpncConnections",
19
+ "createAVpnConnection",
20
+ "getVpnConnectionsUuidVendorConfigName"
21
+ ],
22
+ "external_name": "ph_request_type"
23
+ }
24
+ },
25
+ "definitions": {}
26
+ }