Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added code for manual judgment api implementation #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Added code for manual judgment api implementation #11

wants to merge 1 commit into from

Conversation

sanopsmx
Copy link

@sanopsmx sanopsmx commented Apr 6, 2021

Added code for inserting leafnodeExecutionId and leafnodeApplicationName into all the parent pipelines.

@@ -89,14 +94,21 @@ class ManualJudgmentStage implements StageDefinitionBuilder, AuthenticatedStage
String notificationState
ExecutionStatus executionStatus

if (runOnlyOnce) {
checkForAnyParentExecution(stage)
runOnlyOnce = false
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure of use for runOnlyOnce
Does this method execute outside state change for manual judgement ? Why cannot we move this code into the switch statement and eliminate runOnlyOnce variable ?
Should we clear the additional key/values set in stages when the manual judgement completes ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The latest code will address these issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants