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
012_01 - Check that you can perform a partial update on an entity attribute (012_01_01 Check that you can partially update an attribute) #1510
Closed
lafrigolet closed 11 months ago
TP.NGSI-LD.ContextInformation.Provision.EntityAttributes.PartialAttributeUpdate.012_01 :: 012_01_01 Check that you can partially update an attribute
Context Broker Information:
Version: develop commit 238ac6c353325f8d486ef79ea137df20df12f277 Launch command: orionld -fg
012_01_01 Check that you can partially update an attribute
Value of root['speed'][1] changed from {'type': 'Property', 'value': 54.5, 'source': {'type': 'Property', 'value': 'GPS'}, 'datasetId': 'urn:ngsi-ld:Property:gpsBxyz123-speed'} 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', 'value': 55, 'source': {'type': 'Property', 'value': 'Speedometer'}, 'datasetId': 'urn:ngsi-ld:Property:speedometer'} 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:
Response:
Retrieve Entity by Id
Request:
Response:
Delete Entity by Id
Request:
Response: