Skip to content

Orion-LD version 1.5.0

Compare
Choose a tag to compare
@kzangeli kzangeli released this 28 Dec 17:58

Distributed GET /entities

The main new feature of v1.5.0 is "Distributed GET /entities", using the new concept of "Entity Maps", which is a part of the additions in the 1.8.1 version of the NGSI-LD spec about to be published (some time in January 2024).
It is still a work in progress but mostly working, though it is not 100% spec compliant.
To try it out, start Orion-LD with the CLI option -wip entityMaps (and -distributed to turn on distributed operations).

Bug fixes since v1.4.0:

  • #1419 - Fixed a bug in the cleanup of the "URL being downloaded list" - not being cleaned up in case of an error
  • #1427 - Disabling the keep-alive as it seems to be missing in libpaho
  • #1456 - Entity id+type duplicated in forwarded request of "Create Entity"
  • #1458 - Supporting system timestamps (createdAt/modifiedAt) in q
  • #1451 - Bug fix - removed a trailing ampersand from the URI for the connection to mongodb
  • #1418 - Performance - Faster startup when there are GeoProperties in the database
  • #1478 - Fixed an issue about PATCH on non-existent entity in federation giving a 204 instead of a 404
  • #1479 - Fixed problem with "operations" in registrations
  • #1496 - Fixed a crash - a double free()

Other additions from the backlog:

  • Added extensive logging for downloading of contexts
  • Better 501 handling of temporal operations
  • Changed all error codes from InvalidRequest to BadRequestData, except for JSON Parse Error that is still an InvalidRequest
  • Fixed a bug in error detection of downloading errors in arrays of contexts, at lower nesting levels
  • Fixed a crash in the subscription cache for subscriptions with empty URL paths in the notification::endpoint::uri field
  • Fixed two erroneous type values in the response payload body (EntityTypeInformation => EntityTypeInfo and EntityAttributeList => AttributeList)
  • Giving errors for expiresAt in the past (for registrations and subscriptions)
  • Highly experimental feature for subscriptions: allowing a wildcard as value for entity type, to not filter on entity type
  • Support for 'Periodic Notifications' (subscriptions with a 'timeInterval')
  • New CLI (hidden) for extra field in notifications (trigger: "VERB URL PATH"): -triggerOperation
  • Using Via header for loop detection (includes a new field 'hostAlias' in the registrations)
    Use the new CLI parameter -brokerId to set the identifier of the Orion-LD instance (same value as "hostAlias" in registrations for it to work)
  • Fixed a bug in the lookup of pernot subscriptions

The release is available on dockerhub and quay.io.