From c499ae84d53ecdfa715824169d31370b3ad39980 Mon Sep 17 00:00:00 2001 From: osandamaleesha Date: Fri, 1 Nov 2024 16:19:09 +0530 Subject: [PATCH] Improve variable names for Action IDs --- .../action/execution/ActionExecutionLogConstants.java | 4 ++-- .../execution/util/ActionExecutionDiagnosticLogger.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/action-mgt/org.wso2.carbon.identity.action.execution/src/main/java/org/wso2/carbon/identity/action/execution/ActionExecutionLogConstants.java b/components/action-mgt/org.wso2.carbon.identity.action.execution/src/main/java/org/wso2/carbon/identity/action/execution/ActionExecutionLogConstants.java index 8df84605466b..159e34ec288d 100644 --- a/components/action-mgt/org.wso2.carbon.identity.action.execution/src/main/java/org/wso2/carbon/identity/action/execution/ActionExecutionLogConstants.java +++ b/components/action-mgt/org.wso2.carbon.identity.action.execution/src/main/java/org/wso2/carbon/identity/action/execution/ActionExecutionLogConstants.java @@ -36,7 +36,7 @@ public static class ActionIDs { public static final String PROCESS_ACTION_REQUEST = "process-action-request"; public static final String SEND_ACTION_REQUEST = "send-action-request"; public static final String RECEIVE_ACTION_RESPONSE = "receive-action-response"; - public static final String VALIDATE_ACTION_OPERATIONS = "validate-action-response"; - public static final String EXECUTE_ACTION_OPERATIONS = "process-action-response"; + public static final String VALIDATE_ACTION_RESPONSE = "validate-action-response"; + public static final String PROCESS_ACTION_RESPONSE = "process-action-response"; } } diff --git a/components/action-mgt/org.wso2.carbon.identity.action.execution/src/main/java/org/wso2/carbon/identity/action/execution/util/ActionExecutionDiagnosticLogger.java b/components/action-mgt/org.wso2.carbon.identity.action.execution/src/main/java/org/wso2/carbon/identity/action/execution/util/ActionExecutionDiagnosticLogger.java index 8f39e613dbc3..31a2f9c45cfd 100644 --- a/components/action-mgt/org.wso2.carbon.identity.action.execution/src/main/java/org/wso2/carbon/identity/action/execution/util/ActionExecutionDiagnosticLogger.java +++ b/components/action-mgt/org.wso2.carbon.identity.action.execution/src/main/java/org/wso2/carbon/identity/action/execution/util/ActionExecutionDiagnosticLogger.java @@ -138,7 +138,7 @@ public void logPerformableOperations(Action action, List allowedOps, Lis return; } DiagnosticLog.DiagnosticLogBuilder diagnosticLogBuilder = initializeDiagnosticLogBuilder( - ActionExecutionLogConstants.ActionIDs.VALIDATE_ACTION_OPERATIONS, + ActionExecutionLogConstants.ActionIDs.VALIDATE_ACTION_RESPONSE, "Validated operations to perform on " + action.getType().getDisplayName() + " action.", DiagnosticLog.ResultStatus.SUCCESS); triggerLogEvent(