Hi folks,
we are using JClouds for keystone management, but we are also starting to
use it for other Openstack services like Nova.
By default it seems that the default endpoint type is always 'publicURL',
but we would like to allow our customers to select between 'internalURL'
and 'publicURL'.
So the question is: How can we configure our code to choose between the
different endpoint types returned by the API. BTW, our code look like this:
IterableModule modules = ImmutableSet.Module of(new
Log4JLoggingModule());
ContextBuilder builderNova = ContextBuilder
.newBuilder(openstack-nova)
.modules(modules)
.endpoint(MY_KEYSTONE_AUTH_URL)
.credentials(tenant + : + username, password);
NovaApi novaApi = builderNova.buildApi(NovaApi.class);
Regards
Diego