Skip to content

Add entitTypeExp (for use with ngsiv2 payloads to allow define entityType as measure_type #1773

@AlvaroVega

Description

@AlvaroVega

We need a similar mechanism to:

"entityNameExp": "measure_id"

Defined in https://github.com/telefonicaid/iotagent-json/blob/master/docs/usermanual.md#ngsi-v2-and-ngsi-ld-measure-reporting

but for entityType, maybe defining entityTypeExp

and then allow use:

"entityNameExp": "measure_id"

Related tests example:

In this example there is a ngsiv2 measure with several entities:

https://github.com/telefonicaid/iotagent-json/blob/1c6d13005f7c18ccedb8d99f8dbcf5515ea19e97/test/un…

And this is the payload sent to CB

https://github.com/telefonicaid/iotagent-json/blob/1c6d13005f7c18ccedb8d99f8dbcf5515ea19e97/test/un…

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions