Loading TP/NGSI-LD/ContextInformation/Consumption/Entity/001_01.robot +2 −2 Original line number Diff line number Diff line Loading @@ -18,8 +18,8 @@ ${expectation_filename}= building-simple-attributes-sample-expectation.jsonld ${request} ${response}= Create Entity Selecting Content Type ${filename} ${entity_id} ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response['status']} ${response}= Get Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} ${response}= Query Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} Check Response Status Code 200 ${response['status']} Check Response Body Containing Entity element ${expectation_filename} ${entity_id} ${response} Check Response Body Containing Entity element ${expectation_filename} ${entity_id} ${response['body']} [Teardown] Delete Entity by Id Returning Response ${entity_id} No newline at end of file TP/NGSI-LD/ContextInformation/Consumption/Entity/001_02.robot +2 −2 Original line number Diff line number Diff line Loading @@ -21,8 +21,8 @@ ${attribute_subcategory}= https://uri.fiware.org/ns/data-models#subCategory Check Response Status Code 201 ${response['status']} ${attributes_to_be_retrieved}= Create List ${attribute_airqualitylevel} ${attribute_subcategory} ${response}= Get Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} attrs=${attributes_to_be_retrieved} ${response}= Query Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} attrs=${attributes_to_be_retrieved} Check Response Status Code 200 ${response['status']} Check Response Body Containing Entity element ${expectation_filename} ${entity_id} ${response} Check Response Body Containing Entity element ${expectation_filename} ${entity_id} ${response['body']} [Teardown] Delete Entity by Id Returning Response ${entity_id} No newline at end of file TP/NGSI-LD/ContextInformation/Consumption/Entity/001_03.robot +3 −3 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ Resource ${EXECDIR}/resources/JsonUtils.resource ${building_id_prefix}= urn:ngsi-ld:Building: ${filename}= building-location-attribute-sample.jsonld ${expectation_filename}= building-location-attribute-sample-expectation-query-geoproperty.jsonld ${geometry_property}= location ${geometry_property}= test *** Test Cases *** 001_03_Query the geometry property from an entity Loading @@ -19,8 +19,8 @@ ${geometry_property}= location ${request} ${response}= Create Entity Selecting Content Type ${filename} ${entity_id} ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response['status']} ${response}= Get Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} geoproperty=${geometry_property} ${response}= Query Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} geoproperty=${geometry_property} Check Response Status Code 200 ${response['status']} Check Response Body Containing Entity element ${expectation_filename} ${entity_id} ${response} Check Response Body Containing Entity element ${expectation_filename} ${entity_id} ${response['body']} [Teardown] Delete Entity by Id Returning Response ${entity_id} No newline at end of file TP/NGSI-LD/ContextInformation/Consumption/Entity/002.robot +1 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ Get Entity With Invalid/Missing Id [Documentation] Check that you cannot get an entity with invalid/missing id [Tags] mandatory failing ${response}= Get Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} ${response}= Query Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} Check Response Status Code ${expected_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 Title Element ${response} No newline at end of file TP/NGSI-LD/ContextInformation/Consumption/Entity/003_01.robot +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: [Tags] mandatory failing ${entity_id}= Generate Random Entity Id ${building_id_prefix} ${response}= Get Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} ${response}= Query Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} Check Response Status Code 404 ${response['status']} 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} No newline at end of file Loading
TP/NGSI-LD/ContextInformation/Consumption/Entity/001_01.robot +2 −2 Original line number Diff line number Diff line Loading @@ -18,8 +18,8 @@ ${expectation_filename}= building-simple-attributes-sample-expectation.jsonld ${request} ${response}= Create Entity Selecting Content Type ${filename} ${entity_id} ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response['status']} ${response}= Get Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} ${response}= Query Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} Check Response Status Code 200 ${response['status']} Check Response Body Containing Entity element ${expectation_filename} ${entity_id} ${response} Check Response Body Containing Entity element ${expectation_filename} ${entity_id} ${response['body']} [Teardown] Delete Entity by Id Returning Response ${entity_id} No newline at end of file
TP/NGSI-LD/ContextInformation/Consumption/Entity/001_02.robot +2 −2 Original line number Diff line number Diff line Loading @@ -21,8 +21,8 @@ ${attribute_subcategory}= https://uri.fiware.org/ns/data-models#subCategory Check Response Status Code 201 ${response['status']} ${attributes_to_be_retrieved}= Create List ${attribute_airqualitylevel} ${attribute_subcategory} ${response}= Get Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} attrs=${attributes_to_be_retrieved} ${response}= Query Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} attrs=${attributes_to_be_retrieved} Check Response Status Code 200 ${response['status']} Check Response Body Containing Entity element ${expectation_filename} ${entity_id} ${response} Check Response Body Containing Entity element ${expectation_filename} ${entity_id} ${response['body']} [Teardown] Delete Entity by Id Returning Response ${entity_id} No newline at end of file
TP/NGSI-LD/ContextInformation/Consumption/Entity/001_03.robot +3 −3 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ Resource ${EXECDIR}/resources/JsonUtils.resource ${building_id_prefix}= urn:ngsi-ld:Building: ${filename}= building-location-attribute-sample.jsonld ${expectation_filename}= building-location-attribute-sample-expectation-query-geoproperty.jsonld ${geometry_property}= location ${geometry_property}= test *** Test Cases *** 001_03_Query the geometry property from an entity Loading @@ -19,8 +19,8 @@ ${geometry_property}= location ${request} ${response}= Create Entity Selecting Content Type ${filename} ${entity_id} ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response['status']} ${response}= Get Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} geoproperty=${geometry_property} ${response}= Query Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} geoproperty=${geometry_property} Check Response Status Code 200 ${response['status']} Check Response Body Containing Entity element ${expectation_filename} ${entity_id} ${response} Check Response Body Containing Entity element ${expectation_filename} ${entity_id} ${response['body']} [Teardown] Delete Entity by Id Returning Response ${entity_id} No newline at end of file
TP/NGSI-LD/ContextInformation/Consumption/Entity/002.robot +1 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ Get Entity With Invalid/Missing Id [Documentation] Check that you cannot get an entity with invalid/missing id [Tags] mandatory failing ${response}= Get Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} ${response}= Query Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} Check Response Status Code ${expected_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 Title Element ${response} No newline at end of file
TP/NGSI-LD/ContextInformation/Consumption/Entity/003_01.robot +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: [Tags] mandatory failing ${entity_id}= Generate Random Entity Id ${building_id_prefix} ${response}= Get Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} ${response}= Query Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} Check Response Status Code 404 ${response['status']} 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} No newline at end of file