@itentialopensource/adapter-openstack_glance 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 +392 -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 +5336 -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/CacheManage/action.json +85 -0
- package/entities/CacheManage/schema.json +33 -0
- package/entities/ImageData/action.json +45 -0
- package/entities/ImageData/schema.json +31 -0
- package/entities/ImageSchemas/action.json +88 -0
- package/entities/ImageSchemas/schema.json +22 -0
- package/entities/ImageServiceInfoDiscovery/action.json +88 -0
- package/entities/ImageServiceInfoDiscovery/schema.json +22 -0
- package/entities/ImageTags/action.json +44 -0
- package/entities/ImageTags/schema.json +31 -0
- package/entities/Images/action.json +167 -0
- package/entities/Images/schema.json +136 -0
- package/entities/InteroperableImageImport/action.json +44 -0
- package/entities/InteroperableImageImport/schema.json +31 -0
- package/entities/Sharing/action.json +106 -0
- package/entities/Sharing/schema.json +45 -0
- package/entities/Stores/action.json +24 -0
- package/entities/Stores/schema.json +41 -0
- package/entities/TaskSchemas/action.json +46 -0
- package/entities/TaskSchemas/schema.json +20 -0
- package/entities/Tasks/action.json +66 -0
- package/entities/Tasks/schema.json +54 -0
- package/error.json +190 -0
- package/package.json +87 -0
- package/pronghorn.json +2201 -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/creationReport.json +547 -0
- package/report/glance-openapi.json +1367 -0
- package/sampleProperties.json +198 -0
- package/test/integration/adapterTestBasicGet.js +85 -0
- package/test/integration/adapterTestConnectivity.js +93 -0
- package/test/integration/adapterTestIntegration.js +1327 -0
- package/test/unit/adapterBaseTestUnit.js +952 -0
- package/test/unit/adapterTestUnit.js +2220 -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,214 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "getGenerics",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{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": "createGeneric",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "POST",
|
|
28
|
+
"entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
|
|
29
|
+
"requestSchema": "schema.json",
|
|
30
|
+
"responseSchema": "schema.json",
|
|
31
|
+
"timeout": 0,
|
|
32
|
+
"sendEmpty": false,
|
|
33
|
+
"sendGetBody": false,
|
|
34
|
+
"requestDatatype": "JSON",
|
|
35
|
+
"responseDatatype": "JSON",
|
|
36
|
+
"headers": {},
|
|
37
|
+
"responseObjects": [
|
|
38
|
+
{
|
|
39
|
+
"type": "default",
|
|
40
|
+
"key": "",
|
|
41
|
+
"mockFile": ""
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "updateGeneric",
|
|
47
|
+
"protocol": "REST",
|
|
48
|
+
"method": "PUT",
|
|
49
|
+
"entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
|
|
50
|
+
"requestSchema": "schema.json",
|
|
51
|
+
"responseSchema": "schema.json",
|
|
52
|
+
"timeout": 0,
|
|
53
|
+
"sendEmpty": false,
|
|
54
|
+
"sendGetBody": false,
|
|
55
|
+
"requestDatatype": "JSON",
|
|
56
|
+
"responseDatatype": "JSON",
|
|
57
|
+
"headers": {},
|
|
58
|
+
"responseObjects": [
|
|
59
|
+
{
|
|
60
|
+
"type": "default",
|
|
61
|
+
"key": "",
|
|
62
|
+
"mockFile": ""
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "patchGeneric",
|
|
68
|
+
"protocol": "REST",
|
|
69
|
+
"method": "PATCH",
|
|
70
|
+
"entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
|
|
71
|
+
"requestSchema": "schema.json",
|
|
72
|
+
"responseSchema": "schema.json",
|
|
73
|
+
"timeout": 0,
|
|
74
|
+
"sendEmpty": false,
|
|
75
|
+
"sendGetBody": false,
|
|
76
|
+
"requestDatatype": "JSON",
|
|
77
|
+
"responseDatatype": "JSON",
|
|
78
|
+
"headers": {},
|
|
79
|
+
"responseObjects": [
|
|
80
|
+
{
|
|
81
|
+
"type": "default",
|
|
82
|
+
"key": "",
|
|
83
|
+
"mockFile": ""
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "deleteGeneric",
|
|
89
|
+
"protocol": "REST",
|
|
90
|
+
"method": "DELETE",
|
|
91
|
+
"entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
|
|
92
|
+
"requestSchema": "schema.json",
|
|
93
|
+
"responseSchema": "schema.json",
|
|
94
|
+
"timeout": 0,
|
|
95
|
+
"sendEmpty": false,
|
|
96
|
+
"sendGetBody": false,
|
|
97
|
+
"requestDatatype": "JSON",
|
|
98
|
+
"responseDatatype": "JSON",
|
|
99
|
+
"headers": {},
|
|
100
|
+
"responseObjects": [
|
|
101
|
+
{
|
|
102
|
+
"type": "default",
|
|
103
|
+
"key": "",
|
|
104
|
+
"mockFile": ""
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "getGenericsNoBase",
|
|
110
|
+
"protocol": "REST",
|
|
111
|
+
"method": "GET",
|
|
112
|
+
"entitypath": "/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
|
|
113
|
+
"requestSchema": "schema.json",
|
|
114
|
+
"responseSchema": "schema.json",
|
|
115
|
+
"timeout": 0,
|
|
116
|
+
"sendEmpty": false,
|
|
117
|
+
"sendGetBody": false,
|
|
118
|
+
"requestDatatype": "JSON",
|
|
119
|
+
"responseDatatype": "JSON",
|
|
120
|
+
"headers": {},
|
|
121
|
+
"responseObjects": [
|
|
122
|
+
{
|
|
123
|
+
"type": "default",
|
|
124
|
+
"key": "",
|
|
125
|
+
"mockFile": ""
|
|
126
|
+
}
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"name": "createGenericNoBase",
|
|
131
|
+
"protocol": "REST",
|
|
132
|
+
"method": "POST",
|
|
133
|
+
"entitypath": "/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
|
|
134
|
+
"requestSchema": "schema.json",
|
|
135
|
+
"responseSchema": "schema.json",
|
|
136
|
+
"timeout": 0,
|
|
137
|
+
"sendEmpty": false,
|
|
138
|
+
"sendGetBody": false,
|
|
139
|
+
"requestDatatype": "JSON",
|
|
140
|
+
"responseDatatype": "JSON",
|
|
141
|
+
"headers": {},
|
|
142
|
+
"responseObjects": [
|
|
143
|
+
{
|
|
144
|
+
"type": "default",
|
|
145
|
+
"key": "",
|
|
146
|
+
"mockFile": ""
|
|
147
|
+
}
|
|
148
|
+
]
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"name": "updateGenericNoBase",
|
|
152
|
+
"protocol": "REST",
|
|
153
|
+
"method": "PUT",
|
|
154
|
+
"entitypath": "/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
|
|
155
|
+
"requestSchema": "schema.json",
|
|
156
|
+
"responseSchema": "schema.json",
|
|
157
|
+
"timeout": 0,
|
|
158
|
+
"sendEmpty": false,
|
|
159
|
+
"sendGetBody": false,
|
|
160
|
+
"requestDatatype": "JSON",
|
|
161
|
+
"responseDatatype": "JSON",
|
|
162
|
+
"headers": {},
|
|
163
|
+
"responseObjects": [
|
|
164
|
+
{
|
|
165
|
+
"type": "default",
|
|
166
|
+
"key": "",
|
|
167
|
+
"mockFile": ""
|
|
168
|
+
}
|
|
169
|
+
]
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"name": "patchGenericNoBase",
|
|
173
|
+
"protocol": "REST",
|
|
174
|
+
"method": "PATCH",
|
|
175
|
+
"entitypath": "/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
|
|
176
|
+
"requestSchema": "schema.json",
|
|
177
|
+
"responseSchema": "schema.json",
|
|
178
|
+
"timeout": 0,
|
|
179
|
+
"sendEmpty": false,
|
|
180
|
+
"sendGetBody": false,
|
|
181
|
+
"requestDatatype": "JSON",
|
|
182
|
+
"responseDatatype": "JSON",
|
|
183
|
+
"headers": {},
|
|
184
|
+
"responseObjects": [
|
|
185
|
+
{
|
|
186
|
+
"type": "default",
|
|
187
|
+
"key": "",
|
|
188
|
+
"mockFile": ""
|
|
189
|
+
}
|
|
190
|
+
]
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"name": "deleteGenericNoBase",
|
|
194
|
+
"protocol": "REST",
|
|
195
|
+
"method": "DELETE",
|
|
196
|
+
"entitypath": "/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
|
|
197
|
+
"requestSchema": "schema.json",
|
|
198
|
+
"responseSchema": "schema.json",
|
|
199
|
+
"timeout": 0,
|
|
200
|
+
"sendEmpty": false,
|
|
201
|
+
"sendGetBody": false,
|
|
202
|
+
"requestDatatype": "JSON",
|
|
203
|
+
"responseDatatype": "JSON",
|
|
204
|
+
"headers": {},
|
|
205
|
+
"responseObjects": [
|
|
206
|
+
{
|
|
207
|
+
"type": "default",
|
|
208
|
+
"key": "",
|
|
209
|
+
"mockFile": ""
|
|
210
|
+
}
|
|
211
|
+
]
|
|
212
|
+
}
|
|
213
|
+
]
|
|
214
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "generic_schema.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
|
5
|
+
"translate": false,
|
|
6
|
+
"dynamicfields": true,
|
|
7
|
+
"properties": {
|
|
8
|
+
"ph_request_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "type of request (internal to adapter)",
|
|
11
|
+
"default": "getGeneric",
|
|
12
|
+
"enum": [
|
|
13
|
+
"getGenerics",
|
|
14
|
+
"createGeneric",
|
|
15
|
+
"updateGeneric",
|
|
16
|
+
"patchGeneric",
|
|
17
|
+
"deleteGeneric",
|
|
18
|
+
"getGenericsNoBase",
|
|
19
|
+
"createGenericNoBase",
|
|
20
|
+
"updateGenericNoBase",
|
|
21
|
+
"patchGenericNoBase",
|
|
22
|
+
"deleteGenericNoBase"
|
|
23
|
+
],
|
|
24
|
+
"external_name": "ph_request_type"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"definitions": {}
|
|
28
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "getToken",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "POST",
|
|
7
|
+
"entitypath": "{base_path}/v3/auth/tokens",
|
|
8
|
+
"requestSchema": "schemaTokenReq.json",
|
|
9
|
+
"responseSchema": "schemaTokenResp.json",
|
|
10
|
+
"timeout": 0,
|
|
11
|
+
"sendEmpty": false,
|
|
12
|
+
"requestDatatype": "JSON",
|
|
13
|
+
"responseDatatype": "JSON",
|
|
14
|
+
"headers": {},
|
|
15
|
+
"sso": {
|
|
16
|
+
"protocol": "https",
|
|
17
|
+
"host": "192.168.0.108",
|
|
18
|
+
"port": 5000
|
|
19
|
+
},
|
|
20
|
+
"responseObjects": [
|
|
21
|
+
{
|
|
22
|
+
"type": "default",
|
|
23
|
+
"key": "",
|
|
24
|
+
"mockFile": "mockdatafiles/getToken-default.json"
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "healthcheck",
|
|
30
|
+
"protocol": "REST",
|
|
31
|
+
"method": "GET",
|
|
32
|
+
"entitypath": "{base_path}/{version}/v2/images?{query}",
|
|
33
|
+
"requestSchema": "schema.json",
|
|
34
|
+
"responseSchema": "schema.json",
|
|
35
|
+
"timeout": 0,
|
|
36
|
+
"sendEmpty": false,
|
|
37
|
+
"sendGetBody": false,
|
|
38
|
+
"requestDatatype": "",
|
|
39
|
+
"responseDatatype": "",
|
|
40
|
+
"headers": {},
|
|
41
|
+
"responseObjects": [
|
|
42
|
+
{
|
|
43
|
+
"type": "default",
|
|
44
|
+
"key": "",
|
|
45
|
+
"mockFile": "mockdatafiles/healthcheck-default.json"
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
}
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
{
|
|
2
|
+
"token": {
|
|
3
|
+
"methods": [
|
|
4
|
+
"password"
|
|
5
|
+
],
|
|
6
|
+
"user": {
|
|
7
|
+
"domain": {
|
|
8
|
+
"id": "default",
|
|
9
|
+
"name": "Default"
|
|
10
|
+
},
|
|
11
|
+
"id": "e1dca701eaad4acda2229f6700208723",
|
|
12
|
+
"name": "admin",
|
|
13
|
+
"password_expires_at": null
|
|
14
|
+
},
|
|
15
|
+
"audit_ids": [
|
|
16
|
+
"-kB39k2iQ32qbp8n3yTGgA"
|
|
17
|
+
],
|
|
18
|
+
"expires_at": "2022-07-18T13:44:39.000000Z",
|
|
19
|
+
"issued_at": "2022-07-18T12:44:39.000000Z",
|
|
20
|
+
"project": {
|
|
21
|
+
"domain": {
|
|
22
|
+
"id": "default",
|
|
23
|
+
"name": "Default"
|
|
24
|
+
},
|
|
25
|
+
"id": "e3e1dea127864b0bac6b27e80ce95d07",
|
|
26
|
+
"name": "admin"
|
|
27
|
+
},
|
|
28
|
+
"is_domain": false,
|
|
29
|
+
"roles": [
|
|
30
|
+
{
|
|
31
|
+
"id": "ef5a09615ece4db4a8980d054213898c",
|
|
32
|
+
"name": "reader"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"id": "06d7ad12017e48be8d345e4035915b68",
|
|
36
|
+
"name": "admin"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "aa98399150a2429ca32bc5d7ca93c537",
|
|
40
|
+
"name": "member"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"catalog": [
|
|
44
|
+
{
|
|
45
|
+
"endpoints": [
|
|
46
|
+
{
|
|
47
|
+
"id": "08f0bfdec78a4970a78de58947de7872",
|
|
48
|
+
"interface": "internal",
|
|
49
|
+
"region_id": "microstack",
|
|
50
|
+
"url": "https://10.0.2.15:9292",
|
|
51
|
+
"region": "microstack"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"id": "87b497ab5e0f476a96e9f69ed50c03eb",
|
|
55
|
+
"interface": "public",
|
|
56
|
+
"region_id": "microstack",
|
|
57
|
+
"url": "https://10.0.2.15:9292",
|
|
58
|
+
"region": "microstack"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"id": "d3c28db724714fc39b29b005fe6f44d6",
|
|
62
|
+
"interface": "admin",
|
|
63
|
+
"region_id": "microstack",
|
|
64
|
+
"url": "https://10.0.2.15:9292",
|
|
65
|
+
"region": "microstack"
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"id": "081f6036eede455b96da89ccb3ee8286",
|
|
69
|
+
"type": "image",
|
|
70
|
+
"name": "glance"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"endpoints": [
|
|
74
|
+
{
|
|
75
|
+
"id": "aac9ec67034a4dfa914ccae29ca8af3c",
|
|
76
|
+
"interface": "admin",
|
|
77
|
+
"region_id": "microstack",
|
|
78
|
+
"url": "https://10.0.2.15:8774/v2.1",
|
|
79
|
+
"region": "microstack"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"id": "b4c6eae7087949f3857b4bfaeb543df1",
|
|
83
|
+
"interface": "internal",
|
|
84
|
+
"region_id": "microstack",
|
|
85
|
+
"url": "https://10.0.2.15:8774/v2.1",
|
|
86
|
+
"region": "microstack"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"id": "ec39db20bb7f4813918f875451847b23",
|
|
90
|
+
"interface": "public",
|
|
91
|
+
"region_id": "microstack",
|
|
92
|
+
"url": "https://10.0.2.15:8774/v2.1",
|
|
93
|
+
"region": "microstack"
|
|
94
|
+
}
|
|
95
|
+
],
|
|
96
|
+
"id": "3bf9cbd59cbd4c97b7faa532abfe233b",
|
|
97
|
+
"type": "compute",
|
|
98
|
+
"name": "nova"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"endpoints": [
|
|
102
|
+
{
|
|
103
|
+
"id": "4c1a93611e264c899a2aa347759cf73c",
|
|
104
|
+
"interface": "internal",
|
|
105
|
+
"region_id": "microstack",
|
|
106
|
+
"url": "https://10.0.2.15:9696",
|
|
107
|
+
"region": "microstack"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"id": "59b2f831005744d7a261e7a01692f2bd",
|
|
111
|
+
"interface": "public",
|
|
112
|
+
"region_id": "microstack",
|
|
113
|
+
"url": "https://10.0.2.15:9696",
|
|
114
|
+
"region": "microstack"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"id": "e6aadda90d9f4f228ba936ab19634c45",
|
|
118
|
+
"interface": "admin",
|
|
119
|
+
"region_id": "microstack",
|
|
120
|
+
"url": "https://10.0.2.15:9696",
|
|
121
|
+
"region": "microstack"
|
|
122
|
+
}
|
|
123
|
+
],
|
|
124
|
+
"id": "489bea13f24743d79c84a0de9679e7ee",
|
|
125
|
+
"type": "network",
|
|
126
|
+
"name": "neutron"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"endpoints": [
|
|
130
|
+
{
|
|
131
|
+
"id": "1fd62be73a964c4981bf0e8f8bc37d9b",
|
|
132
|
+
"interface": "admin",
|
|
133
|
+
"region_id": "microstack",
|
|
134
|
+
"url": "https://10.0.2.15:5000/v3/",
|
|
135
|
+
"region": "microstack"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"id": "66afbcf3489c4d95a46a63d83b5eeb50",
|
|
139
|
+
"interface": "public",
|
|
140
|
+
"region_id": "microstack",
|
|
141
|
+
"url": "https://10.0.2.15:5000/v3/",
|
|
142
|
+
"region": "microstack"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"id": "e659bdd2ded9465388272835f995b5c0",
|
|
146
|
+
"interface": "internal",
|
|
147
|
+
"region_id": "microstack",
|
|
148
|
+
"url": "https://10.0.2.15:5000/v3/",
|
|
149
|
+
"region": "microstack"
|
|
150
|
+
}
|
|
151
|
+
],
|
|
152
|
+
"id": "977ca2d27c8f4f79bdca299b8713e9bf",
|
|
153
|
+
"type": "identity",
|
|
154
|
+
"name": "keystone"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"endpoints": [
|
|
158
|
+
{
|
|
159
|
+
"id": "7098321ba04b437fbc037cf7b6d6486b",
|
|
160
|
+
"interface": "internal",
|
|
161
|
+
"region_id": "microstack",
|
|
162
|
+
"url": "https://10.0.2.15:8776/v3/e3e1dea127864b0bac6b27e80ce95d07",
|
|
163
|
+
"region": "microstack"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"id": "723f04b0ae8649679c4ee2b0b18d17cf",
|
|
167
|
+
"interface": "admin",
|
|
168
|
+
"region_id": "microstack",
|
|
169
|
+
"url": "https://10.0.2.15:8776/v3/e3e1dea127864b0bac6b27e80ce95d07",
|
|
170
|
+
"region": "microstack"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"id": "f3e2d5c3f5894681862a35bcaf62d0e6",
|
|
174
|
+
"interface": "public",
|
|
175
|
+
"region_id": "microstack",
|
|
176
|
+
"url": "https://10.0.2.15:8776/v3/e3e1dea127864b0bac6b27e80ce95d07",
|
|
177
|
+
"region": "microstack"
|
|
178
|
+
}
|
|
179
|
+
],
|
|
180
|
+
"id": "d53df0a17c3d4a799db7eaa7bfcb123c",
|
|
181
|
+
"type": "volumev3",
|
|
182
|
+
"name": "cinderv3"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"endpoints": [
|
|
186
|
+
{
|
|
187
|
+
"id": "225bd8ab950c4bba94865d9550a91b32",
|
|
188
|
+
"interface": "admin",
|
|
189
|
+
"region_id": "microstack",
|
|
190
|
+
"url": "https://10.0.2.15:8778",
|
|
191
|
+
"region": "microstack"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"id": "e703d904990343e0bd8c5bf373b70412",
|
|
195
|
+
"interface": "internal",
|
|
196
|
+
"region_id": "microstack",
|
|
197
|
+
"url": "https://10.0.2.15:8778",
|
|
198
|
+
"region": "microstack"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"id": "ecf95b60a5d24caab7e0c608f980dd97",
|
|
202
|
+
"interface": "public",
|
|
203
|
+
"region_id": "microstack",
|
|
204
|
+
"url": "https://10.0.2.15:8778",
|
|
205
|
+
"region": "microstack"
|
|
206
|
+
}
|
|
207
|
+
],
|
|
208
|
+
"id": "f662c07e56f6420f9964e5d67b96e0f0",
|
|
209
|
+
"type": "placement",
|
|
210
|
+
"name": "placement"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"endpoints": [
|
|
214
|
+
{
|
|
215
|
+
"id": "5bb33b6dfbd041d9b46776d03264d0dc",
|
|
216
|
+
"interface": "admin",
|
|
217
|
+
"region_id": "microstack",
|
|
218
|
+
"url": "https://10.0.2.15:8776/v2/e3e1dea127864b0bac6b27e80ce95d07",
|
|
219
|
+
"region": "microstack"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"id": "c3fc28c5bd024da1aeeca738a7403c27",
|
|
223
|
+
"interface": "public",
|
|
224
|
+
"region_id": "microstack",
|
|
225
|
+
"url": "https://10.0.2.15:8776/v2/e3e1dea127864b0bac6b27e80ce95d07",
|
|
226
|
+
"region": "microstack"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"id": "e97662745d9e45208a28be44c62d7026",
|
|
230
|
+
"interface": "internal",
|
|
231
|
+
"region_id": "microstack",
|
|
232
|
+
"url": "https://10.0.2.15:8776/v2/e3e1dea127864b0bac6b27e80ce95d07",
|
|
233
|
+
"region": "microstack"
|
|
234
|
+
}
|
|
235
|
+
],
|
|
236
|
+
"id": "f9880ac48db844419d69046d5971aed3",
|
|
237
|
+
"type": "volumev2",
|
|
238
|
+
"name": "cinderv2"
|
|
239
|
+
}
|
|
240
|
+
]
|
|
241
|
+
}
|
|
242
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "schema.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
|
5
|
+
"translate": false,
|
|
6
|
+
"dynamicfields": true,
|
|
7
|
+
"properties": {
|
|
8
|
+
"ph_request_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "type of request (internal to adapter)",
|
|
11
|
+
"default": "healthcheck",
|
|
12
|
+
"enum": [
|
|
13
|
+
"healthcheck"
|
|
14
|
+
],
|
|
15
|
+
"external_name": "ph_request_type"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"definitions": {}
|
|
19
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": ".system-schemaTokenReq.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": "getToken",
|
|
12
|
+
"enum": [
|
|
13
|
+
"getToken"
|
|
14
|
+
],
|
|
15
|
+
"external_name": "ph_request_type"
|
|
16
|
+
},
|
|
17
|
+
"username": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"description": "username to log in with",
|
|
20
|
+
"parse": false,
|
|
21
|
+
"encode": false,
|
|
22
|
+
"encrypt": {
|
|
23
|
+
"type": "AES",
|
|
24
|
+
"key": ""
|
|
25
|
+
},
|
|
26
|
+
"external_name": "username"
|
|
27
|
+
},
|
|
28
|
+
"password": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"description": "password to log in with",
|
|
31
|
+
"parse": false,
|
|
32
|
+
"encode": false,
|
|
33
|
+
"encrypt": {
|
|
34
|
+
"type": "AES",
|
|
35
|
+
"key": ""
|
|
36
|
+
},
|
|
37
|
+
"external_name": "password"
|
|
38
|
+
},
|
|
39
|
+
"token": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"description": "token returned by system",
|
|
42
|
+
"parse": false,
|
|
43
|
+
"encode": false,
|
|
44
|
+
"placement": "BODY",
|
|
45
|
+
"encrypt": {
|
|
46
|
+
"type": "AES",
|
|
47
|
+
"key": ""
|
|
48
|
+
},
|
|
49
|
+
"external_name": "token"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"definitions": {}
|
|
53
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": ".system-schemaTokenResp.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": "getToken",
|
|
12
|
+
"enum": [
|
|
13
|
+
"getToken"
|
|
14
|
+
],
|
|
15
|
+
"external_name": "ph_request_type"
|
|
16
|
+
},
|
|
17
|
+
"username": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"description": "username to log in with",
|
|
20
|
+
"parse": false,
|
|
21
|
+
"encode": false,
|
|
22
|
+
"encrypt": {
|
|
23
|
+
"type": "AES",
|
|
24
|
+
"key": ""
|
|
25
|
+
},
|
|
26
|
+
"external_name": "username"
|
|
27
|
+
},
|
|
28
|
+
"password": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"description": "password to log in with",
|
|
31
|
+
"parse": false,
|
|
32
|
+
"encode": false,
|
|
33
|
+
"encrypt": {
|
|
34
|
+
"type": "AES",
|
|
35
|
+
"key": ""
|
|
36
|
+
},
|
|
37
|
+
"external_name": "password"
|
|
38
|
+
},
|
|
39
|
+
"token": {
|
|
40
|
+
"type": "object",
|
|
41
|
+
"description": "token returned by system",
|
|
42
|
+
"parse": false,
|
|
43
|
+
"encode": false,
|
|
44
|
+
"placement": "header",
|
|
45
|
+
"external_name": "x-subject-token"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"definitions": {}
|
|
49
|
+
}
|