From 2b6f1d68f144ad99949bbdeb41ec62a360c86b13 Mon Sep 17 00:00:00 2001 From: sahusanket Date: Thu, 12 Dec 2024 00:13:19 +0530 Subject: [PATCH] Adding Binding for TransactionServiceTwillRunnable to fix ITN tests --- .../cdap/data/runtime/main/TransactionServiceTwillRunnable.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cdap-master/src/main/java/io/cdap/cdap/data/runtime/main/TransactionServiceTwillRunnable.java b/cdap-master/src/main/java/io/cdap/cdap/data/runtime/main/TransactionServiceTwillRunnable.java index 29b1959412bc..aa2811716a2e 100644 --- a/cdap-master/src/main/java/io/cdap/cdap/data/runtime/main/TransactionServiceTwillRunnable.java +++ b/cdap-master/src/main/java/io/cdap/cdap/data/runtime/main/TransactionServiceTwillRunnable.java @@ -22,6 +22,7 @@ import com.google.inject.Injector; import com.google.inject.multibindings.Multibinder; import com.google.inject.name.Names; +import io.cdap.cdap.app.guice.AuditLogWriterModule; import io.cdap.cdap.common.conf.CConfiguration; import io.cdap.cdap.common.conf.Constants; import io.cdap.cdap.common.guice.ConfigModule; @@ -116,6 +117,7 @@ static Injector createGuiceInjector(CConfiguration cConf, Configuration hConf, // needed by RemoteDatasetFramework while making an HTTP call to DatasetService new AuthorizationEnforcementModule().getDistributedModules(), new AuthenticationContextModules().getMasterModule(), + new AuditLogWriterModule(cConf).getDistributedModules(), new AbstractModule() { @Override protected void configure() {