Comments (8)
You are right, Cepheus CEP is itself multi tenant (can handle CEP rules / event for multiple tenants using Fiware-Service
and Fiware-ServicePath
headers), but does not handle subscriptions to muti-tenant providers.
We had plans to had the capacity to register to multi tenant providers but this was not implemented.
from fiware-cepheus.
Hello @marcc-orange
Thx for your answear.
So if I would want to use Orion as in
(provider) in my CEP rules, do I need to have set Orion in a default
tenant (with orion
mongo db) am I right?
If I would want to implement subscriptions for muti-tenant orion configuration ( e.g. mongo orion-serviceone
, orion-servicetwo
) theoretically would be enough to try to set TenantScope.getService
and TenantScope.getServicePath
in headers in ngsiClient.subscribeContext call, am I right? I mean theoretically, it maybe could be harder than that.
Thx you.
from fiware-cepheus.
There is two ways to make Cepheus talk to multi-tenant providers such as Orion :
The first is the one you mentioned : if a tenant A
on Cepheus tries to subscribe to a provider, Cepheus could automatically add the tenant A
Service
and ServicePath
to the subscription.
This would be simpler (no configuration of Service
and ServicePath
required for each provider), but limits a tenant to only talk to provider with the same tenant.
The second one is to have every provider in the configuration specify its tenant information by adding a Service
and ServicePath
. This is more powerful as a tenant A
on Cepheus could subscribe to data of a tenant B
on Orion.
Not sure if any real use case could back up this one.
For the implementation on the first solution, you got the picture right.
from fiware-cepheus.
i want to ask if Cepheus-cep now able to handle subscriptions to Muti-tenant providers ?
from fiware-cepheus.
Hi @AhmedEmad031 ,
No new features are currently planned. Contributions are welcomed. ;)
from fiware-cepheus.
Hello @marcc-orange
I want to ask if this issue is regarding the subscription where we can add Service and ServicePath in the provider section in configuration?
As per my understanding from the closed issue: #69 , Cepheus-cep now able to handle subscriptions to Multi-tenant providers by adding Service and ServicePath in the provider section in configuration.
If my above understanding is correct or if I have missed on something?
from fiware-cepheus.
Hello @pooja1pathak, yes the #69 is a good step in full support for multi-tenancy by Cepheus CEP. But some issues like #73 are still pending and thus prevent full support.
from fiware-cepheus.
Hello @marcc-orange ,
Thanks for your answer.
I tried to reproduce issue #73 and found that the request executes as expected without any issue.
I have added my observation on #73. Please check and verify my observation.
from fiware-cepheus.
Related Issues (20)
- Add guaranteed delivery to Cepheus Broker HOT 5
- Adding persistance to Cepheus HOT 1
- Compatibility with Orion 1.X.X
- Error with cepheus Broker 0.1.7 HOT 1
- run cep condition every X minutes? HOT 7
- Use Docker parameters for Cepheus configuration HOT 2
- Exception logging HOT 1
- Example mocks crash on updateContextResponse HOT 1
- Improve documentation for exampel 3_CepAndBroker HOT 1
- Cepheus multiple statements HOT 1
- change remote.url in docker container HOT 8
- Cepheus-CEP multitenancy issue on filtering requests HOT 6
- Stack Overflow Error processing rules with nested geopoint type attributes HOT 2
- Cepheus does not send subscribeContext request on changing ServiceName and ServicePath HOT 2
- Incorrect processing for notification about changes in multiple context entities. HOT 4
- Cepheus-CEP multitenancy issue for multi-tenant provider HOT 5
- Cepheus-CEP multitenancy issue for multiple subscription HOT 1
- Cepheus CEP DELETE request doesn't unsubscribe Provider
- Cepheus-CEP does not hold multiple subscription in multi-tenant mode
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fiware-cepheus.