-
Task
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
-
Not defined
Context:
With 8.3, Camunda 8 SM will introduce the concept of multitenancy. The implementation from an Optimize perspective will be similar to how it works in C7.
Things to consider:
- The default tenant in CCSM will be `<default>`
- There is no such thing as a null tenant
- Multiple tenants can exist (but only one tenant per definition) and should be selectable/viewable in report building, collection management, and anywhere else in the UI that it is available in C7
- any requests to BE that may include the "old" c7 default tenantId "null" will need to use the correct c8 tenantId ("<default>" for default tenant)
- New scope reduction: there will be no shared definitions in C8 for now. A definition can only be deployed to one tenant and all instances will belong to the same tenant
Consideration outcome:
Given the scope reduction to exclude the functionality of shared definitions in C8, impact on Optimize UI is limited. To help FE identify when to display tenant info, the isMultiTenantEnvironment flag will be set by BE depending on whether or not multi tenancy is enabled in Optimize. If multi tenancy is enabled, the flag will be true even if just one tenant exists. If multi tenancy is disabled, the flag will be false even if data for multiple tenants was previously imported.
We have identified three places where some adjustments will be required from FE to display tenant info even though only one tenant is available per definition to provide tenant info visibility to the user:
- Data source selection modal for reports in report creation and report edit mode: where in C7 a dropdown is displayed for tenant selection, we want to instead provide just a textbox with the name of the tenant.
- Data source infobox in report edit mode: we want to display the tenant information below the version information in C8 if multi tenancy is enabled
- Data source selection during collection creation or collection scope edit: The dropdown next to a definition should be replaced with just the tenant name. The tenant name should be displayed whether or not the definition is selected. The tenant dropdown in the top left corner of this modal that is used as a filter can stay as is if multi tenancy is enabled.
The three above areas are highlighted in the attached screenshots.