Loading TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableAttributes/025_01.robot +5 −3 Original line number Diff line number Diff line Loading @@ -17,10 +17,11 @@ ${filename}= building-simple-attributes-sample.json *** Test Cases *** CONTEXT EXPECTATION_FILE WithoutJsonLdContext 025_01_01 WithoutJsonLdContext [Tags] ed-attrs 5_7_8 ${EMPTY} types/expectations/attribute-list-025-01-01-expectation.json WithJsonLdContext [Tags] ed-attrs 5_7_8 025_01_02 WithJsonLdContext [Tags] ed-attrs 5_7_8 ${ngsild_test_suite_context} types/expectations/attribute-list-025-01-02-expectation.json Loading @@ -28,7 +29,8 @@ WithJsonLdContext [Tags] ed-attrs 5_7_8 Retrieve Available Attributes [Documentation] Check that you can retrieve a list of NGSI-LD attributes [Arguments] ${context} ${expectation_file} ${response}= Retrieve Attributes ${context} ${response}= Retrieve Attributes ... context=${context} Check Response Status Code 200 ${response.status_code} Check Response Body Containing AttributeList element ${expectation_file} ${response.json()} Loading TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableEntityTypes/022_01.robot +5 −3 Original line number Diff line number Diff line Loading @@ -19,10 +19,11 @@ ${second_filename}= vehicle-simple-attributes-sample.json *** Test Cases *** CONTEXT EXPECTATION_FILE WithoutJsonLdContext 022_01_01 WithoutJsonLdContext [Tags] ed-types 5_7_5 ${EMPTY} types/expectations/entity-type-list-022-01-01-expectation.json WithJsonLdContext [Tags] ed-types 5_7_5 022_01_02 WithJsonLdContext [Tags] ed-types 5_7_5 ${ngsild_test_suite_context} types/expectations/entity-type-list-022-01-02-expectation.json Loading @@ -30,7 +31,8 @@ WithJsonLdContext [Tags] ed-types 5_7_5 Retrieve Available Entity Types [Documentation] Check that you can retrieve a list of NGSI-LD entity types [Arguments] ${context} ${expectation_file} ${response}= Retrieve Entity Types ${context} ${response}= Retrieve Entity Types ... context=${context} Check Response Status Code 200 ${response.status_code} Check Response Body Containing EntityTypeList element ${expectation_file} ${response.json()} Loading TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveDetailsOfAvailableAttributes/026_01.robot +6 −3 Original line number Diff line number Diff line Loading @@ -17,10 +17,11 @@ ${filename}= building-simple-attributes-sample.json *** Test Cases *** CONTEXT EXPECTATION_FILE WithoutJsonLdContext 026_01_01 WithoutJsonLdContext [Tags] ed-attrs-details 5_7_9 ${EMPTY} types/expectations/attribute-026-01-01-expectation.json WithJsonLdContext [Tags] ed-attrs-details 5_7_9 026_01_02 WithJsonLdContext [Tags] ed-attrs-details 5_7_9 ${ngsild_test_suite_context} types/expectations/attribute-026-01-02-expectation.json Loading @@ -28,7 +29,9 @@ WithJsonLdContext [Tags] ed-attrs-details 5_7_9 Retrieve Details Of Available Attributes [Documentation] Check that you can retrieve a list with a detailed representation of NGSI-LD attributes [Arguments] ${context} ${expectation_file} ${response}= Retrieve Attributes context=${context} details=${TRUE} ${response}= Retrieve Attributes ... context=${context} ... details=${TRUE} Check Response Status Code 200 ${response.status_code} Check Response Body Containing Attribute element ${expectation_file} ${response.json()} Loading TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveDetailsOfAvailableEntityTypes/023_01.robot +6 −3 Original line number Diff line number Diff line Loading @@ -19,10 +19,11 @@ ${second_filename}= vehicle-simple-attributes-sample.json *** Test Cases *** CONTEXT EXPECTATION_FILE WithoutJsonLdContext 023_01_01 WithoutJsonLdContext [Tags] ed-types-details 5_7_6 ${EMPTY} types/expectations/entity-type-023-01-01-expectation.json WithJsonLdContext [Tags] ed-types-details 5_7_6 023_01_02 WithJsonLdContext [Tags] ed-types-details 5_7_6 ${ngsild_test_suite_context} types/expectations/entity-type-023-01-02-expectation.json Loading @@ -30,7 +31,9 @@ WithJsonLdContext [Tags] ed-types-details 5_7_6 Retrieve Details Of Available Entity Types [Documentation] Check that you can retrieve a list with a detailed representation of NGSI-LD entity types [Arguments] ${context} ${expectation_file} ${response}= Retrieve Entity Types context=${context} details=${TRUE} ${response}= Retrieve Entity Types ... context=${context} ... details=${TRUE} Check Response Status Code 200 ${response.status_code} Check Response Body Containing EntityType element ${expectation_file} ${response.json()} Loading TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_06.robot +2 −2 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ Resource ${EXECDIR}/resources/JsonUtils.resource Test Setup Setup Initial Entity Test Teardown Delete Created Entity Test Template Check JSON-LD Resolution When retrieving an entity Test Template Review JSON-LD Resolution When retrieving an entity *** Variables *** Loading @@ -28,7 +28,7 @@ ${creation_jsonld_expectation_filename}= building-simple-attributes-sample-co *** Keywords *** Check JSON-LD Resolution When retrieving an entity Review JSON-LD Resolution When retrieving an entity [Documentation] Check that the JSON-LD @context is obtained from a Link header if present and that the default JSON-LD @context is used if not present [Arguments] ${context} ${expected_payload} ${response}= Query Entity ${entity_id} ${CONTENT_TYPE_JSON} context=${context} Loading Loading
TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableAttributes/025_01.robot +5 −3 Original line number Diff line number Diff line Loading @@ -17,10 +17,11 @@ ${filename}= building-simple-attributes-sample.json *** Test Cases *** CONTEXT EXPECTATION_FILE WithoutJsonLdContext 025_01_01 WithoutJsonLdContext [Tags] ed-attrs 5_7_8 ${EMPTY} types/expectations/attribute-list-025-01-01-expectation.json WithJsonLdContext [Tags] ed-attrs 5_7_8 025_01_02 WithJsonLdContext [Tags] ed-attrs 5_7_8 ${ngsild_test_suite_context} types/expectations/attribute-list-025-01-02-expectation.json Loading @@ -28,7 +29,8 @@ WithJsonLdContext [Tags] ed-attrs 5_7_8 Retrieve Available Attributes [Documentation] Check that you can retrieve a list of NGSI-LD attributes [Arguments] ${context} ${expectation_file} ${response}= Retrieve Attributes ${context} ${response}= Retrieve Attributes ... context=${context} Check Response Status Code 200 ${response.status_code} Check Response Body Containing AttributeList element ${expectation_file} ${response.json()} Loading
TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableEntityTypes/022_01.robot +5 −3 Original line number Diff line number Diff line Loading @@ -19,10 +19,11 @@ ${second_filename}= vehicle-simple-attributes-sample.json *** Test Cases *** CONTEXT EXPECTATION_FILE WithoutJsonLdContext 022_01_01 WithoutJsonLdContext [Tags] ed-types 5_7_5 ${EMPTY} types/expectations/entity-type-list-022-01-01-expectation.json WithJsonLdContext [Tags] ed-types 5_7_5 022_01_02 WithJsonLdContext [Tags] ed-types 5_7_5 ${ngsild_test_suite_context} types/expectations/entity-type-list-022-01-02-expectation.json Loading @@ -30,7 +31,8 @@ WithJsonLdContext [Tags] ed-types 5_7_5 Retrieve Available Entity Types [Documentation] Check that you can retrieve a list of NGSI-LD entity types [Arguments] ${context} ${expectation_file} ${response}= Retrieve Entity Types ${context} ${response}= Retrieve Entity Types ... context=${context} Check Response Status Code 200 ${response.status_code} Check Response Body Containing EntityTypeList element ${expectation_file} ${response.json()} Loading
TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveDetailsOfAvailableAttributes/026_01.robot +6 −3 Original line number Diff line number Diff line Loading @@ -17,10 +17,11 @@ ${filename}= building-simple-attributes-sample.json *** Test Cases *** CONTEXT EXPECTATION_FILE WithoutJsonLdContext 026_01_01 WithoutJsonLdContext [Tags] ed-attrs-details 5_7_9 ${EMPTY} types/expectations/attribute-026-01-01-expectation.json WithJsonLdContext [Tags] ed-attrs-details 5_7_9 026_01_02 WithJsonLdContext [Tags] ed-attrs-details 5_7_9 ${ngsild_test_suite_context} types/expectations/attribute-026-01-02-expectation.json Loading @@ -28,7 +29,9 @@ WithJsonLdContext [Tags] ed-attrs-details 5_7_9 Retrieve Details Of Available Attributes [Documentation] Check that you can retrieve a list with a detailed representation of NGSI-LD attributes [Arguments] ${context} ${expectation_file} ${response}= Retrieve Attributes context=${context} details=${TRUE} ${response}= Retrieve Attributes ... context=${context} ... details=${TRUE} Check Response Status Code 200 ${response.status_code} Check Response Body Containing Attribute element ${expectation_file} ${response.json()} Loading
TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveDetailsOfAvailableEntityTypes/023_01.robot +6 −3 Original line number Diff line number Diff line Loading @@ -19,10 +19,11 @@ ${second_filename}= vehicle-simple-attributes-sample.json *** Test Cases *** CONTEXT EXPECTATION_FILE WithoutJsonLdContext 023_01_01 WithoutJsonLdContext [Tags] ed-types-details 5_7_6 ${EMPTY} types/expectations/entity-type-023-01-01-expectation.json WithJsonLdContext [Tags] ed-types-details 5_7_6 023_01_02 WithJsonLdContext [Tags] ed-types-details 5_7_6 ${ngsild_test_suite_context} types/expectations/entity-type-023-01-02-expectation.json Loading @@ -30,7 +31,9 @@ WithJsonLdContext [Tags] ed-types-details 5_7_6 Retrieve Details Of Available Entity Types [Documentation] Check that you can retrieve a list with a detailed representation of NGSI-LD entity types [Arguments] ${context} ${expectation_file} ${response}= Retrieve Entity Types context=${context} details=${TRUE} ${response}= Retrieve Entity Types ... context=${context} ... details=${TRUE} Check Response Status Code 200 ${response.status_code} Check Response Body Containing EntityType element ${expectation_file} ${response.json()} Loading
TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_06.robot +2 −2 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ Resource ${EXECDIR}/resources/JsonUtils.resource Test Setup Setup Initial Entity Test Teardown Delete Created Entity Test Template Check JSON-LD Resolution When retrieving an entity Test Template Review JSON-LD Resolution When retrieving an entity *** Variables *** Loading @@ -28,7 +28,7 @@ ${creation_jsonld_expectation_filename}= building-simple-attributes-sample-co *** Keywords *** Check JSON-LD Resolution When retrieving an entity Review JSON-LD Resolution When retrieving an entity [Documentation] Check that the JSON-LD @context is obtained from a Link header if present and that the default JSON-LD @context is used if not present [Arguments] ${context} ${expected_payload} ${response}= Query Entity ${entity_id} ${CONTENT_TYPE_JSON} context=${context} Loading