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-9738] Adding support for headers in WebServiceWorkItemHandler #1992
Conversation
...webservice/src/main/java/org/jbpm/process/workitem/webservice/WebServiceWorkItemHandler.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.
LGTM.
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 think defining a hardcoded separator (like underscore in this case) may not work for all the customers. Suppose they want to send a header like "Pepito_Grillo", could it be configurable to make it more flexible?
...pm-workitems-core/src/main/java/org/jbpm/process/workitem/core/util/WorkItemHeaderUtils.java
Outdated
Show resolved
Hide resolved
Ok, changed approach, using HEADER_<HEADER_NAME> = <HEADER_CONTENT> and HEADER_PARAM_<PARAM_NAME><HEADER_NAME> = <PARAM_CONTENT> |
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.
getHeaderInfo
is not invoked at integration test.
Check also indentation (spaces vs. tabs)
...webservice/src/main/java/org/jbpm/process/workitem/webservice/WebServiceWorkItemHandler.java
Show resolved
Hide resolved
...webservice/src/main/java/org/jbpm/process/workitem/webservice/WebServiceWorkItemHandler.java
Outdated
Show resolved
Hide resolved
jenkins retest this |
unrelated, jenking retest this |
jenkins retest this |
b84cbe5
to
4c60219
Compare
25b8067
to
27b42ef
Compare
48bef16
to
ae1a965
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.
Looks good to me, brilliant work @fjtirado !
Kudos, SonarCloud Quality Gate passed! |
failure not related ... env problem related to container not up. |
Supporting
WebServiceWorkItemHandler
parameters of the form HEADER_xxxx and HEADER_xxxx_NS, where xxxx is the name of the header and value is the content and the namespace of the soap header to be addedJIRA:
link
referenced Pull Requests:
kiegroup/droolsjbpm-integration#2566