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
fix(engine-rest): /messages. Return result based on resultType #4321
Conversation
Testing scenarios performed on this bpmn file |
related to camunda#4310
Hi @punitdarira, Thank you for your contribution. We will have a look and get back to you. Stay tuned! Best, |
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 like the made changes in the implementation.
❌ One test case needs to be adjusted to cover MessageCorrelationResultWithVariables
use case. In
https://github.com/punitdarira/camunda-bpm-platform/blob/4310-fix/engine-rest/engine-rest/src/test/java/org/camunda/bpm/engine/rest/MessageRestServiceTest.java#L1263
please add a check for the execution like this: checkExecutionResult(content, 0);
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.
👍 Good catch to adjust this DTO as well and extract the #setExecutionAndProcessInstance()
method.
engine-rest/engine-rest/src/test/java/org/camunda/bpm/engine/rest/helper/MockProvider.java
Show resolved
Hide resolved
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.
👍 Thank you for considering my feedback. I will merge the changes now.
related to #4310