Hi Jcloud Developers,
I'm trying to get the tenant ID in an openstack env. I've tried the following :
ComputeServiceContext context = ContextBuilder.newBuilder(provider)
.credentials(<user name>, <password>)
.endpoint(<end point>).modules(modules)
.buildView(ComputeServiceContext.class);
None of the following API calls give the tenant ID
context.unwrap().getIdentity());
context.unwrap().getProviderMetadata().getId());
context.unwrap().getProviderMetadata().getApiMetadata()
.getId());
context.unwrap().getProviderMetadata().getApiMetadata()
.getCredentialName());
context.unwrap().getProviderMetadata().getApiMetadata()
.getDefaultCredential());
context.unwrap().getProviderMetadata().getApiMetadata()
.getDefaultIdentity());
context.unwrap().getProviderMetadata().getApiMetadata()
.getIdentityName());
context.unwrap().getProviderMetadata().getApiMetadata()
.getName());
context.unwrap().getId());
Is there a way to get the tenant id ?
Thanks
Shankar Ramachandran
([email protected], Skype: shankar.adn)
Shankar Ramachandran
([email protected], Skype: shankar.adn)