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-9611] Command resource returns HTTP OK response status code even for failure scenarios #2396
Conversation
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.
only a minor comment. Otherwise, looks good to me.
.../kie-server-rest-drools/src/main/java/org/kie/server/remote/rest/drools/CommandResource.java
Outdated
Show resolved
Hide resolved
.../kie-server-rest-drools/src/main/java/org/kie/server/remote/rest/drools/CommandResource.java
Outdated
Show resolved
Hide resolved
...parent/kie-server-remote/kie-server-rest/kie-server-rest-drools/src/build/revapi-config.json
Outdated
Show resolved
Hide resolved
131966b
to
f9905c7
Compare
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.
Great work @fjtirado
.../kie-server-rest-drools/src/main/java/org/kie/server/remote/rest/drools/CommandResource.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, just a typo that makes compilation fail
...parent/kie-server-remote/kie-server-rest/kie-server-rest-drools/src/build/revapi-config.json
Outdated
Show resolved
Hide resolved
9636bf7
to
79d4dfc
Compare
SonarCloud Quality Gate failed. |
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.
backward compatiblity + Test Case
LGTM
API and test changed to return different HTTP codes depeding on service result.
JIRA:
link