You are viewing the documentation for Blueriq 17. Documentation for other versions is available in our documentation directory.
This functionality is only available with the Multi Tenancy License. Please contact Blueriq Support.
This functionality is only available with the Multi Tenancy License. Please contact Blueriq Support.
Enabling Multi tenancy
blueriq.multi-tenancy.enabled=true blueriq.multi-tenancy.allowed-tenants=google,apple
X-Tenant-ID
X-TENANT-ID
header containing the name of the desired tenant. If this header is missing or the tenant name is not on the allowed list, a message will be logged indicating that the tenant could not be identified, and an HTTP status 400 (Bad Request) will be returned.It is possible to change the name of the header using the following property
blueriq.multi-tenancy.http-header=http-tenant-id
Runtime
Case Engine
Customer Data Service
DCM Lists Service
Example Multi-tenancy DCM Lists Service configuration
blueriq:
dcm:
lists:
multi-tenancy:
enabled: true
allowed-tenants:
- google
- apple
mongodb:
tenants:
google:
host: localhost
port: 27017
database: google
apple:
host: localhost
port: 27017
database: apple
rabbitmq:
tenants:
google:
host: localhost
port: 5672
virtualHost: google
username: google
password: welcome
ssl:
enabled: false
queueNames: googleQueue
apple:
host: localhost
port: 5672
virtualHost: apple
username: apple
password: welcome
ssl:
enabled: false
queueNames: appleQueue