Remove deprecated methods from AbstractCouchbaseConfiguration. (#1605)

Closes #1604.
This commit is contained in:
Michael Reiche
2022-10-31 06:34:36 -10:00
committed by GitHub
parent 6117c18a38
commit 8974ce0aeb

View File

@@ -177,12 +177,6 @@ public abstract class AbstractCouchbaseConfiguration {
getDefaultConsistency());
}
@Deprecated
public CouchbaseTemplate couchbaseTemplate(CouchbaseClientFactory couchbaseClientFactory,
MappingCouchbaseConverter mappingCouchbaseConverter) {
return couchbaseTemplate(couchbaseClientFactory, mappingCouchbaseConverter, new JacksonTranslationService());
}
@Bean(name = BeanNames.REACTIVE_COUCHBASE_TEMPLATE)
public ReactiveCouchbaseTemplate reactiveCouchbaseTemplate(CouchbaseClientFactory couchbaseClientFactory,
MappingCouchbaseConverter mappingCouchbaseConverter, TranslationService couchbaseTranslationService) {
@@ -190,13 +184,6 @@ public abstract class AbstractCouchbaseConfiguration {
getDefaultConsistency());
}
@Deprecated
public ReactiveCouchbaseTemplate reactiveCouchbaseTemplate(CouchbaseClientFactory couchbaseClientFactory,
MappingCouchbaseConverter mappingCouchbaseConverter) {
return reactiveCouchbaseTemplate(couchbaseClientFactory, mappingCouchbaseConverter,
new JacksonTranslationService());
}
@Bean(name = BeanNames.COUCHBASE_OPERATIONS_MAPPING)
public RepositoryOperationsMapping couchbaseRepositoryOperationsMapping(CouchbaseTemplate couchbaseTemplate) {
// create a base mapping that associates all repositories to the default template