forked from telefonicaid/iotagent-node-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request telefonicaid#1461 from jason-fox/feature/fix-ngsi-ld
Fix NGSI-LD test
- Loading branch information
Showing
11 changed files
with
303 additions
and
570 deletions.
There are no files selected for viewing
37 changes: 3 additions & 34 deletions
37
test/unit/ngsi-ld/examples/contextRequests/createProvisionedDeviceWithGroupAndStatic2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,18 @@ | ||
[ | ||
{ | ||
"@context": "http://context.json-ld", | ||
"id": "urn:ngsi-ld:SensorMachine:TheFirstLight", | ||
"id": "urn:ngsi-ld:SensorMachine:Light1", | ||
"type": "SensorMachine", | ||
"hardcodedAttr": { | ||
"status": { | ||
"type": "Property", | ||
"value": { | ||
"@type": "hardcodedType", | ||
"@value": "hardcodedValue" | ||
} | ||
"value": "STARTING" | ||
}, | ||
"bootstrapServer": { | ||
"type": "Property", | ||
"value": { | ||
"@type": "Address", | ||
"@value": "127.0.0.1" | ||
} | ||
}, | ||
"commandAttr_status": { | ||
"type": "Property", | ||
"value": { | ||
"@type": "commandStatus", | ||
"@value": "UNKNOWN" | ||
} | ||
}, | ||
"commandAttr_info": { | ||
"type": "Property", | ||
"value": { | ||
"@type": "commandResult", | ||
"@value": " " | ||
} | ||
}, | ||
"wheel1_status": { | ||
"type": "Property", | ||
"value": { | ||
"@type": "commandStatus", | ||
"@value": "UNKNOWN" | ||
} | ||
}, | ||
"wheel1_info": { | ||
"type": "Property", | ||
"value": { | ||
"@type": "commandResult", | ||
"@value": " " | ||
} | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.