mirror of https://github.com/apache/jclouds.git
Add awareness of Manila and SHARED_FILESYSTEM openstack projects to keystone
This commit is contained in:
parent
d7c4867752
commit
35b71c5728
|
@ -72,6 +72,11 @@ public final class ServiceType {
|
|||
*/
|
||||
public static final String CDN = "cdn";
|
||||
|
||||
/**
|
||||
* Shared Filsystem Service (Manila)
|
||||
*/
|
||||
public static final String SHARED_FILESYSTEM = "share";
|
||||
|
||||
private ServiceType() {
|
||||
throw new AssertionError("intentionally unimplemented");
|
||||
}
|
||||
|
|
|
@ -39,6 +39,7 @@ import static org.jclouds.openstack.v2_0.ServiceType.IMAGE;
|
|||
import static org.jclouds.openstack.v2_0.ServiceType.NETWORK;
|
||||
import static org.jclouds.openstack.v2_0.ServiceType.OBJECT_STORE;
|
||||
import static org.jclouds.openstack.v2_0.ServiceType.QUEUES;
|
||||
import static org.jclouds.openstack.v2_0.ServiceType.SHARED_FILESYSTEM;
|
||||
|
||||
|
||||
@Test(groups = "unit", testName = "ParseAccessTest")
|
||||
|
@ -129,6 +130,13 @@ public class ParseAccessTest extends BaseItemParserTest<Access> {
|
|||
.internalURL("http://10.0.2.15:8776/v1/50cdb4c60374463198695d9f798fa34d")
|
||||
.adminURL("http://10.0.2.15:8776/v1/50cdb4c60374463198695d9f798fa34d")
|
||||
.region("RegionOne").build()).build())
|
||||
.service(Service.builder().name("manila").type(SHARED_FILESYSTEM)
|
||||
.endpoint(Endpoint.builder()
|
||||
.id("c06b43bc23e44be6b079ac319718014e")
|
||||
.publicURL("http://172.16.0.1:8786/v1/50cdb4c60374463198695d9f798fa34d")
|
||||
.internalURL("http://10.0.2.15:8786/v1/50cdb4c60374463198695d9f798fa34d")
|
||||
.adminURL("http://10.0.2.15:8786/v1/50cdb4c60374463198695d9f798fa34d")
|
||||
.region("RegionOne").build()).build())
|
||||
.service(Service.builder().name("trove").type(DATABASE)
|
||||
.endpoint(Endpoint.builder()
|
||||
.publicURL("http://172.16.0.1:8776/v1/3456")
|
||||
|
|
|
@ -154,6 +154,20 @@
|
|||
],
|
||||
"endpoints_links": []
|
||||
},
|
||||
{
|
||||
"type": "share",
|
||||
"name": "manila",
|
||||
"endpoints": [
|
||||
{
|
||||
"adminURL": "http://10.0.2.15:8786/v1/50cdb4c60374463198695d9f798fa34d",
|
||||
"region": "RegionOne",
|
||||
"internalURL": "http://10.0.2.15:8786/v1/50cdb4c60374463198695d9f798fa34d",
|
||||
"id": "c06b43bc23e44be6b079ac319718014e",
|
||||
"publicURL": "http://172.16.0.1:8786/v1/50cdb4c60374463198695d9f798fa34d"
|
||||
}
|
||||
],
|
||||
"endpoints_links": []
|
||||
},
|
||||
{
|
||||
"type": "database",
|
||||
"name": "trove",
|
||||
|
|
Loading…
Reference in New Issue