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

Static attributes test review #1506

Closed mapedraza closed 10 months ago

mapedraza commented 10 months ago

GPS3

Provision

https://github.com/telefonicaid/iotagent-node-lib/blob/e3645e6d5b5a00e5781eacbe2b2cd645b871adca/test/unit/ngsiv2/expressions/jexlBasedTransformations-test.js#L270-L280

Mock https://github.com/telefonicaid/iotagent-node-lib/blob/e3645e6d5b5a00e5781eacbe2b2cd645b871adca/test/unit/ngsiv2/expressions/jexlBasedTransformations-test.js#L1821-L1831

Expectation https://github.com/telefonicaid/iotagent-node-lib/blob/e3645e6d5b5a00e5781eacbe2b2cd645b871adca/test/unit/ngsiv2/examples/contextRequests/updateContextExpressionPlugin34.json#L1-L14

GPS4

fgalan commented 10 months ago

PR https://github.com/telefonicaid/iotagent-node-lib/pull/1507

AlvaroVega commented 10 months ago

GPS3 case is right since expliciAttrs is a jexl which does not include any static attr.