@itentialopensource/adapter-viptela 0.9.0 → 0.10.2

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 (145) hide show
  1. package/AUTH.md +39 -0
  2. package/BROKER.md +199 -0
  3. package/CALLS.md +169 -0
  4. package/CHANGELOG.md +74 -29
  5. package/CODE_OF_CONDUCT.md +12 -17
  6. package/CONTRIBUTING.md +88 -74
  7. package/ENHANCE.md +69 -0
  8. package/PROPERTIES.md +641 -0
  9. package/README.md +221 -571
  10. package/SUMMARY.md +9 -0
  11. package/SYSTEMINFO.md +11 -0
  12. package/TROUBLESHOOT.md +47 -0
  13. package/adapter.js +34443 -1655
  14. package/adapterBase.js +1006 -252
  15. package/entities/.generic/action.json +105 -0
  16. package/entities/.generic/schema.json +6 -1
  17. package/entities/AdministrationAuditLog/action.json +252 -0
  18. package/entities/AdministrationAuditLog/schema.json +30 -0
  19. package/entities/AdministrationUserAndGroup/action.json +533 -0
  20. package/entities/AdministrationUserAndGroup/mockdatafiles/findUserGroups-default.json +4 -0
  21. package/entities/AdministrationUserAndGroup/mockdatafiles/findUserGroupsAsKeyValue-default.json +5 -0
  22. package/entities/AdministrationUserAndGroup/mockdatafiles/findUsers-default.json +3 -0
  23. package/entities/AdministrationUserAndGroup/mockdatafiles/getColoGroups-default.json +6 -0
  24. package/entities/AdministrationUserAndGroup/mockdatafiles/getVpnGroups-default.json +5 -0
  25. package/entities/AdministrationUserAndGroup/schema.json +44 -0
  26. package/entities/CertificateManagementDevice/action.json +517 -0
  27. package/entities/CertificateManagementDevice/mockdatafiles/getRootCertChains-default.json +3 -0
  28. package/entities/CertificateManagementDevice/schema.json +43 -0
  29. package/entities/ClusterManagement/action.json +477 -0
  30. package/entities/ClusterManagement/mockdatafiles/getConfiguredIPList-default.json +5 -0
  31. package/entities/ClusterManagement/mockdatafiles/getConnectedDevices-default.json +3 -0
  32. package/entities/ClusterManagement/mockdatafiles/getConnectedDevicesPerTenant-default.json +3 -0
  33. package/entities/ClusterManagement/mockdatafiles/getTenantsList-default.json +4 -0
  34. package/entities/ClusterManagement/mockdatafiles/listVmanages-default.json +4 -0
  35. package/entities/ClusterManagement/schema.json +41 -0
  36. package/entities/ColocationCluster/action.json +229 -0
  37. package/entities/ColocationCluster/schema.json +29 -0
  38. package/entities/ColocationServiceChain/action.json +86 -0
  39. package/entities/ColocationServiceChain/mockdatafiles/getEdgeDevices-default.json +5 -0
  40. package/entities/ColocationServiceChain/mockdatafiles/getpnfDevices-default.json +5 -0
  41. package/entities/ColocationServiceChain/schema.json +22 -0
  42. package/entities/ColocationServiceGroup/action.json +148 -0
  43. package/entities/ColocationServiceGroup/mockdatafiles/getAvailableChains-default.json +6 -0
  44. package/entities/ColocationServiceGroup/schema.json +25 -0
  45. package/entities/ConfigurationDisasterRecovery/action.json +696 -0
  46. package/entities/ConfigurationDisasterRecovery/mockdatafiles/downloadReplicationData-default.json +5 -0
  47. package/entities/ConfigurationDisasterRecovery/mockdatafiles/getDisasterRecoveryStatus-default.json +6 -0
  48. package/entities/ConfigurationDisasterRecovery/mockdatafiles/getLocalDataCenterState-default.json +6 -0
  49. package/entities/ConfigurationDisasterRecovery/mockdatafiles/getReachabilityInfo-default.json +5 -0
  50. package/entities/ConfigurationDisasterRecovery/mockdatafiles/getRemoteDCMembersState-default.json +3 -0
  51. package/entities/ConfigurationDisasterRecovery/mockdatafiles/getRemoteDataCenterState-default.json +6 -0
  52. package/entities/ConfigurationDisasterRecovery/schema.json +52 -0
  53. package/entities/ConfigurationFeatureList/action.json +46 -0
  54. package/entities/ConfigurationFeatureList/schema.json +20 -0
  55. package/entities/CreateABackupSnapshot/action.json +24 -0
  56. package/entities/CreateABackupSnapshot/schema.json +19 -0
  57. package/entities/DataCollectionAgent/action.json +470 -0
  58. package/entities/DataCollectionAgent/mockdatafiles/getTemplatePolicyDefinitionsDCA-default.json +5 -0
  59. package/entities/DataCollectionAgent/mockdatafiles/getVPNListsDCA-default.json +3 -0
  60. package/entities/DataCollectionAgent/mockdatafiles/getVedgeTemplateListDCA-default.json +6 -0
  61. package/entities/DataCollectionAgent/mockdatafiles/getVsmartTemplateListDCA-default.json +5 -0
  62. package/entities/DataCollectionAgent/mockdatafiles/listAllDevicesDCA-default.json +5 -0
  63. package/entities/DataCollectionAgent/schema.json +41 -0
  64. package/entities/DeviceActions/action.json +243 -0
  65. package/entities/DeviceActions/mockdatafiles/generateSecurityDevicesList-default.json +5 -0
  66. package/entities/DeviceActions/schema.json +13 -1
  67. package/entities/DeviceConfigHistory/action.json +294 -0
  68. package/entities/DeviceConfigHistory/schema.json +32 -0
  69. package/entities/MonitoringAlarmsDetails/action.json +684 -0
  70. package/entities/MonitoringAlarmsDetails/mockdatafiles/listDisabledAlarm-default.json +5 -0
  71. package/entities/MonitoringAlarmsDetails/schema.json +51 -0
  72. package/entities/MonitoringColocationCluster/action.json +360 -0
  73. package/entities/MonitoringColocationCluster/mockdatafiles/getClusterConfigByClusterId-default.json +3 -0
  74. package/entities/MonitoringColocationCluster/mockdatafiles/getClusterPortMappingByClusterId-default.json +3 -0
  75. package/entities/MonitoringColocationCluster/mockdatafiles/getPNFConfig-default.json +3 -0
  76. package/entities/MonitoringColocationCluster/mockdatafiles/getServiceGroupByClusterId-default.json +3 -0
  77. package/entities/MonitoringColocationCluster/mockdatafiles/getSystemStatusByDeviceId-default.json +6 -0
  78. package/entities/MonitoringColocationCluster/mockdatafiles/getVNFAlarmCount-default.json +6 -0
  79. package/entities/MonitoringColocationCluster/mockdatafiles/getVNFEventsCountDetail-default.json +4 -0
  80. package/entities/MonitoringColocationCluster/mockdatafiles/getVNFEventsDetail-default.json +3 -0
  81. package/entities/MonitoringColocationCluster/mockdatafiles/getVNFInterfaceDetail-default.json +3 -0
  82. package/entities/MonitoringColocationCluster/mockdatafiles/getpnfDetails-default.json +5 -0
  83. package/entities/MonitoringColocationCluster/mockdatafiles/getvnfByDeviceId-default.json +4 -0
  84. package/entities/MonitoringColocationCluster/mockdatafiles/listNetworkFunctionMap-default.json +3 -0
  85. package/entities/MonitoringColocationCluster/schema.json +35 -0
  86. package/entities/MonitoringDeviceDetails/action.json +40 -0
  87. package/entities/MonitoringDeviceDetails/schema.json +3 -1
  88. package/entities/MonitoringDeviceStatisticsDetails/action.json +109 -0
  89. package/entities/MonitoringDeviceStatisticsDetails/mockdatafiles/generateDeviceStatisticsData-default.json +3 -0
  90. package/entities/MonitoringDeviceStatisticsDetails/mockdatafiles/getActiveAlarms-default.json +5 -0
  91. package/entities/MonitoringDeviceStatisticsDetails/mockdatafiles/getStatDataFieldsByStateDataType-default.json +6 -0
  92. package/entities/MonitoringDeviceStatisticsDetails/mockdatafiles/getStatisticsType-default.json +4 -0
  93. package/entities/MonitoringDeviceStatisticsDetails/schema.json +23 -0
  94. package/entities/MonitoringEvents/action.json +378 -0
  95. package/entities/MonitoringEvents/mockdatafiles/getComponentsAsKeyValue-default.json +4 -0
  96. package/entities/MonitoringEvents/mockdatafiles/getEventTypesAsKeyValue-default.json +3 -0
  97. package/entities/MonitoringEvents/schema.json +36 -0
  98. package/entities/RealTimeMonitoringAAA/action.json +109 -0
  99. package/entities/RealTimeMonitoringAAA/mockdatafiles/getAllDeviceUsers-default.json +5 -0
  100. package/entities/RealTimeMonitoringAAA/mockdatafiles/getUsersFromDevice-default.json +6 -0
  101. package/entities/RealTimeMonitoringAAA/schema.json +23 -0
  102. package/entities/SSLProxyCertificateManagementDevice/action.json +494 -0
  103. package/entities/SSLProxyCertificateManagementDevice/mockdatafiles/getSslProxyList-default.json +4 -0
  104. package/entities/SSLProxyCertificateManagementDevice/schema.json +42 -0
  105. package/entities/ScheduledBackupRestore/action.json +189 -0
  106. package/entities/ScheduledBackupRestore/schema.json +27 -0
  107. package/entities/SystemCloudService/action.json +313 -0
  108. package/entities/SystemCloudService/schema.json +33 -0
  109. package/entities/SystemContainer/action.json +189 -0
  110. package/entities/SystemContainer/mockdatafiles/getCustomApp-default.json +3 -0
  111. package/entities/SystemContainer/schema.json +27 -0
  112. package/entities/TroubleshootingToolsDashboard/action.json +128 -0
  113. package/entities/TroubleshootingToolsDashboard/schema.json +24 -0
  114. package/entities/TroubleshootingToolsDeviceConnectivity/action.json +288 -0
  115. package/entities/TroubleshootingToolsDeviceConnectivity/schema.json +32 -0
  116. package/entities/TroubleshootingToolsDeviceSoftwarePackage/action.json +85 -0
  117. package/entities/TroubleshootingToolsDeviceSoftwarePackage/schema.json +22 -0
  118. package/entities/TroubleshootingToolsDeviceSoftwareUpdate/action.json +86 -0
  119. package/entities/TroubleshootingToolsDeviceSoftwareUpdate/schema.json +22 -0
  120. package/entities/TroubleshootingToolsDiagnostics/action.json +977 -0
  121. package/entities/TroubleshootingToolsDiagnostics/schema.json +65 -0
  122. package/entities/TroubleshootingToolsSoftwareActions/action.json +232 -0
  123. package/entities/TroubleshootingToolsSoftwareActions/mockdatafiles/findSoftwareImages-default.json +6 -0
  124. package/entities/TroubleshootingToolsSoftwareActions/mockdatafiles/findSoftwareImagesWithFilters-default.json +5 -0
  125. package/entities/TroubleshootingToolsSoftwareActions/schema.json +29 -0
  126. package/error.json +6 -0
  127. package/package.json +7 -5
  128. package/pronghorn.json +15511 -1652
  129. package/propertiesDecorators.json +14 -0
  130. package/propertiesSchema.json +421 -0
  131. package/refs?service=git-upload-pack +0 -0
  132. package/report/adapterInfo.json +10 -0
  133. package/report/updateReport1651360586947.json +114 -0
  134. package/report/updateReport1652490573359.json +120 -0
  135. package/sampleProperties.json +83 -1
  136. package/test/integration/adapterTestBasicGet.js +1 -1
  137. package/test/integration/adapterTestIntegration.js +10668 -107
  138. package/test/unit/adapterBaseTestUnit.js +30 -25
  139. package/test/unit/adapterTestUnit.js +8086 -177
  140. package/utils/adapterInfo.js +206 -0
  141. package/utils/entitiesToDB.js +12 -57
  142. package/utils/pre-commit.sh +3 -0
  143. package/utils/tbScript.js +35 -20
  144. package/utils/tbUtils.js +49 -31
  145. package/utils/testRunner.js +16 -16
