Details
-
Type:
Monitor
-
Status: Closed
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
Description
Created question in FIWARE Q/A platform on 16-12-2020 at 12:12
Please, ANSWER this question AT https://stackoverflow.com/questions/65322083/fiware-iotagent-node-lib-support-for-ngsiversion-ld
Question:
FIWARE - iotagent-node-lib support for ngsiVersion "ld"
Description:
I am trying to create an IoT Agent that uses NGSI-LD northbound to interact with an NGSI-LD Context Broker (Scorpio in this case)
In the latest release of iotagent-node-lib (2.14.0) it looks like it only includes support for v1 and v2 interactions with a Context Broker, e.g. in the deviceService:
function createInitialEntity(deviceData, newDevice, callback) {
if (config.checkNgsi2())
else
{ createInitialEntityNgsi1(deviceData, newDevice, callback); }}
but in the master branch it looks like there is support for v1, v2, mixed mode and ngsi-ld, e.g:
function init() {
switch (config.ngsiVersion())
}
function createInitialEntity(deviceData, newDevice, callback) {
deviceHandler.createInitialEntity(deviceData, newDevice, callback);
}
Can you say when a release will include support for ngsi-ld interactions with context brokers? Thanks!
Activity
- All
- Comments
- History
- Activity
- Transitions