@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,71 @@
|
|
|
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": "listBackupsWithDetail",
|
|
12
|
+
"enum": [
|
|
13
|
+
"listBackupsWithDetail",
|
|
14
|
+
"showBackupDetail",
|
|
15
|
+
"deleteABackup",
|
|
16
|
+
"updateABackup",
|
|
17
|
+
"restoreABackup",
|
|
18
|
+
"createABackup",
|
|
19
|
+
"listBackupsForProject",
|
|
20
|
+
"exportABackup",
|
|
21
|
+
"importABackup"
|
|
22
|
+
],
|
|
23
|
+
"external_name": "ph_request_type"
|
|
24
|
+
},
|
|
25
|
+
"allTenants": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"description": "Shows details for all project. Admin only.",
|
|
28
|
+
"parse": false,
|
|
29
|
+
"encode": false,
|
|
30
|
+
"encrypt": {
|
|
31
|
+
"type": "AES",
|
|
32
|
+
"key": ""
|
|
33
|
+
},
|
|
34
|
+
"external_name": "all_tenants"
|
|
35
|
+
},
|
|
36
|
+
"withCount": {
|
|
37
|
+
"type": "boolean",
|
|
38
|
+
"description": "Whether to show count in API response or not, default is False.",
|
|
39
|
+
"parse": false,
|
|
40
|
+
"encode": false,
|
|
41
|
+
"encrypt": {
|
|
42
|
+
"type": "AES",
|
|
43
|
+
"key": ""
|
|
44
|
+
},
|
|
45
|
+
"external_name": "with_count"
|
|
46
|
+
},
|
|
47
|
+
"projectId": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"description": "The UUID of the project in a multi-tenancy cloud.",
|
|
50
|
+
"parse": false,
|
|
51
|
+
"encode": false,
|
|
52
|
+
"encrypt": {
|
|
53
|
+
"type": "AES",
|
|
54
|
+
"key": ""
|
|
55
|
+
},
|
|
56
|
+
"external_name": "project_id"
|
|
57
|
+
},
|
|
58
|
+
"backupId": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"description": "The UUID for a backup.",
|
|
61
|
+
"parse": false,
|
|
62
|
+
"encode": false,
|
|
63
|
+
"encrypt": {
|
|
64
|
+
"type": "AES",
|
|
65
|
+
"key": ""
|
|
66
|
+
},
|
|
67
|
+
"external_name": "backup_id"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"definitions": {}
|
|
71
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "showAllBackEndCapabilities",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/capabilities/{pathv2}?{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
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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": "showAllBackEndCapabilities",
|
|
12
|
+
"enum": [
|
|
13
|
+
"showAllBackEndCapabilities"
|
|
14
|
+
],
|
|
15
|
+
"external_name": "ph_request_type"
|
|
16
|
+
},
|
|
17
|
+
"projectId": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"description": "The UUID of the project in a multi-tenancy cloud.",
|
|
20
|
+
"parse": false,
|
|
21
|
+
"encode": false,
|
|
22
|
+
"encrypt": {
|
|
23
|
+
"type": "AES",
|
|
24
|
+
"key": ""
|
|
25
|
+
},
|
|
26
|
+
"external_name": "project_id"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"definitions": {}
|
|
30
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "deleteAConsistencyGroupSnapshot",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "DELETE",
|
|
7
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/cgsnapshots/{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": "showConsistencyGroupSnapshotDetail",
|
|
25
|
+
"protocol": "REST",
|
|
26
|
+
"method": "GET",
|
|
27
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/cgsnapshots/{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": "listAllConsistencyGroupSnapshotsWithDetails",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "GET",
|
|
48
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/cgsnapshots/detail?{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": "listAllConsistencyGroupSnapshots",
|
|
67
|
+
"protocol": "REST",
|
|
68
|
+
"method": "GET",
|
|
69
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/cgsnapshots?{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": "createAConsistencyGroupSnapshot",
|
|
88
|
+
"protocol": "REST",
|
|
89
|
+
"method": "POST",
|
|
90
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/cgsnapshots?{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
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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": "deleteAConsistencyGroupSnapshot",
|
|
12
|
+
"enum": [
|
|
13
|
+
"deleteAConsistencyGroupSnapshot",
|
|
14
|
+
"showConsistencyGroupSnapshotDetail",
|
|
15
|
+
"listAllConsistencyGroupSnapshotsWithDetails",
|
|
16
|
+
"listAllConsistencyGroupSnapshots",
|
|
17
|
+
"createAConsistencyGroupSnapshot"
|
|
18
|
+
],
|
|
19
|
+
"external_name": "ph_request_type"
|
|
20
|
+
},
|
|
21
|
+
"projectId": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"description": "The UUID of the project in a multi-tenancy cloud.",
|
|
24
|
+
"parse": false,
|
|
25
|
+
"encode": false,
|
|
26
|
+
"encrypt": {
|
|
27
|
+
"type": "AES",
|
|
28
|
+
"key": ""
|
|
29
|
+
},
|
|
30
|
+
"external_name": "project_id"
|
|
31
|
+
},
|
|
32
|
+
"cgsnapshotId": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"description": "The ID of the consistency group snapshot.",
|
|
35
|
+
"parse": false,
|
|
36
|
+
"encode": false,
|
|
37
|
+
"encrypt": {
|
|
38
|
+
"type": "AES",
|
|
39
|
+
"key": ""
|
|
40
|
+
},
|
|
41
|
+
"external_name": "cgsnapshot_id"
|
|
42
|
+
},
|
|
43
|
+
"allTenants": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"description": "Shows details for all project. Admin only.",
|
|
46
|
+
"parse": false,
|
|
47
|
+
"encode": false,
|
|
48
|
+
"encrypt": {
|
|
49
|
+
"type": "AES",
|
|
50
|
+
"key": ""
|
|
51
|
+
},
|
|
52
|
+
"external_name": "all_tenants"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"definitions": {}
|
|
56
|
+
}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "listProjectSConsistencyGroups",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/consistencygroups?{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": "createAConsistencyGroup",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "POST",
|
|
28
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/consistencygroups?{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": "showAConsistencyGroupSDetails",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "GET",
|
|
48
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/consistencygroups/{pathv2}?{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": "createAConsistencyGroupFromSource",
|
|
67
|
+
"protocol": "REST",
|
|
68
|
+
"method": "POST",
|
|
69
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/consistencygroups/create_from_src?{query}",
|
|
70
|
+
"requestSchema": "schema.json",
|
|
71
|
+
"responseSchema": "schema.json",
|
|
72
|
+
"timeout": 0,
|
|
73
|
+
"sendEmpty": false,
|
|
74
|
+
"requestDatatype": "JSON",
|
|
75
|
+
"responseDatatype": "JSON",
|
|
76
|
+
"headers": {},
|
|
77
|
+
"responseObjects": [
|
|
78
|
+
{
|
|
79
|
+
"type": "default",
|
|
80
|
+
"key": "",
|
|
81
|
+
"mockFile": ""
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "deleteAConsistencyGroup",
|
|
87
|
+
"protocol": "REST",
|
|
88
|
+
"method": "POST",
|
|
89
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/consistencygroups/{pathv2}/delete?{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": "listConsistencyGroupsAndDetails",
|
|
107
|
+
"protocol": "REST",
|
|
108
|
+
"method": "GET",
|
|
109
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/consistencygroups/detail?{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": "updateAConsistencyGroup",
|
|
128
|
+
"protocol": "REST",
|
|
129
|
+
"method": "PUT",
|
|
130
|
+
"entitypath": "{base_path}/{version}/v3/{pathv1}/consistencygroups/{pathv2}/update?{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
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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": "listProjectSConsistencyGroups",
|
|
12
|
+
"enum": [
|
|
13
|
+
"listProjectSConsistencyGroups",
|
|
14
|
+
"createAConsistencyGroup",
|
|
15
|
+
"showAConsistencyGroupSDetails",
|
|
16
|
+
"createAConsistencyGroupFromSource",
|
|
17
|
+
"deleteAConsistencyGroup",
|
|
18
|
+
"listConsistencyGroupsAndDetails",
|
|
19
|
+
"updateAConsistencyGroup"
|
|
20
|
+
],
|
|
21
|
+
"external_name": "ph_request_type"
|
|
22
|
+
},
|
|
23
|
+
"allTenants": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"description": "Shows details for all project. Admin only.",
|
|
26
|
+
"parse": false,
|
|
27
|
+
"encode": false,
|
|
28
|
+
"encrypt": {
|
|
29
|
+
"type": "AES",
|
|
30
|
+
"key": ""
|
|
31
|
+
},
|
|
32
|
+
"external_name": "all_tenants"
|
|
33
|
+
},
|
|
34
|
+
"projectId": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"description": "The UUID of the project in a multi-tenancy cloud.",
|
|
37
|
+
"parse": false,
|
|
38
|
+
"encode": false,
|
|
39
|
+
"encrypt": {
|
|
40
|
+
"type": "AES",
|
|
41
|
+
"key": ""
|
|
42
|
+
},
|
|
43
|
+
"external_name": "project_id"
|
|
44
|
+
},
|
|
45
|
+
"consistencygroupId": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"description": "The ID of the consistency group.",
|
|
48
|
+
"parse": false,
|
|
49
|
+
"encode": false,
|
|
50
|
+
"encrypt": {
|
|
51
|
+
"type": "AES",
|
|
52
|
+
"key": ""
|
|
53
|
+
},
|
|
54
|
+
"external_name": "consistencygroup_id"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"definitions": {}
|
|
58
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "createOrUpdateADefaultVolumeType",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "PUT",
|
|
7
|
+
"entitypath": "{base_path}/{version}/v3/default-types/{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": "showADefaultVolumeType",
|
|
25
|
+
"protocol": "REST",
|
|
26
|
+
"method": "GET",
|
|
27
|
+
"entitypath": "{base_path}/{version}/v3/default-types/{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": "deleteADefaultVolumeType",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "DELETE",
|
|
48
|
+
"entitypath": "{base_path}/{version}/v3/default-types/{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": "listDefaultVolumeTypes",
|
|
66
|
+
"protocol": "REST",
|
|
67
|
+
"method": "GET",
|
|
68
|
+
"entitypath": "{base_path}/{version}/v3/default-types/?{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
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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": "createOrUpdateADefaultVolumeType",
|
|
12
|
+
"enum": [
|
|
13
|
+
"createOrUpdateADefaultVolumeType",
|
|
14
|
+
"showADefaultVolumeType",
|
|
15
|
+
"deleteADefaultVolumeType",
|
|
16
|
+
"listDefaultVolumeTypes"
|
|
17
|
+
],
|
|
18
|
+
"external_name": "ph_request_type"
|
|
19
|
+
},
|
|
20
|
+
"projectId": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"description": "The UUID of the project in a multi-tenancy cloud.",
|
|
23
|
+
"parse": false,
|
|
24
|
+
"encode": false,
|
|
25
|
+
"encrypt": {
|
|
26
|
+
"type": "AES",
|
|
27
|
+
"key": ""
|
|
28
|
+
},
|
|
29
|
+
"external_name": "project-id"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"definitions": {}
|
|
33
|
+
}
|