Add support for refreshing the token (via the RT) and re-logging in (in case the RT is expired) to the TokenUtility.
If this functionality was not written already for the rest of the project, then first add that.
The TokenUtility should just utilize this functionality and expose it to scripts executed by mod-camunda.
Similar to step 4, this might block fw-registry.
However, these changes are considered new functionality and may or may not be needed by fw-registry.
If the TokenUtility is moved into mod-workflow or mod-camunda, then this work should be done there as well.
see: https://github.com/TAMULib/CatalogService/blob/edae26da51d0cd483c7297a517561e0afa48485b/service/src/main/java/edu/tamu/catalog/utility/TokenUtility.java
Add support for refreshing the token (via the RT) and re-logging in (in case the RT is expired) to the TokenUtility.
If this functionality was not written already for the rest of the project, then first add that.
The
TokenUtilityshould just utilize this functionality and expose it to scripts executed bymod-camunda.Similar to step 4, this might block
fw-registry.However, these changes are considered new functionality and may or may not be needed by
fw-registry.If the
TokenUtilityis moved intomod-workflowormod-camunda, then this work should be done there as well.see: https://github.com/TAMULib/CatalogService/blob/edae26da51d0cd483c7297a517561e0afa48485b/service/src/main/java/edu/tamu/catalog/utility/TokenUtility.java