Refactor partition tenant factory scope and jwt client(GONRG-3417)

Merged Rustam Lotsmanenko (EPAM) requested to merge refactor-partition-tenant-factory into master


Refactored bean scope for partition tenant factory, this should allow it to be used unchanged for services that serve user requests, or work in the background. Refactored jwt client to reduce unnecessary refresh token calls.

Changes include:

  • Refactor (a non-breaking change that improves code maintainability).
Edited by Rustam Lotsmanenko (EPAM)

Merge request reports