-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spec: multi-tenancy #49
Comments
Proposition from Congduc:
So for UPPA, there are 3 sensors:
I proposed that each partner uses the following organization_name:
The service path can be whatever they want. Can we agree on these organization name? |
As far as I understand, Fiware-service is intended to provide tenant isolation, while Fiware-servicePath provides hierarchical organization of sensors.
Do we really need different databases? In this case, maybe it's better to have:
In the future, do you think that a sensor owner should be mapped to a fiware-service? |
Actually, if we use only one fiware-service tenant, it's better to not use it at all (leave it empty): it will simplify the requests. |
I don't agree, I think we should put waziup. It is not that complicated regards, Le 23/11/16 à 16:08, Corentin Dupont a écrit :
C. Pham. |------------ Congduc PHAM - Professor --------------------------| |
@CongducPham Agreed. So let's keep it like that:
Sublevels of Fiware-ServicePath are free to decide (for example |
I did some research and it seems Orion supports recursive servicePath.
This will return all sensors in UPPA (including all departments):
If I don't include the wildcard, the search is not recursive. This will return only sensors registered at "UPPA" level:
|
I think we agree on the format, so closing. |
Great, so to make thing clear:
|fiware-service = waziup |
|Fiware-ServicePath = /organization/what/ever/tree/you/want/here
organization is one of following |
- "UPPA"
- "EGM"
- "IT21"
- "CREATENET"
- "CTIC"
- "UI"
- "ISPACE"
- "UGB"
- "WOELAB"
- "FARMERLINE"
- "C4A"
- "PUBD"
Could all partners agree on that?
regards,
Le 24/11/16 à 10:41, Corentin Dupont a écrit :
I did some research and it seems Orion supports recursive servicePath.
So I can search all sensors in waziup, using a wildcard |#| for the
servicePath:
|curl http://broker.waziup.io/v2/entities --header
Fiware-ServicePath:/# --header Fiware-Service:waziup -X GET |
This will return all sensors in UPPA (including all departments):
|curl http://broker.waziup.io/v2/entities --header
Fiware-ServicePath:/UPPA/# --header Fiware-Service:waziup -X GET |
If I don't include the wildcard, the search is not recursive. This
will return only sensors registered at "UPPA" level:
|curl http://broker.waziup.io/v2/entities --header
Fiware-ServicePath:/UPPA/ --header Fiware-Service:waziup -X GET |
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#49 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABNEN0-zyKA4Vl8kUHvhtsO58UBJkJxoks5rBVvSgaJpZM4KxYrE>.
C. Pham.
…--
|------------ Congduc PHAM - Professor --------------------------|
| LIUPPA - Equipe T2I | U.P.P.A. Pau |
| http://liuppa.univ-pau.fr/ | http://www.univ-pau.fr |
|----------------------------------------------------------------|
|UPPA, LIUPPA laboratory, UFR Sciences et Techniques |
|Avenue de l'Université - BP 1155 |
|64013 PAU CEDEX, FRANCE |
| |
|phone: [33] (0) 5 59 40 75 94 |
|fax: [33] (0) 5 59 40 76 54 |
|Congduc.Pham@univ-pau.fr http://www.univ-pau.fr/~cpham |
|----------------------------------------------------------------|
|
OK |
1 similar comment
OK |
need to update https://github.com/Waziup/Platform/blob/master/broker/broker_spec.md |
Done 4a3cb2c |
The Waziup platform need to provide tenant isolation: my sensors/data/apps should not be visible to others.
Orion provides a basic mechanism for tenant isolation called Fiware-service and Fiware-servicePath: http://fiware-orion.readthedocs.io/en/master/user/service_path/
The text was updated successfully, but these errors were encountered: