Skip to content

System\Shared Tenant Api

Rustam Lotsmanenko (EPAM) requested to merge system-tenant-api into master


ADR: #49

  • Added new API to formalize system tenant.
  • Updated behavior of existing API to forbid system tenant management via regular API.
  • Updated open API docs.
  • The new API is implemented in a non-disruptive manner and controlled via the property SYSTEM_TENANT_API=true. The open API documentation will show the new API only if it is enabled. The existing API will function as usual when disabled.
  • Shared tenant name can be configured.

API controlled via properties:


How to test:

via HTTP requests:

curl --location '

Changes include:

  • Refactor (a non-breaking change that improves code maintainability).
  • Bugfix (a non-breaking change that solves an issue).
  • New feature (a non-breaking change that adds functionality).
  • Breaking change (a change that is not backward-compatible and/or changes current functionality).

Changes in:

  • Common code

Dev Checklist:

  • Added Unit Tests, wherever applicable.
  • Updated the Readme, if applicable.
  • Existing Tests pass
  • Verified functionality locally
  • Self Reviewed my code for formatting and complex business logic.
Edited by Rustam Lotsmanenko (EPAM)

Merge request reports