-
Notifications
You must be signed in to change notification settings - Fork 0
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
Generalize services classes - some proposals #120
base: main
Are you sure you want to change the base?
Conversation
…text Signed-off-by: Mathieu DEHARBE <[email protected]>
Signed-off-by: Mathieu DEHARBE <[email protected]>
Signed-off-by: Mathieu DEHARBE <[email protected]>
Signed-off-by: Mathieu DEHARBE <[email protected]>
Signed-off-by: Mathieu DEHARBE <[email protected]>
Signed-off-by: Mathieu DEHARBE <[email protected]>
Signed-off-by: Mathieu DEHARBE <[email protected]>
Signed-off-by: Mathieu DEHARBE <[email protected]>
Signed-off-by: Mathieu DEHARBE <[email protected]>
Signed-off-by: Mathieu DEHARBE <[email protected]>
…hods before and after for runAsync
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added all your requests to my PRs. They are a bit differently named because they were very similar to what Slimane asked. I let you review them directly :
@@ -122,29 +119,25 @@ public Consumer<Message<String>> consumeRun() { | |||
return message -> { | |||
AbstractResultContext<R> resultContext = fromMessage(message); | |||
try { | |||
runRequests.add(resultContext.getResultUuid()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Surprising but to be honest I can't see the point of this runRequests
so I kind of agree with you. Was it just a remnant of dead code ?
1/ Load network only once
2/ Check null result before save
3/ Life cycle methods before and after for runAsync
4/ Clean result and publish cancel once in every cases