Page History
Include Page | ||||
---|---|---|---|---|
|
Enabling Multi tenancy
Include Page | ||||
---|---|---|---|---|
|
These properties are used in each component that is mentiond on this page.
X-Tenant-ID
Include Page | ||||
---|---|---|---|---|
|
This property can be used in each component that is mentiond on this page.
We advise to set up an HTTP server (for example NGINX or Apache HTTPD) which can be configured to add this HTTP header depending on, for instance, the url from which the Runtime is called.
AMQP Tenant Id
Include Page | ||||
---|---|---|---|---|
|
Info |
---|
We only support multi-tenancy where each tenant uses the same database vendor per component. You are not able to mix, for example, an Oracle tenant with an Microsoft SQL Server tenant. |
Property Configuration
To enable multi-tenancy, it is essential to modify existing properties and add new ones for each tenant across all JDBC, JNDI, RabbitMQ, and MongoDB connections.
The primary adjustment involves inserting tenants.<tenantName>
between the property prefix and the actual property value. An example of this structure is provided below.
Code Block | ||||
---|---|---|---|---|
| ||||
# RabbitMQ Host property for the Trace Event Publisher # Single Tenant blueriq.trace.event.publisher.channel.amqp.rabbitmq.host=localhost # Multi Tenant Google blueriq.trace.event.publisher.channel.amqp.rabbitmq.tenants.google.host=localhost # Multi Tenant Apple blueriq.trace.event.publisher.channel.amqp.rabbitmq.tenants.apple.host=apple.com |
Default configuration
Include Page | ||||
---|---|---|---|---|
|
Info |
---|
This works for all components that use Datasource,RabbitMQ or MongoDB configuration |
UI Expand | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||
Runtime
Authentication - OAuth2 and KeycloakIn single-tenant mode as well as in multi-tenancy mode, OAuth2 and Keycloak can be used for the authentication mechanism. The difference with multi-tenancy is that the application now expects a claim to be present in the JWT token with the claim path name "tenant" and with the tenant name as value. This claim name is customizable if the tenant is present in the JWT token with a different claim name. Customizing the tenant pathThe tenant claim can be customized using a JsonPath expression in the same way the roles-path and username-path can be set.
|
UI Expand | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Case Engine
|
UI Expand | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Customer Data Service
|
UI Expand | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
DCM Lists Service
|
UI Expand | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
DCM Maintenance App
|
UI Expand | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Audit Consumer
|