forked from folio-org/mod-camunda
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
Description
We cannot simply just grab the first matching header.
This is especially important because the Set-Cookie can be any number of cookies.
Not to mention, that each Set-Cookie value string could also be an array of cookies (as per the standards).
We cannot reliably use RTR with this limitation.
Improve the design to support an array of values.
This is to be accomplished by implementing an asArray Boolean on the EmbeddedVariable in mod-workflow.
Then, in mod-camunda add support for the newly added asArray value.
Make sure the spin is supported as well.
A login example workflow should also be built.
see:
| Optional<String> headerOutput = Optional.ofNullable(response.getHeaders().getFirst(key.get())); |
see: https://github.com/TAMULib/mod-workflow/blob/ed977db83c0bebf43706f4c4312b33025c09307b/components/src/main/java/org/folio/rest/workflow/model/EmbeddedVariable.java#L17
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
Type
Projects
Status
🏃 On Sprint