Loading TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_02_10.robot 0 → 100644 +101 −0 Changes for TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_02_10.robot: 101 added lines, 0 removed lines. Original line number Diff line number Diff line *** Settings *** Documentation Check that one can query entities via POST based on q on ListProperty or ListRelationship values Resource ${EXECDIR}/resources/ApiUtils/Common.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/AssertionUtils.resource Suite Setup Setup Initial Entities Suite Teardown Delete Entities Test Template Query Entities Via POST Based On Q On A List Attribute *** Variables *** ${PARIS_URI}= urn:ngsi-ld:City:Paris ${LYON_URI}= urn:ngsi-ld:City:Lyon ${MARSEILLE_URI}= urn:ngsi-ld:City:Marseille *** Test Cases *** Q EXPECTED_COUNT 019_02_10_01 Query ListProperty Equal To Good [Tags] e-query core_10_4_3 http_7_12_3_1 core_5_2_6_4_8 http_7_12 core_7_2_3 since_v1.9.1 airQualityLevel=="good" 1 019_02_10_02 Query ListProperty Equal To Moderate [Tags] e-query core_10_4_3 http_7_12_3_1 core_5_2_6_4_8 http_7_12 core_7_2_3 since_v1.9.1 airQualityLevel=="moderate" 2 019_02_10_03 Query ListProperty Unequal To Good [Tags] e-query core_10_4_3 http_7_12_3_1 core_5_2_6_4_8 http_7_12 core_7_2_3 since_v1.9.1 airQualityLevel!="good" 1 019_02_10_04 Query ListProperty Equal To A Value List [Tags] e-query core_10_4_3 http_7_12_3_1 core_5_2_6_4_8 http_7_12 core_7_2_3 since_v1.9.1 airQualityLevel=="good","poor" 2 019_02_10_05 Query ListProperty Unequal To A Value List [Tags] e-query core_10_4_3 http_7_12_3_1 core_5_2_6_4_8 http_7_12 core_7_2_3 since_v1.9.1 airQualityLevel!="good","poor" 0 019_02_10_06 Query ListRelationship Equal To Paris [Tags] e-query core_10_4_3 http_7_12_3_1 core_5_2_6_4_9 http_7_12 core_7_2_3 since_v1.9.1 locatedAt=="${PARIS_URI}" 1 019_02_10_07 Query ListRelationship Equal To Lyon [Tags] e-query core_10_4_3 http_7_12_3_1 core_5_2_6_4_9 http_7_12 core_7_2_3 since_v1.9.1 locatedAt=="${LYON_URI}" 2 019_02_10_08 Query ListRelationship Unequal To Paris [Tags] e-query core_10_4_3 http_7_12_3_1 core_5_2_6_4_9 http_7_12 core_7_2_3 since_v1.9.1 locatedAt!="${PARIS_URI}" 1 019_02_10_09 Query ListRelationship Equal To An Object List [Tags] e-query core_10_4_3 http_7_12_3_1 core_5_2_6_4_9 http_7_12 core_7_2_3 since_v1.9.1 locatedAt=="${PARIS_URI}","${MARSEILLE_URI}" 2 019_02_10_10 Query ListRelationship Unequal To An Object List [Tags] e-query core_10_4_3 http_7_12_3_1 core_5_2_6_4_9 http_7_12 core_7_2_3 since_v1.9.1 locatedAt!="${PARIS_URI}","${MARSEILLE_URI}" 0 *** Keywords *** Query Entities Via POST Based On Q On A List Attribute [Documentation] Check that one can query entities via POST based on q on a list attribute [Arguments] ${q} ${expected_count} ${response}= Query Entities Via POST ... q=${q} ... count=true ... context=${ngsild_test_suite_context} Check Response Status Code 200 ${response.status_code} Check Response Headers Containing NGSILD-Results-Count Equals To ${expected_count} ${response.headers} Setup Initial Entities ${first_list_property_entity_id}= Generate Random Building Entity Id Set Suite Variable ${first_list_property_entity_id} ${response}= Create Entity Selecting Content Type ... building-list-property.jsonld ... ${first_list_property_entity_id} ... ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} ${second_list_property_entity_id}= Generate Random Building Entity Id Set Suite Variable ${second_list_property_entity_id} ${response}= Create Entity Selecting Content Type ... building-list-property-query-second.jsonld ... ${second_list_property_entity_id} ... ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} ${first_list_relationship_entity_id}= Generate Random Building Entity Id Set Suite Variable ${first_list_relationship_entity_id} ${response}= Create Entity Selecting Content Type ... building-list-relationship.jsonld ... ${first_list_relationship_entity_id} ... ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} ${second_list_relationship_entity_id}= Generate Random Building Entity Id Set Suite Variable ${second_list_relationship_entity_id} ${response}= Create Entity Selecting Content Type ... building-list-relationship-query-second.jsonld ... ${second_list_relationship_entity_id} ... ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} Delete Entities Delete Entity ${first_list_property_entity_id} Delete Entity ${second_list_property_entity_id} Delete Entity ${first_list_relationship_entity_id} Delete Entity ${second_list_relationship_entity_id} TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_32.robot 0 → 100644 +115 −0 Changes for TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_32.robot: 115 added lines, 0 removed lines. Original line number Diff line number Diff line *** Settings *** Documentation Check that entities with ListProperty or ListRelationship attributes can be queried Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource Resource ${EXECDIR}/resources/AssertionUtils.resource Resource ${EXECDIR}/resources/JsonUtils.resource Suite Setup Create Initial Entities Suite Teardown Delete Created Entities Test Template Query Entities With List Attributes *** Variables *** ${list_property_entity_filename}= building-list-property.jsonld ${list_relationship_entity_filename}= building-list-relationship.jsonld ${linked_entity_filename}= city-minimal.jsonld *** Test Cases *** ENTITY_ID JOIN OPTIONS EXPECTATION_FILENAME 019_32_01 Query Normalized ListProperty [Documentation] Check that a ListProperty can be queried in normalized representation [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_8 core_5_3_2_2 http_7_2 since_v1.9.1 ${list_property_entity_id} ${EMPTY} ${EMPTY} buildings-list-property-normalized-019-32-01.json 019_32_02 Query Simplified ListProperty [Documentation] Check that a ListProperty can be queried in simplified representation [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_8 core_5_3_2_4 http_7_2 since_v1.9.1 ${list_property_entity_id} ${EMPTY} keyValues buildings-list-property-simplified-019-32-02.json 019_32_03 Query Normalized ListRelationship [Documentation] Check that a ListRelationship can be queried in normalized representation [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_9 core_5_3_2_2 http_7_2 since_v1.9.1 ${list_relationship_entity_id} ${EMPTY} ${EMPTY} buildings-list-relationship-normalized-019-32-03.json 019_32_04 Query Simplified ListRelationship [Documentation] Check that a ListRelationship can be queried in simplified representation [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_9 core_5_3_2_4 http_7_2 since_v1.9.1 ${list_relationship_entity_id} ${EMPTY} keyValues buildings-list-relationship-simplified-019-32-04.json 019_32_05 Query Inline Normalized [Documentation] Check that a ListRelationship can be queried with inline linked entities [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_9 core_7_7 http_7_2 since_v1.9.1 ${list_relationship_entity_id} inline ${EMPTY} linked-entity-retrieval/buildings-list-relationship-inline-019-32-05.json 019_32_06 Query Flat Normalized [Documentation] Check that a ListRelationship can be queried with flat linked entities [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_9 core_7_7 http_7_2 since_v1.9.1 ${list_relationship_entity_id} flat ${EMPTY} linked-entity-retrieval/buildings-list-relationship-flat-019-32-06.json 019_32_07 Query Inline Simplified [Documentation] Check that a ListRelationship can be queried inline in simplified representation [Tags] ... e-query ... core_10_4_3 ... http_7_2_3_1 ... core_5_2_6_4_9 ... core_7_7 ... core_5_3_2_4 ... http_7_2 ... since_v1.9.1 ${list_relationship_entity_id} inline keyValues linked-entity-retrieval/buildings-list-relationship-inline-simplified-019-32-07.json *** Keywords *** Query Entities With List Attributes [Documentation] Check that entities with a list attribute can be queried [Arguments] ${entity_id} ${join} ${options} ${expectation_filename} ${join_level}= Set Variable If '${join}' == '${EMPTY}' ${EMPTY} 1 ${response}= Query Entities ... entity_ids=${entity_id} ... entity_types=Building ... options=${options} ... join=${join} ... joinLevel=${join_level} ... context=${ngsild_test_suite_context} Check Response Status Code 200 ${response.status_code} Check Response Body Content ... expectation_filename=${expectation_filename} ... response_body=${response.json()} Create Initial Entities ${list_property_entity_id}= Catenate ${BUILDING_ID_PREFIX}019-32-list-property Set Suite Variable ${list_property_entity_id} ${response}= Create Entity Selecting Content Type ... ${list_property_entity_filename} ... ${list_property_entity_id} ... ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} ${list_relationship_entity_id}= Catenate ${BUILDING_ID_PREFIX}019-32-list-relationship Set Suite Variable ${list_relationship_entity_id} ${response}= Create Entity Selecting Content Type ... ${list_relationship_entity_filename} ... ${list_relationship_entity_id} ... ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} ${first_linked_entity_id}= Catenate ${CITY_ID_PREFIX}Paris Set Suite Variable ${first_linked_entity_id} ${response}= Create Entity Selecting Content Type ... ${linked_entity_filename} ... ${first_linked_entity_id} ... ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} ${second_linked_entity_id}= Catenate ${CITY_ID_PREFIX}Lyon Set Suite Variable ${second_linked_entity_id} ${response}= Create Entity Selecting Content Type ... ${linked_entity_filename} ... ${second_linked_entity_id} ... ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} Delete Created Entities Delete Entity ${list_property_entity_id} Delete Entity ${list_relationship_entity_id} Delete Entity ${first_linked_entity_id} Delete Entity ${second_linked_entity_id} TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_33.robot 0 → 100644 +101 −0 Changes for TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_33.robot: 101 added lines, 0 removed lines. Original line number Diff line number Diff line *** Settings *** Documentation Check that one can query entities based on q on ListProperty or ListRelationship values Resource ${EXECDIR}/resources/ApiUtils/Common.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/AssertionUtils.resource Suite Setup Setup Initial Entities Suite Teardown Delete Entities Test Template Query Entities Based On Q On A List Attribute *** Variables *** ${PARIS_URI}= urn:ngsi-ld:City:Paris ${LYON_URI}= urn:ngsi-ld:City:Lyon ${MARSEILLE_URI}= urn:ngsi-ld:City:Marseille *** Test Cases *** Q EXPECTED_COUNT 019_33_01 Query ListProperty Equal To Good [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_8 http_7_2 core_7_2_3 since_v1.9.1 airQualityLevel=="good" 1 019_33_02 Query ListProperty Equal To Moderate [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_8 http_7_2 core_7_2_3 since_v1.9.1 airQualityLevel=="moderate" 2 019_33_03 Query ListProperty Unequal To Good [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_8 http_7_2 core_7_2_3 since_v1.9.1 airQualityLevel!="good" 1 019_33_04 Query ListProperty Equal To A Value List [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_8 http_7_2 core_7_2_3 since_v1.9.1 airQualityLevel=="good","poor" 2 019_33_05 Query ListProperty Unequal To A Value List [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_8 http_7_2 core_7_2_3 since_v1.9.1 airQualityLevel!="good","poor" 0 019_33_06 Query ListRelationship Equal To Paris [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_9 http_7_2 core_7_2_3 since_v1.9.1 locatedAt=="${PARIS_URI}" 1 019_33_07 Query ListRelationship Equal To Lyon [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_9 http_7_2 core_7_2_3 since_v1.9.1 locatedAt=="${LYON_URI}" 2 019_33_08 Query ListRelationship Unequal To Paris [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_9 http_7_2 core_7_2_3 since_v1.9.1 locatedAt!="${PARIS_URI}" 1 019_33_09 Query ListRelationship Equal To An Object List [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_9 http_7_2 core_7_2_3 since_v1.9.1 locatedAt=="${PARIS_URI}","${MARSEILLE_URI}" 2 019_33_10 Query ListRelationship Unequal To An Object List [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_9 http_7_2 core_7_2_3 since_v1.9.1 locatedAt!="${PARIS_URI}","${MARSEILLE_URI}" 0 *** Keywords *** Query Entities Based On Q On A List Attribute [Documentation] Check that one can query entities based on q on a list attribute [Arguments] ${q} ${expected_count} ${response}= Query Entities ... q=${q} ... count=true ... context=${ngsild_test_suite_context} Check Response Status Code 200 ${response.status_code} Check Response Headers Containing NGSILD-Results-Count Equals To ${expected_count} ${response.headers} Setup Initial Entities ${first_list_property_entity_id}= Generate Random Building Entity Id Set Suite Variable ${first_list_property_entity_id} ${response}= Create Entity Selecting Content Type ... building-list-property.jsonld ... ${first_list_property_entity_id} ... ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} ${second_list_property_entity_id}= Generate Random Building Entity Id Set Suite Variable ${second_list_property_entity_id} ${response}= Create Entity Selecting Content Type ... building-list-property-query-second.jsonld ... ${second_list_property_entity_id} ... ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} ${first_list_relationship_entity_id}= Generate Random Building Entity Id Set Suite Variable ${first_list_relationship_entity_id} ${response}= Create Entity Selecting Content Type ... building-list-relationship.jsonld ... ${first_list_relationship_entity_id} ... ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} ${second_list_relationship_entity_id}= Generate Random Building Entity Id Set Suite Variable ${second_list_relationship_entity_id} ${response}= Create Entity Selecting Content Type ... building-list-relationship-query-second.jsonld ... ${second_list_relationship_entity_id} ... ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} Delete Entities Delete Entity ${first_list_property_entity_id} Delete Entity ${second_list_property_entity_id} Delete Entity ${first_list_relationship_entity_id} Delete Entity ${second_list_relationship_entity_id} TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_35.robot 0 → 100644 +52 −0 Changes for TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_35.robot: 52 added lines, 0 removed lines. Original line number Diff line number Diff line *** Settings *** Documentation Check that entities can be queried in a concise representation for every kind of attribute Resource ${EXECDIR}/resources/ApiUtils/Common.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/AssertionUtils.resource Resource ${EXECDIR}/resources/JsonUtils.resource Test Teardown Delete Created Entity Test Template Query Entities In A Concise Representation *** Test Cases *** EXPECTATION_FILENAME 019_35_01 ListProperty [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_8 core_5_3_2_3 http_7_2 since_v1.9.1 [Setup] Create Initial Entity building-list-property.jsonld concise/building-list-property-concise.json 019_35_02 ListRelationship [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_9 core_5_3_2_3 http_7_2 since_v1.9.1 [Setup] Create Initial Entity building-list-relationship.jsonld concise/building-list-relationship-concise.json *** Keywords *** Query Entities In A Concise Representation [Documentation] Check that entities can be queried in a concise representation for a given kind of attribute [Arguments] ${expectation_filename} ${response}= Query Entities ... entity_ids=${entity_id} ... entity_types=Building ... format=concise ... context=${ngsild_test_suite_context} Check Response Status Code 200 ${response.status_code} Check Response Body Containing Entity element ... ${expectation_filename} ... ${entity_id} ... ${response.json()[0]} ... ${True} Create Initial Entity [Arguments] ${source_filename} ${entity_id}= Generate Random Building Entity Id Set Test Variable ${entity_id} ${response}= Create Entity Selecting Content Type ... ${source_filename} ... ${entity_id} ... ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} Delete Created Entity Delete Entity ${entity_id} TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_24.robot 0 → 100644 +119 −0 Changes for TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_24.robot: 119 added lines, 0 removed lines. Original line number Diff line number Diff line *** Settings *** Documentation Check that entities with ListProperty or ListRelationship attributes can be retrieved Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource Resource ${EXECDIR}/resources/AssertionUtils.resource Resource ${EXECDIR}/resources/JsonUtils.resource Suite Setup Create Initial Entities Suite Teardown Delete Created Entities Test Template Retrieve Entity With List Attributes *** Variables *** ${list_property_entity_filename}= building-list-property-ordered.jsonld ${list_relationship_entity_filename}= building-list-relationship.jsonld ${linked_entity_filename}= city-minimal.jsonld *** Test Cases *** ENTITY_ID JOIN OPTIONS EXPECTATION_FILENAME IGNORE_ORDER 018_24_01 Retrieve Normalized ListProperty [Documentation] Check that a ListProperty can be retrieved in normalized representation [Tags] e-retrieve core_10_4_2 http_7_3_3_1 core_5_2_6_4_8 core_5_3_2_2 http_7_3 since_v1.9.1 ${list_property_entity_id} ${EMPTY} ${EMPTY} building-list-property-normalized-018-24-01.json 018_24_02 Retrieve Simplified ListProperty [Documentation] Check that a ListProperty can be retrieved in simplified representation [Tags] e-retrieve core_10_4_2 http_7_3_3_1 core_5_2_6_4_8 core_5_3_2_4 http_7_3 since_v1.9.1 ${list_property_entity_id} ${EMPTY} keyValues building-list-property-simplified-018-24-02.json 018_24_03 Retrieve Normalized ListRelationship [Documentation] Check that a ListRelationship can be retrieved in normalized representation [Tags] e-retrieve core_10_4_2 http_7_3_3_1 core_5_2_6_4_9 core_5_3_2_2 http_7_3 since_v1.9.1 ${list_relationship_entity_id} ${EMPTY} ${EMPTY} building-list-relationship-normalized-018-24-03.json 018_24_04 Retrieve Simplified ListRelationship [Documentation] Check that a ListRelationship can be retrieved in simplified representation [Tags] e-retrieve core_10_4_2 http_7_3_3_1 core_5_2_6_4_9 core_5_3_2_4 http_7_3 since_v1.9.1 ${list_relationship_entity_id} ${EMPTY} keyValues building-list-relationship-simplified-018-24-04.json 018_24_05 Retrieve Normalized With Inline Linked Entity Retrieval [Documentation] Check that a ListRelationship can be retrieved with inline linked entities [Tags] e-retrieve core_10_4_2 http_7_3_3_1 core_5_2_6_4_9 core_7_7 http_7_3 since_v1.9.1 ${list_relationship_entity_id} inline ${EMPTY} linked-entity-retrieval/building-list-relationship-inline-018-24-05.json 018_24_06 Retrieve Normalized With Flat Linked Entity Retrieval [Documentation] Check that a ListRelationship can be retrieved with flat linked entities [Tags] e-retrieve core_10_4_2 http_7_3_3_1 core_5_2_6_4_9 core_7_7 http_7_3 since_v1.9.1 ${list_relationship_entity_id} ... flat ... ${EMPTY} ... linked-entity-retrieval/building-list-relationship-flat-018-24-06.json ... ${True} 018_24_07 Retrieve Simplified With Inline Linked Entity Retrieval [Documentation] Check that a ListRelationship can be retrieved inline in simplified representation [Tags] ... e-retrieve ... core_10_4_2 ... http_7_3_3_1 ... core_5_2_6_4_9 ... core_7_7 ... core_5_3_2_4 ... http_7_3 ... since_v1.9.1 ${list_relationship_entity_id} inline keyValues linked-entity-retrieval/building-list-relationship-inline-simplified-018-24-07.json *** Keywords *** Retrieve Entity With List Attributes [Documentation] Check that an entity with a list attribute can be retrieved [Arguments] ${entity_id} ${join} ${options} ${expectation_filename} ${ignore_order}=${False} ${join_level}= Set Variable If '${join}' == '${EMPTY}' ${EMPTY} 1 ${response}= Retrieve Entity ... id=${entity_id} ... join=${join} ... joinLevel=${join_level} ... options=${options} ... context=${ngsild_test_suite_context} Check Response Status Code 200 ${response.status_code} Check Response Body Content ... expectation_filename=${expectation_filename} ... response_body=${response.json()} ... ignore_order=${ignore_order} Create Initial Entities ${list_property_entity_id}= Catenate ${BUILDING_ID_PREFIX}018-24-list-property Set Suite Variable ${list_property_entity_id} ${response}= Create Entity Selecting Content Type ... ${list_property_entity_filename} ... ${list_property_entity_id} ... ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} ${list_relationship_entity_id}= Catenate ${BUILDING_ID_PREFIX}018-24-list-relationship Set Suite Variable ${list_relationship_entity_id} ${response}= Create Entity Selecting Content Type ... ${list_relationship_entity_filename} ... ${list_relationship_entity_id} ... ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} ${first_linked_entity_id}= Catenate ${CITY_ID_PREFIX}Paris Set Suite Variable ${first_linked_entity_id} ${response}= Create Entity Selecting Content Type ... ${linked_entity_filename} ... ${first_linked_entity_id} ... ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} ${second_linked_entity_id}= Catenate ${CITY_ID_PREFIX}Lyon Set Suite Variable ${second_linked_entity_id} ${response}= Create Entity Selecting Content Type ... ${linked_entity_filename} ... ${second_linked_entity_id} ... ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} Delete Created Entities Delete Entity ${list_property_entity_id} Delete Entity ${list_relationship_entity_id} Delete Entity ${first_linked_entity_id} Delete Entity ${second_linked_entity_id} Loading
TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_02_10.robot 0 → 100644 +101 −0 Changes for TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_02_10.robot: 101 added lines, 0 removed lines. Original line number Diff line number Diff line *** Settings *** Documentation Check that one can query entities via POST based on q on ListProperty or ListRelationship values Resource ${EXECDIR}/resources/ApiUtils/Common.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/AssertionUtils.resource Suite Setup Setup Initial Entities Suite Teardown Delete Entities Test Template Query Entities Via POST Based On Q On A List Attribute *** Variables *** ${PARIS_URI}= urn:ngsi-ld:City:Paris ${LYON_URI}= urn:ngsi-ld:City:Lyon ${MARSEILLE_URI}= urn:ngsi-ld:City:Marseille *** Test Cases *** Q EXPECTED_COUNT 019_02_10_01 Query ListProperty Equal To Good [Tags] e-query core_10_4_3 http_7_12_3_1 core_5_2_6_4_8 http_7_12 core_7_2_3 since_v1.9.1 airQualityLevel=="good" 1 019_02_10_02 Query ListProperty Equal To Moderate [Tags] e-query core_10_4_3 http_7_12_3_1 core_5_2_6_4_8 http_7_12 core_7_2_3 since_v1.9.1 airQualityLevel=="moderate" 2 019_02_10_03 Query ListProperty Unequal To Good [Tags] e-query core_10_4_3 http_7_12_3_1 core_5_2_6_4_8 http_7_12 core_7_2_3 since_v1.9.1 airQualityLevel!="good" 1 019_02_10_04 Query ListProperty Equal To A Value List [Tags] e-query core_10_4_3 http_7_12_3_1 core_5_2_6_4_8 http_7_12 core_7_2_3 since_v1.9.1 airQualityLevel=="good","poor" 2 019_02_10_05 Query ListProperty Unequal To A Value List [Tags] e-query core_10_4_3 http_7_12_3_1 core_5_2_6_4_8 http_7_12 core_7_2_3 since_v1.9.1 airQualityLevel!="good","poor" 0 019_02_10_06 Query ListRelationship Equal To Paris [Tags] e-query core_10_4_3 http_7_12_3_1 core_5_2_6_4_9 http_7_12 core_7_2_3 since_v1.9.1 locatedAt=="${PARIS_URI}" 1 019_02_10_07 Query ListRelationship Equal To Lyon [Tags] e-query core_10_4_3 http_7_12_3_1 core_5_2_6_4_9 http_7_12 core_7_2_3 since_v1.9.1 locatedAt=="${LYON_URI}" 2 019_02_10_08 Query ListRelationship Unequal To Paris [Tags] e-query core_10_4_3 http_7_12_3_1 core_5_2_6_4_9 http_7_12 core_7_2_3 since_v1.9.1 locatedAt!="${PARIS_URI}" 1 019_02_10_09 Query ListRelationship Equal To An Object List [Tags] e-query core_10_4_3 http_7_12_3_1 core_5_2_6_4_9 http_7_12 core_7_2_3 since_v1.9.1 locatedAt=="${PARIS_URI}","${MARSEILLE_URI}" 2 019_02_10_10 Query ListRelationship Unequal To An Object List [Tags] e-query core_10_4_3 http_7_12_3_1 core_5_2_6_4_9 http_7_12 core_7_2_3 since_v1.9.1 locatedAt!="${PARIS_URI}","${MARSEILLE_URI}" 0 *** Keywords *** Query Entities Via POST Based On Q On A List Attribute [Documentation] Check that one can query entities via POST based on q on a list attribute [Arguments] ${q} ${expected_count} ${response}= Query Entities Via POST ... q=${q} ... count=true ... context=${ngsild_test_suite_context} Check Response Status Code 200 ${response.status_code} Check Response Headers Containing NGSILD-Results-Count Equals To ${expected_count} ${response.headers} Setup Initial Entities ${first_list_property_entity_id}= Generate Random Building Entity Id Set Suite Variable ${first_list_property_entity_id} ${response}= Create Entity Selecting Content Type ... building-list-property.jsonld ... ${first_list_property_entity_id} ... ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} ${second_list_property_entity_id}= Generate Random Building Entity Id Set Suite Variable ${second_list_property_entity_id} ${response}= Create Entity Selecting Content Type ... building-list-property-query-second.jsonld ... ${second_list_property_entity_id} ... ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} ${first_list_relationship_entity_id}= Generate Random Building Entity Id Set Suite Variable ${first_list_relationship_entity_id} ${response}= Create Entity Selecting Content Type ... building-list-relationship.jsonld ... ${first_list_relationship_entity_id} ... ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} ${second_list_relationship_entity_id}= Generate Random Building Entity Id Set Suite Variable ${second_list_relationship_entity_id} ${response}= Create Entity Selecting Content Type ... building-list-relationship-query-second.jsonld ... ${second_list_relationship_entity_id} ... ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} Delete Entities Delete Entity ${first_list_property_entity_id} Delete Entity ${second_list_property_entity_id} Delete Entity ${first_list_relationship_entity_id} Delete Entity ${second_list_relationship_entity_id}
TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_32.robot 0 → 100644 +115 −0 Changes for TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_32.robot: 115 added lines, 0 removed lines. Original line number Diff line number Diff line *** Settings *** Documentation Check that entities with ListProperty or ListRelationship attributes can be queried Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource Resource ${EXECDIR}/resources/AssertionUtils.resource Resource ${EXECDIR}/resources/JsonUtils.resource Suite Setup Create Initial Entities Suite Teardown Delete Created Entities Test Template Query Entities With List Attributes *** Variables *** ${list_property_entity_filename}= building-list-property.jsonld ${list_relationship_entity_filename}= building-list-relationship.jsonld ${linked_entity_filename}= city-minimal.jsonld *** Test Cases *** ENTITY_ID JOIN OPTIONS EXPECTATION_FILENAME 019_32_01 Query Normalized ListProperty [Documentation] Check that a ListProperty can be queried in normalized representation [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_8 core_5_3_2_2 http_7_2 since_v1.9.1 ${list_property_entity_id} ${EMPTY} ${EMPTY} buildings-list-property-normalized-019-32-01.json 019_32_02 Query Simplified ListProperty [Documentation] Check that a ListProperty can be queried in simplified representation [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_8 core_5_3_2_4 http_7_2 since_v1.9.1 ${list_property_entity_id} ${EMPTY} keyValues buildings-list-property-simplified-019-32-02.json 019_32_03 Query Normalized ListRelationship [Documentation] Check that a ListRelationship can be queried in normalized representation [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_9 core_5_3_2_2 http_7_2 since_v1.9.1 ${list_relationship_entity_id} ${EMPTY} ${EMPTY} buildings-list-relationship-normalized-019-32-03.json 019_32_04 Query Simplified ListRelationship [Documentation] Check that a ListRelationship can be queried in simplified representation [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_9 core_5_3_2_4 http_7_2 since_v1.9.1 ${list_relationship_entity_id} ${EMPTY} keyValues buildings-list-relationship-simplified-019-32-04.json 019_32_05 Query Inline Normalized [Documentation] Check that a ListRelationship can be queried with inline linked entities [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_9 core_7_7 http_7_2 since_v1.9.1 ${list_relationship_entity_id} inline ${EMPTY} linked-entity-retrieval/buildings-list-relationship-inline-019-32-05.json 019_32_06 Query Flat Normalized [Documentation] Check that a ListRelationship can be queried with flat linked entities [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_9 core_7_7 http_7_2 since_v1.9.1 ${list_relationship_entity_id} flat ${EMPTY} linked-entity-retrieval/buildings-list-relationship-flat-019-32-06.json 019_32_07 Query Inline Simplified [Documentation] Check that a ListRelationship can be queried inline in simplified representation [Tags] ... e-query ... core_10_4_3 ... http_7_2_3_1 ... core_5_2_6_4_9 ... core_7_7 ... core_5_3_2_4 ... http_7_2 ... since_v1.9.1 ${list_relationship_entity_id} inline keyValues linked-entity-retrieval/buildings-list-relationship-inline-simplified-019-32-07.json *** Keywords *** Query Entities With List Attributes [Documentation] Check that entities with a list attribute can be queried [Arguments] ${entity_id} ${join} ${options} ${expectation_filename} ${join_level}= Set Variable If '${join}' == '${EMPTY}' ${EMPTY} 1 ${response}= Query Entities ... entity_ids=${entity_id} ... entity_types=Building ... options=${options} ... join=${join} ... joinLevel=${join_level} ... context=${ngsild_test_suite_context} Check Response Status Code 200 ${response.status_code} Check Response Body Content ... expectation_filename=${expectation_filename} ... response_body=${response.json()} Create Initial Entities ${list_property_entity_id}= Catenate ${BUILDING_ID_PREFIX}019-32-list-property Set Suite Variable ${list_property_entity_id} ${response}= Create Entity Selecting Content Type ... ${list_property_entity_filename} ... ${list_property_entity_id} ... ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} ${list_relationship_entity_id}= Catenate ${BUILDING_ID_PREFIX}019-32-list-relationship Set Suite Variable ${list_relationship_entity_id} ${response}= Create Entity Selecting Content Type ... ${list_relationship_entity_filename} ... ${list_relationship_entity_id} ... ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} ${first_linked_entity_id}= Catenate ${CITY_ID_PREFIX}Paris Set Suite Variable ${first_linked_entity_id} ${response}= Create Entity Selecting Content Type ... ${linked_entity_filename} ... ${first_linked_entity_id} ... ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} ${second_linked_entity_id}= Catenate ${CITY_ID_PREFIX}Lyon Set Suite Variable ${second_linked_entity_id} ${response}= Create Entity Selecting Content Type ... ${linked_entity_filename} ... ${second_linked_entity_id} ... ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} Delete Created Entities Delete Entity ${list_property_entity_id} Delete Entity ${list_relationship_entity_id} Delete Entity ${first_linked_entity_id} Delete Entity ${second_linked_entity_id}
TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_33.robot 0 → 100644 +101 −0 Changes for TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_33.robot: 101 added lines, 0 removed lines. Original line number Diff line number Diff line *** Settings *** Documentation Check that one can query entities based on q on ListProperty or ListRelationship values Resource ${EXECDIR}/resources/ApiUtils/Common.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/AssertionUtils.resource Suite Setup Setup Initial Entities Suite Teardown Delete Entities Test Template Query Entities Based On Q On A List Attribute *** Variables *** ${PARIS_URI}= urn:ngsi-ld:City:Paris ${LYON_URI}= urn:ngsi-ld:City:Lyon ${MARSEILLE_URI}= urn:ngsi-ld:City:Marseille *** Test Cases *** Q EXPECTED_COUNT 019_33_01 Query ListProperty Equal To Good [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_8 http_7_2 core_7_2_3 since_v1.9.1 airQualityLevel=="good" 1 019_33_02 Query ListProperty Equal To Moderate [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_8 http_7_2 core_7_2_3 since_v1.9.1 airQualityLevel=="moderate" 2 019_33_03 Query ListProperty Unequal To Good [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_8 http_7_2 core_7_2_3 since_v1.9.1 airQualityLevel!="good" 1 019_33_04 Query ListProperty Equal To A Value List [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_8 http_7_2 core_7_2_3 since_v1.9.1 airQualityLevel=="good","poor" 2 019_33_05 Query ListProperty Unequal To A Value List [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_8 http_7_2 core_7_2_3 since_v1.9.1 airQualityLevel!="good","poor" 0 019_33_06 Query ListRelationship Equal To Paris [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_9 http_7_2 core_7_2_3 since_v1.9.1 locatedAt=="${PARIS_URI}" 1 019_33_07 Query ListRelationship Equal To Lyon [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_9 http_7_2 core_7_2_3 since_v1.9.1 locatedAt=="${LYON_URI}" 2 019_33_08 Query ListRelationship Unequal To Paris [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_9 http_7_2 core_7_2_3 since_v1.9.1 locatedAt!="${PARIS_URI}" 1 019_33_09 Query ListRelationship Equal To An Object List [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_9 http_7_2 core_7_2_3 since_v1.9.1 locatedAt=="${PARIS_URI}","${MARSEILLE_URI}" 2 019_33_10 Query ListRelationship Unequal To An Object List [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_9 http_7_2 core_7_2_3 since_v1.9.1 locatedAt!="${PARIS_URI}","${MARSEILLE_URI}" 0 *** Keywords *** Query Entities Based On Q On A List Attribute [Documentation] Check that one can query entities based on q on a list attribute [Arguments] ${q} ${expected_count} ${response}= Query Entities ... q=${q} ... count=true ... context=${ngsild_test_suite_context} Check Response Status Code 200 ${response.status_code} Check Response Headers Containing NGSILD-Results-Count Equals To ${expected_count} ${response.headers} Setup Initial Entities ${first_list_property_entity_id}= Generate Random Building Entity Id Set Suite Variable ${first_list_property_entity_id} ${response}= Create Entity Selecting Content Type ... building-list-property.jsonld ... ${first_list_property_entity_id} ... ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} ${second_list_property_entity_id}= Generate Random Building Entity Id Set Suite Variable ${second_list_property_entity_id} ${response}= Create Entity Selecting Content Type ... building-list-property-query-second.jsonld ... ${second_list_property_entity_id} ... ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} ${first_list_relationship_entity_id}= Generate Random Building Entity Id Set Suite Variable ${first_list_relationship_entity_id} ${response}= Create Entity Selecting Content Type ... building-list-relationship.jsonld ... ${first_list_relationship_entity_id} ... ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} ${second_list_relationship_entity_id}= Generate Random Building Entity Id Set Suite Variable ${second_list_relationship_entity_id} ${response}= Create Entity Selecting Content Type ... building-list-relationship-query-second.jsonld ... ${second_list_relationship_entity_id} ... ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} Delete Entities Delete Entity ${first_list_property_entity_id} Delete Entity ${second_list_property_entity_id} Delete Entity ${first_list_relationship_entity_id} Delete Entity ${second_list_relationship_entity_id}
TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_35.robot 0 → 100644 +52 −0 Changes for TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_35.robot: 52 added lines, 0 removed lines. Original line number Diff line number Diff line *** Settings *** Documentation Check that entities can be queried in a concise representation for every kind of attribute Resource ${EXECDIR}/resources/ApiUtils/Common.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/AssertionUtils.resource Resource ${EXECDIR}/resources/JsonUtils.resource Test Teardown Delete Created Entity Test Template Query Entities In A Concise Representation *** Test Cases *** EXPECTATION_FILENAME 019_35_01 ListProperty [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_8 core_5_3_2_3 http_7_2 since_v1.9.1 [Setup] Create Initial Entity building-list-property.jsonld concise/building-list-property-concise.json 019_35_02 ListRelationship [Tags] e-query core_10_4_3 http_7_2_3_1 core_5_2_6_4_9 core_5_3_2_3 http_7_2 since_v1.9.1 [Setup] Create Initial Entity building-list-relationship.jsonld concise/building-list-relationship-concise.json *** Keywords *** Query Entities In A Concise Representation [Documentation] Check that entities can be queried in a concise representation for a given kind of attribute [Arguments] ${expectation_filename} ${response}= Query Entities ... entity_ids=${entity_id} ... entity_types=Building ... format=concise ... context=${ngsild_test_suite_context} Check Response Status Code 200 ${response.status_code} Check Response Body Containing Entity element ... ${expectation_filename} ... ${entity_id} ... ${response.json()[0]} ... ${True} Create Initial Entity [Arguments] ${source_filename} ${entity_id}= Generate Random Building Entity Id Set Test Variable ${entity_id} ${response}= Create Entity Selecting Content Type ... ${source_filename} ... ${entity_id} ... ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} Delete Created Entity Delete Entity ${entity_id}
TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_24.robot 0 → 100644 +119 −0 Changes for TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_24.robot: 119 added lines, 0 removed lines. Original line number Diff line number Diff line *** Settings *** Documentation Check that entities with ListProperty or ListRelationship attributes can be retrieved Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource Resource ${EXECDIR}/resources/AssertionUtils.resource Resource ${EXECDIR}/resources/JsonUtils.resource Suite Setup Create Initial Entities Suite Teardown Delete Created Entities Test Template Retrieve Entity With List Attributes *** Variables *** ${list_property_entity_filename}= building-list-property-ordered.jsonld ${list_relationship_entity_filename}= building-list-relationship.jsonld ${linked_entity_filename}= city-minimal.jsonld *** Test Cases *** ENTITY_ID JOIN OPTIONS EXPECTATION_FILENAME IGNORE_ORDER 018_24_01 Retrieve Normalized ListProperty [Documentation] Check that a ListProperty can be retrieved in normalized representation [Tags] e-retrieve core_10_4_2 http_7_3_3_1 core_5_2_6_4_8 core_5_3_2_2 http_7_3 since_v1.9.1 ${list_property_entity_id} ${EMPTY} ${EMPTY} building-list-property-normalized-018-24-01.json 018_24_02 Retrieve Simplified ListProperty [Documentation] Check that a ListProperty can be retrieved in simplified representation [Tags] e-retrieve core_10_4_2 http_7_3_3_1 core_5_2_6_4_8 core_5_3_2_4 http_7_3 since_v1.9.1 ${list_property_entity_id} ${EMPTY} keyValues building-list-property-simplified-018-24-02.json 018_24_03 Retrieve Normalized ListRelationship [Documentation] Check that a ListRelationship can be retrieved in normalized representation [Tags] e-retrieve core_10_4_2 http_7_3_3_1 core_5_2_6_4_9 core_5_3_2_2 http_7_3 since_v1.9.1 ${list_relationship_entity_id} ${EMPTY} ${EMPTY} building-list-relationship-normalized-018-24-03.json 018_24_04 Retrieve Simplified ListRelationship [Documentation] Check that a ListRelationship can be retrieved in simplified representation [Tags] e-retrieve core_10_4_2 http_7_3_3_1 core_5_2_6_4_9 core_5_3_2_4 http_7_3 since_v1.9.1 ${list_relationship_entity_id} ${EMPTY} keyValues building-list-relationship-simplified-018-24-04.json 018_24_05 Retrieve Normalized With Inline Linked Entity Retrieval [Documentation] Check that a ListRelationship can be retrieved with inline linked entities [Tags] e-retrieve core_10_4_2 http_7_3_3_1 core_5_2_6_4_9 core_7_7 http_7_3 since_v1.9.1 ${list_relationship_entity_id} inline ${EMPTY} linked-entity-retrieval/building-list-relationship-inline-018-24-05.json 018_24_06 Retrieve Normalized With Flat Linked Entity Retrieval [Documentation] Check that a ListRelationship can be retrieved with flat linked entities [Tags] e-retrieve core_10_4_2 http_7_3_3_1 core_5_2_6_4_9 core_7_7 http_7_3 since_v1.9.1 ${list_relationship_entity_id} ... flat ... ${EMPTY} ... linked-entity-retrieval/building-list-relationship-flat-018-24-06.json ... ${True} 018_24_07 Retrieve Simplified With Inline Linked Entity Retrieval [Documentation] Check that a ListRelationship can be retrieved inline in simplified representation [Tags] ... e-retrieve ... core_10_4_2 ... http_7_3_3_1 ... core_5_2_6_4_9 ... core_7_7 ... core_5_3_2_4 ... http_7_3 ... since_v1.9.1 ${list_relationship_entity_id} inline keyValues linked-entity-retrieval/building-list-relationship-inline-simplified-018-24-07.json *** Keywords *** Retrieve Entity With List Attributes [Documentation] Check that an entity with a list attribute can be retrieved [Arguments] ${entity_id} ${join} ${options} ${expectation_filename} ${ignore_order}=${False} ${join_level}= Set Variable If '${join}' == '${EMPTY}' ${EMPTY} 1 ${response}= Retrieve Entity ... id=${entity_id} ... join=${join} ... joinLevel=${join_level} ... options=${options} ... context=${ngsild_test_suite_context} Check Response Status Code 200 ${response.status_code} Check Response Body Content ... expectation_filename=${expectation_filename} ... response_body=${response.json()} ... ignore_order=${ignore_order} Create Initial Entities ${list_property_entity_id}= Catenate ${BUILDING_ID_PREFIX}018-24-list-property Set Suite Variable ${list_property_entity_id} ${response}= Create Entity Selecting Content Type ... ${list_property_entity_filename} ... ${list_property_entity_id} ... ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} ${list_relationship_entity_id}= Catenate ${BUILDING_ID_PREFIX}018-24-list-relationship Set Suite Variable ${list_relationship_entity_id} ${response}= Create Entity Selecting Content Type ... ${list_relationship_entity_filename} ... ${list_relationship_entity_id} ... ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} ${first_linked_entity_id}= Catenate ${CITY_ID_PREFIX}Paris Set Suite Variable ${first_linked_entity_id} ${response}= Create Entity Selecting Content Type ... ${linked_entity_filename} ... ${first_linked_entity_id} ... ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} ${second_linked_entity_id}= Catenate ${CITY_ID_PREFIX}Lyon Set Suite Variable ${second_linked_entity_id} ${response}= Create Entity Selecting Content Type ... ${linked_entity_filename} ... ${second_linked_entity_id} ... ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} Delete Created Entities Delete Entity ${list_property_entity_id} Delete Entity ${list_relationship_entity_id} Delete Entity ${first_linked_entity_id} Delete Entity ${second_linked_entity_id}