-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Task/add ngsiv2 ngsild measures payload #779
Conversation
That's an important pieces of information that could be included in documentation (maybe not in this repo but in the one corresponding to the lib). |
Done in f631627 |
Co-authored-by: Fermín Galán Márquez <[email protected]>
docs/usermanual.md
Outdated
`ngsiv2` or `ngsild`. In these cases payload is ingested as measure where entity attributes are measure attributes and | ||
`id` and `type` are ignored, since `id` and `type` from device/group configuration provisioned are used. | ||
|
||
Examples of these ngsi payloads are: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Examples of these ngsi payloads are: | |
Examples of these ngsi payloads are (NGSI-v2 batch update format): |
Co-authored-by: Fermín Galán Márquez <[email protected]>
Co-authored-by: Fermín Galán Márquez <[email protected]>
Co-authored-by: Fermín Galán Márquez <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Co-authored-by: Fermín Galán Márquez <[email protected]>
Co-authored-by: mapedraza <[email protected]>
"refParkingSite": { | ||
"type": "Relationship", | ||
"value": "urn:ngsi-ld:ParkingSite:santander:daoiz_velarde_1_5" | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that, for the original value represented in NGSI-LD, relationship has object
property instead of value
. NTC
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
issue #778
Needs telefonicaid/iotagent-node-lib#1521
This solution ignores
id
andtype
of provided entities, since a device/group configuration is setting that id and type used before.Array of entitles are handled as a multiple measure, each entity is a measure.