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
[JBPM-9841] Start process with correlation key rest api should return… #2564
Conversation
Can one of the admins verify this patch? |
5 similar comments
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
...rest/kie-server-rest-jbpm/src/main/java/org/kie/server/remote/rest/jbpm/ProcessResource.java
Show resolved
Hide resolved
fba91f8
to
2bf00f5
Compare
...rest/kie-server-rest-jbpm/src/main/java/org/kie/server/remote/rest/jbpm/ProcessResource.java
Outdated
Show resolved
Hide resolved
...rest/kie-server-rest-jbpm/src/main/java/org/kie/server/remote/rest/jbpm/ProcessResource.java
Outdated
Show resolved
Hide resolved
2bf00f5
to
634b8fb
Compare
...t/kie-server-rest-common/src/main/java/org/kie/server/remote/rest/common/util/RestUtils.java
Outdated
Show resolved
Hide resolved
...rest/kie-server-rest-jbpm/src/main/java/org/kie/server/remote/rest/jbpm/ProcessResource.java
Outdated
Show resolved
Hide resolved
@abhijithumbe overall looks ok, do you mind to take care of @sutaakar comments ? |
@elguardian Yes, I have done the changes as per the comment. Facing some issues with integration tests, working on it. |
634b8fb
to
b61e684
Compare
...t/kie-server-rest-common/src/main/java/org/kie/server/remote/rest/common/util/RestUtils.java
Outdated
Show resolved
Hide resolved
...st/java/org/kie/server/integrationtests/jbpm/rest/ProcessServiceRestOnlyIntegrationTest.java
Outdated
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.
Looks good to me (minor suggestions above)
Jenkins retest this please
d18f736
to
1fe0df3
Compare
Jenkins retest this please |
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.
LGTM
@abhijithumbe do you mind to check the test failure ? might be related |
Jenkins retest this please. |
Jenkins retest this please |
Kudos, SonarCloud Quality Gate passed! |
jenkins retest this |
@elguardian @mareknovotny QueryDataServiceIntegrationTest.testErrorHandlingFailedToSignal test is failing with NPE.
I dont see code from this PR is used anywhere in execution of this test. Seems failure is unrelated. Also I am able to execute same test without any issue on my system |
Hi @abhijithumbe I don't think this test is failing nightly (@mareknovotny ?) therefore if it is consistent it might be related to the PR. |
@abhijithumbe do you mind to change in RestJmsSharedBaseIntegrationTest
|
@elguardian done mentioned changes. |
jenkins retest this please |
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.
Swagger ApiResponse should be added to both modified APIs including the code 409 (conflict) for completeness.
@ApiResponse(code = 409, message = "duplicated correlation key")
Also a minor comment to avoid a null check in comparison.
Test QueryDataServiceIntegrationTest.testErrorHandlingFailedToSignal is not failing
...t/kie-server-rest-common/src/main/java/org/kie/server/remote/rest/common/util/RestUtils.java
Outdated
Show resolved
Hide resolved
2ddbc97
to
4e07eb2
Compare
d30e5f1
to
22a36c6
Compare
… 400 http status if correlation key already exist.
22a36c6
to
f61fe37
Compare
jenkins retest this please |
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.
Looks good to me, fabulous work @abhijithumbe !
Jenkins retest this please |
not test failure related to the PR. it is marked as failure due to some other reasons. |
… 400 http status if correlation key already exist.
Thank you for submitting this pull request
JIRA: (https://issues.redhat.com/browse/JBPM-9841)