mirror of https://github.com/apache/jclouds.git
Added test environment for Quantum v2.0 client
This patch adds test environment for the future Quantum v2.0 client implementation. Signed-off-by: Andrey Trubitsyn <andrey@sentilla.com>
This commit is contained in:
parent
bbfec4a990
commit
02d1ac4648
|
@ -116,6 +116,15 @@ public class ParseAccessTest extends BaseItemParserTest<Access> {
|
||||||
.adminURL("https://csnode.jclouds.org:9696/v1.0")
|
.adminURL("https://csnode.jclouds.org:9696/v1.0")
|
||||||
.region("region-a.geo-1")
|
.region("region-a.geo-1")
|
||||||
.versionId("1.0").build()).build())
|
.versionId("1.0").build()).build())
|
||||||
|
.service(Service.builder().name("Quantum Service").type(NETWORK)
|
||||||
|
.endpoint(Endpoint.builder()
|
||||||
|
.tenantId("3456")
|
||||||
|
.publicURL("https://csnode.jclouds.org:9696")
|
||||||
|
.internalURL("https://csnode.jclouds.org:9696")
|
||||||
|
.adminURL("https://csnode.jclouds.org:9696")
|
||||||
|
.region("region-a.geo-1")
|
||||||
|
.versionId("2.0").build()).build())
|
||||||
|
|
||||||
.service(Service.builder().name("cinder").type(BLOCK_STORAGE)
|
.service(Service.builder().name("cinder").type(BLOCK_STORAGE)
|
||||||
.endpoint(Endpoint.builder()
|
.endpoint(Endpoint.builder()
|
||||||
.id("08330c2dcbfc4c6c8dc7a0949fbf5da7")
|
.id("08330c2dcbfc4c6c8dc7a0949fbf5da7")
|
||||||
|
|
|
@ -125,6 +125,21 @@
|
||||||
],
|
],
|
||||||
"endpoints_links": []
|
"endpoints_links": []
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "network",
|
||||||
|
"name": "Quantum Service",
|
||||||
|
"endpoints": [
|
||||||
|
{
|
||||||
|
"tenantId": "3456",
|
||||||
|
"adminURL": "https://csnode.jclouds.org:9696",
|
||||||
|
"region": "region-a.geo-1",
|
||||||
|
"versionId": "2.0",
|
||||||
|
"publicURL": "https://csnode.jclouds.org:9696",
|
||||||
|
"internalURL": "https://csnode.jclouds.org:9696"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"endpoints_links": []
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "volume",
|
"type": "volume",
|
||||||
"name": "cinder",
|
"name": "cinder",
|
||||||
|
|
Loading…
Reference in New Issue