Skip to content

RTR: x-okapi-token, step 2; Provide support for multiple headers. #146

@kaladay

Description

@kaladay

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: https://github.com/TAMULib/mod-camunda/blob/667da59b18612517f69c61ddaa5a7ff03be397dd/src/main/java/org/folio/rest/camunda/delegate/RequestDelegate.java#L98
see:

public class EmbeddedVariable implements HasEmbeddedVariableCommon {

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Type

No type

Projects

Status

🏃 On Sprint

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions