Loading TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/DeleteTemporalRepresentationOfEntity/009_02.robot +4 −4 Original line number Original line Diff line number Diff line Loading @@ -8,16 +8,16 @@ Test Template Delete Temporal Entity *** Variable *** *** Variable *** ${vehicle_id_prefix}= urn:ngsi-ld:Vehicle: ${vehicle_id_prefix}= urn:ngsi-ld:Vehicle: *** Test Cases *** STATUS_CODE ID *** Test Cases *** STATUS_CODE ID PROBLEM_TYPE 009_02_01_Delete a temporal representation of an entity with an empty entity id 009_02_01_Delete a temporal representation of an entity with an empty entity id 400 ${EMPTY} 400 ${EMPTY} ${ERROR_TYPE_BAD_REQUEST_DATA} 009_02_02 Delete a temporal representation of an entity with an invalid entity id 009_02_02 Delete a temporal representation of an entity with an invalid entity id 400 invalidId 400 invalidId ${ERROR_TYPE_BAD_REQUEST_DATA} *** Keywords *** *** Keywords *** Delete Temporal Entity Delete Temporal Entity [Arguments] ${status_code} ${id} [Arguments] ${status_code} ${id} ${problem_type} [Documentation] Check that an error is raised if you delete a temporal enitity with an empty/invalid EnityId [Documentation] Check that an error is raised if you delete a temporal enitity with an empty/invalid EnityId [Tags] te-delete 5_6_16 [Tags] te-delete 5_6_16 ${response}= Delete Temporal Representation Of Entity With Returning Response ${id} ${response}= Delete Temporal Representation Of Entity With Returning Response ${id} Loading TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/DeleteTemporalRepresentationOfEntity/009_03.robot +2 −2 Original line number Original line Diff line number Diff line Loading @@ -10,10 +10,10 @@ ${status_code}= 404 *** Test Cases *** *** Test Cases *** 009_03 Delete a temporal representation of an entity with a unknown entity id 009_03 Delete a temporal representation of an entity with a unknown entity id [Documentation] Check that an error is raised if you delete a temporal enitity with a non existing/invalid EnityId [Documentation] Check that an error is raised if you delete a temporal enitity with a non existing entity id [Tags] te-delete 5_6_16 [Tags] te-delete 5_6_16 ${temporal_entity_id}= Generate Random Entity Id ${vehicle_id_prefix} ${temporal_entity_id}= Generate Random Entity Id ${vehicle_id_prefix} ${response}= Delete Temporal Representation Of Entity With Returning Response ${temporal_entity_id} ${response}= Delete Temporal Representation Of Entity With Returning Response ${temporal_entity_id} Check Response Status Code ${status_code} ${response['status']} Check Response Status Code ${status_code} ${response['status']} Check Response Body Containing ProblemDetails Element Containing Type Element set to ${response} ${problem_type} Check Response Body Containing ProblemDetails Element Containing Type Element set to ${response} ${ERROR_TYPE_RESOURCE_NOT_FOUND} Check Response Body Containing ProblemDetails Element Containing Title Element ${response} Check Response Body Containing ProblemDetails Element Containing Title Element ${response} data/temporalEntities/vehicle-temporal-representation-sample.jsonld +0 −6 Original line number Original line Diff line number Diff line { { "id":"urn:ngsi-ld:Vehicle:randomUUID", "id":"urn:ngsi-ld:Vehicle:randomUUID", "type":"Vehicle", "type":"Vehicle", "brandName":[ { "type":"Property", "value":"BMW" } ], "speed":[ "speed":[ { { "type":"Property", "type":"Property", Loading Loading
TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/DeleteTemporalRepresentationOfEntity/009_02.robot +4 −4 Original line number Original line Diff line number Diff line Loading @@ -8,16 +8,16 @@ Test Template Delete Temporal Entity *** Variable *** *** Variable *** ${vehicle_id_prefix}= urn:ngsi-ld:Vehicle: ${vehicle_id_prefix}= urn:ngsi-ld:Vehicle: *** Test Cases *** STATUS_CODE ID *** Test Cases *** STATUS_CODE ID PROBLEM_TYPE 009_02_01_Delete a temporal representation of an entity with an empty entity id 009_02_01_Delete a temporal representation of an entity with an empty entity id 400 ${EMPTY} 400 ${EMPTY} ${ERROR_TYPE_BAD_REQUEST_DATA} 009_02_02 Delete a temporal representation of an entity with an invalid entity id 009_02_02 Delete a temporal representation of an entity with an invalid entity id 400 invalidId 400 invalidId ${ERROR_TYPE_BAD_REQUEST_DATA} *** Keywords *** *** Keywords *** Delete Temporal Entity Delete Temporal Entity [Arguments] ${status_code} ${id} [Arguments] ${status_code} ${id} ${problem_type} [Documentation] Check that an error is raised if you delete a temporal enitity with an empty/invalid EnityId [Documentation] Check that an error is raised if you delete a temporal enitity with an empty/invalid EnityId [Tags] te-delete 5_6_16 [Tags] te-delete 5_6_16 ${response}= Delete Temporal Representation Of Entity With Returning Response ${id} ${response}= Delete Temporal Representation Of Entity With Returning Response ${id} Loading
TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/DeleteTemporalRepresentationOfEntity/009_03.robot +2 −2 Original line number Original line Diff line number Diff line Loading @@ -10,10 +10,10 @@ ${status_code}= 404 *** Test Cases *** *** Test Cases *** 009_03 Delete a temporal representation of an entity with a unknown entity id 009_03 Delete a temporal representation of an entity with a unknown entity id [Documentation] Check that an error is raised if you delete a temporal enitity with a non existing/invalid EnityId [Documentation] Check that an error is raised if you delete a temporal enitity with a non existing entity id [Tags] te-delete 5_6_16 [Tags] te-delete 5_6_16 ${temporal_entity_id}= Generate Random Entity Id ${vehicle_id_prefix} ${temporal_entity_id}= Generate Random Entity Id ${vehicle_id_prefix} ${response}= Delete Temporal Representation Of Entity With Returning Response ${temporal_entity_id} ${response}= Delete Temporal Representation Of Entity With Returning Response ${temporal_entity_id} Check Response Status Code ${status_code} ${response['status']} Check Response Status Code ${status_code} ${response['status']} Check Response Body Containing ProblemDetails Element Containing Type Element set to ${response} ${problem_type} Check Response Body Containing ProblemDetails Element Containing Type Element set to ${response} ${ERROR_TYPE_RESOURCE_NOT_FOUND} Check Response Body Containing ProblemDetails Element Containing Title Element ${response} Check Response Body Containing ProblemDetails Element Containing Title Element ${response}
data/temporalEntities/vehicle-temporal-representation-sample.jsonld +0 −6 Original line number Original line Diff line number Diff line { { "id":"urn:ngsi-ld:Vehicle:randomUUID", "id":"urn:ngsi-ld:Vehicle:randomUUID", "type":"Vehicle", "type":"Vehicle", "brandName":[ { "type":"Property", "value":"BMW" } ], "speed":[ "speed":[ { { "type":"Property", "type":"Property", Loading