|
|
|
|
@ -24,8 +24,6 @@ import org.springframework.data.couchbase.CouchbaseClientFactory;
@@ -24,8 +24,6 @@ import org.springframework.data.couchbase.CouchbaseClientFactory;
|
|
|
|
|
import org.springframework.data.couchbase.config.BeanNames; |
|
|
|
|
import org.springframework.data.couchbase.core.CouchbaseTemplate; |
|
|
|
|
import org.springframework.data.couchbase.core.convert.MappingCouchbaseConverter; |
|
|
|
|
import org.springframework.data.couchbase.core.index.CouchbasePersistentEntityIndexCreator; |
|
|
|
|
import org.springframework.data.couchbase.core.mapping.CouchbaseMappingContext; |
|
|
|
|
import org.springframework.data.couchbase.repository.config.RepositoryOperationsMapping; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
@ -51,12 +49,4 @@ class CouchbaseClientFactoryDependentConfiguration {
@@ -51,12 +49,4 @@ class CouchbaseClientFactoryDependentConfiguration {
|
|
|
|
|
return new RepositoryOperationsMapping(couchbaseTemplate); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Bean |
|
|
|
|
@ConditionalOnMissingBean |
|
|
|
|
CouchbasePersistentEntityIndexCreator couchbasePersistentEntityIndexCreator(CouchbaseDataProperties properties, |
|
|
|
|
CouchbaseMappingContext couchbaseMappingContext, CouchbaseClientFactory clientFactory) { |
|
|
|
|
return new CouchbasePersistentEntityIndexCreator(couchbaseMappingContext, clientFactory, |
|
|
|
|
properties.getTypeKey(), properties.isAutoIndex()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|