Skip to content

RTR: x-okapi-token, step 4; Rewrite TokenUtility to use and expose AT and RT functionality.Β #206

@kaladay

Description

@kaladay

The TokenUtility needs to be rewritten to provide the new functionality.

The old functionality should be removed.

This will break fw-registry and therefore mod-camunda.
The fw-registry scripts will need to be updated to match changes by this.
This is expected to block fw-registry changes.

Adding support for refreshing the token or re-logging in is considered out of scope.
This task is to be handled by a separate step.

Consider moving this TokenUtility into mod-workflow for use by mod-camunda and therefore the fw-registry and catalog_service.
Alternatively, this could be moved into mod-camunda directly as a utility there.

see: https://github.com/TAMULib/CatalogService/blob/edae26da51d0cd483c7297a517561e0afa48485b/service/src/main/java/edu/tamu/catalog/utility/TokenUtility.java
see: https://github.com/folio-org/mod-workflow/tree/master/components/src/main/java/org/folio/rest/workflow/utility
see: https://github.com/folio-org/mod-camunda/tree/02ac35b90f0441521964ec12cf8933e2ce0855d9/src/main/java/org/folio/rest/camunda/utility

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

πŸƒ On Sprint

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions