@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.
- package/.eslintignore +5 -0
- package/.eslintrc.js +18 -0
- package/.jshintrc +3 -0
- package/AUTH.md +34 -0
- package/BROKER.md +211 -0
- package/CALLS.md +1677 -0
- package/CHANGELOG.md +9 -0
- package/CODE_OF_CONDUCT.md +43 -0
- package/CONTRIBUTING.md +13 -0
- package/ENHANCE.md +69 -0
- package/LICENSE +201 -0
- package/PROPERTIES.md +646 -0
- package/README.md +343 -0
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +20 -0
- package/TAB1.md +10 -0
- package/TAB2.md +303 -0
- package/TROUBLESHOOT.md +47 -0
- package/adapter.js +26226 -0
- package/adapterBase.js +1452 -0
- package/changelogs/CHANGELOG.md +0 -0
- package/entities/.generic/action.json +214 -0
- package/entities/.generic/schema.json +28 -0
- package/entities/.system/action.json +50 -0
- package/entities/.system/mockdatafiles/getToken-default.json +3 -0
- package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
- package/entities/.system/schema.json +19 -0
- package/entities/.system/schemaTokenReq.json +53 -0
- package/entities/.system/schemaTokenResp.json +53 -0
- package/entities/AccessControlPolicies/action.json +105 -0
- package/entities/AccessControlPolicies/schema.json +23 -0
- package/entities/AddressGroups/action.json +105 -0
- package/entities/AddressGroups/schema.json +23 -0
- package/entities/Alerts/action.json +85 -0
- package/entities/Alerts/schema.json +22 -0
- package/entities/Audits/action.json +45 -0
- package/entities/Audits/schema.json +20 -0
- package/entities/Batch/action.json +24 -0
- package/entities/Batch/schema.json +19 -0
- package/entities/Blackouts/action.json +105 -0
- package/entities/Blackouts/schema.json +23 -0
- package/entities/Categories/action.json +186 -0
- package/entities/Categories/schema.json +27 -0
- package/entities/Clusters/action.json +65 -0
- package/entities/Clusters/schema.json +21 -0
- package/entities/DirectoryServices/action.json +125 -0
- package/entities/DirectoryServices/schema.json +24 -0
- package/entities/FloatingIp/action.json +105 -0
- package/entities/FloatingIp/schema.json +23 -0
- package/entities/Hosts/action.json +45 -0
- package/entities/Hosts/schema.json +20 -0
- package/entities/IdempotenceIdentifiers/action.json +65 -0
- package/entities/IdempotenceIdentifiers/schema.json +32 -0
- package/entities/IdentityProviders/action.json +126 -0
- package/entities/IdentityProviders/schema.json +24 -0
- package/entities/ImagePlacementPolicies/action.json +105 -0
- package/entities/ImagePlacementPolicies/schema.json +23 -0
- package/entities/Images/action.json +166 -0
- package/entities/Images/schema.json +26 -0
- package/entities/NetworkFunctionChains/action.json +105 -0
- package/entities/NetworkFunctionChains/schema.json +23 -0
- package/entities/NetworkSecurityRules/action.json +166 -0
- package/entities/NetworkSecurityRules/schema.json +26 -0
- package/entities/NgtPolicies/action.json +105 -0
- package/entities/NgtPolicies/schema.json +23 -0
- package/entities/Ovas/action.json +249 -0
- package/entities/Ovas/schema.json +52 -0
- package/entities/Permissions/action.json +45 -0
- package/entities/Permissions/schema.json +20 -0
- package/entities/Projects/action.json +105 -0
- package/entities/Projects/schema.json +23 -0
- package/entities/ProtectionRules/action.json +146 -0
- package/entities/ProtectionRules/schema.json +25 -0
- package/entities/RecoveryPlanJobs/action.json +126 -0
- package/entities/RecoveryPlanJobs/schema.json +24 -0
- package/entities/RecoveryPlans/action.json +126 -0
- package/entities/RecoveryPlans/schema.json +68 -0
- package/entities/RemoteSyslogModules/action.json +105 -0
- package/entities/RemoteSyslogModules/schema.json +23 -0
- package/entities/RemoteSyslogServers/action.json +126 -0
- package/entities/RemoteSyslogServers/schema.json +24 -0
- package/entities/Reports/action.json +267 -0
- package/entities/Reports/schema.json +31 -0
- package/entities/Roles/action.json +105 -0
- package/entities/Roles/schema.json +23 -0
- package/entities/RoutingPolicies/action.json +145 -0
- package/entities/RoutingPolicies/schema.json +25 -0
- package/entities/ServiceGroups/action.json +105 -0
- package/entities/ServiceGroups/schema.json +23 -0
- package/entities/StoragePolicies/action.json +125 -0
- package/entities/StoragePolicies/schema.json +24 -0
- package/entities/Subnets/action.json +105 -0
- package/entities/Subnets/schema.json +23 -0
- package/entities/Tasks/action.json +45 -0
- package/entities/Tasks/schema.json +20 -0
- package/entities/UserGroups/action.json +85 -0
- package/entities/UserGroups/schema.json +22 -0
- package/entities/Users/action.json +127 -0
- package/entities/Users/schema.json +24 -0
- package/entities/VirtualNetwork/action.json +105 -0
- package/entities/VirtualNetwork/schema.json +23 -0
- package/entities/VmHostAffinityLegacyPolicies/action.json +44 -0
- package/entities/VmHostAffinityLegacyPolicies/schema.json +20 -0
- package/entities/VmHostAffinityPolicies/action.json +145 -0
- package/entities/VmHostAffinityPolicies/schema.json +36 -0
- package/entities/Vms/action.json +365 -0
- package/entities/Vms/schema.json +36 -0
- package/entities/Vpc/action.json +45 -0
- package/entities/Vpc/schema.json +20 -0
- package/entities/VpnConnection/action.json +168 -0
- package/entities/VpnConnection/schema.json +26 -0
- package/entities/VpnGateway/action.json +105 -0
- package/entities/VpnGateway/schema.json +23 -0
- package/entities/Whatif/action.json +188 -0
- package/entities/Whatif/schema.json +38 -0
- package/error.json +190 -0
- package/metadata.json +92 -0
- package/package.json +81 -0
- package/pronghorn.json +12449 -0
- package/propertiesDecorators.json +14 -0
- package/propertiesSchema.json +1574 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/adapter-openapi.json +85398 -0
- package/report/adapter-openapi.yaml +62985 -0
- package/report/adapterInfo.json +10 -0
- package/report/auto-adapter-openapi.json +9609 -0
- package/report/creationReport.json +2065 -0
- package/report/nutanix-openapi.json +85398 -0
- package/sampleProperties.json +257 -0
- package/test/integration/adapterTestBasicGet.js +83 -0
- package/test/integration/adapterTestConnectivity.js +118 -0
- package/test/integration/adapterTestIntegration.js +6792 -0
- package/test/unit/adapterBaseTestUnit.js +1024 -0
- package/test/unit/adapterTestUnit.js +9255 -0
- package/utils/adapterInfo.js +206 -0
- package/utils/addAuth.js +94 -0
- package/utils/artifactize.js +146 -0
- package/utils/basicGet.js +50 -0
- package/utils/checkMigrate.js +63 -0
- package/utils/entitiesToDB.js +179 -0
- package/utils/findPath.js +74 -0
- package/utils/methodDocumentor.js +273 -0
- package/utils/modify.js +152 -0
- package/utils/packModificationScript.js +35 -0
- package/utils/patches2bundledDeps.js +90 -0
- package/utils/pre-commit.sh +32 -0
- package/utils/removeHooks.js +20 -0
- package/utils/setup.js +33 -0
- package/utils/taskMover.js +309 -0
- package/utils/tbScript.js +239 -0
- package/utils/tbUtils.js +489 -0
- package/utils/testRunner.js +298 -0
- package/utils/troubleshootingAdapter.js +193 -0
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "createANgtPolicy",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "POST",
|
|
7
|
+
"entitypath": "{base_path}/{version}/ngt_policies?{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": "getNgtPolicies",
|
|
25
|
+
"protocol": "REST",
|
|
26
|
+
"method": "POST",
|
|
27
|
+
"entitypath": "{base_path}/{version}/ngt_policies/list?{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": "updateANgtPolicy",
|
|
45
|
+
"protocol": "REST",
|
|
46
|
+
"method": "PUT",
|
|
47
|
+
"entitypath": "{base_path}/{version}/ngt_policies/{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": "deleteANgtPolicy",
|
|
65
|
+
"protocol": "REST",
|
|
66
|
+
"method": "DELETE",
|
|
67
|
+
"entitypath": "{base_path}/{version}/ngt_policies/{pathv1}?{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": "getANgtPolicy",
|
|
85
|
+
"protocol": "REST",
|
|
86
|
+
"method": "GET",
|
|
87
|
+
"entitypath": "{base_path}/{version}/ngt_policies/{pathv1}?{query}",
|
|
88
|
+
"requestSchema": "schema.json",
|
|
89
|
+
"responseSchema": "schema.json",
|
|
90
|
+
"timeout": 0,
|
|
91
|
+
"sendEmpty": false,
|
|
92
|
+
"sendGetBody": 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": "createANgtPolicy",
|
|
12
|
+
"enum": [
|
|
13
|
+
"createANgtPolicy",
|
|
14
|
+
"getNgtPolicies",
|
|
15
|
+
"updateANgtPolicy",
|
|
16
|
+
"deleteANgtPolicy",
|
|
17
|
+
"getANgtPolicy"
|
|
18
|
+
],
|
|
19
|
+
"external_name": "ph_request_type"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"definitions": {}
|
|
23
|
+
}
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "createNewOva",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "POST",
|
|
7
|
+
"entitypath": "{base_path}/{version}/ovas?{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": "getVMSpecFromOVA",
|
|
25
|
+
"protocol": "REST",
|
|
26
|
+
"method": "GET",
|
|
27
|
+
"entitypath": "{base_path}/{version}/ovas/{pathv1}/vm_spec?{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": "getOVAs",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "POST",
|
|
48
|
+
"entitypath": "{base_path}/{version}/ovas/list?{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": "concatenateOVAUploadedFileChunks",
|
|
66
|
+
"protocol": "REST",
|
|
67
|
+
"method": "POST",
|
|
68
|
+
"entitypath": "{base_path}/{version}/ovas/{pathv1}/chunks/concatenate?{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": "updateOVA",
|
|
86
|
+
"protocol": "REST",
|
|
87
|
+
"method": "PUT",
|
|
88
|
+
"entitypath": "{base_path}/{version}/ovas/{pathv1}?{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": "deleteOVA",
|
|
106
|
+
"protocol": "REST",
|
|
107
|
+
"method": "DELETE",
|
|
108
|
+
"entitypath": "{base_path}/{version}/ovas/{pathv1}?{query}",
|
|
109
|
+
"requestSchema": "schema.json",
|
|
110
|
+
"responseSchema": "schema.json",
|
|
111
|
+
"timeout": 0,
|
|
112
|
+
"sendEmpty": false,
|
|
113
|
+
"requestDatatype": "JSON",
|
|
114
|
+
"responseDatatype": "JSON",
|
|
115
|
+
"headers": {},
|
|
116
|
+
"responseObjects": [
|
|
117
|
+
{
|
|
118
|
+
"type": "default",
|
|
119
|
+
"key": "",
|
|
120
|
+
"mockFile": ""
|
|
121
|
+
}
|
|
122
|
+
]
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "getOVA",
|
|
126
|
+
"protocol": "REST",
|
|
127
|
+
"method": "GET",
|
|
128
|
+
"entitypath": "{base_path}/{version}/ovas/{pathv1}?{query}",
|
|
129
|
+
"requestSchema": "schema.json",
|
|
130
|
+
"responseSchema": "schema.json",
|
|
131
|
+
"timeout": 0,
|
|
132
|
+
"sendEmpty": false,
|
|
133
|
+
"sendGetBody": false,
|
|
134
|
+
"requestDatatype": "JSON",
|
|
135
|
+
"responseDatatype": "JSON",
|
|
136
|
+
"headers": {},
|
|
137
|
+
"responseObjects": [
|
|
138
|
+
{
|
|
139
|
+
"type": "default",
|
|
140
|
+
"key": "",
|
|
141
|
+
"mockFile": ""
|
|
142
|
+
}
|
|
143
|
+
]
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"name": "updateOVADisk",
|
|
147
|
+
"protocol": "REST",
|
|
148
|
+
"method": "GET",
|
|
149
|
+
"entitypath": "{base_path}/{version}/ovas/{pathv1}/disks/{pathv2}?{query}",
|
|
150
|
+
"requestSchema": "schema.json",
|
|
151
|
+
"responseSchema": "schema.json",
|
|
152
|
+
"timeout": 0,
|
|
153
|
+
"sendEmpty": false,
|
|
154
|
+
"sendGetBody": false,
|
|
155
|
+
"requestDatatype": "JSON",
|
|
156
|
+
"responseDatatype": "JSON",
|
|
157
|
+
"headers": {},
|
|
158
|
+
"responseObjects": [
|
|
159
|
+
{
|
|
160
|
+
"type": "default",
|
|
161
|
+
"key": "",
|
|
162
|
+
"mockFile": ""
|
|
163
|
+
}
|
|
164
|
+
]
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"name": "uploadOVAFileChunk",
|
|
168
|
+
"protocol": "REST",
|
|
169
|
+
"method": "PUT",
|
|
170
|
+
"entitypath": "{base_path}/{version}/ovas/{pathv1}/chunks?{query}",
|
|
171
|
+
"requestSchema": "schema.json",
|
|
172
|
+
"responseSchema": "schema.json",
|
|
173
|
+
"timeout": 0,
|
|
174
|
+
"sendEmpty": false,
|
|
175
|
+
"requestDatatype": "JSON",
|
|
176
|
+
"responseDatatype": "JSON",
|
|
177
|
+
"headers": {},
|
|
178
|
+
"responseObjects": [
|
|
179
|
+
{
|
|
180
|
+
"type": "default",
|
|
181
|
+
"key": "",
|
|
182
|
+
"mockFile": ""
|
|
183
|
+
}
|
|
184
|
+
]
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"name": "uploadOVAFileInfo",
|
|
188
|
+
"protocol": "REST",
|
|
189
|
+
"method": "HEAD",
|
|
190
|
+
"entitypath": "{base_path}/{version}/ovas/{pathv1}/chunks?{query}",
|
|
191
|
+
"requestSchema": "schema.json",
|
|
192
|
+
"responseSchema": "schema.json",
|
|
193
|
+
"timeout": 0,
|
|
194
|
+
"sendEmpty": false,
|
|
195
|
+
"requestDatatype": "JSON",
|
|
196
|
+
"responseDatatype": "JSON",
|
|
197
|
+
"headers": {},
|
|
198
|
+
"responseObjects": [
|
|
199
|
+
{
|
|
200
|
+
"type": "default",
|
|
201
|
+
"key": "",
|
|
202
|
+
"mockFile": ""
|
|
203
|
+
}
|
|
204
|
+
]
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"name": "getOVAContents",
|
|
208
|
+
"protocol": "REST",
|
|
209
|
+
"method": "GET",
|
|
210
|
+
"entitypath": "{base_path}/{version}/ovas/{pathv1}/file?{query}",
|
|
211
|
+
"requestSchema": "schema.json",
|
|
212
|
+
"responseSchema": "schema.json",
|
|
213
|
+
"timeout": 0,
|
|
214
|
+
"sendEmpty": false,
|
|
215
|
+
"sendGetBody": false,
|
|
216
|
+
"requestDatatype": "JSON",
|
|
217
|
+
"responseDatatype": "JSON",
|
|
218
|
+
"headers": {},
|
|
219
|
+
"responseObjects": [
|
|
220
|
+
{
|
|
221
|
+
"type": "default",
|
|
222
|
+
"key": "",
|
|
223
|
+
"mockFile": ""
|
|
224
|
+
}
|
|
225
|
+
]
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"name": "getOVADisks",
|
|
229
|
+
"protocol": "REST",
|
|
230
|
+
"method": "GET",
|
|
231
|
+
"entitypath": "{base_path}/{version}/ovas/{pathv1}/disks?{query}",
|
|
232
|
+
"requestSchema": "schema.json",
|
|
233
|
+
"responseSchema": "schema.json",
|
|
234
|
+
"timeout": 0,
|
|
235
|
+
"sendEmpty": false,
|
|
236
|
+
"sendGetBody": false,
|
|
237
|
+
"requestDatatype": "JSON",
|
|
238
|
+
"responseDatatype": "JSON",
|
|
239
|
+
"headers": {},
|
|
240
|
+
"responseObjects": [
|
|
241
|
+
{
|
|
242
|
+
"type": "default",
|
|
243
|
+
"key": "",
|
|
244
|
+
"mockFile": ""
|
|
245
|
+
}
|
|
246
|
+
]
|
|
247
|
+
}
|
|
248
|
+
]
|
|
249
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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": "createNewOva",
|
|
12
|
+
"enum": [
|
|
13
|
+
"createNewOva",
|
|
14
|
+
"getVMSpecFromOVA",
|
|
15
|
+
"getOVAs",
|
|
16
|
+
"concatenateOVAUploadedFileChunks",
|
|
17
|
+
"updateOVA",
|
|
18
|
+
"deleteOVA",
|
|
19
|
+
"getOVA",
|
|
20
|
+
"updateOVADisk",
|
|
21
|
+
"uploadOVAFileChunk",
|
|
22
|
+
"uploadOVAFileInfo",
|
|
23
|
+
"getOVAContents",
|
|
24
|
+
"getOVADisks"
|
|
25
|
+
],
|
|
26
|
+
"external_name": "ph_request_type"
|
|
27
|
+
},
|
|
28
|
+
"ignoreUnknownFields": {
|
|
29
|
+
"type": "boolean",
|
|
30
|
+
"description": "",
|
|
31
|
+
"parse": false,
|
|
32
|
+
"encode": false,
|
|
33
|
+
"encrypt": {
|
|
34
|
+
"type": "AES",
|
|
35
|
+
"key": ""
|
|
36
|
+
},
|
|
37
|
+
"external_name": "ignore_unknown_fields"
|
|
38
|
+
},
|
|
39
|
+
"diskId": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"description": "",
|
|
42
|
+
"parse": false,
|
|
43
|
+
"encode": false,
|
|
44
|
+
"encrypt": {
|
|
45
|
+
"type": "AES",
|
|
46
|
+
"key": ""
|
|
47
|
+
},
|
|
48
|
+
"external_name": "disk_id"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"definitions": {}
|
|
52
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "getPermissions",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "POST",
|
|
7
|
+
"entitypath": "{base_path}/{version}/permissions/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": "getAPermission",
|
|
25
|
+
"protocol": "REST",
|
|
26
|
+
"method": "GET",
|
|
27
|
+
"entitypath": "{base_path}/{version}/permissions/{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
|
+
}
|
|
@@ -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": "getPermissions",
|
|
12
|
+
"enum": [
|
|
13
|
+
"getPermissions",
|
|
14
|
+
"getAPermission"
|
|
15
|
+
],
|
|
16
|
+
"external_name": "ph_request_type"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"definitions": {}
|
|
20
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "createNewProject",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "POST",
|
|
7
|
+
"entitypath": "{base_path}/{version}/projects?{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": "updateAProject",
|
|
25
|
+
"protocol": "REST",
|
|
26
|
+
"method": "PUT",
|
|
27
|
+
"entitypath": "{base_path}/{version}/projects/{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": "deleteAProject",
|
|
45
|
+
"protocol": "REST",
|
|
46
|
+
"method": "DELETE",
|
|
47
|
+
"entitypath": "{base_path}/{version}/projects/{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": "getAProject",
|
|
65
|
+
"protocol": "REST",
|
|
66
|
+
"method": "GET",
|
|
67
|
+
"entitypath": "{base_path}/{version}/projects/{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": "getProjects",
|
|
86
|
+
"protocol": "REST",
|
|
87
|
+
"method": "POST",
|
|
88
|
+
"entitypath": "{base_path}/{version}/projects/list?{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": "createNewProject",
|
|
12
|
+
"enum": [
|
|
13
|
+
"createNewProject",
|
|
14
|
+
"updateAProject",
|
|
15
|
+
"deleteAProject",
|
|
16
|
+
"getAProject",
|
|
17
|
+
"getProjects"
|
|
18
|
+
],
|
|
19
|
+
"external_name": "ph_request_type"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"definitions": {}
|
|
23
|
+
}
|