@itentialopensource/adapter-bluecat_ipam 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 (108) hide show
  1. package/.eslintignore +5 -0
  2. package/.eslintrc.js +19 -0
  3. package/.jshintrc +3 -0
  4. package/AUTH.md +39 -0
  5. package/BROKER.md +211 -0
  6. package/CALLS.md +3069 -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 +681 -0
  13. package/README.md +344 -0
  14. package/SUMMARY.md +9 -0
  15. package/SYSTEMINFO.md +25 -0
  16. package/TAB1.md +15 -0
  17. package/TAB2.md +318 -0
  18. package/TROUBLESHOOT.md +56 -0
  19. package/UTILITIES.md +473 -0
  20. package/adapter.js +47832 -0
  21. package/adapterBase.js +1526 -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/ACLResources/action.json +127 -0
  31. package/entities/ACLResources/schema.json +24 -0
  32. package/entities/AdminResources/action.json +1954 -0
  33. package/entities/AdminResources/schema.json +113 -0
  34. package/entities/ConfigurationResources/action.json +106 -0
  35. package/entities/ConfigurationResources/schema.json +23 -0
  36. package/entities/DHCPClientClassResources/action.json +250 -0
  37. package/entities/DHCPClientClassResources/schema.json +30 -0
  38. package/entities/DHCPZoneResources/action.json +250 -0
  39. package/entities/DHCPZoneResources/schema.json +30 -0
  40. package/entities/DNSSECResources/action.json +147 -0
  41. package/entities/DNSSECResources/schema.json +25 -0
  42. package/entities/DeploymentOptionResources/action.json +250 -0
  43. package/entities/DeploymentOptionResources/schema.json +30 -0
  44. package/entities/DeploymentRoleResources/action.json +169 -0
  45. package/entities/DeploymentRoleResources/schema.json +26 -0
  46. package/entities/DeviceResources/action.json +352 -0
  47. package/entities/DeviceResources/schema.json +35 -0
  48. package/entities/FavoriteResources/action.json +65 -0
  49. package/entities/FavoriteResources/schema.json +21 -0
  50. package/entities/IPv4AndIPv6Resources/action.json +1964 -0
  51. package/entities/IPv4AndIPv6Resources/schema.json +113 -0
  52. package/entities/KerberosResources/action.json +393 -0
  53. package/entities/KerberosResources/schema.json +37 -0
  54. package/entities/LocationResources/action.json +209 -0
  55. package/entities/LocationResources/schema.json +28 -0
  56. package/entities/MACAddressAndClientIdentifierResources/action.json +395 -0
  57. package/entities/MACAddressAndClientIdentifierResources/schema.json +37 -0
  58. package/entities/NamingPolicyResources/action.json +476 -0
  59. package/entities/NamingPolicyResources/schema.json +41 -0
  60. package/entities/ResourceRecordResources/action.json +377 -0
  61. package/entities/ResourceRecordResources/schema.json +36 -0
  62. package/entities/ServerResources/action.json +784 -0
  63. package/entities/ServerResources/schema.json +56 -0
  64. package/entities/TFTPResources/action.json +250 -0
  65. package/entities/TFTPResources/schema.json +30 -0
  66. package/entities/TagResources/action.json +495 -0
  67. package/entities/TagResources/schema.json +42 -0
  68. package/entities/TaskResources/action.json +106 -0
  69. package/entities/TaskResources/schema.json +23 -0
  70. package/entities/VendorProfileResources/action.json +106 -0
  71. package/entities/VendorProfileResources/schema.json +23 -0
  72. package/entities/ViewAndZoneResources/action.json +660 -0
  73. package/entities/ViewAndZoneResources/schema.json +50 -0
  74. package/error.json +190 -0
  75. package/metadata.json +84 -0
  76. package/package.json +75 -0
  77. package/pronghorn.json +34480 -0
  78. package/propertiesDecorators.json +18 -0
  79. package/propertiesSchema.json +1777 -0
  80. package/report/Bluecat IPAM 9.5 v2 API.yml-OpenApi3Json.json +114720 -0
  81. package/report/adapterInfo.json +10 -0
  82. package/report/auto-adapter-openapi.json +28663 -0
  83. package/report/creationReport.json +2910 -0
  84. package/sampleProperties.json +264 -0
  85. package/test/integration/adapterTestBasicGet.js +117 -0
  86. package/test/integration/adapterTestConnectivity.js +117 -0
  87. package/test/integration/adapterTestIntegration.js +12568 -0
  88. package/test/unit/adapterBaseTestUnit.js +1628 -0
  89. package/test/unit/adapterTestUnit.js +16058 -0
  90. package/utils/adapterInfo.js +156 -0
  91. package/utils/argParser.js +44 -0
  92. package/utils/checkMigrate.js +102 -0
  93. package/utils/entitiesToDB.js +190 -0
  94. package/utils/findPath.js +74 -0
  95. package/utils/logger.js +26 -0
  96. package/utils/methodDocumentor.js +298 -0
  97. package/utils/modify.js +153 -0
  98. package/utils/mongoDbConnection.js +79 -0
  99. package/utils/mongoUtils.js +162 -0
  100. package/utils/pre-commit.sh +32 -0
  101. package/utils/removeHooks.js +20 -0
  102. package/utils/setup.js +33 -0
  103. package/utils/taskMover.js +308 -0
  104. package/utils/tbScript.js +103 -0
  105. package/utils/tbUtils.js +347 -0
  106. package/utils/testRunner.js +298 -0
  107. package/utils/troubleshootingAdapter.js +177 -0
  108. package/utils/updateAdapterConfig.js +158 -0
