Skip to content

Commit

Permalink
Merge pull request #6093 from osandamaleesha/test/diagnosticsLogs
Browse files Browse the repository at this point in the history
Improve variable names for Action IDs in action execution component
  • Loading branch information
malithie authored Nov 1, 2024
2 parents 9c2b0df + c499ae8 commit cf8fad3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public void logPerformableOperations(Action action, List<String> 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(
Expand Down

0 comments on commit cf8fad3

Please sign in to comment.