Hi all,
in the context of DATACMNS-542 [0] we needed to slightly change the API in RepositoryFactorySupport. The following steps are needed to get your projects up to the new API:
1. getTargetRepository(…) now takes a RepositoryInformation rather than a RepositoryMetadata. That should just be a signature change as RepositoryInformation is a subtype of RepositoryMetadata.
2. getTagetRepository(…) should then use getTargetRepositoryViaReflection(…) to make sure the base class customizations exposed in the configuration are picked up.
3. Your @Enable…Repositories annotation needs to get a new Class<?> repositoryBaseClass() attribute and default to DefaultRepositoryBaseClass. XML configuration is augmented automatically as we just added an additional attribute to the namespace definition in Spring Data Commons.
You can find an example of the adapting changes needed in the JPA feature branch [1].
I already created tickets and have local fixes for Spring Data JPA, MongoDB and Neo4j (master branch). Please go ahead, create tickets for the adaption and link them to DATACMNS-542 as that's how I can keep track of the progress of us adapting to that API. I haven't pushed anything to Spring Data Commons master but plan to do so by the end of the week. Just wanted to give you a bit of time to prepare as pushing the changes to SDC will inevitably break all of your builds.
Any questions?
Finally, here's [2] the diff of the docs to give you an impression how much the changes in SD Commons actually simplify the customization.