@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.
Files changed (130) hide show
  1. package/.eslintignore +5 -0
  2. package/.eslintrc.js +18 -0
  3. package/.jshintrc +3 -0
  4. package/AUTH.md +43 -0
  5. package/BROKER.md +199 -0
  6. package/CALLS.md +1118 -0
  7. package/CHANGELOG.md +9 -0
  8. package/CODE_OF_CONDUCT.md +43 -0
  9. package/CONTRIBUTING.md +172 -0
  10. package/ENHANCE.md +69 -0
  11. package/LICENSE +201 -0
  12. package/PROPERTIES.md +641 -0
  13. package/README.md +337 -0
  14. package/SUMMARY.md +9 -0
  15. package/SYSTEMINFO.md +11 -0
  16. package/TROUBLESHOOT.md +47 -0
  17. package/adapter.js +20288 -0
  18. package/adapterBase.js +1788 -0
  19. package/entities/.generic/action.json +214 -0
  20. package/entities/.generic/schema.json +28 -0
  21. package/entities/.system/action.json +50 -0
  22. package/entities/.system/mockdatafiles/getToken-default.json +242 -0
  23. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  24. package/entities/.system/schema.json +19 -0
  25. package/entities/.system/schemaTokenReq.json +53 -0
  26. package/entities/.system/schemaTokenResp.json +49 -0
  27. package/entities/APIExtensionsExtensions/action.json +25 -0
  28. package/entities/APIExtensionsExtensions/schema.json +30 -0
  29. package/entities/APIVersionDetails/action.json +25 -0
  30. package/entities/APIVersionDetails/schema.json +19 -0
  31. package/entities/APIVersions/action.json +25 -0
  32. package/entities/APIVersions/schema.json +19 -0
  33. package/entities/AttachmentsAttachments/action.json +147 -0
  34. package/entities/AttachmentsAttachments/schema.json +58 -0
  35. package/entities/BackEndStoragePools/action.json +25 -0
  36. package/entities/BackEndStoragePools/schema.json +30 -0
  37. package/entities/BackupActionsBackupsAction/action.json +24 -0
  38. package/entities/BackupActionsBackupsAction/schema.json +41 -0
  39. package/entities/BackupsBackups/action.json +188 -0
  40. package/entities/BackupsBackups/schema.json +71 -0
  41. package/entities/CapabilitiesForStorageBackEndsCapabilities/action.json +25 -0
  42. package/entities/CapabilitiesForStorageBackEndsCapabilities/schema.json +30 -0
  43. package/entities/ConsistencyGroupSnapshotsDEPRECATED/action.json +107 -0
  44. package/entities/ConsistencyGroupSnapshotsDEPRECATED/schema.json +56 -0
  45. package/entities/ConsistencyGroupsDEPRECATED/action.json +147 -0
  46. package/entities/ConsistencyGroupsDEPRECATED/schema.json +58 -0
  47. package/entities/DefaultVolumeTypesDefaultTypes/action.json +86 -0
  48. package/entities/DefaultVolumeTypesDefaultTypes/schema.json +33 -0
  49. package/entities/GenericVolumeGroupsGroups/action.json +147 -0
  50. package/entities/GenericVolumeGroupsGroups/schema.json +69 -0
  51. package/entities/GroupSnapshotsGroupSnapshots/action.json +127 -0
  52. package/entities/GroupSnapshotsGroupSnapshots/schema.json +79 -0
  53. package/entities/GroupTypeSpecsGroupTypesGroupSpecs/action.json +106 -0
  54. package/entities/GroupTypeSpecsGroupTypesGroupSpecs/schema.json +56 -0
  55. package/entities/GroupTypesGroupTypes/action.json +127 -0
  56. package/entities/GroupTypesGroupTypes/schema.json +46 -0
  57. package/entities/HostsExtensionOsHosts/action.json +46 -0
  58. package/entities/HostsExtensionOsHosts/schema.json +42 -0
  59. package/entities/LimitsLimits/action.json +25 -0
  60. package/entities/LimitsLimits/schema.json +30 -0
  61. package/entities/MessagesMessages/action.json +66 -0
  62. package/entities/MessagesMessages/schema.json +43 -0
  63. package/entities/QualityOfServiceQoSSpecificationsQosSpecs/action.json +210 -0
  64. package/entities/QualityOfServiceQoSSpecificationsQosSpecs/schema.json +61 -0
  65. package/entities/QuotaClassSetExtensionOsQuotaClassSets/action.json +45 -0
  66. package/entities/QuotaClassSetExtensionOsQuotaClassSets/schema.json +42 -0
  67. package/entities/QuotaSetsExtensionOsQuotaSets/action.json +86 -0
  68. package/entities/QuotaSetsExtensionOsQuotaSets/schema.json +44 -0
  69. package/entities/ResourceFiltersResourceFilters/action.json +25 -0
  70. package/entities/ResourceFiltersResourceFilters/schema.json +30 -0
  71. package/entities/ServicesOsServices/action.json +185 -0
  72. package/entities/ServicesOsServices/schema.json +38 -0
  73. package/entities/SnapshotActionsSnapshotsAction/action.json +24 -0
  74. package/entities/SnapshotActionsSnapshotsAction/schema.json +41 -0
  75. package/entities/SnapshotManageExtensionManageableSnapshots/action.json +66 -0
  76. package/entities/SnapshotManageExtensionManageableSnapshots/schema.json +32 -0
  77. package/entities/VolumeActionsVolumesAction/action.json +24 -0
  78. package/entities/VolumeActionsVolumesAction/schema.json +41 -0
  79. package/entities/VolumeManageExtensionManageableVolumes/action.json +66 -0
  80. package/entities/VolumeManageExtensionManageableVolumes/schema.json +32 -0
  81. package/entities/VolumeSnapshotsSnapshots/action.json +249 -0
  82. package/entities/VolumeSnapshotsSnapshots/schema.json +85 -0
  83. package/entities/VolumeTransfer/action.json +127 -0
  84. package/entities/VolumeTransfer/schema.json +57 -0
  85. package/entities/VolumeTransfersVolumeTransfers355OrLater/action.json +127 -0
  86. package/entities/VolumeTransfersVolumeTransfers355OrLater/schema.json +79 -0
  87. package/entities/VolumeTypeAccessTypesActionTypesOsVolumeTypeAccess/action.json +45 -0
  88. package/entities/VolumeTypeAccessTypesActionTypesOsVolumeTypeAccess/schema.json +42 -0
  89. package/entities/VolumeTypesTypes/action.json +331 -0
  90. package/entities/VolumeTypesTypes/schema.json +78 -0
  91. package/entities/VolumesVolumes/action.json +270 -0
  92. package/entities/VolumesVolumes/schema.json +108 -0
  93. package/entities/WorkersWorkers/action.json +24 -0
  94. package/entities/WorkersWorkers/schema.json +30 -0
  95. package/error.json +190 -0
  96. package/package.json +87 -0
  97. package/pronghorn.json +10093 -0
  98. package/propertiesDecorators.json +14 -0
  99. package/propertiesSchema.json +1284 -0
  100. package/refs?service=git-upload-pack +0 -0
  101. package/report/adapterInfo.json +10 -0
  102. package/report/cinder-openapi.json +8589 -0
  103. package/report/creationReport.json +1495 -0
  104. package/sampleProperties.json +198 -0
  105. package/swagger/openstack_API_docs/BlockStorageAPIV3-cinder-documentation.html +32674 -0
  106. package/swagger/openstack_api_cinder.js +602 -0
  107. package/test/integration/adapterTestBasicGet.js +85 -0
  108. package/test/integration/adapterTestConnectivity.js +93 -0
  109. package/test/integration/adapterTestIntegration.js +4799 -0
  110. package/test/unit/adapterBaseTestUnit.js +952 -0
  111. package/test/unit/adapterTestUnit.js +7633 -0
  112. package/utils/adapterInfo.js +206 -0
  113. package/utils/addAuth.js +94 -0
  114. package/utils/artifactize.js +146 -0
  115. package/utils/basicGet.js +50 -0
  116. package/utils/checkMigrate.js +63 -0
  117. package/utils/entitiesToDB.js +179 -0
  118. package/utils/findPath.js +74 -0
  119. package/utils/methodDocumentor.js +225 -0
  120. package/utils/modify.js +154 -0
  121. package/utils/packModificationScript.js +35 -0
  122. package/utils/patches2bundledDeps.js +90 -0
  123. package/utils/pre-commit.sh +32 -0
  124. package/utils/removeHooks.js +20 -0
  125. package/utils/setup.js +33 -0
  126. package/utils/tbScript.js +184 -0
  127. package/utils/tbUtils.js +469 -0
  128. package/utils/testRunner.js +298 -0
  129. package/utils/troubleshootingAdapter.js +190 -0
  130. package/workflows/README.md +3 -0
