I have just completed the upgrade to spring-data 2.0. The repository can be found forgeAI/spring-data-aerospike .
The following is an overview of the changes
NOTE: spring-data has changed method signatures. Below are some examples
- save(collection) to saveAll(collection)
- exists(string) to existsById(string)
- findOne to findById, return methods are Optional
AerospikeKeyValueAdapter. AbstractKeyValueAdapter method signature changed.
AerospikeMappingContext. AbstractMappingContext method signature changed.
BasicAerospikePersistentProperty AnnotationBasedPersistentProperty constructor signature changed
AerospikeRepositoryFactory. RepositoryFactorySupport method signature changed.
Package location of MappingException changed.
assertJ would randomly fail on conditions that should pass. IE an example is in the AerospikeTemplateIndexTests.findMultipleFiltersFilterAndQualifier. The method would return the expected results but the assertion would still fail.
Aerospike -> 4.1.5
Aerospace-helper -> 1.2.2
Springdata-commons -> 2.0.5.RELEASE
Springdata-keyvalue -> 2.0.5.RELEASE
Spring-boot-starter-test -> 2.0.0.RELEASE
Spring-cloud-starter -> 2.0.0.M6
Embedded-aerospike -> 1.6
Spring-cloud-dependencies -> Finchley.M9
Log4j-over-slf4j -> 1.7.25
Required to include the spring milestone repository. Spring-cloud-starter 2.0.0.M6 and spring-cloud-dependencies are required for testing. Log4j-over-slf4j was also required for testing (might be required at runtime) as some direct log4j apis are used.