> +import com.google.common.base.Supplier; > +import com.google.common.base.Throwables; > +import com.google.common.cache.CacheBuilder; > +import com.google.common.cache.CacheLoader; > +import com.google.common.cache.LoadingCache; > + > +/** > + * > + * @author Jasdeep Hundal > + */ > +@Singleton > +public class ZoneToEndpointNegotiateVersion implements Function<Object, URI> > { > + > + public static final String VERSION_NEGOTIATION_HEADER = > "Is-Version-Negotiation-Request"; > + > + private static class VersionsJsonResponse{
Nope, this was just something that works. Didn't know the JClouds way of doing things here, open to suggestions. --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs-openstack/pull/82/files#r10724655