@@ -0,0 +1,61 @@
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": "disassociateAQoSSpecificationFromAllAssociations",
12
+ "enum": [
13
+ "disassociateAQoSSpecificationFromAllAssociations",
14
+ "unsetKeysInAQoSSpecification",
15
+ "getAllAssociationsForAQoSSpecification",
16
+ "associateQoSSpecificationWithAVolumeType",
17
+ "disassociateQoSSpecificationFromAVolumeType",
18
+ "showAQoSSpecificationDetails",
19
+ "setKeysInAQoSSpecification",
20
+ "deleteAQoSSpecification",
21
+ "createAQoSSpecification",
22
+ "listQoSSpecifications"
23
+ ],
24
+ "external_name": "ph_request_type"
25
+ },
26
+ "projectId": {
27
+ "type": "string",
28
+ "description": "The UUID of the project in a multi-tenancy cloud.",
29
+ "parse": false,
30
+ "encode": false,
31
+ "encrypt": {
32
+ "type": "AES",
33
+ "key": ""
34
+ },
35
+ "external_name": "project_id"
36
+ },
37
+ "qosId": {
38
+ "type": "string",
39
+ "description": "The ID of the QoS specification.",
40
+ "parse": false,
41
+ "encode": false,
42
+ "encrypt": {
43
+ "type": "AES",
44
+ "key": ""
45
+ },
46
+ "external_name": "qos_id"
47
+ },
48
+ "volTypeId": {
49
+ "type": "string",
50
+ "description": "A volume type ID.",
51
+ "parse": false,
52
+ "encode": false,
53
+ "encrypt": {
54
+ "type": "AES",
55
+ "key": ""
56
+ },
57
+ "external_name": "vol_type_id"
58
+ }
59
+ },
60
+ "definitions": {}
61
+ }
@@ -0,0 +1,45 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "showQuotaClassesForAProject",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/v3/{pathv1}/os-quota-class-sets/{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
+ "name": "updateQuotaClassesForAProject",
26
+ "protocol": "REST",
27
+ "method": "PUT",
28
+ "entitypath": "{base_path}/{version}/v3/{pathv1}/os-quota-class-sets/{pathv2}?{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
+ }
@@ -0,0 +1,42 @@
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": "showQuotaClassesForAProject",
12
+ "enum": [
13
+ "showQuotaClassesForAProject",
14
+ "updateQuotaClassesForAProject"
15
+ ],
16
+ "external_name": "ph_request_type"
17
+ },
18
+ "quotaClassName": {
19
+ "type": "string",
20
+ "description": "The name of the quota class for which to set quotas.",
21
+ "parse": false,
22
+ "encode": false,
23
+ "encrypt": {
24
+ "type": "AES",
25
+ "key": ""
26
+ },
27
+ "external_name": "quota_class_name"
28
+ },
29
+ "adminProjectId": {
30
+ "type": "string",
31
+ "description": "The UUID of the administrative project.",
32
+ "parse": false,
33
+ "encode": false,
34
+ "encrypt": {
35
+ "type": "AES",
36
+ "key": ""
37
+ },
38
+ "external_name": "admin_project_id"
39
+ }
40
+ },
41
+ "definitions": {}
42
+ }
@@ -0,0 +1,86 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "showQuotasForAProject",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/v3/{pathv1}/os-quota-sets/{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
+ "name": "updateQuotasForAProject",
26
+ "protocol": "REST",
27
+ "method": "PUT",
28
+ "entitypath": "{base_path}/{version}/v3/{pathv1}/os-quota-sets/{pathv2}?{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": "deleteQuotasForAProject",
46
+ "protocol": "REST",
47
+ "method": "DELETE",
48
+ "entitypath": "{base_path}/{version}/v3/{pathv1}/os-quota-sets/{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": "getDefaultQuotasForAProject",
66
+ "protocol": "REST",
67
+ "method": "GET",
68
+ "entitypath": "{base_path}/{version}/v3/{pathv1}/os-quota-sets/{pathv2}/defaults?{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,44 @@
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": "showQuotasForAProject",
12
+ "enum": [
13
+ "showQuotasForAProject",
14
+ "updateQuotasForAProject",
15
+ "deleteQuotasForAProject",
16
+ "getDefaultQuotasForAProject"
17
+ ],
18
+ "external_name": "ph_request_type"
19
+ },
20
+ "adminProjectId": {
21
+ "type": "string",
22
+ "description": "The UUID of the administrative project.",
23
+ "parse": false,
24
+ "encode": false,
25
+ "encrypt": {
26
+ "type": "AES",
27
+ "key": ""
28
+ },
29
+ "external_name": "admin_project_id"
30
+ },
31
+ "projectId": {
32
+ "type": "string",
33
+ "description": "The UUID of the project in a multi-tenancy cloud.",
34
+ "parse": false,
35
+ "encode": false,
36
+ "encrypt": {
37
+ "type": "AES",
38
+ "key": ""
39
+ },
40
+ "external_name": "project_id"
41
+ }
42
+ },
43
+ "definitions": {}
44
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "listResourceFilters",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/v3/{pathv1}/resource_filters?{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": "listResourceFilters",
12
+ "enum": [
13
+ "listResourceFilters"
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,185 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "listAllCinderServices",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/v3/{pathv1}/os-services?{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": "disableACinderService",
26
+ "protocol": "REST",
27
+ "method": "PUT",
28
+ "entitypath": "{base_path}/{version}/v3/{pathv1}/os-services/disable?{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": "logDisabledCinderServiceInformation",
46
+ "protocol": "REST",
47
+ "method": "PUT",
48
+ "entitypath": "{base_path}/{version}/v3/{pathv1}/os-services/disable-log-reason?{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": "enableACinderService",
66
+ "protocol": "REST",
67
+ "method": "PUT",
68
+ "entitypath": "{base_path}/{version}/v3/{pathv1}/os-services/enable?{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": "getCurrentLogLevelsForCinderServices",
86
+ "protocol": "REST",
87
+ "method": "PUT",
88
+ "entitypath": "{base_path}/{version}/v3/{pathv1}/os-services/get-log?{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": "setLogLevelsOfCinderServicesDynamically",
106
+ "protocol": "REST",
107
+ "method": "PUT",
108
+ "entitypath": "{base_path}/{version}/v3/{pathv1}/os-services/set-log?{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": "freezeACinderBackendHost",
126
+ "protocol": "REST",
127
+ "method": "PUT",
128
+ "entitypath": "{base_path}/{version}/v3/{pathv1}/os-services/freeze?{query}",
129
+ "requestSchema": "schema.json",
130
+ "responseSchema": "schema.json",
131
+ "timeout": 0,
132
+ "sendEmpty": false,
133
+ "requestDatatype": "JSON",
134
+ "responseDatatype": "JSON",
135
+ "headers": {},
136
+ "responseObjects": [
137
+ {
138
+ "type": "default",
139
+ "key": "",
140
+ "mockFile": ""
141
+ }
142
+ ]
143
+ },
144
+ {
145
+ "name": "thawACinderBackendHost",
146
+ "protocol": "REST",
147
+ "method": "PUT",
148
+ "entitypath": "{base_path}/{version}/v3/{pathv1}/os-services/thaw?{query}",
149
+ "requestSchema": "schema.json",
150
+ "responseSchema": "schema.json",
151
+ "timeout": 0,
152
+ "sendEmpty": false,
153
+ "requestDatatype": "JSON",
154
+ "responseDatatype": "JSON",
155
+ "headers": {},
156
+ "responseObjects": [
157
+ {
158
+ "type": "default",
159
+ "key": "",
160
+ "mockFile": ""
161
+ }
162
+ ]
163
+ },
164
+ {
165
+ "name": "failoverACinderBackendHost",
166
+ "protocol": "REST",
167
+ "method": "PUT",
168
+ "entitypath": "{base_path}/{version}/v3/{pathv1}/os-services/failover_host?{query}",
169
+ "requestSchema": "schema.json",
170
+ "responseSchema": "schema.json",
171
+ "timeout": 0,
172
+ "sendEmpty": false,
173
+ "requestDatatype": "JSON",
174
+ "responseDatatype": "JSON",
175
+ "headers": {},
176
+ "responseObjects": [
177
+ {
178
+ "type": "default",
179
+ "key": "",
180
+ "mockFile": ""
181
+ }
182
+ ]
183
+ }
184
+ ]
185
+ }
@@ -0,0 +1,38 @@
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": "listAllCinderServices",
12
+ "enum": [
13
+ "listAllCinderServices",
14
+ "disableACinderService",
15
+ "logDisabledCinderServiceInformation",
16
+ "enableACinderService",
17
+ "getCurrentLogLevelsForCinderServices",
18
+ "setLogLevelsOfCinderServicesDynamically",
19
+ "freezeACinderBackendHost",
20
+ "thawACinderBackendHost",
21
+ "failoverACinderBackendHost"
22
+ ],
23
+ "external_name": "ph_request_type"
24
+ },
25
+ "projectId": {
26
+ "type": "string",
27
+ "description": "The UUID of the project in a multi-tenancy cloud.",
28
+ "parse": false,
29
+ "encode": false,
30
+ "encrypt": {
31
+ "type": "AES",
32
+ "key": ""
33
+ },
34
+ "external_name": "project_id"
35
+ }
36
+ },
37
+ "definitions": {}
38
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "resetASnapshotSStatus",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/v3/{pathv1}/snapshots/{pathv2}/action?{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
+ }
@@ -0,0 +1,41 @@
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": "resetASnapshotSStatus",
12
+ "enum": [
13
+ "resetASnapshotSStatus"
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
+ "snapshotId": {
29
+ "type": "string",
30
+ "description": "The UUID of the snapshot.",
31
+ "parse": false,
32
+ "encode": false,
33
+ "encrypt": {
34
+ "type": "AES",
35
+ "key": ""
36
+ },
37
+ "external_name": "snapshot_id"
38
+ }
39
+ },
40
+ "definitions": {}
41
+ }