Context Broker and CEF building block for context data management which supports both the NGSI-LD and the NGSI-v2 APIs
GNU Affero General Public License v3.0
50
stars
43
forks
source link
010 01 - Check that you can append entity attributes (010_01_01 Append entity attributes) #1501
Closed
lafrigolet closed 9 months ago
TP.NGSI-LD.ContextInformation.Provision.EntityAttributes.AppendEntityAttributes.010_01 :: 010_01_01 Append entity attributes
Context Broker Information:
Version: develop commit 238ac6c353325f8d486ef79ea137df20df12f277 Launch command: orionld -fg
010_01_01 Append entity attributes
Test Failed
Value of root['speed'][1] changed from {'type': 'Property', 'source': {'type': 'Property', 'value': 'GPS'}, 'datasetId': 'urn:ngsi-ld:Property:gpsBxyz123-speed', 'value': 54.5} to {'type': 'Property', 'value': 54.5, 'https://ngsi-ld-test-suite/context#source': {'type': 'Property', 'value': 'GPS'}, 'datasetId': 'urn:ngsi-ld:Property:gpsBxyz123-speed'}. Value of root['speed'][0] changed from {'type': 'Property', 'source': {'type': 'Property', 'value': 'Speedometer'}, 'datasetId': 'urn:ngsi-ld:Property:speedometer', 'value': 55} to {'type': 'Property', 'value': 55, 'https://ngsi-ld-test-suite/context#source': {'type': 'Property', 'value': 'Speedometer'}, 'datasetId': 'urn:ngsi-ld:Property:speedometer'}.
Test Request/Response Flow
Create Entity Selecting Content Type
Request:
Response:
Append Entity Attributes
Request:
Response:
Retrieve Entity by Id
Request:
Response:
Delete Entity by Id
Request:
Response: