Git Product home page Git Product logo

Comments (8)

marcc-orange avatar marcc-orange commented on June 12, 2024

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.

salc2 avatar salc2 commented on June 12, 2024

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.

marcc-orange avatar marcc-orange commented on June 12, 2024

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.

AhmedEmad031 avatar AhmedEmad031 commented on June 12, 2024

i want to ask if Cepheus-cep now able to handle subscriptions to Muti-tenant providers ?

from fiware-cepheus.

marcc-orange avatar marcc-orange commented on June 12, 2024

Hi @AhmedEmad031 ,

No new features are currently planned. Contributions are welcomed. ;)

from fiware-cepheus.

pooja1pathak avatar pooja1pathak commented on June 12, 2024

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.

marcc-orange avatar marcc-orange commented on June 12, 2024

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.

pooja1pathak avatar pooja1pathak commented on June 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.