@@ -0,0 +1,660 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getCollectionDefaultZones",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/api/v2/{pathv1}/{pathv2}/defaultZones?{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
+ "name": "postCollectionDefaultZone",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/api/v2/{pathv1}/{pathv2}/defaultZones?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "requestDatatype": "JSON",
34
+ "responseDatatype": "JSON",
35
+ "headers": {},
36
+ "responseObjects": [
37
+ {
38
+ "type": "default",
39
+ "key": "",
40
+ "mockFile": ""
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "name": "getCollectionDefaultZone",
46
+ "protocol": "REST",
47
+ "method": "GET",
48
+ "entitypath": "{base_path}/{version}/api/v2/{pathv1}/{pathv2}/defaultZones/{pathv3}?{query}",
49
+ "requestSchema": "schema.json",
50
+ "responseSchema": "schema.json",
51
+ "timeout": 0,
52
+ "sendEmpty": false,
53
+ "sendGetBody": 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": "deleteCollectionDefaultZone",
67
+ "protocol": "REST",
68
+ "method": "DELETE",
69
+ "entitypath": "{base_path}/{version}/api/v2/{pathv1}/{pathv2}/defaultZones/{pathv3}?{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": "getPolicyItems",
87
+ "protocol": "REST",
88
+ "method": "GET",
89
+ "entitypath": "{base_path}/{version}/api/v2/policyItems?{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": "getPolicyItem",
108
+ "protocol": "REST",
109
+ "method": "GET",
110
+ "entitypath": "{base_path}/{version}/api/v2/policyItems/{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": "putPolicyItem",
129
+ "protocol": "REST",
130
+ "method": "PUT",
131
+ "entitypath": "{base_path}/{version}/api/v2/policyItems/{pathv1}?{query}",
132
+ "requestSchema": "schema.json",
133
+ "responseSchema": "schema.json",
134
+ "timeout": 0,
135
+ "sendEmpty": false,
136
+ "requestDatatype": "JSON",
137
+ "responseDatatype": "JSON",
138
+ "headers": {},
139
+ "responseObjects": [
140
+ {
141
+ "type": "default",
142
+ "key": "",
143
+ "mockFile": ""
144
+ }
145
+ ]
146
+ },
147
+ {
148
+ "name": "deletePolicyItem",
149
+ "protocol": "REST",
150
+ "method": "DELETE",
151
+ "entitypath": "{base_path}/{version}/api/v2/policyItems/{pathv1}?{query}",
152
+ "requestSchema": "schema.json",
153
+ "responseSchema": "schema.json",
154
+ "timeout": 0,
155
+ "sendEmpty": false,
156
+ "requestDatatype": "JSON",
157
+ "responseDatatype": "JSON",
158
+ "headers": {},
159
+ "responseObjects": [
160
+ {
161
+ "type": "default",
162
+ "key": "",
163
+ "mockFile": ""
164
+ }
165
+ ]
166
+ },
167
+ {
168
+ "name": "getResponsePolicyPolicyItems",
169
+ "protocol": "REST",
170
+ "method": "GET",
171
+ "entitypath": "{base_path}/{version}/api/v2/responsePolicies/{pathv1}/policyItems?{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": ""
185
+ }
186
+ ]
187
+ },
188
+ {
189
+ "name": "postResponsePolicyPolicyItem",
190
+ "protocol": "REST",
191
+ "method": "POST",
192
+ "entitypath": "{base_path}/{version}/api/v2/responsePolicies/{pathv1}/policyItems?{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": "getResponsePolicies",
210
+ "protocol": "REST",
211
+ "method": "GET",
212
+ "entitypath": "{base_path}/{version}/api/v2/responsePolicies?{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": "getResponsePolicy",
231
+ "protocol": "REST",
232
+ "method": "GET",
233
+ "entitypath": "{base_path}/{version}/api/v2/responsePolicies/{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": "putResponsePolicy",
252
+ "protocol": "REST",
253
+ "method": "PUT",
254
+ "entitypath": "{base_path}/{version}/api/v2/responsePolicies/{pathv1}?{query}",
255
+ "requestSchema": "schema.json",
256
+ "responseSchema": "schema.json",
257
+ "timeout": 0,
258
+ "sendEmpty": false,
259
+ "requestDatatype": "JSON",
260
+ "responseDatatype": "JSON",
261
+ "headers": {},
262
+ "responseObjects": [
263
+ {
264
+ "type": "default",
265
+ "key": "",
266
+ "mockFile": ""
267
+ }
268
+ ]
269
+ },
270
+ {
271
+ "name": "deleteResponsePolicy",
272
+ "protocol": "REST",
273
+ "method": "DELETE",
274
+ "entitypath": "{base_path}/{version}/api/v2/responsePolicies/{pathv1}?{query}",
275
+ "requestSchema": "schema.json",
276
+ "responseSchema": "schema.json",
277
+ "timeout": 0,
278
+ "sendEmpty": false,
279
+ "requestDatatype": "JSON",
280
+ "responseDatatype": "JSON",
281
+ "headers": {},
282
+ "responseObjects": [
283
+ {
284
+ "type": "default",
285
+ "key": "",
286
+ "mockFile": ""
287
+ }
288
+ ]
289
+ },
290
+ {
291
+ "name": "getConfigurationResponsePolicies",
292
+ "protocol": "REST",
293
+ "method": "GET",
294
+ "entitypath": "{base_path}/{version}/api/v2/configurations/{pathv1}/responsePolicies?{query}",
295
+ "requestSchema": "schema.json",
296
+ "responseSchema": "schema.json",
297
+ "timeout": 0,
298
+ "sendEmpty": false,
299
+ "sendGetBody": 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": "postConfigurationResponsePolicy",
313
+ "protocol": "REST",
314
+ "method": "POST",
315
+ "entitypath": "{base_path}/{version}/api/v2/configurations/{pathv1}/responsePolicies?{query}",
316
+ "requestSchema": "schema.json",
317
+ "responseSchema": "schema.json",
318
+ "timeout": 0,
319
+ "sendEmpty": false,
320
+ "requestDatatype": "JSON",
321
+ "responseDatatype": "JSON",
322
+ "headers": {},
323
+ "responseObjects": [
324
+ {
325
+ "type": "default",
326
+ "key": "",
327
+ "mockFile": ""
328
+ }
329
+ ]
330
+ },
331
+ {
332
+ "name": "getCollectionRestrictedZones",
333
+ "protocol": "REST",
334
+ "method": "GET",
335
+ "entitypath": "{base_path}/{version}/api/v2/{pathv1}/{pathv2}/restrictedZones?{query}",
336
+ "requestSchema": "schema.json",
337
+ "responseSchema": "schema.json",
338
+ "timeout": 0,
339
+ "sendEmpty": false,
340
+ "sendGetBody": false,
341
+ "requestDatatype": "JSON",
342
+ "responseDatatype": "JSON",
343
+ "headers": {},
344
+ "responseObjects": [
345
+ {
346
+ "type": "default",
347
+ "key": "",
348
+ "mockFile": ""
349
+ }
350
+ ]
351
+ },
352
+ {
353
+ "name": "postCollectionRestrictedZone",
354
+ "protocol": "REST",
355
+ "method": "POST",
356
+ "entitypath": "{base_path}/{version}/api/v2/{pathv1}/{pathv2}/restrictedZones?{query}",
357
+ "requestSchema": "schema.json",
358
+ "responseSchema": "schema.json",
359
+ "timeout": 0,
360
+ "sendEmpty": false,
361
+ "requestDatatype": "JSON",
362
+ "responseDatatype": "JSON",
363
+ "headers": {},
364
+ "responseObjects": [
365
+ {
366
+ "type": "default",
367
+ "key": "",
368
+ "mockFile": ""
369
+ }
370
+ ]
371
+ },
372
+ {
373
+ "name": "getCollectionRestrictedZone",
374
+ "protocol": "REST",
375
+ "method": "GET",
376
+ "entitypath": "{base_path}/{version}/api/v2/{pathv1}/{pathv2}/restrictedZones/{pathv3}?{query}",
377
+ "requestSchema": "schema.json",
378
+ "responseSchema": "schema.json",
379
+ "timeout": 0,
380
+ "sendEmpty": false,
381
+ "sendGetBody": false,
382
+ "requestDatatype": "JSON",
383
+ "responseDatatype": "JSON",
384
+ "headers": {},
385
+ "responseObjects": [
386
+ {
387
+ "type": "default",
388
+ "key": "",
389
+ "mockFile": ""
390
+ }
391
+ ]
392
+ },
393
+ {
394
+ "name": "deleteCollectionRestrictedZone",
395
+ "protocol": "REST",
396
+ "method": "DELETE",
397
+ "entitypath": "{base_path}/{version}/api/v2/{pathv1}/{pathv2}/restrictedZones/{pathv3}?{query}",
398
+ "requestSchema": "schema.json",
399
+ "responseSchema": "schema.json",
400
+ "timeout": 0,
401
+ "sendEmpty": false,
402
+ "requestDatatype": "JSON",
403
+ "responseDatatype": "JSON",
404
+ "headers": {},
405
+ "responseObjects": [
406
+ {
407
+ "type": "default",
408
+ "key": "",
409
+ "mockFile": ""
410
+ }
411
+ ]
412
+ },
413
+ {
414
+ "name": "getViews",
415
+ "protocol": "REST",
416
+ "method": "GET",
417
+ "entitypath": "{base_path}/{version}/api/v2/views?{query}",
418
+ "requestSchema": "schema.json",
419
+ "responseSchema": "schema.json",
420
+ "timeout": 0,
421
+ "sendEmpty": false,
422
+ "sendGetBody": false,
423
+ "requestDatatype": "JSON",
424
+ "responseDatatype": "JSON",
425
+ "headers": {},
426
+ "responseObjects": [
427
+ {
428
+ "type": "default",
429
+ "key": "",
430
+ "mockFile": ""
431
+ }
432
+ ]
433
+ },
434
+ {
435
+ "name": "getView",
436
+ "protocol": "REST",
437
+ "method": "GET",
438
+ "entitypath": "{base_path}/{version}/api/v2/views/{pathv1}?{query}",
439
+ "requestSchema": "schema.json",
440
+ "responseSchema": "schema.json",
441
+ "timeout": 0,
442
+ "sendEmpty": false,
443
+ "sendGetBody": false,
444
+ "requestDatatype": "JSON",
445
+ "responseDatatype": "JSON",
446
+ "headers": {},
447
+ "responseObjects": [
448
+ {
449
+ "type": "default",
450
+ "key": "",
451
+ "mockFile": ""
452
+ }
453
+ ]
454
+ },
455
+ {
456
+ "name": "putView",
457
+ "protocol": "REST",
458
+ "method": "PUT",
459
+ "entitypath": "{base_path}/{version}/api/v2/views/{pathv1}?{query}",
460
+ "requestSchema": "schema.json",
461
+ "responseSchema": "schema.json",
462
+ "timeout": 0,
463
+ "sendEmpty": false,
464
+ "requestDatatype": "JSON",
465
+ "responseDatatype": "JSON",
466
+ "headers": {},
467
+ "responseObjects": [
468
+ {
469
+ "type": "default",
470
+ "key": "",
471
+ "mockFile": ""
472
+ }
473
+ ]
474
+ },
475
+ {
476
+ "name": "deleteView",
477
+ "protocol": "REST",
478
+ "method": "DELETE",
479
+ "entitypath": "{base_path}/{version}/api/v2/views/{pathv1}?{query}",
480
+ "requestSchema": "schema.json",
481
+ "responseSchema": "schema.json",
482
+ "timeout": 0,
483
+ "sendEmpty": false,
484
+ "requestDatatype": "JSON",
485
+ "responseDatatype": "JSON",
486
+ "headers": {},
487
+ "responseObjects": [
488
+ {
489
+ "type": "default",
490
+ "key": "",
491
+ "mockFile": ""
492
+ }
493
+ ]
494
+ },
495
+ {
496
+ "name": "getConfigurationViews",
497
+ "protocol": "REST",
498
+ "method": "GET",
499
+ "entitypath": "{base_path}/{version}/api/v2/configurations/{pathv1}/views?{query}",
500
+ "requestSchema": "schema.json",
501
+ "responseSchema": "schema.json",
502
+ "timeout": 0,
503
+ "sendEmpty": false,
504
+ "sendGetBody": false,
505
+ "requestDatatype": "JSON",
506
+ "responseDatatype": "JSON",
507
+ "headers": {},
508
+ "responseObjects": [
509
+ {
510
+ "type": "default",
511
+ "key": "",
512
+ "mockFile": ""
513
+ }
514
+ ]
515
+ },
516
+ {
517
+ "name": "postConfigurationView",
518
+ "protocol": "REST",
519
+ "method": "POST",
520
+ "entitypath": "{base_path}/{version}/api/v2/configurations/{pathv1}/views?{query}",
521
+ "requestSchema": "schema.json",
522
+ "responseSchema": "schema.json",
523
+ "timeout": 0,
524
+ "sendEmpty": false,
525
+ "requestDatatype": "JSON",
526
+ "responseDatatype": "JSON",
527
+ "headers": {},
528
+ "responseObjects": [
529
+ {
530
+ "type": "default",
531
+ "key": "",
532
+ "mockFile": ""
533
+ }
534
+ ]
535
+ },
536
+ {
537
+ "name": "getZones",
538
+ "protocol": "REST",
539
+ "method": "GET",
540
+ "entitypath": "{base_path}/{version}/api/v2/zones?{query}",
541
+ "requestSchema": "schema.json",
542
+ "responseSchema": "schema.json",
543
+ "timeout": 0,
544
+ "sendEmpty": false,
545
+ "sendGetBody": false,
546
+ "requestDatatype": "JSON",
547
+ "responseDatatype": "JSON",
548
+ "headers": {},
549
+ "responseObjects": [
550
+ {
551
+ "type": "default",
552
+ "key": "",
553
+ "mockFile": ""
554
+ }
555
+ ]
556
+ },
557
+ {
558
+ "name": "getZone",
559
+ "protocol": "REST",
560
+ "method": "GET",
561
+ "entitypath": "{base_path}/{version}/api/v2/zones/{pathv1}?{query}",
562
+ "requestSchema": "schema.json",
563
+ "responseSchema": "schema.json",
564
+ "timeout": 0,
565
+ "sendEmpty": false,
566
+ "sendGetBody": false,
567
+ "requestDatatype": "JSON",
568
+ "responseDatatype": "JSON",
569
+ "headers": {},
570
+ "responseObjects": [
571
+ {
572
+ "type": "default",
573
+ "key": "",
574
+ "mockFile": ""
575
+ }
576
+ ]
577
+ },
578
+ {
579
+ "name": "putZone",
580
+ "protocol": "REST",
581
+ "method": "PUT",
582
+ "entitypath": "{base_path}/{version}/api/v2/zones/{pathv1}?{query}",
583
+ "requestSchema": "schema.json",
584
+ "responseSchema": "schema.json",
585
+ "timeout": 0,
586
+ "sendEmpty": false,
587
+ "requestDatatype": "JSON",
588
+ "responseDatatype": "JSON",
589
+ "headers": {},
590
+ "responseObjects": [
591
+ {
592
+ "type": "default",
593
+ "key": "",
594
+ "mockFile": ""
595
+ }
596
+ ]
597
+ },
598
+ {
599
+ "name": "deleteZone",
600
+ "protocol": "REST",
601
+ "method": "DELETE",
602
+ "entitypath": "{base_path}/{version}/api/v2/zones/{pathv1}?{query}",
603
+ "requestSchema": "schema.json",
604
+ "responseSchema": "schema.json",
605
+ "timeout": 0,
606
+ "sendEmpty": false,
607
+ "requestDatatype": "JSON",
608
+ "responseDatatype": "JSON",
609
+ "headers": {},
610
+ "responseObjects": [
611
+ {
612
+ "type": "default",
613
+ "key": "",
614
+ "mockFile": ""
615
+ }
616
+ ]
617
+ },
618
+ {
619
+ "name": "getCollectionZones",
620
+ "protocol": "REST",
621
+ "method": "GET",
622
+ "entitypath": "{base_path}/{version}/api/v2/{pathv1}/{pathv2}/zones?{query}",
623
+ "requestSchema": "schema.json",
624
+ "responseSchema": "schema.json",
625
+ "timeout": 0,
626
+ "sendEmpty": false,
627
+ "sendGetBody": false,
628
+ "requestDatatype": "JSON",
629
+ "responseDatatype": "JSON",
630
+ "headers": {},
631
+ "responseObjects": [
632
+ {
633
+ "type": "default",
634
+ "key": "",
635
+ "mockFile": ""
636
+ }
637
+ ]
638
+ },
639
+ {
640
+ "name": "postCollectionZone",
641
+ "protocol": "REST",
642
+ "method": "POST",
643
+ "entitypath": "{base_path}/{version}/api/v2/{pathv1}/{pathv2}/zones?{query}",
644
+ "requestSchema": "schema.json",
645
+ "responseSchema": "schema.json",
646
+ "timeout": 0,
647
+ "sendEmpty": false,
648
+ "requestDatatype": "JSON",
649
+ "responseDatatype": "JSON",
650
+ "headers": {},
651
+ "responseObjects": [
652
+ {
653
+ "type": "default",
654
+ "key": "",
655
+ "mockFile": ""
656
+ }
657
+ ]
658
+ }
659
+ ]
660
+ }