@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,146 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "modifyProtectionRule",
5
+ "protocol": "REST",
6
+ "method": "PUT",
7
+ "entitypath": "{base_path}/{version}/protection_rules/{pathv1}?{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": "deleteAProtectionRule",
25
+ "protocol": "REST",
26
+ "method": "DELETE",
27
+ "entitypath": "{base_path}/{version}/protection_rules/{pathv1}?{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": "getAProtectionRule",
45
+ "protocol": "REST",
46
+ "method": "GET",
47
+ "entitypath": "{base_path}/{version}/protection_rules/{pathv1}?{query}",
48
+ "requestSchema": "schema.json",
49
+ "responseSchema": "schema.json",
50
+ "timeout": 0,
51
+ "sendEmpty": false,
52
+ "sendGetBody": 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": "getProtectionRuleEntities",
66
+ "protocol": "REST",
67
+ "method": "GET",
68
+ "entitypath": "{base_path}/{version}/protection_rules/{pathv1}/query_entities?{query}",
69
+ "requestSchema": "schema.json",
70
+ "responseSchema": "schema.json",
71
+ "timeout": 0,
72
+ "sendEmpty": false,
73
+ "sendGetBody": false,
74
+ "requestDatatype": "JSON",
75
+ "responseDatatype": "JSON",
76
+ "headers": {},
77
+ "responseObjects": [
78
+ {
79
+ "type": "default",
80
+ "key": "",
81
+ "mockFile": ""
82
+ }
83
+ ]
84
+ },
85
+ {
86
+ "name": "processAProtectionRule",
87
+ "protocol": "REST",
88
+ "method": "POST",
89
+ "entitypath": "{base_path}/{version}/protection_rules/{pathv1}/process?{query}",
90
+ "requestSchema": "schema.json",
91
+ "responseSchema": "schema.json",
92
+ "timeout": 0,
93
+ "sendEmpty": false,
94
+ "requestDatatype": "JSON",
95
+ "responseDatatype": "JSON",
96
+ "headers": {},
97
+ "responseObjects": [
98
+ {
99
+ "type": "default",
100
+ "key": "",
101
+ "mockFile": ""
102
+ }
103
+ ]
104
+ },
105
+ {
106
+ "name": "getProtectionRules",
107
+ "protocol": "REST",
108
+ "method": "POST",
109
+ "entitypath": "{base_path}/{version}/protection_rules/list?{query}",
110
+ "requestSchema": "schema.json",
111
+ "responseSchema": "schema.json",
112
+ "timeout": 0,
113
+ "sendEmpty": 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": "createAProtectionRule",
127
+ "protocol": "REST",
128
+ "method": "POST",
129
+ "entitypath": "{base_path}/{version}/protection_rules?{query}",
130
+ "requestSchema": "schema.json",
131
+ "responseSchema": "schema.json",
132
+ "timeout": 0,
133
+ "sendEmpty": false,
134
+ "requestDatatype": "JSON",
135
+ "responseDatatype": "JSON",
136
+ "headers": {},
137
+ "responseObjects": [
138
+ {
139
+ "type": "default",
140
+ "key": "",
141
+ "mockFile": ""
142
+ }
143
+ ]
144
+ }
145
+ ]
146
+ }
@@ -0,0 +1,25 @@
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": "modifyProtectionRule",
12
+ "enum": [
13
+ "modifyProtectionRule",
14
+ "deleteAProtectionRule",
15
+ "getAProtectionRule",
16
+ "getProtectionRuleEntities",
17
+ "processAProtectionRule",
18
+ "getProtectionRules",
19
+ "createAProtectionRule"
20
+ ],
21
+ "external_name": "ph_request_type"
22
+ }
23
+ },
24
+ "definitions": {}
25
+ }
@@ -0,0 +1,126 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "deleteRecoveryPlanJob",
5
+ "protocol": "REST",
6
+ "method": "DELETE",
7
+ "entitypath": "{base_path}/{version}/recovery_plan_jobs/{pathv1}?{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": "getRecoveryPlanJob",
25
+ "protocol": "REST",
26
+ "method": "GET",
27
+ "entitypath": "{base_path}/{version}/recovery_plan_jobs/{pathv1}?{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": "performActionOnRecoveryPlanJob",
46
+ "protocol": "REST",
47
+ "method": "POST",
48
+ "entitypath": "{base_path}/{version}/recovery_plan_jobs/{pathv1}/{pathv2}?{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": "getRecoveryPlanJobExecutionStatus",
66
+ "protocol": "REST",
67
+ "method": "GET",
68
+ "entitypath": "{base_path}/{version}/recovery_plan_jobs/{pathv1}/{pathv2}?{query}",
69
+ "requestSchema": "schema.json",
70
+ "responseSchema": "schema.json",
71
+ "timeout": 0,
72
+ "sendEmpty": false,
73
+ "sendGetBody": false,
74
+ "requestDatatype": "JSON",
75
+ "responseDatatype": "JSON",
76
+ "headers": {},
77
+ "responseObjects": [
78
+ {
79
+ "type": "default",
80
+ "key": "",
81
+ "mockFile": ""
82
+ }
83
+ ]
84
+ },
85
+ {
86
+ "name": "createRecoveryPlanJob",
87
+ "protocol": "REST",
88
+ "method": "POST",
89
+ "entitypath": "{base_path}/{version}/recovery_plan_jobs?{query}",
90
+ "requestSchema": "schema.json",
91
+ "responseSchema": "schema.json",
92
+ "timeout": 0,
93
+ "sendEmpty": false,
94
+ "requestDatatype": "JSON",
95
+ "responseDatatype": "JSON",
96
+ "headers": {},
97
+ "responseObjects": [
98
+ {
99
+ "type": "default",
100
+ "key": "",
101
+ "mockFile": ""
102
+ }
103
+ ]
104
+ },
105
+ {
106
+ "name": "getRecoveryPlanJobs",
107
+ "protocol": "REST",
108
+ "method": "POST",
109
+ "entitypath": "{base_path}/{version}/recovery_plan_jobs/list?{query}",
110
+ "requestSchema": "schema.json",
111
+ "responseSchema": "schema.json",
112
+ "timeout": 0,
113
+ "sendEmpty": false,
114
+ "requestDatatype": "JSON",
115
+ "responseDatatype": "JSON",
116
+ "headers": {},
117
+ "responseObjects": [
118
+ {
119
+ "type": "default",
120
+ "key": "",
121
+ "mockFile": ""
122
+ }
123
+ ]
124
+ }
125
+ ]
126
+ }
@@ -0,0 +1,24 @@
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": "deleteRecoveryPlanJob",
12
+ "enum": [
13
+ "deleteRecoveryPlanJob",
14
+ "getRecoveryPlanJob",
15
+ "performActionOnRecoveryPlanJob",
16
+ "getRecoveryPlanJobExecutionStatus",
17
+ "createRecoveryPlanJob",
18
+ "getRecoveryPlanJobs"
19
+ ],
20
+ "external_name": "ph_request_type"
21
+ }
22
+ },
23
+ "definitions": {}
24
+ }
@@ -0,0 +1,126 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getRecoveryPlanEntities",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/recovery_plans/{pathv1}/entities?{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": "updateRecoveryPlan",
26
+ "protocol": "REST",
27
+ "method": "PUT",
28
+ "entitypath": "{base_path}/{version}/recovery_plans/{pathv1}?{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": "deleteRecoveryPlan",
46
+ "protocol": "REST",
47
+ "method": "DELETE",
48
+ "entitypath": "{base_path}/{version}/recovery_plans/{pathv1}?{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": "getRecoveryPlan",
66
+ "protocol": "REST",
67
+ "method": "GET",
68
+ "entitypath": "{base_path}/{version}/recovery_plans/{pathv1}?{query}",
69
+ "requestSchema": "schema.json",
70
+ "responseSchema": "schema.json",
71
+ "timeout": 0,
72
+ "sendEmpty": false,
73
+ "sendGetBody": false,
74
+ "requestDatatype": "JSON",
75
+ "responseDatatype": "JSON",
76
+ "headers": {},
77
+ "responseObjects": [
78
+ {
79
+ "type": "default",
80
+ "key": "",
81
+ "mockFile": ""
82
+ }
83
+ ]
84
+ },
85
+ {
86
+ "name": "getRecoveryPlans",
87
+ "protocol": "REST",
88
+ "method": "POST",
89
+ "entitypath": "{base_path}/{version}/recovery_plans/list?{query}",
90
+ "requestSchema": "schema.json",
91
+ "responseSchema": "schema.json",
92
+ "timeout": 0,
93
+ "sendEmpty": false,
94
+ "requestDatatype": "JSON",
95
+ "responseDatatype": "JSON",
96
+ "headers": {},
97
+ "responseObjects": [
98
+ {
99
+ "type": "default",
100
+ "key": "",
101
+ "mockFile": ""
102
+ }
103
+ ]
104
+ },
105
+ {
106
+ "name": "createRecoveryPlan",
107
+ "protocol": "REST",
108
+ "method": "POST",
109
+ "entitypath": "{base_path}/{version}/recovery_plans?{query}",
110
+ "requestSchema": "schema.json",
111
+ "responseSchema": "schema.json",
112
+ "timeout": 0,
113
+ "sendEmpty": false,
114
+ "requestDatatype": "JSON",
115
+ "responseDatatype": "JSON",
116
+ "headers": {},
117
+ "responseObjects": [
118
+ {
119
+ "type": "default",
120
+ "key": "",
121
+ "mockFile": ""
122
+ }
123
+ ]
124
+ }
125
+ ]
126
+ }
@@ -0,0 +1,68 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": true,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "getRecoveryPlanEntities",
12
+ "enum": [
13
+ "getRecoveryPlanEntities",
14
+ "updateRecoveryPlan",
15
+ "deleteRecoveryPlan",
16
+ "getRecoveryPlan",
17
+ "getRecoveryPlans",
18
+ "createRecoveryPlan"
19
+ ],
20
+ "external_name": "ph_request_type"
21
+ },
22
+ "actionType": {
23
+ "type": "string",
24
+ "description": "The entities that will be recovered when an operation is performed on the Recovery Plan. Below is the list of supported action types. MIGRATE - Entities will be recovered...(description truncated)",
25
+ "parse": false,
26
+ "encode": false,
27
+ "encrypt": {
28
+ "type": "AES",
29
+ "key": ""
30
+ },
31
+ "external_name": "action_type"
32
+ },
33
+ "failedAvailabilityZoneInfoList": {
34
+ "type": "array",
35
+ "description": "List of Availability Zone URL and cluster UUIDs. Sample format is \" | | |...\" where cluster_uuids are optional.",
36
+ "parse": false,
37
+ "encode": false,
38
+ "encrypt": {
39
+ "type": "AES",
40
+ "key": ""
41
+ },
42
+ "external_name": "failed_availability_zone_info_list"
43
+ },
44
+ "recoveryAvailabilityZoneInfoList": {
45
+ "type": "array",
46
+ "description": "List of Availability Zone URL and cluster UUIDs. Sample format is \" | | |...\" where cluster_uuids are optional.",
47
+ "parse": false,
48
+ "encode": false,
49
+ "encrypt": {
50
+ "type": "AES",
51
+ "key": ""
52
+ },
53
+ "external_name": "recovery_availability_zone_info_list"
54
+ },
55
+ "recoveryReferenceTime": {
56
+ "type": "string",
57
+ "description": "Time with respect to which entities has to be fetched for Unplanned Failover. This time will be used as reference time with respect to which latest snapshot will have to ...(description truncated)",
58
+ "parse": false,
59
+ "encode": false,
60
+ "encrypt": {
61
+ "type": "AES",
62
+ "key": ""
63
+ },
64
+ "external_name": "recovery_reference_time"
65
+ }
66
+ },
67
+ "definitions": {}
68
+ }
@@ -0,0 +1,105 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getRemoteSyslogModulesWithOptions",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/remote_syslog_modules/list?{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": "updateRemoteSyslogModules",
25
+ "protocol": "REST",
26
+ "method": "PUT",
27
+ "entitypath": "{base_path}/{version}/remote_syslog_modules/{pathv1}?{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": "deleteRemoteSyslogModules",
45
+ "protocol": "REST",
46
+ "method": "DELETE",
47
+ "entitypath": "{base_path}/{version}/remote_syslog_modules/{pathv1}?{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": "getRemoteSyslogModules",
65
+ "protocol": "REST",
66
+ "method": "GET",
67
+ "entitypath": "{base_path}/{version}/remote_syslog_modules/{pathv1}?{query}",
68
+ "requestSchema": "schema.json",
69
+ "responseSchema": "schema.json",
70
+ "timeout": 0,
71
+ "sendEmpty": false,
72
+ "sendGetBody": 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": "createARemoteSyslogModulesList",
86
+ "protocol": "REST",
87
+ "method": "POST",
88
+ "entitypath": "{base_path}/{version}/remote_syslog_modules?{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
+ }
@@ -0,0 +1,23 @@
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": "getRemoteSyslogModulesWithOptions",
12
+ "enum": [
13
+ "getRemoteSyslogModulesWithOptions",
14
+ "updateRemoteSyslogModules",
15
+ "deleteRemoteSyslogModules",
16
+ "getRemoteSyslogModules",
17
+ "createARemoteSyslogModulesList"
18
+ ],
19
+ "external_name": "ph_request_type"
20
+ }
21
+ },
22
+ "definitions": {}
23
+ }