@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,147 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "listGroups",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/v3/{pathv1}/groups?{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": "createGroup",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/v3/{pathv1}/groups?{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": "showGroupDetails",
46
+ "protocol": "REST",
47
+ "method": "GET",
48
+ "entitypath": "{base_path}/{version}/v3/{pathv1}/groups/{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": "updateGroup",
67
+ "protocol": "REST",
68
+ "method": "PUT",
69
+ "entitypath": "{base_path}/{version}/v3/{pathv1}/groups/{pathv2}?{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": "createGroupFromSource",
87
+ "protocol": "REST",
88
+ "method": "POST",
89
+ "entitypath": "{base_path}/{version}/v3/{pathv1}/groups/action?{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": "deleteGroup",
107
+ "protocol": "REST",
108
+ "method": "POST",
109
+ "entitypath": "{base_path}/{version}/v3/{pathv1}/groups/{pathv2}/action?{query}",
110
+ "requestSchema": "schema.json",
111
+ "responseSchema": "schema.json",
112
+ "timeout": 0,
113
+ "sendEmpty": false,
114
+ "requestDatatype": "JSON",
115
+ "responseDatatype": "JSON",
116
+ "headers": {},
117
+ "responseObjects": [
118
+ {
119
+ "type": "default",
120
+ "key": "",
121
+ "mockFile": ""
122
+ }
123
+ ]
124
+ },
125
+ {
126
+ "name": "listGroupsWithDetails",
127
+ "protocol": "REST",
128
+ "method": "GET",
129
+ "entitypath": "{base_path}/{version}/v3/{pathv1}/groups/detail?{query}",
130
+ "requestSchema": "schema.json",
131
+ "responseSchema": "schema.json",
132
+ "timeout": 0,
133
+ "sendEmpty": false,
134
+ "sendGetBody": 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,69 @@
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": "listGroups",
12
+ "enum": [
13
+ "listGroups",
14
+ "createGroup",
15
+ "showGroupDetails",
16
+ "updateGroup",
17
+ "createGroupFromSource",
18
+ "deleteGroup",
19
+ "listGroupsWithDetails"
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
+ "groupId": {
46
+ "type": "string",
47
+ "description": "The ID of the group.",
48
+ "parse": false,
49
+ "encode": false,
50
+ "encrypt": {
51
+ "type": "AES",
52
+ "key": ""
53
+ },
54
+ "external_name": "group_id"
55
+ },
56
+ "listVolume": {
57
+ "type": "string",
58
+ "description": "Show volume ids in this group. Default is False.",
59
+ "parse": false,
60
+ "encode": false,
61
+ "encrypt": {
62
+ "type": "AES",
63
+ "key": ""
64
+ },
65
+ "external_name": "list_volume"
66
+ }
67
+ },
68
+ "definitions": {}
69
+ }
@@ -0,0 +1,127 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "deleteGroupSnapshot",
5
+ "protocol": "REST",
6
+ "method": "DELETE",
7
+ "entitypath": "{base_path}/{version}/v3/{pathv1}/group_snapshots/{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": "showGroupSnapshotDetails",
25
+ "protocol": "REST",
26
+ "method": "GET",
27
+ "entitypath": "{base_path}/{version}/v3/{pathv1}/group_snapshots/{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": "listGroupSnapshotsWithDetails",
46
+ "protocol": "REST",
47
+ "method": "GET",
48
+ "entitypath": "{base_path}/{version}/v3/{pathv1}/group_snapshots/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": "listGroupSnapshots",
67
+ "protocol": "REST",
68
+ "method": "GET",
69
+ "entitypath": "{base_path}/{version}/v3/{pathv1}/group_snapshots?{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": "createGroupSnapshot",
88
+ "protocol": "REST",
89
+ "method": "POST",
90
+ "entitypath": "{base_path}/{version}/v3/{pathv1}/group_snapshots?{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": "resetGroupSnapshotStatus",
108
+ "protocol": "REST",
109
+ "method": "POST",
110
+ "entitypath": "{base_path}/{version}/v3/{pathv1}/group_snapshots/{pathv2}/action?{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
+ }
@@ -0,0 +1,79 @@
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": "deleteGroupSnapshot",
12
+ "enum": [
13
+ "deleteGroupSnapshot",
14
+ "showGroupSnapshotDetails",
15
+ "listGroupSnapshotsWithDetails",
16
+ "listGroupSnapshots",
17
+ "createGroupSnapshot",
18
+ "resetGroupSnapshotStatus"
19
+ ],
20
+ "external_name": "ph_request_type"
21
+ },
22
+ "projectId": {
23
+ "type": "string",
24
+ "description": "The UUID of the project in a multi-tenancy cloud.",
25
+ "parse": false,
26
+ "encode": false,
27
+ "encrypt": {
28
+ "type": "AES",
29
+ "key": ""
30
+ },
31
+ "external_name": "project_id"
32
+ },
33
+ "groupSnapshotId": {
34
+ "type": "string",
35
+ "description": "The ID of the group snapshot.",
36
+ "parse": false,
37
+ "encode": false,
38
+ "encrypt": {
39
+ "type": "AES",
40
+ "key": ""
41
+ },
42
+ "external_name": "group_snapshot_id"
43
+ },
44
+ "allTenants": {
45
+ "type": "string",
46
+ "description": "Shows details for all project. Admin only.",
47
+ "parse": false,
48
+ "encode": false,
49
+ "encrypt": {
50
+ "type": "AES",
51
+ "key": ""
52
+ },
53
+ "external_name": "all_tenants"
54
+ },
55
+ "sortKey": {
56
+ "type": "string",
57
+ "description": "Sorts by an attribute. A valid value is name,\nstatus, group_id, group_type_id, size,\nid, created_at, or updated_at. Default is\ncreated_at. The API uses the natural sortin...(description truncated)",
58
+ "parse": false,
59
+ "encode": false,
60
+ "encrypt": {
61
+ "type": "AES",
62
+ "key": ""
63
+ },
64
+ "external_name": "sort_key"
65
+ },
66
+ "sortDir": {
67
+ "type": "string",
68
+ "description": "Sorts by one or more sets of attribute and sort\ndirection combinations. If you omit the sort direction in a set,\ndefault is desc.",
69
+ "parse": false,
70
+ "encode": false,
71
+ "encrypt": {
72
+ "type": "AES",
73
+ "key": ""
74
+ },
75
+ "external_name": "sort_dir"
76
+ }
77
+ },
78
+ "definitions": {}
79
+ }
@@ -0,0 +1,106 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "createOrUpdateGroupSpecsForAGroupType",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/v3/{pathv1}/group_types/{pathv2}/group_specs?{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": "listGroupSpecsForAGroupType",
25
+ "protocol": "REST",
26
+ "method": "GET",
27
+ "entitypath": "{base_path}/{version}/v3/{pathv1}/group_types/{pathv2}/group_specs?{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": "showOneSpecificGroupSpecForAGroupType",
46
+ "protocol": "REST",
47
+ "method": "GET",
48
+ "entitypath": "{base_path}/{version}/v3/{pathv1}/group_types/{pathv2}/group_specs/{pathv3}?{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": "updateOneSpecificGroupSpecForAGroupType",
67
+ "protocol": "REST",
68
+ "method": "PUT",
69
+ "entitypath": "{base_path}/{version}/v3/{pathv1}/group_types/{pathv2}/group_specs/{pathv3}?{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": "deleteOneSpecificGroupSpecForAGroupType",
87
+ "protocol": "REST",
88
+ "method": "DELETE",
89
+ "entitypath": "{base_path}/{version}/v3/{pathv1}/group_types/{pathv2}/group_specs/{pathv3}?{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
+ }
@@ -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": "createOrUpdateGroupSpecsForAGroupType",
12
+ "enum": [
13
+ "createOrUpdateGroupSpecsForAGroupType",
14
+ "listGroupSpecsForAGroupType",
15
+ "showOneSpecificGroupSpecForAGroupType",
16
+ "updateOneSpecificGroupSpecForAGroupType",
17
+ "deleteOneSpecificGroupSpecForAGroupType"
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
+ "groupTypeId": {
33
+ "type": "string",
34
+ "description": "The UUID for an existing group type.",
35
+ "parse": false,
36
+ "encode": false,
37
+ "encrypt": {
38
+ "type": "AES",
39
+ "key": ""
40
+ },
41
+ "external_name": "group_type_id"
42
+ },
43
+ "specId": {
44
+ "type": "string",
45
+ "description": "The id (key) of the group specification.",
46
+ "parse": false,
47
+ "encode": false,
48
+ "encrypt": {
49
+ "type": "AES",
50
+ "key": ""
51
+ },
52
+ "external_name": "spec_id"
53
+ }
54
+ },
55
+ "definitions": {}
56
+ }