diff --git a/dao-api/src/main/java/com/linkedin/metadata/dao/BaseLocalDAO.java b/dao-api/src/main/java/com/linkedin/metadata/dao/BaseLocalDAO.java index f33dd396b..faaf1bf35 100644 --- a/dao-api/src/main/java/com/linkedin/metadata/dao/BaseLocalDAO.java +++ b/dao-api/src/main/java/com/linkedin/metadata/dao/BaseLocalDAO.java @@ -170,7 +170,7 @@ public static class AspectUpdateLambda { // Enable updating multiple aspects within a single transaction private boolean _enableAtomicMultipleUpdate = false; - private boolean _emitAuditEvent = true; + private boolean _emitAuditEvent = false; private Clock _clock = Clock.systemUTC(); diff --git a/dao-api/src/test/java/com/linkedin/metadata/dao/BaseLocalDAOTest.java b/dao-api/src/test/java/com/linkedin/metadata/dao/BaseLocalDAOTest.java index 388e24e8d..e4fc1e67b 100644 --- a/dao-api/src/test/java/com/linkedin/metadata/dao/BaseLocalDAOTest.java +++ b/dao-api/src/test/java/com/linkedin/metadata/dao/BaseLocalDAOTest.java @@ -216,6 +216,7 @@ public void setup() { _mockTrackingManager = mock(BaseTrackingManager.class); _mockTransactionRunner = spy(DummyTransactionRunner.class); _dummyLocalDAO = new DummyLocalDAO(_mockGetLatestFunction, _mockEventProducer, _mockTransactionRunner); + _dummyLocalDAO.setEmitAuditEvent(true); _dummyAuditStamp = makeAuditStamp("foo", 1234); } @@ -311,6 +312,7 @@ public void testMAEv5WithTracking() throws URISyntaxException { IngestionTrackingContext mockTrackingContext = mock(IngestionTrackingContext.class); DummyLocalDAO dummyLocalDAO = new DummyLocalDAO(_mockGetLatestFunction, _mockTrackingEventProducer, _mockTrackingManager, _dummyLocalDAO._transactionRunner); + dummyLocalDAO.setEmitAuditEvent(true); dummyLocalDAO.setAlwaysEmitAuditEvent(true); dummyLocalDAO.setEmitAspectSpecificAuditEvent(true); dummyLocalDAO.setAlwaysEmitAspectSpecificAuditEvent(true); diff --git a/dao-impl/ebean-dao/src/test/java/com/linkedin/metadata/dao/EbeanLocalDAOTest.java b/dao-impl/ebean-dao/src/test/java/com/linkedin/metadata/dao/EbeanLocalDAOTest.java index 48bfd8ba0..1c2820b53 100644 --- a/dao-impl/ebean-dao/src/test/java/com/linkedin/metadata/dao/EbeanLocalDAOTest.java +++ b/dao-impl/ebean-dao/src/test/java/com/linkedin/metadata/dao/EbeanLocalDAOTest.java @@ -192,6 +192,7 @@ private EbeanLocalDAO createDao(@Nonnu if (urnClass == BarUrn.class) { dao.setUrnPathExtractor((UrnPathExtractor) new BarUrnPathExtractor()); } + dao.setEmitAuditEvent(true); return dao; } diff --git a/version.properties b/version.properties index a0fec2e14..63dd9f4eb 100644 --- a/version.properties +++ b/version.properties @@ -1 +1 @@ -version=0.3.* +version=0.4.*