Hi, On Tue, Jul 12, 2016 at 5:52 PM, vkum14 <[email protected]> wrote: > ...We are trying to host multiple tenants on the same sling instance and > trying > to figure out how we could have OOTB configuration support this model > where-in a service is not just run-mode aware but tenant aware as well since > one tenant could have different configurations than another....
I experimented with tenant-based dynamic search paths for Sling scripts last year at https://issues.apache.org/jira/browse/SLING-4386 This basically allows resources from different subtrees to be processed by different versions of Sling scripts, which might in turn select different services. There are probably a number of unwanted side effects in this experimental code (script caching comes to mind) but the concepts might help for your case. -Bertrand
