@itentialopensource/adapter-openstack_cinder 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 +43 -0
- package/BROKER.md +199 -0
- package/CALLS.md +1118 -0
- package/CHANGELOG.md +9 -0
- package/CODE_OF_CONDUCT.md +43 -0
- package/CONTRIBUTING.md +172 -0
- package/ENHANCE.md +69 -0
- package/LICENSE +201 -0
- package/PROPERTIES.md +641 -0
- package/README.md +337 -0
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +11 -0
- package/TROUBLESHOOT.md +47 -0
- package/adapter.js +20288 -0
- package/adapterBase.js +1788 -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 +242 -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 +49 -0
- package/entities/APIExtensionsExtensions/action.json +25 -0
- package/entities/APIExtensionsExtensions/schema.json +30 -0
- package/entities/APIVersionDetails/action.json +25 -0
- package/entities/APIVersionDetails/schema.json +19 -0
- package/entities/APIVersions/action.json +25 -0
- package/entities/APIVersions/schema.json +19 -0
- package/entities/AttachmentsAttachments/action.json +147 -0
- package/entities/AttachmentsAttachments/schema.json +58 -0
- package/entities/BackEndStoragePools/action.json +25 -0
- package/entities/BackEndStoragePools/schema.json +30 -0
- package/entities/BackupActionsBackupsAction/action.json +24 -0
- package/entities/BackupActionsBackupsAction/schema.json +41 -0
- package/entities/BackupsBackups/action.json +188 -0
- package/entities/BackupsBackups/schema.json +71 -0
- package/entities/CapabilitiesForStorageBackEndsCapabilities/action.json +25 -0
- package/entities/CapabilitiesForStorageBackEndsCapabilities/schema.json +30 -0
- package/entities/ConsistencyGroupSnapshotsDEPRECATED/action.json +107 -0
- package/entities/ConsistencyGroupSnapshotsDEPRECATED/schema.json +56 -0
- package/entities/ConsistencyGroupsDEPRECATED/action.json +147 -0
- package/entities/ConsistencyGroupsDEPRECATED/schema.json +58 -0
- package/entities/DefaultVolumeTypesDefaultTypes/action.json +86 -0
- package/entities/DefaultVolumeTypesDefaultTypes/schema.json +33 -0
- package/entities/GenericVolumeGroupsGroups/action.json +147 -0
- package/entities/GenericVolumeGroupsGroups/schema.json +69 -0
- package/entities/GroupSnapshotsGroupSnapshots/action.json +127 -0
- package/entities/GroupSnapshotsGroupSnapshots/schema.json +79 -0
- package/entities/GroupTypeSpecsGroupTypesGroupSpecs/action.json +106 -0
- package/entities/GroupTypeSpecsGroupTypesGroupSpecs/schema.json +56 -0
- package/entities/GroupTypesGroupTypes/action.json +127 -0
- package/entities/GroupTypesGroupTypes/schema.json +46 -0
- package/entities/HostsExtensionOsHosts/action.json +46 -0
- package/entities/HostsExtensionOsHosts/schema.json +42 -0
- package/entities/LimitsLimits/action.json +25 -0
- package/entities/LimitsLimits/schema.json +30 -0
- package/entities/MessagesMessages/action.json +66 -0
- package/entities/MessagesMessages/schema.json +43 -0
- package/entities/QualityOfServiceQoSSpecificationsQosSpecs/action.json +210 -0
- package/entities/QualityOfServiceQoSSpecificationsQosSpecs/schema.json +61 -0
- package/entities/QuotaClassSetExtensionOsQuotaClassSets/action.json +45 -0
- package/entities/QuotaClassSetExtensionOsQuotaClassSets/schema.json +42 -0
- package/entities/QuotaSetsExtensionOsQuotaSets/action.json +86 -0
- package/entities/QuotaSetsExtensionOsQuotaSets/schema.json +44 -0
- package/entities/ResourceFiltersResourceFilters/action.json +25 -0
- package/entities/ResourceFiltersResourceFilters/schema.json +30 -0
- package/entities/ServicesOsServices/action.json +185 -0
- package/entities/ServicesOsServices/schema.json +38 -0
- package/entities/SnapshotActionsSnapshotsAction/action.json +24 -0
- package/entities/SnapshotActionsSnapshotsAction/schema.json +41 -0
- package/entities/SnapshotManageExtensionManageableSnapshots/action.json +66 -0
- package/entities/SnapshotManageExtensionManageableSnapshots/schema.json +32 -0
- package/entities/VolumeActionsVolumesAction/action.json +24 -0
- package/entities/VolumeActionsVolumesAction/schema.json +41 -0
- package/entities/VolumeManageExtensionManageableVolumes/action.json +66 -0
- package/entities/VolumeManageExtensionManageableVolumes/schema.json +32 -0
- package/entities/VolumeSnapshotsSnapshots/action.json +249 -0
- package/entities/VolumeSnapshotsSnapshots/schema.json +85 -0
- package/entities/VolumeTransfer/action.json +127 -0
- package/entities/VolumeTransfer/schema.json +57 -0
- package/entities/VolumeTransfersVolumeTransfers355OrLater/action.json +127 -0
- package/entities/VolumeTransfersVolumeTransfers355OrLater/schema.json +79 -0
- package/entities/VolumeTypeAccessTypesActionTypesOsVolumeTypeAccess/action.json +45 -0
- package/entities/VolumeTypeAccessTypesActionTypesOsVolumeTypeAccess/schema.json +42 -0
- package/entities/VolumeTypesTypes/action.json +331 -0
- package/entities/VolumeTypesTypes/schema.json +78 -0
- package/entities/VolumesVolumes/action.json +270 -0
- package/entities/VolumesVolumes/schema.json +108 -0
- package/entities/WorkersWorkers/action.json +24 -0
- package/entities/WorkersWorkers/schema.json +30 -0
- package/error.json +190 -0
- package/package.json +87 -0
- package/pronghorn.json +10093 -0
- package/propertiesDecorators.json +14 -0
- package/propertiesSchema.json +1284 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +10 -0
- package/report/cinder-openapi.json +8589 -0
- package/report/creationReport.json +1495 -0
- package/sampleProperties.json +198 -0
- package/swagger/openstack_API_docs/BlockStorageAPIV3-cinder-documentation.html +32674 -0
- package/swagger/openstack_api_cinder.js +602 -0
- package/test/integration/adapterTestBasicGet.js +85 -0
- package/test/integration/adapterTestConnectivity.js +93 -0
- package/test/integration/adapterTestIntegration.js +4799 -0
- package/test/unit/adapterBaseTestUnit.js +952 -0
- package/test/unit/adapterTestUnit.js +7633 -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 +225 -0
- package/utils/modify.js +154 -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/tbScript.js +184 -0
- package/utils/tbUtils.js +469 -0
- package/utils/testRunner.js +298 -0
- package/utils/troubleshootingAdapter.js +190 -0
- package/workflows/README.md +3 -0
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "updateAVolumeType",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "PUT",
|
|
7
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/types/{pathv2}?{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": "showVolumeTypeDetail",
|
|
25
|
+
"protocol": "REST",
|
|
26
|
+
"method": "GET",
|
|
27
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/types/{pathv2}?{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": "deleteAVolumeType",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "DELETE",
|
|
48
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/types/{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": "createOrUpdateExtraSpecsForVolumeType",
|
|
66
|
+
"protocol": "REST",
|
|
67
|
+
"method": "POST",
|
|
68
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/types/{pathv2}/extra_specs?{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": "showAllExtraSpecificationsForVolumeType",
|
|
86
|
+
"protocol": "REST",
|
|
87
|
+
"method": "GET",
|
|
88
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/types/{pathv2}/extra_specs?{query}",
|
|
89
|
+
"requestSchema": "schema.json",
|
|
90
|
+
"responseSchema": "schema.json",
|
|
91
|
+
"timeout": 0,
|
|
92
|
+
"sendEmpty": false,
|
|
93
|
+
"sendGetBody": 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": "showExtraSpecificationForVolumeType",
|
|
107
|
+
"protocol": "REST",
|
|
108
|
+
"method": "GET",
|
|
109
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/types/{pathv2}/extra_specs/{pathv3}?{query}",
|
|
110
|
+
"requestSchema": "schema.json",
|
|
111
|
+
"responseSchema": "schema.json",
|
|
112
|
+
"timeout": 0,
|
|
113
|
+
"sendEmpty": false,
|
|
114
|
+
"sendGetBody": false,
|
|
115
|
+
"requestDatatype": "JSON",
|
|
116
|
+
"responseDatatype": "JSON",
|
|
117
|
+
"headers": {},
|
|
118
|
+
"responseObjects": [
|
|
119
|
+
{
|
|
120
|
+
"type": "default",
|
|
121
|
+
"key": "",
|
|
122
|
+
"mockFile": ""
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"name": "updateExtraSpecificationForVolumeType",
|
|
128
|
+
"protocol": "REST",
|
|
129
|
+
"method": "PUT",
|
|
130
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/types/{pathv2}/extra_specs/{pathv3}?{query}",
|
|
131
|
+
"requestSchema": "schema.json",
|
|
132
|
+
"responseSchema": "schema.json",
|
|
133
|
+
"timeout": 0,
|
|
134
|
+
"sendEmpty": false,
|
|
135
|
+
"requestDatatype": "JSON",
|
|
136
|
+
"responseDatatype": "JSON",
|
|
137
|
+
"headers": {},
|
|
138
|
+
"responseObjects": [
|
|
139
|
+
{
|
|
140
|
+
"type": "default",
|
|
141
|
+
"key": "",
|
|
142
|
+
"mockFile": ""
|
|
143
|
+
}
|
|
144
|
+
]
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"name": "deleteExtraSpecificationForVolumeType",
|
|
148
|
+
"protocol": "REST",
|
|
149
|
+
"method": "DELETE",
|
|
150
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/types/{pathv2}/extra_specs/{pathv3}?{query}",
|
|
151
|
+
"requestSchema": "schema.json",
|
|
152
|
+
"responseSchema": "schema.json",
|
|
153
|
+
"timeout": 0,
|
|
154
|
+
"sendEmpty": 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": "showDefaultVolumeType",
|
|
168
|
+
"protocol": "REST",
|
|
169
|
+
"method": "GET",
|
|
170
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/types/default?{query}",
|
|
171
|
+
"requestSchema": "schema.json",
|
|
172
|
+
"responseSchema": "schema.json",
|
|
173
|
+
"timeout": 0,
|
|
174
|
+
"sendEmpty": false,
|
|
175
|
+
"sendGetBody": false,
|
|
176
|
+
"requestDatatype": "JSON",
|
|
177
|
+
"responseDatatype": "JSON",
|
|
178
|
+
"headers": {},
|
|
179
|
+
"responseObjects": [
|
|
180
|
+
{
|
|
181
|
+
"type": "default",
|
|
182
|
+
"key": "",
|
|
183
|
+
"mockFile": ""
|
|
184
|
+
}
|
|
185
|
+
]
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "listAllVolumeTypes",
|
|
189
|
+
"protocol": "REST",
|
|
190
|
+
"method": "GET",
|
|
191
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/types?{query}",
|
|
192
|
+
"requestSchema": "schema.json",
|
|
193
|
+
"responseSchema": "schema.json",
|
|
194
|
+
"timeout": 0,
|
|
195
|
+
"sendEmpty": false,
|
|
196
|
+
"sendGetBody": 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": "createAVolumeType",
|
|
210
|
+
"protocol": "REST",
|
|
211
|
+
"method": "POST",
|
|
212
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/types?{query}",
|
|
213
|
+
"requestSchema": "schema.json",
|
|
214
|
+
"responseSchema": "schema.json",
|
|
215
|
+
"timeout": 0,
|
|
216
|
+
"sendEmpty": false,
|
|
217
|
+
"requestDatatype": "JSON",
|
|
218
|
+
"responseDatatype": "JSON",
|
|
219
|
+
"headers": {},
|
|
220
|
+
"responseObjects": [
|
|
221
|
+
{
|
|
222
|
+
"type": "default",
|
|
223
|
+
"key": "",
|
|
224
|
+
"mockFile": ""
|
|
225
|
+
}
|
|
226
|
+
]
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"name": "showAnEncryptionType",
|
|
230
|
+
"protocol": "REST",
|
|
231
|
+
"method": "GET",
|
|
232
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/types/{pathv2}/encryption?{query}",
|
|
233
|
+
"requestSchema": "schema.json",
|
|
234
|
+
"responseSchema": "schema.json",
|
|
235
|
+
"timeout": 0,
|
|
236
|
+
"sendEmpty": false,
|
|
237
|
+
"sendGetBody": false,
|
|
238
|
+
"requestDatatype": "JSON",
|
|
239
|
+
"responseDatatype": "JSON",
|
|
240
|
+
"headers": {},
|
|
241
|
+
"responseObjects": [
|
|
242
|
+
{
|
|
243
|
+
"type": "default",
|
|
244
|
+
"key": "",
|
|
245
|
+
"mockFile": ""
|
|
246
|
+
}
|
|
247
|
+
]
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"name": "createAnEncryptionType",
|
|
251
|
+
"protocol": "REST",
|
|
252
|
+
"method": "POST",
|
|
253
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/types/{pathv2}/encryption?{query}",
|
|
254
|
+
"requestSchema": "schema.json",
|
|
255
|
+
"responseSchema": "schema.json",
|
|
256
|
+
"timeout": 0,
|
|
257
|
+
"sendEmpty": false,
|
|
258
|
+
"requestDatatype": "JSON",
|
|
259
|
+
"responseDatatype": "JSON",
|
|
260
|
+
"headers": {},
|
|
261
|
+
"responseObjects": [
|
|
262
|
+
{
|
|
263
|
+
"type": "default",
|
|
264
|
+
"key": "",
|
|
265
|
+
"mockFile": ""
|
|
266
|
+
}
|
|
267
|
+
]
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"name": "showEncryptionSpecsItem",
|
|
271
|
+
"protocol": "REST",
|
|
272
|
+
"method": "GET",
|
|
273
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/types/{pathv2}/encryption/{pathv3}?{query}",
|
|
274
|
+
"requestSchema": "schema.json",
|
|
275
|
+
"responseSchema": "schema.json",
|
|
276
|
+
"timeout": 0,
|
|
277
|
+
"sendEmpty": false,
|
|
278
|
+
"sendGetBody": 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": "deleteAnEncryptionType",
|
|
292
|
+
"protocol": "REST",
|
|
293
|
+
"method": "DELETE",
|
|
294
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/types/{pathv2}/encryption/{pathv3}?{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": "updateAnEncryptionType",
|
|
312
|
+
"protocol": "REST",
|
|
313
|
+
"method": "PUT",
|
|
314
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/types/{pathv2}/encryption/{pathv3}?{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
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
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": "updateAVolumeType",
|
|
12
|
+
"enum": [
|
|
13
|
+
"updateAVolumeType",
|
|
14
|
+
"showVolumeTypeDetail",
|
|
15
|
+
"deleteAVolumeType",
|
|
16
|
+
"createOrUpdateExtraSpecsForVolumeType",
|
|
17
|
+
"showAllExtraSpecificationsForVolumeType",
|
|
18
|
+
"showExtraSpecificationForVolumeType",
|
|
19
|
+
"updateExtraSpecificationForVolumeType",
|
|
20
|
+
"deleteExtraSpecificationForVolumeType",
|
|
21
|
+
"showDefaultVolumeType",
|
|
22
|
+
"listAllVolumeTypes",
|
|
23
|
+
"createAVolumeType",
|
|
24
|
+
"showAnEncryptionType",
|
|
25
|
+
"createAnEncryptionType",
|
|
26
|
+
"showEncryptionSpecsItem",
|
|
27
|
+
"deleteAnEncryptionType",
|
|
28
|
+
"updateAnEncryptionType"
|
|
29
|
+
],
|
|
30
|
+
"external_name": "ph_request_type"
|
|
31
|
+
},
|
|
32
|
+
"projectId": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"description": "The UUID of the project in a multi-tenancy cloud.",
|
|
35
|
+
"parse": false,
|
|
36
|
+
"encode": false,
|
|
37
|
+
"encrypt": {
|
|
38
|
+
"type": "AES",
|
|
39
|
+
"key": ""
|
|
40
|
+
},
|
|
41
|
+
"external_name": "project_id"
|
|
42
|
+
},
|
|
43
|
+
"volumeTypeId": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"description": "The UUID for an existing volume type.",
|
|
46
|
+
"parse": false,
|
|
47
|
+
"encode": false,
|
|
48
|
+
"encrypt": {
|
|
49
|
+
"type": "AES",
|
|
50
|
+
"key": ""
|
|
51
|
+
},
|
|
52
|
+
"external_name": "volume_type_id"
|
|
53
|
+
},
|
|
54
|
+
"isPublic": {
|
|
55
|
+
"type": "boolean",
|
|
56
|
+
"description": "Filter the volume type by public visibility.\nSee valid boolean values.",
|
|
57
|
+
"parse": false,
|
|
58
|
+
"encode": false,
|
|
59
|
+
"encrypt": {
|
|
60
|
+
"type": "AES",
|
|
61
|
+
"key": ""
|
|
62
|
+
},
|
|
63
|
+
"external_name": "is_public"
|
|
64
|
+
},
|
|
65
|
+
"encryptionId": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"description": "The ID of the encryption type.",
|
|
68
|
+
"parse": false,
|
|
69
|
+
"encode": false,
|
|
70
|
+
"encrypt": {
|
|
71
|
+
"type": "AES",
|
|
72
|
+
"key": ""
|
|
73
|
+
},
|
|
74
|
+
"external_name": "encryption_id"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"definitions": {}
|
|
78
|
+
}
|
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "listAccessibleVolumesWithDetails",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/volumes/detail?{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": "createAVolume",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "POST",
|
|
28
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/volumes?{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": "listAccessibleVolumes",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "GET",
|
|
48
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/volumes?{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": "showAVolumeSDetails",
|
|
67
|
+
"protocol": "REST",
|
|
68
|
+
"method": "GET",
|
|
69
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/volumes/{pathv2}?{query}",
|
|
70
|
+
"requestSchema": "schema.json",
|
|
71
|
+
"responseSchema": "schema.json",
|
|
72
|
+
"timeout": 0,
|
|
73
|
+
"sendEmpty": false,
|
|
74
|
+
"sendGetBody": false,
|
|
75
|
+
"requestDatatype": "JSON",
|
|
76
|
+
"responseDatatype": "JSON",
|
|
77
|
+
"headers": {},
|
|
78
|
+
"responseObjects": [
|
|
79
|
+
{
|
|
80
|
+
"type": "default",
|
|
81
|
+
"key": "",
|
|
82
|
+
"mockFile": ""
|
|
83
|
+
}
|
|
84
|
+
]
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "updateAVolume",
|
|
88
|
+
"protocol": "REST",
|
|
89
|
+
"method": "PUT",
|
|
90
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/volumes/{pathv2}?{query}",
|
|
91
|
+
"requestSchema": "schema.json",
|
|
92
|
+
"responseSchema": "schema.json",
|
|
93
|
+
"timeout": 0,
|
|
94
|
+
"sendEmpty": 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": "deleteAVolume",
|
|
108
|
+
"protocol": "REST",
|
|
109
|
+
"method": "DELETE",
|
|
110
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/volumes/{pathv2}?{query}",
|
|
111
|
+
"requestSchema": "schema.json",
|
|
112
|
+
"responseSchema": "schema.json",
|
|
113
|
+
"timeout": 0,
|
|
114
|
+
"sendEmpty": false,
|
|
115
|
+
"requestDatatype": "JSON",
|
|
116
|
+
"responseDatatype": "JSON",
|
|
117
|
+
"headers": {},
|
|
118
|
+
"responseObjects": [
|
|
119
|
+
{
|
|
120
|
+
"type": "default",
|
|
121
|
+
"key": "",
|
|
122
|
+
"mockFile": ""
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"name": "createMetadataForVolume",
|
|
128
|
+
"protocol": "REST",
|
|
129
|
+
"method": "POST",
|
|
130
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/volumes/{pathv2}/metadata?{query}",
|
|
131
|
+
"requestSchema": "schema.json",
|
|
132
|
+
"responseSchema": "schema.json",
|
|
133
|
+
"timeout": 0,
|
|
134
|
+
"sendEmpty": false,
|
|
135
|
+
"requestDatatype": "JSON",
|
|
136
|
+
"responseDatatype": "JSON",
|
|
137
|
+
"headers": {},
|
|
138
|
+
"responseObjects": [
|
|
139
|
+
{
|
|
140
|
+
"type": "default",
|
|
141
|
+
"key": "",
|
|
142
|
+
"mockFile": ""
|
|
143
|
+
}
|
|
144
|
+
]
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"name": "showAVolumeSMetadata",
|
|
148
|
+
"protocol": "REST",
|
|
149
|
+
"method": "GET",
|
|
150
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/volumes/{pathv2}/metadata?{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": ""
|
|
164
|
+
}
|
|
165
|
+
]
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"name": "updateAVolumeSMetadata",
|
|
169
|
+
"protocol": "REST",
|
|
170
|
+
"method": "PUT",
|
|
171
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/volumes/{pathv2}/metadata?{query}",
|
|
172
|
+
"requestSchema": "schema.json",
|
|
173
|
+
"responseSchema": "schema.json",
|
|
174
|
+
"timeout": 0,
|
|
175
|
+
"sendEmpty": false,
|
|
176
|
+
"requestDatatype": "JSON",
|
|
177
|
+
"responseDatatype": "JSON",
|
|
178
|
+
"headers": {},
|
|
179
|
+
"responseObjects": [
|
|
180
|
+
{
|
|
181
|
+
"type": "default",
|
|
182
|
+
"key": "",
|
|
183
|
+
"mockFile": ""
|
|
184
|
+
}
|
|
185
|
+
]
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "showAVolumeSMetadataForASpecificKey",
|
|
189
|
+
"protocol": "REST",
|
|
190
|
+
"method": "GET",
|
|
191
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/volumes/{pathv2}/metadata/{pathv3}?{query}",
|
|
192
|
+
"requestSchema": "schema.json",
|
|
193
|
+
"responseSchema": "schema.json",
|
|
194
|
+
"timeout": 0,
|
|
195
|
+
"sendEmpty": false,
|
|
196
|
+
"sendGetBody": 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": "deleteAVolumeSMetadata",
|
|
210
|
+
"protocol": "REST",
|
|
211
|
+
"method": "DELETE",
|
|
212
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/volumes/{pathv2}/metadata/{pathv3}?{query}",
|
|
213
|
+
"requestSchema": "schema.json",
|
|
214
|
+
"responseSchema": "schema.json",
|
|
215
|
+
"timeout": 0,
|
|
216
|
+
"sendEmpty": false,
|
|
217
|
+
"requestDatatype": "JSON",
|
|
218
|
+
"responseDatatype": "JSON",
|
|
219
|
+
"headers": {},
|
|
220
|
+
"responseObjects": [
|
|
221
|
+
{
|
|
222
|
+
"type": "default",
|
|
223
|
+
"key": "",
|
|
224
|
+
"mockFile": ""
|
|
225
|
+
}
|
|
226
|
+
]
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"name": "updateAVolumeSMetadataForASpecificKey",
|
|
230
|
+
"protocol": "REST",
|
|
231
|
+
"method": "PUT",
|
|
232
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/volumes/{pathv2}/metadata/{pathv3}?{query}",
|
|
233
|
+
"requestSchema": "schema.json",
|
|
234
|
+
"responseSchema": "schema.json",
|
|
235
|
+
"timeout": 0,
|
|
236
|
+
"sendEmpty": false,
|
|
237
|
+
"requestDatatype": "JSON",
|
|
238
|
+
"responseDatatype": "JSON",
|
|
239
|
+
"headers": {},
|
|
240
|
+
"responseObjects": [
|
|
241
|
+
{
|
|
242
|
+
"type": "default",
|
|
243
|
+
"key": "",
|
|
244
|
+
"mockFile": ""
|
|
245
|
+
}
|
|
246
|
+
]
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"name": "getVolumesSummary",
|
|
250
|
+
"protocol": "REST",
|
|
251
|
+
"method": "GET",
|
|
252
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/volumes/summary?{query}",
|
|
253
|
+
"requestSchema": "schema.json",
|
|
254
|
+
"responseSchema": "schema.json",
|
|
255
|
+
"timeout": 0,
|
|
256
|
+
"sendEmpty": false,
|
|
257
|
+
"sendGetBody": false,
|
|
258
|
+
"requestDatatype": "JSON",
|
|
259
|
+
"responseDatatype": "JSON",
|
|
260
|
+
"headers": {},
|
|
261
|
+
"responseObjects": [
|
|
262
|
+
{
|
|
263
|
+
"type": "default",
|
|
264
|
+
"key": "",
|
|
265
|
+
"mockFile": ""
|
|
266
|
+
}
|
|
267
|
+
]
|
|
268
|
+
}
|
|
269
|
+
]
|
|
270
|
+
}
|