Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Chapter:Data
-
HD-Enabler:Orion
Description
Created question in FIWARE Q/A platform on 07-07-2014 at 09:07
Please, ANSWER this question AT http://stackoverflow.com/questions/24604854/why-does-orion-context-broker-not-return-all-the-entities-expected-by-a-query-wi
Question:
Why does Orion Context Broker not return all the entities expected by a query with a pattern expression?
Description:
Some days ago when I made a query to Orion context broker with regular expressions, the response included all the entities that match that regular expression, now only retrieve the data of the older entities and if i want to access to the most recent entities, I need to make another request with a more specific regular expression.
The problem is that now I need to make two different querys with differents regular expression to retrieve the old and new entities when a week ago I only had to make one with the most generic regular expression.
Imagine that the structure of the id of my entities are:
dev:name_proyect:name_object:name_service
Some days ago I only need this generic expression to retrieve all the data:
dev:name_proyect:.*
Now I need two queryes to obtain the same result:
dev:name_proyect:.* -> the response only include old entities
dev:name_proyect:name_object:.* ->the response retrieve only the new data
So, the use of regular expression have changed in Orion CB? I need to do something else now to retrieve all the data with only one query with the most generic regular expression?
The instance of Orion that I am using is:
http://orion.lab.fi-ware.eu:1026
2015-10-14 03:05|CREATED monitor | # answers= 1, accepted answer= True