Closed AlvaroVega closed 5 months ago
Hi @AlvaroVega, I would like to contribute on this issue. Please confirm the below understanding :
Is the issue related to
Please provide the detail that should be included in global config values
.
Please provide API
so the I can debug it. Thanks.
Currently TypeInformation is a combination of Device + Group We want that TypeInformation will be a combination of Device + Group + config.getConfig() in ofrder to simplify these tipically checks that se done: i.e: https://github.com/telefonicaid/iotagent-node-lib/blob/d1586fb65a4848ba615ad0cf0da7e39afb2fa350/lib/services/devices/deviceService.js#L267-L273
Hi @mapedraza , I proposed the below code modifications and understanding for https://github.com/telefonicaid/iotagent-node-lib/blob/301280a4644a93a68a836ec4a9ee2278f88f515a/lib/services/ngsi/ngsiService.js#L149 to
typeInformation = { ...config.getConfig(), ...deviceInformation };
and I have confirmed that typeInformation.timestamp
is true not undefined at https://github.com/telefonicaid/iotagent-node-lib/blob/d1586fb65a4848ba615ad0cf0da7e39afb2fa350/lib/services/ngsi/entities-NGSI-v2.js#L305
Please confirm, if I can proceed further and raise PR after doing changes in entities-NGSI-v2.js or any other change is required.
Fixed by PR #1580
Component
Other
Is your feature request related to a problem? Please describe
No response
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
The systemd version you checked that didn't have the feature you are asking for
No response