multitenancy icon indicating copy to clipboard operation
multitenancy copied to clipboard

Change datasource dynamically through controller

Open DhyanandraSingh opened this issue 8 years ago • 0 comments

Hello,

I want to split my request into multiple request which will perform operation in their own tenant. so currently i'm using rest template to do that.

Ex.: suppose director want to get complaints. director is linked with three tenant. and when request arrives i want to fetch all tenant and get data by changing datasource in controller or in service.

for this currently i'm using rest template my request is breainto multiple Rest request.

Is there is any other way to do that.

DhyanandraSingh avatar Jan 11 '17 09:01 DhyanandraSingh