Re: [osgi-dev] Multi-Tenancy with OSGI

2018-07-01 Thread David Leangen via osgi-dev
Hi Clément, We ended up doing this via ServiceFactory. A service is either “tenant-aware” (meaning that the tenant logic is built into the service), or more commonly “tenant-unaware” (meaning that it’s like you write below: the service has no knowledge of the tenant). For those that are tenan

[osgi-dev] Multi-Tenancy with OSGI

2018-07-01 Thread Clément Delgrange via osgi-dev
Hi, What is the way to achieve multi-tenancy with OSGI service. I would like to design my API without a tenant context per method to concentrate on the functional part, but also have an OSGI instance which could be scaled up. I was thinking to let the service implementation decides if the serv