@@ -0,0 +1,696 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "activate",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/disasterrecovery/activate?{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": "getClusterInfo",
25
+ "protocol": "REST",
26
+ "method": "GET",
27
+ "entitypath": "{base_path}/{version}/disasterrecovery/clusterInfo?{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
+ "name": "deleteLocalDC",
46
+ "protocol": "REST",
47
+ "method": "POST",
48
+ "entitypath": "{base_path}/{version}/disasterrecovery/deleteLocalDataCenter?{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": "deleteDC",
66
+ "protocol": "REST",
67
+ "method": "POST",
68
+ "entitypath": "{base_path}/{version}/disasterrecovery/deleteRemoteDataCenter?{query}",
69
+ "requestSchema": "schema.json",
70
+ "responseSchema": "schema.json",
71
+ "timeout": 0,
72
+ "sendEmpty": false,
73
+ "requestDatatype": "JSON",
74
+ "responseDatatype": "JSON",
75
+ "headers": {},
76
+ "responseObjects": [
77
+ {
78
+ "type": "default",
79
+ "key": "",
80
+ "mockFile": ""
81
+ }
82
+ ]
83
+ },
84
+ {
85
+ "name": "delete",
86
+ "protocol": "REST",
87
+ "method": "POST",
88
+ "entitypath": "{base_path}/{version}/disasterrecovery/deregister?{query}",
89
+ "requestSchema": "schema.json",
90
+ "responseSchema": "schema.json",
91
+ "timeout": 0,
92
+ "sendEmpty": false,
93
+ "requestDatatype": "JSON",
94
+ "responseDatatype": "JSON",
95
+ "headers": {},
96
+ "responseObjects": [
97
+ {
98
+ "type": "default",
99
+ "key": "",
100
+ "mockFile": ""
101
+ }
102
+ ]
103
+ },
104
+ {
105
+ "name": "getDetails",
106
+ "protocol": "REST",
107
+ "method": "GET",
108
+ "entitypath": "{base_path}/{version}/disasterrecovery/details?{query}",
109
+ "requestSchema": "schema.json",
110
+ "responseSchema": "schema.json",
111
+ "timeout": 0,
112
+ "sendEmpty": false,
113
+ "sendGetBody": false,
114
+ "requestDatatype": "JSON",
115
+ "responseDatatype": "JSON",
116
+ "headers": {},
117
+ "responseObjects": [
118
+ {
119
+ "type": "default",
120
+ "key": "",
121
+ "mockFile": ""
122
+ }
123
+ ]
124
+ },
125
+ {
126
+ "name": "downloadReplicationData",
127
+ "protocol": "REST",
128
+ "method": "GET",
129
+ "entitypath": "{base_path}/{version}/disasterrecovery/download/{pathv1}/{pathv2}?{query}",
130
+ "requestSchema": "schema.json",
131
+ "responseSchema": "schema.json",
132
+ "timeout": 0,
133
+ "sendEmpty": false,
134
+ "sendGetBody": false,
135
+ "requestDatatype": "JSON",
136
+ "responseDatatype": "JSON",
137
+ "headers": {},
138
+ "responseObjects": [
139
+ {
140
+ "type": "default",
141
+ "key": "",
142
+ "mockFile": "mockdatafiles/downloadReplicationData-default.json"
143
+ }
144
+ ]
145
+ },
146
+ {
147
+ "name": "getDisasterRecoveryStatus",
148
+ "protocol": "REST",
149
+ "method": "GET",
150
+ "entitypath": "{base_path}/{version}/disasterrecovery/drstatus?{query}",
151
+ "requestSchema": "schema.json",
152
+ "responseSchema": "schema.json",
153
+ "timeout": 0,
154
+ "sendEmpty": false,
155
+ "sendGetBody": false,
156
+ "requestDatatype": "JSON",
157
+ "responseDatatype": "JSON",
158
+ "headers": {},
159
+ "responseObjects": [
160
+ {
161
+ "type": "default",
162
+ "key": "",
163
+ "mockFile": "mockdatafiles/getDisasterRecoveryStatus-default.json"
164
+ }
165
+ ]
166
+ },
167
+ {
168
+ "name": "getHistory",
169
+ "protocol": "REST",
170
+ "method": "GET",
171
+ "entitypath": "{base_path}/{version}/disasterrecovery/history?{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": "getLocalHistory",
190
+ "protocol": "REST",
191
+ "method": "GET",
192
+ "entitypath": "{base_path}/{version}/disasterrecovery/localLatestHistory?{query}",
193
+ "requestSchema": "schema.json",
194
+ "responseSchema": "schema.json",
195
+ "timeout": 0,
196
+ "sendEmpty": false,
197
+ "sendGetBody": false,
198
+ "requestDatatype": "JSON",
199
+ "responseDatatype": "JSON",
200
+ "headers": {},
201
+ "responseObjects": [
202
+ {
203
+ "type": "default",
204
+ "key": "",
205
+ "mockFile": ""
206
+ }
207
+ ]
208
+ },
209
+ {
210
+ "name": "getLocalDataCenterState",
211
+ "protocol": "REST",
212
+ "method": "GET",
213
+ "entitypath": "{base_path}/{version}/disasterrecovery/localdc?{query}",
214
+ "requestSchema": "schema.json",
215
+ "responseSchema": "schema.json",
216
+ "timeout": 0,
217
+ "sendEmpty": false,
218
+ "sendGetBody": false,
219
+ "requestDatatype": "JSON",
220
+ "responseDatatype": "JSON",
221
+ "headers": {},
222
+ "responseObjects": [
223
+ {
224
+ "type": "default",
225
+ "key": "",
226
+ "mockFile": "mockdatafiles/getLocalDataCenterState-default.json"
227
+ }
228
+ ]
229
+ },
230
+ {
231
+ "name": "pauseDR",
232
+ "protocol": "REST",
233
+ "method": "POST",
234
+ "entitypath": "{base_path}/{version}/disasterrecovery/pause?{query}",
235
+ "requestSchema": "schema.json",
236
+ "responseSchema": "schema.json",
237
+ "timeout": 0,
238
+ "sendEmpty": 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": "pauseLocalArbitrator",
252
+ "protocol": "REST",
253
+ "method": "POST",
254
+ "entitypath": "{base_path}/{version}/disasterrecovery/pauseLocalArbitrator?{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": "pauseLocalDCForDR",
272
+ "protocol": "REST",
273
+ "method": "POST",
274
+ "entitypath": "{base_path}/{version}/disasterrecovery/pauseLocalDC?{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": "pauseLocalDCReplication",
292
+ "protocol": "REST",
293
+ "method": "POST",
294
+ "entitypath": "{base_path}/{version}/disasterrecovery/pauseLocalReplication?{query}",
295
+ "requestSchema": "schema.json",
296
+ "responseSchema": "schema.json",
297
+ "timeout": 0,
298
+ "sendEmpty": false,
299
+ "requestDatatype": "JSON",
300
+ "responseDatatype": "JSON",
301
+ "headers": {},
302
+ "responseObjects": [
303
+ {
304
+ "type": "default",
305
+ "key": "",
306
+ "mockFile": ""
307
+ }
308
+ ]
309
+ },
310
+ {
311
+ "name": "disasterRecoveryPauseReplication",
312
+ "protocol": "REST",
313
+ "method": "POST",
314
+ "entitypath": "{base_path}/{version}/disasterrecovery/pausereplication?{query}",
315
+ "requestSchema": "schema.json",
316
+ "responseSchema": "schema.json",
317
+ "timeout": 0,
318
+ "sendEmpty": false,
319
+ "requestDatatype": "JSON",
320
+ "responseDatatype": "JSON",
321
+ "headers": {},
322
+ "responseObjects": [
323
+ {
324
+ "type": "default",
325
+ "key": "",
326
+ "mockFile": ""
327
+ }
328
+ ]
329
+ },
330
+ {
331
+ "name": "update",
332
+ "protocol": "REST",
333
+ "method": "PUT",
334
+ "entitypath": "{base_path}/{version}/disasterrecovery/register?{query}",
335
+ "requestSchema": "schema.json",
336
+ "responseSchema": "schema.json",
337
+ "timeout": 0,
338
+ "sendEmpty": false,
339
+ "requestDatatype": "JSON",
340
+ "responseDatatype": "JSON",
341
+ "headers": {},
342
+ "responseObjects": [
343
+ {
344
+ "type": "default",
345
+ "key": "",
346
+ "mockFile": ""
347
+ }
348
+ ]
349
+ },
350
+ {
351
+ "name": "register",
352
+ "protocol": "REST",
353
+ "method": "POST",
354
+ "entitypath": "{base_path}/{version}/disasterrecovery/register?{query}",
355
+ "requestSchema": "schema.json",
356
+ "responseSchema": "schema.json",
357
+ "timeout": 0,
358
+ "sendEmpty": false,
359
+ "requestDatatype": "JSON",
360
+ "responseDatatype": "JSON",
361
+ "headers": {},
362
+ "responseObjects": [
363
+ {
364
+ "type": "default",
365
+ "key": "",
366
+ "mockFile": ""
367
+ }
368
+ ]
369
+ },
370
+ {
371
+ "name": "getRemoteDCMembersState",
372
+ "protocol": "REST",
373
+ "method": "GET",
374
+ "entitypath": "{base_path}/{version}/disasterrecovery/remoteDcState?{query}",
375
+ "requestSchema": "schema.json",
376
+ "responseSchema": "schema.json",
377
+ "timeout": 0,
378
+ "sendEmpty": false,
379
+ "sendGetBody": false,
380
+ "requestDatatype": "JSON",
381
+ "responseDatatype": "JSON",
382
+ "headers": {},
383
+ "responseObjects": [
384
+ {
385
+ "type": "default",
386
+ "key": "",
387
+ "mockFile": "mockdatafiles/getRemoteDCMembersState-default.json"
388
+ }
389
+ ]
390
+ },
391
+ {
392
+ "name": "getRemoteDataCenterState",
393
+ "protocol": "REST",
394
+ "method": "GET",
395
+ "entitypath": "{base_path}/{version}/disasterrecovery/remotedc?{query}",
396
+ "requestSchema": "schema.json",
397
+ "responseSchema": "schema.json",
398
+ "timeout": 0,
399
+ "sendEmpty": false,
400
+ "sendGetBody": false,
401
+ "requestDatatype": "JSON",
402
+ "responseDatatype": "JSON",
403
+ "headers": {},
404
+ "responseObjects": [
405
+ {
406
+ "type": "default",
407
+ "key": "",
408
+ "mockFile": "mockdatafiles/getRemoteDataCenterState-default.json"
409
+ }
410
+ ]
411
+ },
412
+ {
413
+ "name": "updateDisasterRecoveryState",
414
+ "protocol": "REST",
415
+ "method": "POST",
416
+ "entitypath": "{base_path}/{version}/disasterrecovery/remotedc?{query}",
417
+ "requestSchema": "schema.json",
418
+ "responseSchema": "schema.json",
419
+ "timeout": 0,
420
+ "sendEmpty": false,
421
+ "requestDatatype": "JSON",
422
+ "responseDatatype": "JSON",
423
+ "headers": {},
424
+ "responseObjects": [
425
+ {
426
+ "type": "default",
427
+ "key": "",
428
+ "mockFile": ""
429
+ }
430
+ ]
431
+ },
432
+ {
433
+ "name": "getRemoteDataCenterVersion",
434
+ "protocol": "REST",
435
+ "method": "GET",
436
+ "entitypath": "{base_path}/{version}/disasterrecovery/remotedc/swversion?{query}",
437
+ "requestSchema": "schema.json",
438
+ "responseSchema": "schema.json",
439
+ "timeout": 0,
440
+ "sendEmpty": false,
441
+ "sendGetBody": false,
442
+ "requestDatatype": "JSON",
443
+ "responseDatatype": "JSON",
444
+ "headers": {},
445
+ "responseObjects": [
446
+ {
447
+ "type": "default",
448
+ "key": "",
449
+ "mockFile": ""
450
+ }
451
+ ]
452
+ },
453
+ {
454
+ "name": "disasterRecoveryReplicationRequest",
455
+ "protocol": "REST",
456
+ "method": "POST",
457
+ "entitypath": "{base_path}/{version}/disasterrecovery/requestimport?{query}",
458
+ "requestSchema": "schema.json",
459
+ "responseSchema": "schema.json",
460
+ "timeout": 0,
461
+ "sendEmpty": false,
462
+ "requestDatatype": "JSON",
463
+ "responseDatatype": "JSON",
464
+ "headers": {},
465
+ "responseObjects": [
466
+ {
467
+ "type": "default",
468
+ "key": "",
469
+ "mockFile": ""
470
+ }
471
+ ]
472
+ },
473
+ {
474
+ "name": "restartDataCenter",
475
+ "protocol": "REST",
476
+ "method": "POST",
477
+ "entitypath": "{base_path}/{version}/disasterrecovery/restartDataCenter?{query}",
478
+ "requestSchema": "schema.json",
479
+ "responseSchema": "schema.json",
480
+ "timeout": 0,
481
+ "sendEmpty": false,
482
+ "requestDatatype": "JSON",
483
+ "responseDatatype": "JSON",
484
+ "headers": {},
485
+ "responseObjects": [
486
+ {
487
+ "type": "default",
488
+ "key": "",
489
+ "mockFile": ""
490
+ }
491
+ ]
492
+ },
493
+ {
494
+ "name": "getDisasterRecoveryLocalReplicationSchedule",
495
+ "protocol": "REST",
496
+ "method": "GET",
497
+ "entitypath": "{base_path}/{version}/disasterrecovery/schedule?{query}",
498
+ "requestSchema": "schema.json",
499
+ "responseSchema": "schema.json",
500
+ "timeout": 0,
501
+ "sendEmpty": false,
502
+ "sendGetBody": false,
503
+ "requestDatatype": "JSON",
504
+ "responseDatatype": "JSON",
505
+ "headers": {},
506
+ "responseObjects": [
507
+ {
508
+ "type": "default",
509
+ "key": "",
510
+ "mockFile": ""
511
+ }
512
+ ]
513
+ },
514
+ {
515
+ "name": "getdrStatus",
516
+ "protocol": "REST",
517
+ "method": "GET",
518
+ "entitypath": "{base_path}/{version}/disasterrecovery/status?{query}",
519
+ "requestSchema": "schema.json",
520
+ "responseSchema": "schema.json",
521
+ "timeout": 0,
522
+ "sendEmpty": false,
523
+ "sendGetBody": false,
524
+ "requestDatatype": "JSON",
525
+ "responseDatatype": "JSON",
526
+ "headers": {},
527
+ "responseObjects": [
528
+ {
529
+ "type": "default",
530
+ "key": "",
531
+ "mockFile": ""
532
+ }
533
+ ]
534
+ },
535
+ {
536
+ "name": "unpauseDR",
537
+ "protocol": "REST",
538
+ "method": "POST",
539
+ "entitypath": "{base_path}/{version}/disasterrecovery/unpause?{query}",
540
+ "requestSchema": "schema.json",
541
+ "responseSchema": "schema.json",
542
+ "timeout": 0,
543
+ "sendEmpty": false,
544
+ "requestDatatype": "JSON",
545
+ "responseDatatype": "JSON",
546
+ "headers": {},
547
+ "responseObjects": [
548
+ {
549
+ "type": "default",
550
+ "key": "",
551
+ "mockFile": ""
552
+ }
553
+ ]
554
+ },
555
+ {
556
+ "name": "unpauseLocalArbitrator",
557
+ "protocol": "REST",
558
+ "method": "POST",
559
+ "entitypath": "{base_path}/{version}/disasterrecovery/unpauseLocalArbitrator?{query}",
560
+ "requestSchema": "schema.json",
561
+ "responseSchema": "schema.json",
562
+ "timeout": 0,
563
+ "sendEmpty": false,
564
+ "requestDatatype": "JSON",
565
+ "responseDatatype": "JSON",
566
+ "headers": {},
567
+ "responseObjects": [
568
+ {
569
+ "type": "default",
570
+ "key": "",
571
+ "mockFile": ""
572
+ }
573
+ ]
574
+ },
575
+ {
576
+ "name": "unpauseLocalDCForDR",
577
+ "protocol": "REST",
578
+ "method": "POST",
579
+ "entitypath": "{base_path}/{version}/disasterrecovery/unpauseLocalDC?{query}",
580
+ "requestSchema": "schema.json",
581
+ "responseSchema": "schema.json",
582
+ "timeout": 0,
583
+ "sendEmpty": false,
584
+ "requestDatatype": "JSON",
585
+ "responseDatatype": "JSON",
586
+ "headers": {},
587
+ "responseObjects": [
588
+ {
589
+ "type": "default",
590
+ "key": "",
591
+ "mockFile": ""
592
+ }
593
+ ]
594
+ },
595
+ {
596
+ "name": "unpauseLocalDCReplication",
597
+ "protocol": "REST",
598
+ "method": "POST",
599
+ "entitypath": "{base_path}/{version}/disasterrecovery/unpauseLocalReplication?{query}",
600
+ "requestSchema": "schema.json",
601
+ "responseSchema": "schema.json",
602
+ "timeout": 0,
603
+ "sendEmpty": false,
604
+ "requestDatatype": "JSON",
605
+ "responseDatatype": "JSON",
606
+ "headers": {},
607
+ "responseObjects": [
608
+ {
609
+ "type": "default",
610
+ "key": "",
611
+ "mockFile": ""
612
+ }
613
+ ]
614
+ },
615
+ {
616
+ "name": "disasterRecoveryUnPauseReplication",
617
+ "protocol": "REST",
618
+ "method": "POST",
619
+ "entitypath": "{base_path}/{version}/disasterrecovery/unpausereplication?{query}",
620
+ "requestSchema": "schema.json",
621
+ "responseSchema": "schema.json",
622
+ "timeout": 0,
623
+ "sendEmpty": false,
624
+ "requestDatatype": "JSON",
625
+ "responseDatatype": "JSON",
626
+ "headers": {},
627
+ "responseObjects": [
628
+ {
629
+ "type": "default",
630
+ "key": "",
631
+ "mockFile": ""
632
+ }
633
+ ]
634
+ },
635
+ {
636
+ "name": "updateDrState",
637
+ "protocol": "REST",
638
+ "method": "POST",
639
+ "entitypath": "{base_path}/{version}/disasterrecovery/updateDRConfigOnArbitrator?{query}",
640
+ "requestSchema": "schema.json",
641
+ "responseSchema": "schema.json",
642
+ "timeout": 0,
643
+ "sendEmpty": false,
644
+ "requestDatatype": "JSON",
645
+ "responseDatatype": "JSON",
646
+ "headers": {},
647
+ "responseObjects": [
648
+ {
649
+ "type": "default",
650
+ "key": "",
651
+ "mockFile": ""
652
+ }
653
+ ]
654
+ },
655
+ {
656
+ "name": "updateReplication",
657
+ "protocol": "REST",
658
+ "method": "POST",
659
+ "entitypath": "{base_path}/{version}/disasterrecovery/updateReplication?{query}",
660
+ "requestSchema": "schema.json",
661
+ "responseSchema": "schema.json",
662
+ "timeout": 0,
663
+ "sendEmpty": false,
664
+ "requestDatatype": "JSON",
665
+ "responseDatatype": "JSON",
666
+ "headers": {},
667
+ "responseObjects": [
668
+ {
669
+ "type": "default",
670
+ "key": "",
671
+ "mockFile": ""
672
+ }
673
+ ]
674
+ },
675
+ {
676
+ "name": "getReachabilityInfo",
677
+ "protocol": "REST",
678
+ "method": "POST",
679
+ "entitypath": "{base_path}/{version}/disasterrecovery/validateNodes?{query}",
680
+ "requestSchema": "schema.json",
681
+ "responseSchema": "schema.json",
682
+ "timeout": 0,
683
+ "sendEmpty": false,
684
+ "requestDatatype": "JSON",
685
+ "responseDatatype": "JSON",
686
+ "headers": {},
687
+ "responseObjects": [
688
+ {
689
+ "type": "default",
690
+ "key": "",
691
+ "mockFile": "mockdatafiles/getReachabilityInfo-default.json"
692
+ }
693
+ ]
694
+ }
695
+ ]
696
+ }