dependabot[bot] on maven
code blocks even
I'd like to start the discussion regarding the new OSClient for identity v3 here.
My thoughts on this so far are to use the old implementation as a basis, remove v2 specific things like models, services, packages and replace them by the new v3 ones. I would also like to do that in the rest of the library as much as possible. I think this has the advantage that we could do this relatively quickly and also, as a result, we would get a much cleaner OpenStack4j.
Whoever wants to use deprecated v2 could just get it from another branch.
What do you guys think?
On our way to Identity V3 we came already came up with the idea to use betamax for test (#517). As betamax is way easier to include and use from the groovy perspective we decided to give that a go and get some feedback before continuing . So as a first poc we added new integration-test module with a very basic v3-authentication test written in groovy and a submodule for each connector to make sure they are tested in a way that is closer to the users use case. Have a look at the core-integration-test module in https://github.com/auhlig/openstack4j/tree/dev_betamax .
If there are no objections so far the next step will be to include betamax which will record & replay the communication.
After that I’ll do the PR to our v3_collaboration branch.
What do you think? @gondor
I added the following lines to pom file
<dependency> <groupId>org.pacesys</groupId> <artifactId>openstack4j</artifactId> <version>2.10</version> <classifier>withdeps</classifier> </dependency>
and the following line to features.xml
api.identity().listTokenEndpoints().stream() .map(Endpoint::getRegion) .collect(Collectors.toSet())