AnsweredAssumed Answered

Where inserting the TenantInfoHolder to set the tenantId when implementing Multi Schema / Multi Tenant

Question asked by ppcchh on May 15, 2017
Latest reply on May 16, 2017 by gdharley

Hello,

 

I try to implement a Multi-Schema Multi-Tenancy with the MultiSchemaMultiTenantProcessEngineConfiguration configuration class. I integrate with Activiti only through rest, my main app is written in Python.

 

Every request I do to activiti has the tenantId information, then it should be easy for activiti to route the query to the correct DB, however I need to crate a class implementing the TenantInfoHolder.

 

My question is, where do I hook this class in activiti-rest code to be sure the tenantId will be always set when a DB query is done ?

 

Thank you !

 

 

 

 

Outcomes