From ad6d884d325a76343bab039035744ca9e61795eb Mon Sep 17 00:00:00 2001 From: rudraneel-chakraborty Date: Wed, 10 Jul 2024 09:08:57 -0400 Subject: [PATCH] DATAGO-79772 PR review comment --- .../agent/plugin/terraform/manager/TerraformManager.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/service/terraform-plugin/src/main/java/com/solace/maas/ep/event/management/agent/plugin/terraform/manager/TerraformManager.java b/service/terraform-plugin/src/main/java/com/solace/maas/ep/event/management/agent/plugin/terraform/manager/TerraformManager.java index 23a205df..73a78922 100644 --- a/service/terraform-plugin/src/main/java/com/solace/maas/ep/event/management/agent/plugin/terraform/manager/TerraformManager.java +++ b/service/terraform-plugin/src/main/java/com/solace/maas/ep/event/management/agent/plugin/terraform/manager/TerraformManager.java @@ -7,7 +7,6 @@ import com.solace.maas.ep.event.management.agent.plugin.command.model.CommandResult; import com.solace.maas.ep.event.management.agent.plugin.command.model.JobStatus; import com.solace.maas.ep.event.management.agent.plugin.constants.RouteConstants; -import com.solace.maas.ep.event.management.agent.plugin.messagingService.event.EventProperty; import com.solace.maas.ep.event.management.agent.plugin.terraform.client.TerraformClient; import com.solace.maas.ep.event.management.agent.plugin.terraform.client.TerraformClientFactory; import com.solace.maas.ep.event.management.agent.plugin.terraform.configuration.TerraformProperties; @@ -38,7 +37,6 @@ public class TerraformManager { private final TerraformProperties terraformProperties; private final TerraformClientFactory terraformClientFactory; - public TerraformManager(TerraformLogProcessingService terraformLogProcessingService, TerraformProperties terraformProperties, TerraformClientFactory terraformClientFactory) { @@ -47,9 +45,7 @@ public TerraformManager(TerraformLogProcessingService terraformLogProcessingServ this.terraformClientFactory = terraformClientFactory; } - public Path execute(CommandRequest request, - Command command, - Map envVars) { + public Path execute(CommandRequest request, Command command, Map envVars) { MDC.put(RouteConstants.COMMAND_CORRELATION_ID, request.getCommandCorrelationId()); MDC.put(RouteConstants.MESSAGING_SERVICE_ID, request.getServiceId()); setEnvVarsFromParameters(command, envVars);