Hi All, I have some of the Glance v2 working already. Initially I created it as a separate module but now I was trying to merge both version (v1 and v2) into the same glance module so both implentations can be available and it is up to the application to use v1 or v2.
I have a question here, the modules are using the service loader. This means that there is a META-INF/services/org.jclouds.apis.ApiMetadata file under the src/main/resources [1] which is hardcoded to the version of the metadata class that you are using. As the v1 and v2 contains a different metadata classes, is it possible to give support to both versions at the same time in a module? Is there any way of overriding the default value of the service file? Any suggestions here? Thanks in advance! Ignacio [1] https://github.com/jclouds/jclouds-labs-openstack/blob/master/openstack-glance/src/main/resources/META-INF/services/org.jclouds.apis.ApiMetadata
