Orange-OpenSource / fiware-cepheus

FIWARE Cepheus - CEP for NGSI IoT gateways
GNU General Public License v2.0
17 stars 21 forks source link

Fix for issue #75 #78

Open pooja1pathak opened 6 years ago

pooja1pathak commented 6 years ago

Updated TenantFilter.java to store a provider's tenant and cepheus's tenant in a map and a overloaded getTenantContext function to update tenantMap based on the request url.

Updated SubscriptionManager.java to put the value the in the map declared in TenantFilter.java

Changes are applicable only for multi-tenant configuration, which can be enabled by un-commenting the line spring.profiles.active=multi-tenant in application.properties.