FIWARE / context.Orion-LD

Context Broker and CEF building block for context data management which supports both the NGSI-LD and the NGSI-v2 APIs
https://www.etsi.org/deliver/etsi_gs/CIM/001_099/009/01.06.01_60/gs_CIM009v010601p.pdf
GNU Affero General Public License v3.0
50 stars 42 forks source link

temporary entities in NGSI-LD #1300

Open FR-ADDIX opened 1 year ago

FR-ADDIX commented 1 year ago

Is there an equivalent in NGSI-LD to the dateExpires under NGSI V2 with which you can delete entities from the ContextBroker at a specified time?

kzangeli commented 1 year ago

Nope, that feature isn't part of NGSI-LD. Do you find it useful?

FR-ADDIX commented 1 year ago

Yes I find this very helpful, so you can create Temporary Entities that disappear at a predetermined time. Departure schedules at bus stops, for example, are based on such a mechanism. Also, if we observe ships in an area, for example, without the mechanism more and more entities would appear in the area, even if the signal has not been received for a long time. In the ContextBroker we are only interested in the current status of the ships and after 24 hours without signal the vehicle can disappear. In the historical data we still have it with its route but in the CB it is no longer important. Without this functionality we have to constantly check the CB for expired entities and then delete them ourselves. with an expresAt the Orion does this for us.

kzangeli commented 1 year ago

Ok, I'll propose this feature for ngsi-ld in etsi isg cim. I believe Orion calls the feature "transient" entities

agaldemas-eridanis commented 1 year ago

Hello, I confirm the great usefulness of this feature in many cases, we already used it in several NGSI-V2 project, then it's really valuable to add it !

kzangeli commented 1 year ago

ok, duly noted