telefonicaid / iotagent-node-lib

Module to enable IoT Agent developers to build custom agents for their devices that can easily connect to NGSI Context Brokers
https://iotagent-node-lib.rtfd.io/
GNU Affero General Public License v3.0
60 stars 85 forks source link

fix: update subscriptions in device #1475

Closed AlvaroVega closed 7 months ago

AlvaroVega commented 11 months ago

Needed by test/unit/ngsiv2/ngsiService/subscriptions-test.js using MongoDB instead of Memory https://github.com/telefonicaid/iotagent-node-lib/pull/1472

Maybe related https://github.com/telefonicaid/iotagent-node-lib/issues/1086 ?

fgalan commented 11 months ago

Not for version 3.5.0

AlvaroVega commented 7 months ago

subscriptions are controlled by a subscription service: https://github.com/telefonicaid/iotagent-node-lib/blob/master/lib/services/ngsi/subscriptionService.js

https://github.com/telefonicaid/iotagent-node-lib/blob/master/test/unit/ngsiv2/ngsiService/subscriptions-test.js