Details
-
Type: extRequest
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:None
-
HD-Enabler:Orion
Description
Dear Fiware tech team,
We have some questions about Orion. We'll be very glad if you could help us.
- Can we subscribe to an entity type instead of to a given entity with
its id? So that when an entity of a given type is created or updated, a
request is sent to notify a service. - Related to the previous one: it is possible to save an entity and a
subscription in the same request? Must we send the two requests separately? - Can we add more than one url to one subscription? Should we create a
different subscription for each url?
Thank you in advance,
–
VĂctor M. Campello
CTO
__________________________________________________________________________________________
You can get more information about our cookies and privacy policies on the following links:
- http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/FIWARE_Privacy_Policy
- http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Cookies_Policy_FIWARE
Fiware-tech-help mailing list
Fiware-tech-help@lists.fiware.org
https://lists.fiware.org/listinfo/fiware-tech-help
[Created via e-mail received from: =?UTF-8?Q?V=C3=ADctor_Campello?= <victor.campello@correyvuela.com>]
Activity
Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
---|---|---|---|---|---|---|---|---|---|
|
1d 22h 17m | 1 | Jose Manuel Cantera | 24/Aug/18 8:34 AM | |||||
|
3s | 1 | Jose Manuel Cantera | 24/Aug/18 8:34 AM | |||||
|
18d 23h 52m | 1 | Jose Manuel Cantera | 12/Sep/18 8:26 AM |
Fernando Lopez
made changes -
Fix Version/s | 2021 [ 12600 ] |
Jose Manuel Cantera
made changes -
Resolution | Done [ 10000 ] | |
Status | Answered [ 10104 ] | Closed [ 6 ] |
Fernando Lopez
made changes -
HD-Enabler | Orion [ 10875 ] |
Jose Manuel Cantera
made changes -
Status | In Progress [ 3 ] | Answered [ 10104 ] |
Jose Manuel Cantera
made changes -
Status | Open [ 1 ] | In Progress [ 3 ] |
Veronika Vlnkova
made changes -
Assignee | Jose Manuel Cantera [ jmcantera ] |
Backlog Manager
made changes -
Field | Original Value | New Value |
---|---|---|
Component/s | FIWARE-TECH-HELP [ 10278 ] |
FW External User
created issue -
Can we subscribe to an entity type instead of to a given entity with
its id? So that when an entity of a given type is created or updated, a
request is sent to notify a service.
here is an example:
{
{ "idPattern": ".*", "type": "Room" }"description": "One subscription to rule them all",
"subject": {
"entities": [
],
{ "q": "temperature>40" }"condition": {
"attrs": [
"temperature"
],
"expression":
}
{ "url": "http://localhost:1234" }},
"notification": {
"http":
,
"attrs": [
"temperature",
"humidity"
]
},
"expires": "2016-04-05T14:00:00.00Z",
"throttling": 5
}
Related to the previous one: it is possible to save an entity and a
subscription in the same request? Must we send the two requests separately?
They are separate resources on the API so you would need two different subscriptions.
Can we add more than one url to one subscription? Should we create a
different subscription for each url?
A different subscription for each URL
I hope this helps
Thanks