DATACOUCH-958 - Restore auditorAwareRef and dateTimeProviderRef to empty. (#1050)

Restore auditorAwareRef and dateTimeProviderRef to empty. To us them, they will need to be specified in
@EnableCouchbaseAuditing( auditorAwareRef="auditorAwareRef", dateTimeProviderRef="dateTimeProviderRef")

Co-authored-by: mikereiche <michael.reiche@couchbase.com>
This commit is contained in:
Michael Reiche
2021-01-14 16:07:04 -08:00
committed by GitHub
parent 80bae4bf67
commit ad5551625d
3 changed files with 3 additions and 5 deletions

View File

@@ -47,7 +47,7 @@ import com.couchbase.client.java.json.JacksonTransformers;
*/
@Configuration
@EnableCouchbaseRepositories
@EnableCouchbaseAuditing // this activates auditing
@EnableCouchbaseAuditing(auditorAwareRef="auditorAwareRef", dateTimeProviderRef="dateTimeProviderRef") // this activates auditing
public class Config extends AbstractCouchbaseConfiguration {
String bucketname = "travel-sample";
String username = "Administrator";

View File

@@ -17,7 +17,6 @@
package org.springframework.data.couchbase.domain;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.couchbase.repository.auditing.EnableCouchbaseAuditing;
import org.springframework.data.couchbase.repository.config.EnableCouchbaseRepositories;
/**
@@ -28,7 +27,6 @@ import org.springframework.data.couchbase.repository.config.EnableCouchbaseRepos
*/
@Configuration
@EnableCouchbaseRepositories
@EnableCouchbaseAuditing // this activates auditing
public class ConfigScoped extends Config {
static String scopeName = null;