wirecloud-fiware / ngsi-source-operator

WireCloud operator for using Orion Context Broker as data source
Apache License 2.0
2 stars 10 forks source link

Use paginated queries for retrieving the initial entities #7

Closed aarranz closed 8 years ago

aarranz commented 8 years ago

Currently, the NGSI Source operator relies on the initial notification from the context broker with the initial values for retrieving the initial entities. This is a problem as the orion context broker only sends 20 entities as much (the default page size) in the initial notification. Moreover, we have to take into account that the initial notification may be removed in a near future (see telefonicaid/fiware-orion#591 and telefonicaid/fiware-orion#920).

The NGSI Source operator should use the query API for retrieving the initial values using a bigger page size and probably making more than one request.

See Wirecloud/wirecloud#126 for more info