WARNING! Gitlab maintenance operation scheduled for Monday, 20 April between 12:00 and 14:00 (CET). During this time window, short service interruptions (less than 5 minutes) may occur. Thank you in advance for your understanding.
Set Suite Variable${temporal_entity_representation_id}
Set Suite Variable${temporal_entity_representation_id}
${response}=Create Or Update Temporal Representation Of Entity Selecting Content Type${temporal_entity_representation_id}${filename}${CONTENT_TYPE_LD_JSON}
${response}=Create Or Update Temporal Representation Of Entity Selecting Content Type${temporal_entity_representation_id}${filename}${CONTENT_TYPE_LD_JSON}
Check Response Status Code201${response['status']}
Check Response Status Code201${response['status']}
${response}=Get Temporal Representation Of Entity${temporal_entity_representation_id}${CONTENT_TYPE_LD_JSON}sysAttrs${ngsild_test_suite_context}
Retrieve Temporal Representation Of Entity${temporal_entity_representation_id}context=${ngsild_test_suite_context}accept=${CONTENT_TYPE_LD_JSON}
[Documentation]Check that you cannot delete an attribute instance in temporal representation of an entity if the entity/attribute/instance id is not found
[Documentation]Check that you cannot delete an attribute instance in temporal representation of an entity if the entity/attribute/instance id is not found
016_01_Partially update an attribute instance of a temporal representation of an entity
016_01_Modify attribute instance in temporal representation of an entity
[Documentation]Check that you can partially update an attribute instance of a temporal representation of an entity
[Documentation]Check that you can partially update an attribute instance of a temporal representation of an entity
[Tags]tea-partial-update5_6_14
[Tags]tea-partial-update5_6_14
${temporal_entity_representation_id}=Generate Random Entity Id${vehicle_id_prefix}
${temporal_entity_representation_id}=Generate Random Entity Id${vehicle_id_prefix}
Set Suite Variable${temporal_entity_representation_id}
Set Suite Variable${temporal_entity_representation_id}
${response}=Create Or Update Temporal Representation Of Entity Selecting Content Type${temporal_entity_representation_id}${filename}${CONTENT_TYPE_LD_JSON}
${response}=Create Or Update Temporal Representation Of Entity Selecting Content Type${temporal_entity_representation_id}${filename}${CONTENT_TYPE_LD_JSON}
Check Response Status Code201${response['status']}
Check Response Status Code201${response['status']}
${response}=Get Temporal Representation Of Entity${temporal_entity_representation_id}${CONTENT_TYPE_LD_JSON}sysAttrs${ngsild_test_suite_context}
DocumentationCheck that you cannot partially update an attribute instance in temporal representation of an entity if the entityId/attributeId/instanceId is not right
DocumentationCheck that you cannot modify an attribute instance in temporal representation of an entity if the entityId/attributeId/instanceId is not right
[Documentation]Check that you cannot partially update an attribute instance in temporal representation of an entity if the entityId/attributeId/instanceId is not right
[Documentation]Check that you cannot partially modify attribute instance in temporal representation of an entity if the entityId/attributeId/instanceId is not right
[Tags]tea-partial-update5_6_14
[Tags]tea-partial-update5_6_14
${response}=Partial Update Attribute From Temporal Entity${temporal_entity_id}${attributeId}${instanceId}${fragment_filename}${CONTENT_TYPE_JSON}${ngsild_test_suite_context}
${response}=Modify Attribute Instance From Temporal Entity${temporal_entity_id}${attributeId}${instanceId}${fragment_filename}${CONTENT_TYPE_JSON}${ngsild_test_suite_context}
Check Response Status Code${status_code}${response['status']}
Check Response Status Code${status_code}${response['status']}
[Teardown]Delete Temporal Representation Of Entity${temporal_entity_representation_id}
Create Id
Create Id
${temporal_entity_representation_id}=Generate Random Entity Id${vehicle_id_prefix}
${temporal_entity_representation_id}=Generate Random Entity Id${vehicle_id_prefix}
@@ -48,3 +48,6 @@ Create Id
${response}=Get Temporal Representation Of Entity${temporal_entity_representation_id}${CONTENT_TYPE_LD_JSON}sysAttrs${ngsild_test_suite_context}
${response}=Get Temporal Representation Of Entity${temporal_entity_representation_id}${CONTENT_TYPE_LD_JSON}sysAttrs${ngsild_test_suite_context}
DocumentationCheck that you cannot partially update an attribute instance in temporal representation of an entity if the entityId/attributeId/instanceId is not right
DocumentationCheck that you cannot modify an attribute instance in temporal representation of an entity if the entityId/attributeId/instanceId is not right
[Documentation]Check that you cannot partially update an attribute instance in temporal representation of an entity if the entity/attribute/instance id is not found
[Documentation]Check that you cannot partially modify attribute instance in temporal representation of an entity if the entity/attribute/instance id is not found
[Tags]tea-partial-update5_6_14
[Tags]tea-partial-update5_6_14
${response}=Partial Update Attribute From Temporal Entity${temporal_entity_id}${attributeId}${instanceId}${fragment_filename}${CONTENT_TYPE_JSON}${ngsild_test_suite_context}
${response}=Modify Attribute Instance From Temporal Entity${temporal_entity_id}${attributeId}${instanceId}${fragment_filename}${CONTENT_TYPE_JSON}${ngsild_test_suite_context}
Check Response Status Code${status_code}${response['status']}
Check Response Status Code${status_code}${response['status']}
[Teardown]Delete Temporal Representation Of Entity${temporal_entity_representation_id}
Create Id
Create Id
${temporal_entity_representation_id}=Generate Random Entity Id${vehicle_id_prefix}
${temporal_entity_representation_id}=Generate Random Entity Id${vehicle_id_prefix}
@@ -41,3 +41,6 @@ Create Id
${response}=Get Temporal Representation Of Entity${temporal_entity_representation_id}${CONTENT_TYPE_LD_JSON}sysAttrs${ngsild_test_suite_context}
${response}=Get Temporal Representation Of Entity${temporal_entity_representation_id}${CONTENT_TYPE_LD_JSON}sysAttrs${ngsild_test_suite_context}