diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableAttributeInformation/027_01_01.robot b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableAttributeInformation/027_01_01.robot index 8a474bff8c8aa410f78350bd6a84251dd90860f9..2fadeb4ca2408de51bd6abcb4f6854f354d745e1 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableAttributeInformation/027_01_01.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableAttributeInformation/027_01_01.robot @@ -14,7 +14,7 @@ ${filename}= building-simple-attributes-sample.json *** Test Case *** Retrieve Detailed Representation Of Available Attribute Without Context [Documentation] Check that you cannot retrieve a detailed representation of an unknown NGSI-LD attribute - [Tags] mandatory + [Tags] ed-attr 5_7_10 Retrieve Attribute attribute_name=airQualityLevel diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableAttributeInformation/027_01_02.robot b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableAttributeInformation/027_01_02.robot index 9540d0e0fd4a15e33720b21e0a4e6f4fb55669b4..34c6949b8e9dd20a6179955161ef1d08c2c94178 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableAttributeInformation/027_01_02.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableAttributeInformation/027_01_02.robot @@ -15,7 +15,7 @@ ${expectation_file}= types/expectations/attribute-027-01-expectation.json *** Test Case *** Retrieve Detailed Representation Of Available Attribute [Documentation] Check that you can retrieve a list with a detailed representation of NGSI-LD attributes - [Tags] mandatory + [Tags] ed-attr 5_7_10 Retrieve Attribute attribute_name=airQualityLevel context=${ngsild_test_suite_context} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableAttributes/025_01.robot b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableAttributes/025_01.robot index 1ac097d1140758892f15e2dc684b0ad7707a6cf9..ce78ce6b5cc02f85dd6a75ed080bc9607b5aa10b 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableAttributes/025_01.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableAttributes/025_01.robot @@ -14,13 +14,14 @@ ${filename}= building-simple-attributes-sample.json *** Test Cases *** CONTEXT EXPECTATION_FILE WithoutJsonLdContext ${EMPTY} types/expectations/attribute-list-025-01-01-expectation.json + [Tags] ed-attrs 5_7_8 WithJsonLdContext ${ngsild_test_suite_context} types/expectations/attribute-list-025-01-02-expectation.json + [Tags] ed-attrs 5_7_8 *** Keywords *** Retrieve Available Attributes [Arguments] ${context} ${expectation_file} [Documentation] Check that you can retrieve a list of NGSI-LD attributes - [Tags] mandatory Retrieve Attributes ${context} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableEntityTypeInformation/024_01_01.robot b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableEntityTypeInformation/024_01_01.robot index 24e0143b6e27a6fea9e8823aef3bc8dd133a0f55..f58d3b95bd4ce0244185ccdec8cf21610585b123 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableEntityTypeInformation/024_01_01.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableEntityTypeInformation/024_01_01.robot @@ -14,7 +14,7 @@ ${filename}= building-simple-attributes-sample.json *** Test Case *** Retrieve Detailed Representation Of Available Entity Type Without Context [Documentation] Check that you cannot retrieve a detailed representation of an unknown NGSI-LD entity type - [Tags] mandatory + [Tags] ed-type 5_7_7 Retrieve Entity Type type=Building diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableEntityTypeInformation/024_01_02.robot b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableEntityTypeInformation/024_01_02.robot index 7b0c3efea533f8c8db80c08cc4464c66df10293f..be6d2581e053e2fe97a08d4b64b634be0d622275 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableEntityTypeInformation/024_01_02.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableEntityTypeInformation/024_01_02.robot @@ -15,7 +15,7 @@ ${expectation_file}= types/expectations/entity-type-info-024-01-expectation.jso *** Test Case *** Retrieve Detailed Representation Of Available Entity Type [Documentation] Check that you can retrieve a detailed representation of a specified NGSI-LD entity type - [Tags] mandatory + [Tags] ed-type 5_7_7 Retrieve Entity Type type=Building context=${ngsild_test_suite_context} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableEntityTypes/022_01.robot b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableEntityTypes/022_01.robot index 3fd3571d306f189011d5af7571cd11e1a0865d7b..50c1d45282957ef24fd17e30703543f7993fff2d 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableEntityTypes/022_01.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableEntityTypes/022_01.robot @@ -16,13 +16,14 @@ ${second_filename}= vehicle-simple-attributes-sample.json *** Test Cases *** CONTEXT EXPECTATION_FILE WithoutJsonLdContext ${EMPTY} types/expectations/entity-type-list-022-01-01-expectation.json + [Tags] ed-types 5_7_5 WithJsonLdContext ${ngsild_test_suite_context} types/expectations/entity-type-list-022-01-02-expectation.json + [Tags] ed-types 5_7_5 *** Keywords *** Retrieve Available Entity Types [Arguments] ${context} ${expectation_file} [Documentation] Check that you can retrieve a list of NGSI-LD entity types - [Tags] mandatory Retrieve Entity Types ${context} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveDetailsOfAvailableAttributes/026_01.robot b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveDetailsOfAvailableAttributes/026_01.robot index b0660b73388b6c987b135ba67eb4c2bee4b8ffb9..bf74cec7c664666c0ce3a50e3cbab2179cd99210 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveDetailsOfAvailableAttributes/026_01.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveDetailsOfAvailableAttributes/026_01.robot @@ -14,13 +14,14 @@ ${filename}= building-simple-attributes-sample.json *** Test Cases *** CONTEXT EXPECTATION_FILE WithoutJsonLdContext ${EMPTY} types/expectations/attribute-026-01-01-expectation.json + [Tags] ed-attrs-details 5_7_9 WithJsonLdContext ${ngsild_test_suite_context} types/expectations/attribute-026-01-02-expectation.json + [Tags] ed-attrs-details 5_7_9 *** Keywords *** Retrieve Details Of Available Attributes [Arguments] ${context} ${expectation_file} [Documentation] Check that you can retrieve a list with a detailed representation of NGSI-LD attributes - [Tags] mandatory Retrieve Attributes context=${context} details=${TRUE} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveDetailsOfAvailableEntityTypes/023_01.robot b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveDetailsOfAvailableEntityTypes/023_01.robot index 4fa7b912cf1779f2039f3f361206901284184f25..5ea6183a058a3faf8dc5bd125bd633e97cd0cf53 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveDetailsOfAvailableEntityTypes/023_01.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveDetailsOfAvailableEntityTypes/023_01.robot @@ -16,13 +16,14 @@ ${second_filename}= vehicle-simple-attributes-sample.json *** Test Cases *** CONTEXT EXPECTATION_FILE WithoutJsonLdContext ${EMPTY} types/expectations/entity-type-023-01-01-expectation.json + [Tags] ed-types-details 5_7_6 WithJsonLdContext ${ngsild_test_suite_context} types/expectations/entity-type-023-01-02-expectation.json + [Tags] ed-types-details 5_7_6 *** Keywords *** Retrieve Details Of Available Entity Types [Arguments] ${context} ${expectation_file} [Documentation] Check that you can retrieve a list with a detailed representation of NGSI-LD entity types - [Tags] mandatory Retrieve Entity Types context=${context} details=${TRUE} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_06.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_06.robot index c380f352574cda3124208e5598595159855500ab..3c731c3ff2c60efd0209e3e1fe29de8e6df17cf0 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_06.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_06.robot @@ -17,13 +17,14 @@ ${creation_jsonld_expectation_filename}= building-simple-attributes-sample-comp *** Test Cases *** CONTEXT EXPECTED_PAYLOAD EmptyJsonLdContext ${EMPTY} ${empty_jsonld_expectation_filename} + [Tags] e-retrieve 6_3_5 CreationTimeJsonLdContext ${ngsild_test_suite_context} ${creation_jsonld_expectation_filename} + [Tags] e-retrieve 6_3_5 *** Keywords *** Check Json-LD Resolution When retrieving an entity [Arguments] ${context} ${expected_payload} [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 - [Tags] mandatory ${request} ${response}= Query Entity ${entity_id} ${CONTENT_TYPE_JSON} context=${context} Check Response Status Code 200 ${response['status']} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_01.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_01.robot index 456e926e59badcff7959d4df41fce3832fa470cf..a30567dca64adc7e9b4d6618a4e81a176bf41d29 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_01.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_01.robot @@ -17,14 +17,14 @@ ${bus_payload_file}= 2020-08-bus-temporal-representation-sample.jsonld *** Test Cases *** TIMEREL TIMEAT EXPECTATION_FILE After after 2020-08-01T12:05:00Z vehicles-temporal-representation-021-01-01-expectation.jsonld + [Tags] te-query 5_7_4 Before before 2020-09-01T13:05:00Z vehicles-temporal-representation-021-01-02-expectation.jsonld - + [Tags] te-query 5_7_4 *** Keywords *** Query the temporal evolution of entities [Arguments] ${timerel} ${timeAt} ${expectation_file} [Documentation] Check that you can query the temporal evolution of entities - [Tags] mandatory ${entity_types_to_be_retrieved}= Catenate SEPARATOR=, Vehicle diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_02.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_02.robot index 2b06f80505ad2acdfee4b1bf4f52339122338de7..fe9fe306b07d87224361882b00b7ddf6c0259bf4 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_02.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_02.robot @@ -16,7 +16,7 @@ ${expectation_file}= vehicles-temporal-representation-021-02-expectation.json *** Test Case *** Query the temporal evolution of certain attributes of entities [Documentation] Check that you can query the temporal evolution of certain attributes of entities - [Tags] mandatory + [Tags] te-query 5_7_4 ${entity_types_to_be_retrieved}= Catenate SEPARATOR=, Vehicle ${temporal_attributes_to_be_retrieved}= Catenate SEPARATOR=, speed diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_03.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_03.robot index c80e431aa3cd0a8fb71ab115861ad53c8f37a966..cf73e3fcfd691b845894e24872fa95637dc40caf 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_03.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_03.robot @@ -16,7 +16,7 @@ ${expectation_file}= vehicles-temporal-representation-021-03-expectation.json *** Test Case *** Query the temporal evolution of the last N instances of entities attributes [Documentation] Check that you can query the temporal evolution of the last N instances of entities attributes - [Tags] mandatory + [Tags] te-query 5_7_4 ${entity_types_to_be_retrieved}= Catenate SEPARATOR=, Vehicle diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_04.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_04.robot index d262ea7628b587ffc31c6c53caf28437672bed9a..86b566cf14372c2a9090159ea56bfc2ac9a13cda 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_04.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_04.robot @@ -16,7 +16,7 @@ ${expectation_file}= vehicles-temporal-representation-021-04-expectation.json *** Test Case *** Query the temporal evolution of entities using a context [Documentation] Check that you can query the temporal evolution of entities using a context - [Tags] mandatory + [Tags] te-query 5_7_4 ${entity_types_to_be_retrieved}= Catenate SEPARATOR=, Vehicle diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_05.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_05.robot index 03ef92a9b9492fb649d3b4260484deeb978e0635..11c1b0fdcbdaf3dc19b74630cdf0726bdbe5371f 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_05.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_05.robot @@ -17,7 +17,7 @@ ${expectation_file}= vehicles-temporal-representation-021-05-expectation.json *** Test Case *** Query the temporal evolution of entities matching the given type(s) [Documentation] Check that you can query the temporal evolution of entities matching the given type(s) - [Tags] mandatory + [Tags] te-query 5_7_4 ${entity_types_to_be_retrieved}= Catenate SEPARATOR=, Bus diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_06.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_06.robot index c584dc69da5fca36512bf89cf08ffc9689aad780..7b6ce0833f47b329bfb14c45684a0a830debf257 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_06.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_06.robot @@ -16,7 +16,7 @@ ${expectation_file}= vehicles-temporal-representation-021-06-expectation.json *** Test Case *** Query the temporal evolution of entities matching the given identifier(s) [Documentation] Check that you can query the temporal evolution of entities matching the given identifier(s) - [Tags] mandatory + [Tags] te-query 5_7_4 ${entity_types_to_be_retrieved}= Catenate SEPARATOR=, Vehicle ${entity_ids_to_be_retrieved}= Catenate SEPARATOR=, ${first_temporal_entity_representation_id} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_07.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_07.robot index be089a3520a96274c7231b12beddc8e3a2e08a4a..f3f3f73988f7aef8cd99a6cdaf8e67f468446ca2 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_07.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_07.robot @@ -16,7 +16,7 @@ ${expectation_file}= vehicles-temporal-representation-021-07-expectation.json *** Test Case *** Query the temporal evolution of entities matching the given id pattern [Documentation] Check that you can query the temporal evolution of entities matching the given id pattern - [Tags] mandatory + [Tags] te-query 5_7_4 ${entity_types_to_be_retrieved}= Catenate SEPARATOR=, Vehicle diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_08.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_08.robot index 7a2fc8258ab62b48e317196be062a612a06c489c..5615c6fc959bf0363b28ce54c666538d8e9e60f1 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_08.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_08.robot @@ -16,7 +16,7 @@ ${expectation_file}= vehicles-temporal-representation-021-08-expectation.json *** Test Case *** Query the temporal evolution of entities matching the given NGSI-LD query [Documentation] Check that you can query the temporal evolution of entities matching the given NGSI-LD query - [Tags] mandatory + [Tags] te-query 5_7_4 ${entity_types_to_be_retrieved}= Catenate SEPARATOR=, Vehicle diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_09.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_09.robot index ba0e83ee4898abcce076649de90c5aa570b5a23b..4672ab2e327488a9aeb74cce2fab5f959f2755bf 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_09.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_09.robot @@ -16,13 +16,14 @@ ${expectation_file}= vehicles-temporal-representation-021-09-expectation.json *** Test Cases *** GEOREL GEOMETRY COORDINATES GEOPROPERTY EXPECTATION_FILE Near Point near;maxDistance==2000 Point [-8.503,41.202] ${EMPTY} vehicles-temporal-representation-021-09-01-expectation.jsonld + [Tags] te-query 5_7_4 Within Polygon within Polygon [[-13.503,47.202],[6.541, 52.961],[20.37,44.653],[9.46,32.57],[-15.23,21.37]] location vehicles-temporal-representation-021-09-02-expectation.jsonld + [Tags] te-query 5_7_4 *** Keywords *** Query the temporal evolution of entities matching the given NGSI-LD geo-query [Arguments] ${georel} ${geometry} ${coordinates} ${geoproperty} ${expectation_file} [Documentation] Check that you can query the temporal evolution of entities matching the given NGSI-LD geo-query - [Tags] mandatory ${entity_types_to_be_retrieved}= Catenate SEPARATOR=, Vehicle diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_10.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_10.robot index d2b7dc00728fecda266f1ccab0d14cbb7c2785be..d5a4af7fdc87855ad4bcdf3459dcce36711c5dac 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_10.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_10.robot @@ -16,7 +16,7 @@ ${context_source_url}= http://${context_source_host}:${context_source_port} *** Test Case *** Query the temporal evolution of entities matching the given NGSI-LD context source filter [Documentation] Check that you can query the temporal evolution of entities matching the given NGSI-LD Context Source filter - [Tags] mandatory + [Tags] te-query 5_7_4 ${entity_types_to_be_retrieved}= Catenate SEPARATOR=, Building diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_11.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_11.robot index 087be1fa4696b1ca67575f9051d5ac779fde6cef..401b89fa65199f92235179fc8f85df73a10d7ee1 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_11.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_11.robot @@ -19,13 +19,14 @@ ${expectation_file}= vehicles-temporal-representation-021-11-expectation.json *** Test Cases *** LIMIT EXPECTATION_FILE TEMPORAL_ENTITIES_REPRESENTATION_IDS Query Some entities ${2} vehicles-temporal-representation-021-11-01-expectation.jsonld ${first_temporal_entity_representation_id} ${second_temporal_entity_representation_id} + [Tags] te-query 5_7_4 Query All entities ${20} vehicles-temporal-representation-021-11-02-expectation.jsonld ${first_temporal_entity_representation_id} ${second_temporal_entity_representation_id} ${third_temporal_entity_representation_id} + [Tags] te-query 5_7_4 *** Keywords *** Query the temporal evolution of entities with a limit to the number of entities to be retrieved [Arguments] ${limit} ${expectation_file} @{temporal_entities_representation_ids} [Documentation] Check that you can query the temporal evolution of entities with a limit to the number of entities to be retrieved - [Tags] mandatory ${entity_types_to_be_retrieved}= Catenate SEPARATOR=, Bus diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_12.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_12.robot index 6bfb3e01b77ab5a560e42fab3d855ce04b3571fa..91865dfc8b31a673b4e961c0f656132c0d0614d1 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_12.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_12.robot @@ -14,7 +14,7 @@ ${vehicle_payload_file}= 2020-08-vehicule-temporal-representation-sample.jsonld *** Test Case *** Query the temporal evolution of entities with an invalid request [Documentation] Check that you cannot query the temporal evolution of entities with an invalid request - [Tags] mandatory + [Tags] te-query 5_7_4 Query Temporal Representation Of Entities timerel=after timeAt=2020-07-01T12:05:00Z context=${ngsild_test_suite_context} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_13.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_13.robot index fddc62ad516e35394fafa46698dbc86abafd1c74..b3b4994e13e333510e230672c07a720f5033cc28 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_13.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_13.robot @@ -15,13 +15,14 @@ ${second_vehicle_payload_file}= 2020-09-vehicule-temporal-representation-sample *** Test Cases *** PAYLOAD_FILE EXPECTATION_FILE After entity-operations-after-query.jsonld vehicles-temporal-representation-021-13-01-expectation.jsonld + [Tags] te-query 5_7_4 Before entity-operations-before-query.jsonld vehicles-temporal-representation-021-13-02-expectation.jsonld + [Tags] te-query 5_7_4 *** Keywords *** Query the temporal evolution of entities using the entityOperations method [Arguments] ${payload_file} ${expectation_file} [Documentation] Check that you can query the temporal evolution of entities using the entityOperations method - [Tags] mandatory Query Temporal Representation Of Entities Via Post ${payload_file} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_01.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_01.robot index d6ffc50bfdd634181c9d968601b93854aea84820..cb7b5412f1be9a620ce6157c9f555cf6d9218107 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_01.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_01.robot @@ -15,7 +15,7 @@ ${vehicle_expectation_file}= vehicle-temporal-representation-020-01-expectation *** Test Case *** Retrieve the temporal evolution of an entity [Documentation] Check that you can retrieve the temporal evolution of an entity - [Tags] mandatory + [Tags] te-retrieve 5_7_3 Retrieve Temporal Representation Of Entity ${temporal_entity_representation_id} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_02.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_02.robot index 80aaad87329be339218a6246b11686129ae29e8d..c6a92e2acb1c883052aa2722368e8ad2399b67ac 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_02.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_02.robot @@ -15,7 +15,7 @@ ${vehicle_expectation_file}= vehicle-temporal-representation-020-02-expectation *** Test Case *** Retrieve the temporal evolution of an entity using a context [Documentation] Check that you can retrieve the temporal evolution of an entity using a context - [Tags] mandatory + [Tags] te-retrieve 5_7_3 Retrieve Temporal Representation Of Entity ${temporal_entity_representation_id} context=${ngsild_test_suite_context} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_03.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_03.robot index a23dc00bfec7d994b0b441a34447c63da8eafad3..22a0e539546a66bf45e4c3e407f7a2ad6b2652ad 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_03.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_03.robot @@ -15,7 +15,7 @@ ${vehicle_expectation_file}= vehicle-temporal-representation-020-03-expectation *** Test Case *** Retrieve the temporal evolution of certain attributes of an entity [Documentation] Check that you can retrieve the temporal evolution of certain attributes of an entity - [Tags] mandatory + [Tags] te-retrieve 5_7_3 @{temporal_attributes_to_be_retrieved}= Create List fuelLevel Retrieve Temporal Representation Of Entity ${temporal_entity_representation_id} attrs=${temporal_attributes_to_be_retrieved} context=${ngsild_test_suite_context} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_04.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_04.robot index f3b5cf899389c7741d27a91bdf9e456aa6a582de..0554218e093348767b31e0d8936b2d7849663fdf 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_04.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_04.robot @@ -14,14 +14,16 @@ ${vehicle_payload_file}= 2020-08-vehicule-temporal-representation-sample.jsonld *** Test Cases *** TIMEREL TIMEAT ENDTIMEAT VEHICLE_EXPECTATION_FILE After after 2020-08-01T13:03:00Z ${EMPTY} vehicle-temporal-representation-020-04-01-expectation.jsonld + [Tags] te-retrieve 5_7_3 Before before 2020-08-01T12:05:00Z ${EMPTY} vehicle-temporal-representation-020-04-02-expectation.jsonld + [Tags] te-retrieve 5_7_3 Between between 2020-08-01T12:00:00Z 2020-08-01T13:00:00Z vehicle-temporal-representation-020-04-03-expectation.jsonld + [Tags] te-retrieve 5_7_3 *** Keywords *** Retrieve the temporal evolution of an entity matching the given NGSI-LD temporal query [Arguments] ${timerel} ${timeAt} ${endTimeAt} ${vehicle_expectation_file} [Documentation] Check that you can retrieve the temporal evolution of an entity matching the given NGSI-LD temporal query - [Tags] mandatory Retrieve Temporal Representation Of Entity ${temporal_entity_representation_id} timerel=${timerel} timeAt=${timeAt} endTimeAt=${endTimeAt} context=${ngsild_test_suite_context} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_05.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_05.robot index d7d6e7c36c5443c8dd33eee09a3b2d76f83297be..780edef0266e9a9a7b347e82ac00aee9dfc3960e 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_05.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_05.robot @@ -14,13 +14,14 @@ ${vehicle_payload_file}= 2020-08-vehicule-temporal-representation-multiple-inst *** Test Cases *** LASTN VEHICLE_EXPECTATION_FILE Retrieve Some Instances ${10} vehicle-temporal-representation-020-05-01-expectation.jsonld + [Tags] te-retrieve 5_7_3 Retrieve All Instances ${20} vehicle-temporal-representation-020-05-02-expectation.jsonld + [Tags] te-retrieve 5_7_3 *** Keywords *** Retrieve the temporal evolution of the last N instances of entity attributes [Arguments] ${lastN} ${vehicle_expectation_file} [Documentation] Check that you can retrieve the temporal evolution of the last N instances of entity attributes - [Tags] mandatory Retrieve Temporal Representation Of Entity ${temporal_entity_representation_id} lastN=${lastN} context=${ngsild_test_suite_context} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_06.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_06.robot index 9c59196802b3d33d531889960429c7b7d22d2eaa..604b43404391edea2e3b4c4370710bf9adafbe00 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_06.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_06.robot @@ -7,7 +7,7 @@ Resource ${EXECDIR}/resources/JsonUtils.resource *** Test Case *** Retrieve the temporal evolution of an entity with an invalid id [Documentation] Check that you cannot retrieve the temporal evolution of an entity with an invalid id (invalid URI) - [Tags] mandatory + [Tags] te-retrieve 5_7_3 Retrieve Temporal Representation Of Entity invalidUri diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_07.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_07.robot index 2b5393ff86a1a9f8a3c84ab250d01981a0cdeacf..8d576807cfbf411e1520e60718592df2835d03d5 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_07.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_07.robot @@ -7,7 +7,7 @@ Resource ${EXECDIR}/resources/JsonUtils.resource *** Test Case *** Retrieve the temporal evolution of a non-existing entity [Documentation] Check that you cannot retrieve the temporal evolution of a non-existing entity - [Tags] mandatory + [Tags] te-retrieve 5_7_3 Retrieve Temporal Representation Of Entity urn:ngsi-ld:Vehicle:unknowEntity diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_08.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_08.robot index 909493fc0c1eb07e9f3c591312859e53c1f1ac69..cdc0934cec60eed31d1eb4411e84087d25ef2820 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_08.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_08.robot @@ -14,7 +14,7 @@ ${vehicle_payload_file}= 2020-08-vehicule-temporal-representation-sample.jsonld *** Test Case *** Retrieve the temporal evolution of non-existing entity attributes [Documentation] Check that you cannot retrieve the temporal evolution of non-existing entity attributes - [Tags] mandatory + [Tags] te-retrieve 5_7_3 @{temporal_attributes_to_be_retrieved}= Create List unknownAttribute Retrieve Temporal Representation Of Entity ${temporal_entity_representation_id} attrs=${temporal_attributes_to_be_retrieved} context=${ngsild_test_suite_context} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_09.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_09.robot index b93dc6526658d9ca1d4bcca4d3d37456ecb8db1d..ca17f3e20562d1740a6e254b505e7d11adcb5cf8 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_09.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_09.robot @@ -14,14 +14,16 @@ ${vehicle_payload_file}= 2020-08-vehicule-temporal-representation-sample.jsonld *** Test Cases *** TIMEREL TIMEAT ENDTIMEAT After after ${EMPTY} ${EMPTY} + [Tags] te-retrieve 5_7_3 Before before ${EMPTY} ${EMPTY} + [Tags] te-retrieve 5_7_3 Between between 2020-08-01T12:00:00Z ${EMPTY} + [Tags] te-retrieve 5_7_3 *** Keywords *** Retrieve the temporal evolution of an entity with an invalid request content [Arguments] ${timerel} ${timeAt} ${endTimeAt} [Documentation] Check that you cannot retrieve the temporal evolution of an entity with an invalid request content - [Tags] mandatory Retrieve Temporal Representation Of Entity ${temporal_entity_representation_id} timerel=${timerel} timeAt=${timeAt} endTimeAt=${endTimeAt} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_10.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_10.robot index bd14fb816ecaad17f625a8d5a75667e9ee1f8085..4cba1f70db7a98cc53ef4664ecdd8041cb54f523 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_10.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_10.robot @@ -15,7 +15,7 @@ ${vehicle_expectation_file}= vehicle-temporal-representation-020-10-expectation *** Test Case *** Retrieve the temporal evolution of an entity with the simplified temporal representation [Documentation] Check that you can retrieve the temporal evolution of an entity with the simplified temporal representation - [Tags] mandatory + [Tags] te-retrieve 5_7_3 @{options}= Create List temporalValues Retrieve Temporal Representation Of Entity ${temporal_entity_representation_id} options=${options} context=${ngsild_test_suite_context} diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_01.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_01.robot index 21d1d9c3008f55fd768d2fb650a75c749c5e2606..4ec63d94d5a88a6c2c28835bf5c20cd5687240a8 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_01.robot @@ -11,15 +11,18 @@ ${building_id_prefix}= urn:ngsi-ld:Building: *** Test Cases *** FILENAME MinimalEntity building-minimal-sample.jsonld + [Tags] be-create 5_6_7 EntityWithSimpleProperties building-simple-attributes-sample.jsonld + [Tags] be-create 5_6_7 EntityWithSimpleRelationships building-relationship-sample.jsonld + [Tags] be-create 5_6_7 EntityWithRelationshipsProperties building-relationship-of-property-sample.jsonld + [Tags] be-create 5_6_7 *** Keywords *** Batch Create Entity Scenarios [Arguments] ${filename} [Documentation] Check that you can create a batch of entities - [Tags] mandatory entityOperations ${first_entity_id}= Generate Random Entity Id ${building_id_prefix} ${second_entity_id}= Generate Random Entity Id ${building_id_prefix} diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_02.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_02.robot index db1815a6ae23515d6fe3c9610efc39d81497f3ce..f16d01121312e7bf237eaba64b73ed58175c7f6f 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_02.robot @@ -12,7 +12,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: *** Test Case *** Create a batch of two valid entities and one invalid entity [Documentation] Check that you can create a batch of two valid entities and one invalid entity - [Tags] mandatory + [Tags] be-create 5_6_7 ${first_entity_id}= Generate Random Entity Id ${building_id_prefix} ${second_entity_id}= Generate Random Entity Id ${building_id_prefix} diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_03.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_03.robot index e169e6fa8287186e51a20b8007ea2aaa86f12e77..0999854a67e53d1ef4bc9291a7989dda71a818cc 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_03.robot @@ -7,13 +7,14 @@ Test Template Create Batch Entity With Invalid Request Scenarios *** Test Cases *** FILENAME PROBLEM_TYPE InvalidJson batch/invalid-json-sample.jsonld ${ERROR_TYPE_INVALID_REQUEST} + [Tags] be-create 5_6_7 EmptyJson batch/empty-sample.jsonld ${ERROR_TYPE_BAD_REQUEST_DATA} + [Tags] be-create 5_6_7 *** Keywords *** Create Batch Entity With Invalid Request Scenarios [Arguments] ${filename} ${problem_type} [Documentation] Check that you cannot create a batch of entities with an invalid request - [Tags] mandatory Batch Request Entities From File create filename=${filename} diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_04.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_04.robot index 484baea7b676703a81f090780597e65a93422a15..5f86d21a66778faadedc05fc8a026d62080e6a2e 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_04.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_04.robot @@ -10,7 +10,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: *** Test Case *** Create a batch of one entity using a provided Link header with JSON content type [Documentation] Check that the @context is obtained from a Link Header if the Content-Type header is "application/json" - [Tags] mandatory + [Tags] be-create 6_3_5 ${entity_id}= Generate Random Entity Id ${building_id_prefix} ${entity}= Load Entity building-simple-attributes-sample.json ${entity_id} diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_05.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_05.robot index 9a489158d738bd38e734c60575b7c2877a21b065..61cef9efc6453b60c5baf90fa9de5123f5deb726 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_05.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_05.robot @@ -10,7 +10,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: *** Test Case *** Create a batch of one entity using the default context with JSON content type [Documentation] Check that the default @context is used if the Content-Type header is "application/json" and the Link header does not contain a JSON-LD @context - [Tags] mandatory + [Tags] be-create 6_3_5 ${entity_id}= Generate Random Entity Id ${building_id_prefix} ${entity}= Load Entity building-simple-attributes-sample.json ${entity_id} diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_06.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_06.robot index b67ba32eb98afbc7a473ef26b25fdb8a0b13bca0..fcbccc0fb0fb6e2a3ad48474249e99824757c0f1 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_06.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_06.robot @@ -10,7 +10,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: *** Test Case *** Create a batch of one entity containing a JSON-LD @context with a JSON content type [Documentation] Check that an HTTP error response of type BadRequestData is raised if the Content-Type header is "application/json" and the request payload body (as JSON) contains a "@context" term - [Tags] mandatory + [Tags] be-create 6_3_5 ${entity_id}= Generate Random Entity Id ${building_id_prefix} ${entity}= Load Entity building-simple-attributes-sample.jsonld ${entity_id} diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_07.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_07.robot index 89d4cfde84e282be9abccbdd92ab225ba562f9fd..c0ca0545f513f01ad29201fff8c8bcb01291434a 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_07.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_07.robot @@ -10,7 +10,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: *** Test Case *** Create a batch of one entity using a JSON-LD @context obtained from the request payload [Documentation] Check that the @context is obtained from the request payload body itself if the Content-Type header is "application/ld+json" - [Tags] mandatory + [Tags] be-create 6_3_5 ${entity_id}= Generate Random Entity Id ${building_id_prefix} ${entity}= Load Entity building-simple-attributes-sample.jsonld ${entity_id} diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_08.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_08.robot index 7646496a468748e93c2e8647d27bb7c985218e78..694d22ee71416b3763914b3d1673b7ed3bc33da3 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_08.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_08.robot @@ -10,7 +10,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: *** Test Case *** Create a batch of one entity not containing a JSON-LD @context with a JSON-LD content type [Documentation] Check that an HTTP error response of type BadRequestData is raised if the Content-Type header is "application/ld+json" and the request payload body does not contain a @context term - [Tags] mandatory + [Tags] be-create 6_3_5 ${entity_id}= Generate Random Entity Id ${building_id_prefix} ${entity}= Load Entity building-simple-attributes-sample.json ${entity_id} diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_09.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_09.robot index 88ebf3aca8ce741d355223044907452bf81902c9..049755b3d1dc22c528bbd692b20450046d51edf6 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_09.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_09.robot @@ -10,7 +10,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: *** Test Case *** Create a batch of one entity with a Link header and a JSON-LD content type [Documentation] Check that an HTTP error response of type BadRequestData is raised if the Content-Type header is "application/ld+json" and a JSON-LD Link header is present in the incoming HTTP request - [Tags] mandatory + [Tags] be-create 6_3_5 ${entity_id}= Generate Random Entity Id ${building_id_prefix} ${entity}= Load Entity building-simple-attributes-sample.jsonld ${entity_id} diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/DeleteBatchOfEntities/006_01.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/DeleteBatchOfEntities/006_01.robot index d5ff23726dcd7e2907092686645494059fcf49c2..3c15fde63eeb9674bc30435f059bf12f8dc8ad3b 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/DeleteBatchOfEntities/006_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/DeleteBatchOfEntities/006_01.robot @@ -12,7 +12,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: *** Test Case *** Delete a batch of entities [Documentation] Check that you can delete a batch of entities - [Tags] mandatory + [Tags] be-delete 5_6_10 @{entities_ids_to_be_deleted}= Create List ${first_entity_id} ${second_entity_id} diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/DeleteBatchOfEntities/006_02.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/DeleteBatchOfEntities/006_02.robot index c31a415ab3cc3dbe6ac317f8e453a0997083cb34..7b51d982e17ea1e90a5240ed86caa0cda98ff28c 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/DeleteBatchOfEntities/006_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/DeleteBatchOfEntities/006_02.robot @@ -12,7 +12,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: *** Test Case *** Delete a batch of non existing and existing entities [Documentation] Check that you can delete a batch of non existing and existing entities - [Tags] mandatory + [Tags] be-delete 5_6_10 ${new_entity_id}= Generate Random Entity Id ${building_id_prefix} @{entities_ids_to_be_deleted}= Create List ${existing_entity_id} ${new_entity_id} diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/DeleteBatchOfEntities/006_03.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/DeleteBatchOfEntities/006_03.robot index 1cdbba5b0bf9dda35172567ca175d54157d649d7..94af9bfbd05997afc1f0261f5341cecd95c9b937 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/DeleteBatchOfEntities/006_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/DeleteBatchOfEntities/006_03.robot @@ -7,13 +7,14 @@ Test Template Batch Delete Entity With Invalid Request Scenarios *** Test Cases *** FILENAME PROBLEM_TYPE InvalidJson batch/invalid-json-sample.jsonld ${ERROR_TYPE_INVALID_REQUEST} + [Tags] be-delete 5_6_10 EmptyJson batch/empty-sample.jsonld ${ERROR_TYPE_BAD_REQUEST_DATA} + [Tags] be-delete 5_6_10 *** Keywords *** Batch Delete Entity With Invalid Request Scenarios [Arguments] ${filename} ${problem_type} [Documentation] Check that you cannot delete a batch of entities with an invalid request - [Tags] mandatory Batch Request Entities From File delete filename=${filename} diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_01.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_01.robot index 3ba418cda02ac7be75bb8c69f053fb172fd5fd49..078ef6d74dfe5c347cb9ca9fabd9c0bc6a964956 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_01.robot @@ -14,14 +14,16 @@ ${entity_payload_filename}= building-simple-attributes-sample.jsonld *** Test Cases *** FILENAME UPDATE_FRAGMENT_FILENAME EntityWithSimpleProperties building-simple-attributes-sample.jsonld fragmentEntities/empty-fragment.json + [Tags] be-update 5_6_9 EntityWithSimpleRelationships building-relationship-sample.jsonld fragmentEntities/locatedAt-fragment.json + [Tags] be-update 5_6_9 EntityWithRelationshipsProperties building-relationship-of-property-sample.jsonld fragmentEntities/airQualityLevel-with-relationship-fragment.json + [Tags] be-update 5_6_9 *** Keywords *** Batch Update Entity Scenarios [Arguments] ${filename} ${update_fragment_filename} [Documentation] Check that you can update a batch of entities - [Tags] mandatory ${first_entity}= Load Entity ${filename} ${first_entity_id} ${second_entity}= Load Entity ${filename} ${second_entity_id} diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_02.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_02.robot index ae7849d4239b0e9160d45fd22d6a436021cf9ea2..aedeb79f711b2b753f7f93f1b943b31493d7bca4 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_02.robot @@ -14,14 +14,16 @@ ${entity_payload_filename}= building-simple-attributes-sample.jsonld *** Test Cases *** FILENAME UPDATE_FRAGMENT_FILENAME EntityWithSimpleProperties building-simple-attributes-sample.jsonld fragmentEntities/empty-fragment.json + [Tags] be-update 5_6_9 EntityWithSimpleRelationships building-relationship-sample.jsonld fragmentEntities/locatedAt-fragment.json + [Tags] be-update 5_6_9 EntityWithRelationshipsProperties building-relationship-of-property-sample.jsonld fragmentEntities/empty-fragment.json + [Tags] be-update 5_6_9 *** Keywords *** Batch Update Entity With NoOverwrite Option Scenarios [Arguments] ${filename} ${update_fragment_filename} [Documentation] Check that you can update a batch of entities with noOverwrite option - [Tags] mandatory ${first_entity}= Load Entity ${filename} ${first_entity_id} ${second_entity}= Load Entity ${filename} ${second_entity_id} diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_03.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_03.robot index 713e4a8d0559d30bc36191196cc4cb01ef84da3a..18b923e1ca58d6647aa09f81e88992b41b08fb42 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_03.robot @@ -14,7 +14,7 @@ ${update_fragment_filename}= fragmentEntities/simple-attributes-relationship-of *** Test Case *** Update a batch of non existing and existing entities [Documentation] Check that you can update a batch of non existing and existing entities - [Tags] mandatory + [Tags] be-update 5_6_9 ${first_existing_entity}= Load Entity building-relationship-of-property-sample.jsonld ${first_existing_entity_id} ${second_existing_entity}= Load Entity building-relationship-of-property-sample.jsonld ${second_existing_entity_id} diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_04.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_04.robot index a3195d45b8234358cb4ebaf2a2c743bcc80060ff..f2cc856bd90f95b73f62b820bb6affecbc49914f 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_04.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_04.robot @@ -7,13 +7,14 @@ Test Template Batch Update Entity With Invalid Request Scenarios *** Test Cases *** FILENAME PROBLEM_TYPE InvalidJson batch/invalid-json-sample.jsonld ${ERROR_TYPE_INVALID_REQUEST} + [Tags] be-update 5_6_9 InvalidJsonLd batch/invalid-json-ld-sample.jsonld ${ERROR_TYPE_BAD_REQUEST_DATA} + [Tags] be-update 5_6_9 *** Keywords *** Batch Update Entity With Invalid Request Scenarios [Arguments] ${filename} ${problem_type} [Documentation] Check that you cannot update a batch of entities with an invalid request - [Tags] mandatory Batch Request Entities From File update filename=${filename} diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_01.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_01.robot index bfee149076dd28120e2ce372d6ceef1d7e2e5830..bd4f8d86143d6c40e13cf4d6008cae68bb81cbe6 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_01.robot @@ -11,14 +11,16 @@ ${building_id_prefix}= urn:ngsi-ld:Building: *** Test Cases *** FILENAME EntityWithSimpleProperties building-simple-attributes-sample.jsonld + [Tags] be-upsert 5_6_8 EntityWithSimpleRelationships building-relationship-sample.jsonld + [Tags] be-upsert 5_6_8 EntityWithRelationshipsProperties building-relationship-of-property-sample.jsonld + [Tags] be-upsert 5_6_8 *** Keywords *** Batch Upsert Entity Scenarios [Arguments] ${filename} [Documentation] Check that you can upsert a batch of non existing entities - [Tags] mandatory ${first_entity_id}= Generate Random Entity Id ${building_id_prefix} ${second_entity_id}= Generate Random Entity Id ${building_id_prefix} diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_02.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_02.robot index 8a4953f6ca628e6bcf0aaa31aefb055a485c4805..a41391e4d2b7d94d47529eda25ccb2eb831a0095 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_02.robot @@ -13,14 +13,16 @@ ${building_id_prefix}= urn:ngsi-ld:Building: *** Test Cases *** FILENAME EntityWithSimpleProperties building-simple-attributes-sample.jsonld + [Tags] be-upsert 5_6_8 EntityWithSimpleRelationships building-relationship-sample.jsonld + [Tags] be-upsert 5_6_8 EntityWithRelationshipsProperties building-relationship-of-property-sample.jsonld + [Tags] be-upsert 5_6_8 *** Keywords *** Batch Upsert Non-existing And Existing Entities Scenarios [Arguments] ${filename} [Documentation] Check that you can upsert a batch of non existing and existing entities - [Tags] mandatory ${new_entity_id}= Generate Random Entity Id ${building_id_prefix} ${new_entity}= Load Entity ${filename} ${new_entity_id} diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_03.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_03.robot index b7ea1c59fbe2b6e4f06712985cdc1ca2a706483e..858bbca1678fa30ecf923705babf50b97264c32c 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_03.robot @@ -13,14 +13,16 @@ ${building_id_prefix}= urn:ngsi-ld:Building: *** Test Cases *** FILENAME EntityWithSimpleProperties building-simple-attributes-sample.jsonld + [Tags] be-upsert 5_6_8 EntityWithSimpleRelationships building-relationship-sample.jsonld + [Tags] be-upsert 5_6_8 EntityWithRelationshipsProperties building-relationship-of-property-sample.jsonld + [Tags] be-upsert 5_6_8 *** Keywords *** Batch Upsert Existing Entities Scenarios [Arguments] ${filename} [Documentation] Check that you can upsert a batch of existing entities - [Tags] mandatory ${first_existing_entity}= Load Entity ${filename} ${first_existing_entity_id} ${second_existing_entity}= Load Entity ${filename} ${second_existing_entity_id} diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_04.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_04.robot index c453947238d68d95c62b29f611a27a772e073ffb..5c60cddd291b7035ea658dfd8dc9b3e83df87334 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_04.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_04.robot @@ -14,14 +14,16 @@ ${existing_entity_payload_filename}= building-minimal-sample.jsonld *** Test Cases *** FILENAME UPDATE_FRAGMENT_FILENAME EntityWithSimpleProperties building-simple-attributes-sample.jsonld fragmentEntities/simple-attributes-fragment.json + [Tags] be-upsert 5_6_8 EntityWithSimpleRelationships building-relationship-sample.jsonld fragmentEntities/locatedAt-fragment.json + [Tags] be-upsert 5_6_8 EntityWithRelationshipsProperties building-relationship-of-property-sample.jsonld fragmentEntities/simple-attributes-relationship-of-property-fragment.json + [Tags] be-upsert 5_6_8 *** Keywords *** Batch Upsert Entities With Update Option Scenarios [Arguments] ${filename} ${update_fragment_filename} [Documentation] Check that you can upsert a batch of entities with update option - [Tags] mandatory ${new_entity_id}= Generate Random Entity Id ${building_id_prefix} ${new_entity}= Load Entity ${filename} ${new_entity_id} diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_05.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_05.robot index c5fcf6d46b2658906ca06c8c9e9720c5f2842faf..9a7b0f90d78706d7ea9c90749b0d83443f51b9d6 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_05.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_05.robot @@ -10,7 +10,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: *** Test Case *** Upsert a batch of two valid entities and one invalid entity [Documentation] Check that you can upsert a batch of two valid entities and one invalid entity - [Tags] mandatory + [Tags] be-upsert 5_6_8 ${first_entity_id}= Generate Random Entity Id ${building_id_prefix} ${second_entity_id}= Generate Random Entity Id ${building_id_prefix} diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_06.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_06.robot index 8bf80f0f60621843f57d5054f726761fbacaaee7..f9c0d8a5f93afa1857f6b8a26adc9693105ab55a 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_06.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_06.robot @@ -7,13 +7,14 @@ Test Template Batch Upsert Entity With Invalid Request Scenarios *** Test Cases *** FILENAME PROBLEM_TYPE InvalidJson batch/invalid-json-sample.jsonld ${ERROR_TYPE_INVALID_REQUEST} + [Tags] be-upsert 5_6_8 InvalidJsonLd batch/invalid-json-ld-sample.jsonld ${ERROR_TYPE_BAD_REQUEST_DATA} + [Tags] be-upsert 5_6_8 *** Keywords *** Batch Upsert Entity With Invalid Request Scenarios [Arguments] ${filename} ${problem_type} [Documentation] Check that you cannot upsert a batch of entities with an invalid request - [Tags] mandatory Batch Request Entities From File upsert filename=${filename} diff --git a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_04.robot b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_04.robot index 1491771a2836078e4cfe567a34b4683796f67110..64c1226efcc3c1e668bddceea91e6a363eaa7c0b 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_04.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_04.robot @@ -11,7 +11,7 @@ ${filename}= building-simple-attributes-sample.json *** Test Case *** Create one entity using a provided Link header with JSON content type [Documentation] Check that the @context is obtained from a Link Header if the Content-Type header is "application/json" - [Tags] mandatory + [Tags] e-create 6_3_5 ${entity_id}= Generate Random Entity Id ${building_id_prefix} diff --git a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_05.robot b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_05.robot index 610604562980611c44b7ef7f0ab3ade030c96f0e..fb1326236e960550d61caddb3e614787e9083e7e 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_05.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_05.robot @@ -11,7 +11,7 @@ ${filename}= building-simple-attributes-sample.json *** Test Case *** Create one entity using the default context with JSON content type [Documentation] Check that the default @context is used if the Content-Type header is "application/json" and the Link header does not contain a JSON-LD @context - [Tags] mandatory + [Tags] e-create 6_3_5 ${entity_id}= Generate Random Entity Id ${building_id_prefix} diff --git a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_06.robot b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_06.robot index 1cbed680fdac4ec03dc1f29a14462d6df00aee57..7970e73a502774ac2e25acc55a87caf89a0a0d34 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_06.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_06.robot @@ -11,7 +11,7 @@ ${filename}= building-simple-attributes-sample.jsonld *** Test Case *** Create one entity containing a JSON-LD @context with a JSON content type [Documentation] Check that an HTTP error response of type BadRequestData is raised if the Content-Type header is "application/json" and the request payload body (as JSON) contains a "@context" term - [Tags] mandatory + [Tags] e-create 6_3_5 ${entity_id}= Generate Random Entity Id ${building_id_prefix} diff --git a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_07.robot b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_07.robot index 4126526c0eb64fa90e0deaf80012e8f32869c442..971ee448668b63a779a7d3c6673777e71b7220de 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_07.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_07.robot @@ -11,7 +11,7 @@ ${filename}= building-simple-attributes-sample.jsonld *** Test Case *** Create one entity using a JSON-LD @context obtained from the request payload [Documentation] Check that the @context is obtained from the request payload body itself if the Content-Type header is "application/ld+json" - [Tags] mandatory + [Tags] e-create 6_3_5 ${entity_id}= Generate Random Entity Id ${building_id_prefix} diff --git a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_08.robot b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_08.robot index e0e609f4390dd9b3298bbdce80bce0e0c5d3190d..b405e5a49d74f2c0359d1937596556412b438e9f 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_08.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_08.robot @@ -11,7 +11,7 @@ ${filename}= building-simple-attributes-sample.json *** Test Case *** Create one entity not containing a JSON-LD @context with a JSON-LD content type [Documentation] Check that an HTTP error response of type BadRequestData is raised if the Content-Type header is "application/ld+json" and the request payload body does not contain a @context term - [Tags] mandatory + [Tags] e-create 6_3_5 ${entity_id}= Generate Random Entity Id ${building_id_prefix} diff --git a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_09.robot b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_09.robot index aa738d4c8ad042c1d38739b0c35bb068e7246ebf..bf5114dfaa1e9ea402ae2d7f3e2e2f58fb962a13 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_09.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_09.robot @@ -11,7 +11,7 @@ ${filename}= building-simple-attributes-sample.jsonld *** Test Case *** Create one entity with a Link header and a JSON-LD content type [Documentation] Check that an HTTP error response of type BadRequestData is raised if the Content-Type header is "application/ld+json" and a JSON-LD Link header is present in the incoming HTTP request - [Tags] mandatory + [Tags] e-create 6_3_5 ${entity_id}= Generate Random Entity Id ${building_id_prefix} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/DeleteSubscription/032_01.robot b/TP/NGSI-LD/ContextInformation/Subscription/DeleteSubscription/032_01.robot index 3820ebe79260c51b4db7ec93f9900f5548208b65..860cee5763a3c0e503500c3e94f472d3ffbf0d17 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/DeleteSubscription/032_01.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/DeleteSubscription/032_01.robot @@ -7,13 +7,14 @@ Test Template Delete Subscription With Non present Or Invalid Id *** Test Cases *** id NotPresentId ${EMPTY} + [Tags] sub-delete 5_8_5 InvalidId InvalidUri + [Tags] sub-delete 5_8_5 *** Keywords *** Delete Subscription With Non present Or Invalid Id [Arguments] ${id} [Documentation] Check that you cannot delete a subscription: If the subscription Id is not present or it is not a valid URI, then an error of type BadRequestData shall be raised - [Tags] mandatory Delete Subscription ${id} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/DeleteSubscription/032_02.robot b/TP/NGSI-LD/ContextInformation/Subscription/DeleteSubscription/032_02.robot index c83fdc6a7467db20ea0d5722b2242bb8eb093e6c..16f09b54d6a340a6916bef2136f9f198e6c02be4 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/DeleteSubscription/032_02.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/DeleteSubscription/032_02.robot @@ -6,7 +6,7 @@ Resource ${EXECDIR}/resources/AssertionUtils.resource *** Test Case *** Delete Unknown Subscription [Documentation] Check that you cannot delete a subscription: If the subscription id provided does not correspond to any existing subscription in the system then an error of type ResourceNotFound shall be raised - [Tags] mandatory + [Tags] sub-delete 5_8_5 Delete Subscription urn:ngsi-ld:Subscription:unknowSubscription diff --git a/TP/NGSI-LD/ContextInformation/Subscription/DeleteSubscription/032_03.robot b/TP/NGSI-LD/ContextInformation/Subscription/DeleteSubscription/032_03.robot index 2abec456bb351376e50599cfd12ebb47880c3242..13fadfbf715c205e14b5f54b7d19d6654d88c950 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/DeleteSubscription/032_03.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/DeleteSubscription/032_03.robot @@ -14,7 +14,7 @@ ${subscription_payload_file_path}= subscriptions/subscription-sample.jsonld *** Test Case *** Delete Subscription [Documentation] Check that you can delete a subscription - [Tags] mandatory + [Tags] sub-delete 5_8_5 Delete Subscription ${subscription_id} Check Response Status Code Set To 204 diff --git a/TP/NGSI-LD/ContextInformation/Subscription/QuerySubscriptions/031_01.robot b/TP/NGSI-LD/ContextInformation/Subscription/QuerySubscriptions/031_01.robot index 4507b2dfb879626017d44027b500f8cede1e93f9..2959d7dbd23657f80bea9db7be88d1d08542fd87 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/QuerySubscriptions/031_01.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/QuerySubscriptions/031_01.robot @@ -17,7 +17,7 @@ ${expectation_file_path}= subscriptions/expectations/subscriptions-031-01-expe *** Test Case *** Query Subscriptions [Documentation] Check that you can query a list of subscriptions - [Tags] mandatory + [Tags] sub-query 5_8_4 Query Subscriptions context=${ngsild_test_suite_context} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/QuerySubscriptions/031_02.robot b/TP/NGSI-LD/ContextInformation/Subscription/QuerySubscriptions/031_02.robot index 15078a312d20af1153013d8faf7450676dde87a0..36015301305907b8c671fe09f7b2fe1bb07e9f0d 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/QuerySubscriptions/031_02.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/QuerySubscriptions/031_02.robot @@ -16,14 +16,16 @@ ${third_subscription_payload_file_path}= subscriptions/subscription-inactive-s *** Test Cases *** LIMIT PAGE EXPECTED_SUBSCRIPTION_NUMBER PREV_LINK NEXT_LINK Query Second Subscription ${1} ${2} ${1} ;rel="prev";type="application/ld+json" ;rel="next";type="application/ld+json" + [Tags] sub-query 5_8_4 Query Last Subscription ${2} ${2} ${1} ;rel="prev";type="application/ld+json" ${EMPTY} + [Tags] sub-query 5_8_4 Query All Subscriptions ${15} ${1} ${3} ${EMPTY} ${EMPTY} + [Tags] sub-query 5_8_4 *** Keywords *** Query Subscriptions With Limit And Page Parameters [Arguments] ${limit} ${page} ${expectation_subscription_number} ${prev_link} ${next_link} [Documentation] Check that you can query a list of subscriptions: Pagination logic shall be in place - [Tags] mandatory Query Subscriptions context=${ngsild_test_suite_context} limit=${limit} page=${page} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/RetrieveSubscription/030_01.robot b/TP/NGSI-LD/ContextInformation/Subscription/RetrieveSubscription/030_01.robot index d039eb9f02149df700f3717689f2caaac7d0e0ca..e26e7665d4e934b29ce785a2cd86b8d2470f084c 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/RetrieveSubscription/030_01.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/RetrieveSubscription/030_01.robot @@ -7,13 +7,14 @@ Test Template Retrieve Subscription With Non present Or Invalid Id *** Test Cases *** id NotPresentId ${EMPTY} + [Tags] sub-retrieve 5_8_3 InvalidId InvalidUri + [Tags] sub-retrieve 5_8_3 *** Keywords *** Retrieve Subscription With Non present Or Invalid Id [Arguments] ${id} [Documentation] Check that you cannot retrieve a subscription: If the subscription Id is not present or it is not a valid URI, then an error of type BadRequestData shall be raised - [Tags] mandatory Retrieve Subscription ${id} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/RetrieveSubscription/030_02.robot b/TP/NGSI-LD/ContextInformation/Subscription/RetrieveSubscription/030_02.robot index 7c77ef6bc3c55c1b093c357084f0cb8ef924800b..3962869faf5bbe119b28f3527645547bff5a6ef5 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/RetrieveSubscription/030_02.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/RetrieveSubscription/030_02.robot @@ -6,7 +6,7 @@ Resource ${EXECDIR}/resources/AssertionUtils.resource *** Test Case *** Retrieve Unknown Subscription [Documentation] Check that you cannot retrieve a subscription: If the identifier provided does not correspond to any existing subscription in the system then an error of type ResourceNotFound shall be raised - [Tags] mandatory + [Tags] sub-retrieve 5_8_3 Retrieve Subscription urn:ngsi-ld:Subscription:unknowSubscription diff --git a/TP/NGSI-LD/ContextInformation/Subscription/RetrieveSubscription/030_03.robot b/TP/NGSI-LD/ContextInformation/Subscription/RetrieveSubscription/030_03.robot index 79aaaf51b6efc952ece41abc8f9eecb87b8e6106..9dd2b497607f76c3f8271f016ef037aeac891778 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/RetrieveSubscription/030_03.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/RetrieveSubscription/030_03.robot @@ -15,7 +15,7 @@ ${expectation_file_path}= subscriptions/expectations/subscriptions-030-03-expe *** Test Case *** Retrieve Subscription [Documentation] Check that you can retrieve a subscription - [Tags] mandatory + [Tags] sub-retrieve 5_8_3 Retrieve Subscription ${subscription_id} context=${ngsild_test_suite_context} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_01.robot b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_01.robot index 679523a4da03945c84bd83be92c4c70bc88ed690..9c00bd02d0567271106acc2e12f05de118e87c75 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_01.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_01.robot @@ -8,7 +8,9 @@ Test Template Update Subscription With Non present Or Invalid Id *** Test Cases *** id NotPresentId ${EMPTY} + [Tags] sub-update 5_8_2 InvalidId InvalidUri + [Tags] sub-update 5_8_2 *** Variable *** ${subscription_update_fragment_file_path}= subscriptions/fragments/subscription-update-sample.json @@ -17,7 +19,6 @@ ${subscription_update_fragment_file_path}= subscriptions/fragments/subscriptio Update Subscription With Non present Or Invalid Id [Arguments] ${id} [Documentation] Check that you cannot update a subcription: If the Subscription id is not present or it is not a valid URI, then an error of type BadRequestData shall be raised - [Tags] mandatory Update Subscription ${id} ${subscription_update_fragment_file_path} ${CONTENT_TYPE_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_02.robot b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_02.robot index 2ad714bc18a1aa86109d45a6cff94f068197d8e3..d33f7d26bac203ab99eff92cfc53e309c5469459 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_02.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_02.robot @@ -10,7 +10,7 @@ ${subscription_update_fragment_file_path}= subscriptions/fragments/subscriptio *** Test Case *** Update Unknown Subscription [Documentation] Check that you cannot update a subscription: If the NGSI-LD System does not know about the target Subscription, because there is no existing Subscription whose id (URI) is equivalent, an error of type ResourceNotFound shall be raised - [Tags] mandatory + [Tags] sub-update 5_8_2 Update Subscription urn:ngsi-ld:Subscription:unknowSubscription ${subscription_update_fragment_file_path} ${CONTENT_TYPE_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_03.robot b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_03.robot index 9a787102542ea3fb18092b5cf821c1627b880c6e..5e9c90a6892886ba875e2255dce85ebe7fb04c1d 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_03.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_03.robot @@ -15,7 +15,7 @@ ${subscription_update_fragment_file_path}= subscriptions/fragments/subscriptio *** Test Case *** Update Subscription With Invalid Fragment [Documentation] Check that you cannot update a subcription: If the data types and restriction are not met by the Subscription Fragment, then an error of type BadRequestData shall be raised - [Tags] mandatory + [Tags] sub-update 5_8_2 Update Subscription ${subscription_id} ${subscription_update_fragment_file_path} ${CONTENT_TYPE_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_04.robot b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_04.robot index e22a5f35c045c28f68d0aaa4fbe7d139cfac9205..86af83ff3e6dea55809245acd08ae9bcedc7ae0d 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_04.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_04.robot @@ -15,7 +15,7 @@ ${subscription_update_fragment_file_path}= subscriptions/fragments/subscriptio *** Test Case *** Update Subscription With Null Mandatory Properties [Documentation] Check that you cannot update a subscription: Any attempt to remove (by setting them to null in the Fragment) mandatory properties of a Subscription (clause 5.2.12) shall result in an error of type BadRequestData - [Tags] mandatory + [Tags] sub-update 5_8_2 Update Subscription ${subscription_id} ${subscription_update_fragment_file_path} ${CONTENT_TYPE_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_05.robot b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_05.robot index 08d3fc89c3a50a29afa7aa6989c69347eed5d428..c4ea7b8b6edd9f2698d271cb6b3a005bc5085369 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_05.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_05.robot @@ -17,7 +17,7 @@ ${expected_expanded_subscription_payload_file_path}= subscriptions/expectation *** Test Case *** Update Subscription With Term to Uri Expansion [Documentation] Check that you can update a subcription: Term to URI expansion of Attribute names shall be observed - [Tags] mandatory + [Tags] sub-update 5_8_2 Update Subscription ${subscription_id} ${subscription_update_fragment_file_path} ${CONTENT_TYPE_JSON} context=${ngsild_test_suite_context} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_06.robot b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_06.robot index 606931b9938250a84f1011a02a5a6a473f7cf8a7..1c57168dd8db7c657022efc398590a435c7411d4 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_06.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_06.robot @@ -15,7 +15,7 @@ ${subscription_update_fragment_file_path}= subscriptions/fragments/subscriptio *** Test Case *** Update Subscription [Documentation] Check that you can update a subcription: The implementation shall modify the target Subscription - [Tags] mandatory + [Tags] sub-update 5_8_2 Update Subscription ${subscription_id} ${subscription_update_fragment_file_path} ${CONTENT_TYPE_JSON} context=${ngsild_test_suite_context} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_07.robot b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_07.robot index bfbb5d6df36c28f1060bfb92231d48f72ddb5ddd..8d5f503337a208ecfc01964b93c1f821a9a1be78 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_07.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_07.robot @@ -10,7 +10,9 @@ Suite Teardown Delete Initial Subscriptions *** Test Cases *** SUBSCRIPTION_UPDATE_FRAGMENT_FILE_PATH ActiveTrue subscriptions/fragments/subscription-isActive-update-sample.json + [Tags] sub-update 5_8_2 ActiveNull subscriptions/fragments/subscription-isActive-null-update-sample.json + [Tags] sub-update 5_8_2 *** Variable *** ${subscription_id_prefix}= urn:ngsi-ld:Subscription: @@ -20,7 +22,6 @@ ${subscription_payload_file_path}= subscriptions/subscription-inactive-sample. Activate Paused Subscription With isActive Member [Arguments] ${subscription_update_fragment_file_path} [Documentation] Check that you can update a subscription: If isActive is equal to true or null and expiresAt is not present, then status shall be updated to "active", if and only if, the previous value of status was different than "expired" - [Tags] mandatory Update Subscription ${subscription_id} ${subscription_update_fragment_file_path} ${CONTENT_TYPE_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_08.robot b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_08.robot index 2472613f350892afdfaff0c5f52c81cb54ee0b2c..ba7fb8e47947299a2e0c4d20ccccb08aa23dcadb 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_08.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_08.robot @@ -10,9 +10,13 @@ Suite Teardown Delete Initial Subscriptions *** Test Cases *** SUBSCRIPTION_UPDATE_FRAGMENT_FILE_PATH ActiveTrueExpiresAtNull subscriptions/fragments/subscription-isActive-expiresAt-null-update-sample.json + [Tags] sub-update 5_8_2 ActiveTrueExpiresAt subscriptions/fragments/subscription-isActive-expiresAt-update-sample.json + [Tags] sub-update 5_8_2 ActiveNullExpiresAtNull subscriptions/fragments/subscription-isActive-null-expiresAt-null-update-sample.json + [Tags] sub-update 5_8_2 ActiveNullExpiresAt subscriptions/fragments/subscription-isActive-null-expiresAt-update-sample.json + [Tags] sub-update 5_8_2 *** Variable *** ${subscription_id_prefix}= urn:ngsi-ld:Subscription: @@ -22,7 +26,6 @@ ${subscription_payload_file_path}= subscriptions/subscription-inactive-sample. Activate Paused Subscription With isActive And ExpiresAt Members [Arguments] ${subscription_update_fragment_file_path} [Documentation] Check that you can update a subcription: If isActive is equal to true or null and expiresAt is null or corresponds to a DateTime in the future, then status shall be updated to "active" - [Tags] mandatory Update Subscription ${subscription_id} ${subscription_update_fragment_file_path} ${CONTENT_TYPE_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_09.robot b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_09.robot index b414200e68216e87b27ed51fe0bdd8be2cf77044..c105c651871a1c35947404f337c6a3e7577e8e89 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_09.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_09.robot @@ -15,7 +15,7 @@ ${subscription_update_fragment_file_path}= subscriptions/fragments/subscriptio *** Test Case *** Update Subscription Status To Paused [Documentation] Check that you can update a subscription: If isActive is equal to false and expiresAt is not present, then status shall be updated to "paused", if and only if, the previous value of status was different than "expired" - [Tags] mandatory + [Tags] sub-update 5_8_2 Update Subscription ${subscription_id} ${subscription_update_fragment_file_path} ${CONTENT_TYPE_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_10.robot b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_10.robot index 6cdf122fc827143e6d28e46485b7c749de9ab3bd..7705fc9912cb6c1720a0bec5ce225d1ebfbfb2c2 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_10.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_10.robot @@ -15,7 +15,7 @@ ${subscription_update_fragment_file_path}= subscriptions/fragments/subscriptio *** Test Case *** Activate Expired Subscription [Documentation] Check that you can update a subscription: If only expiresAt is included and refers to a DateTime in the future or is null, then status shall be updated to "active", if and only if the previous value of status was "expired" - [Tags] mandatory + [Tags] sub-update 5_8_2 # Update subscription to expired Update Subscription ${subscription_id} subscriptions/fragments/subscription-expiresAt-update-sample.json ${CONTENT_TYPE_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_11.robot b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_11.robot index 4c38313dc82bb2224f0396f7fd8c7bdff09ebd9d..6413dac1b1bc4d36f306ed33e2ec83dcc7f27a24 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_11.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_11.robot @@ -15,7 +15,7 @@ ${subscription_update_fragment_file_path}= subscriptions/fragments/subscriptio *** Test Case *** Update Subscription With ExpiresAt In The Past [Documentation] Check that you cannot update a subscription: If expiresAt is included but referring to a DateTime in the past, then a BadRequestData error shall be raised - [Tags] mandatory + [Tags] sub-update 5_8_2 Update Subscription ${subscription_id} ${subscription_update_fragment_file_path} ${CONTENT_TYPE_JSON} diff --git a/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_04.robot b/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_04.robot index c03dae1e698dcd5bca971ca35463395a9873808c..f6626258d82d6f709bbb96c5d8b9b012476942cb 100644 --- a/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_04.robot +++ b/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_04.robot @@ -12,7 +12,7 @@ ${registration_payload_file_path}= csourceRegistrations/context-source-registr *** Test Case *** Create one context source registration using a provided Link header with JSON content type [Documentation] Check that the @context is obtained from a Link Header if the Content-Type header is "application/json" - [Tags] mandatory + [Tags] csr-create 6_3_5 ${registration_id}= Generate Random Entity Id ${registration_id_prefix} ${payload}= Load Json From File ${EXECDIR}/data/${registration_payload_file_path} diff --git a/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_05.robot b/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_05.robot index 3d0410e9e391eaf6ae92f5ab4838748057a6b197..60108a491b457fb7f9eb165732468fb2d7652c54 100644 --- a/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_05.robot +++ b/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_05.robot @@ -12,7 +12,7 @@ ${registration_payload_file_path}= csourceRegistrations/context-source-registr *** Test Case *** Create one context source registration using the default context with JSON content type [Documentation] Check that the default @context is used if the Content-Type header is "application/json" and the Link header does not contain a JSON-LD @context - [Tags] mandatory + [Tags] csr-create 6_3_5 ${registration_id}= Generate Random Entity Id ${registration_id_prefix} ${payload}= Load Json From File ${EXECDIR}/data/${registration_payload_file_path} diff --git a/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_06.robot b/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_06.robot index 92f758fcccacce3392b84c9f1b00fd5addaa4009..6a8dba177c362dba56b8868623a1b280a6174f79 100644 --- a/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_06.robot +++ b/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_06.robot @@ -12,7 +12,7 @@ ${registration_payload_file_path}= csourceRegistrations/context-source-registr *** Test Case *** Create one context source registration containing a JSON-LD @context with a JSON content type [Documentation] Check that an HTTP error response of type BadRequestData is raised if the Content-Type header is "application/json" and the request payload body (as JSON) contains a "@context" term - [Tags] mandatory + [Tags] csr-create 6_3_5 ${registration_id}= Generate Random Entity Id ${registration_id_prefix} ${payload}= Load Json From File ${EXECDIR}/data/${registration_payload_file_path} diff --git a/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_07.robot b/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_07.robot index ca15e145500a8c9addfeb705989344c5eaf9991c..7dac576d83ef9229513e0d80829db858b077fee7 100644 --- a/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_07.robot +++ b/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_07.robot @@ -12,7 +12,7 @@ ${registration_payload_file_path}= csourceRegistrations/context-source-registr *** Test Case *** Create one context source registration using a JSON-LD @context obtained from the request payload [Documentation] Check that the @context is obtained from the request payload body itself if the Content-Type header is "application/ld+json" - [Tags] mandatory + [Tags] csr-create 6_3_5 ${registration_id}= Generate Random Entity Id ${registration_id_prefix} ${payload}= Load Json From File ${EXECDIR}/data/${registration_payload_file_path} diff --git a/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_08.robot b/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_08.robot index f09aaf23640e0436cba775c7e7d371de92821ae6..5beb1a4a33a84329b73644ca0110ed39609375b1 100644 --- a/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_08.robot +++ b/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_08.robot @@ -12,7 +12,7 @@ ${registration_payload_file_path}= csourceRegistrations/context-source-registr *** Test Case *** Create one context source registration not containing a JSON-LD @context with a JSON-LD content type [Documentation] Check that an HTTP error response of type BadRequestData is raised if the Content-Type header is "application/ld+json" and the request payload body does not contain a @context term - [Tags] mandatory + [Tags] csr-create 6_3_5 ${registration_id}= Generate Random Entity Id ${registration_id_prefix} ${payload}= Load Json From File ${EXECDIR}/data/${registration_payload_file_path} diff --git a/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_09.robot b/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_09.robot index 53349e385a81b081e85078988b1ed68310d09ed1..4ff9a5d817d6e0cbc496771230e839596d03f495 100644 --- a/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_09.robot +++ b/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_09.robot @@ -12,7 +12,7 @@ ${registration_payload_file_path}= csourceRegistrations/context-source-registr *** Test Case *** Create one context source registration with a Link header and a JSON-LD content type [Documentation] Check that an HTTP error response of type BadRequestData is raised if the Content-Type header is "application/ld+json" and a JSON-LD Link header is present in the incoming HTTP request - [Tags] mandatory + [Tags] csr-create 6_3_5 ${registration_id}= Generate Random Entity Id ${registration_id_prefix} ${payload}= Load Json From File ${EXECDIR}/data/${registration_payload_file_path} diff --git a/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_01.robot b/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_01.robot index 6f13b97220b15fc6390b9815648de38d565eada0..11c4692a194599ef89a6eadeb9df6b03470d9faa 100644 --- a/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_01.robot +++ b/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_01.robot @@ -15,13 +15,14 @@ ${second_context_source_registration_payload_file_path}= csourceRegistrations/ *** Test Cases *** QUERY_PARAM_NAME QUERY_PARAM_VALUE EXPECTATION_FILE_PATH EXPECTED_CONTEXT_SOURCE_REGISTRATION_IDS With list of entity types type Building csourceRegistrations/expectations/context-source-registrations-037-01-expectation.json ${first_context_source_registration_id} ${second_context_source_registration_id} + [Tags] csr-query 5_10_2 With list of attribute names attrs name csourceRegistrations/expectations/context-source-registrations-037-01-expectation.json ${second_context_source_registration_id} + [Tags] csr-query 5_10_2 *** Keywords *** Query Context Source Registration [Arguments] ${query_param_name} ${query_param_value} ${expectation_file_path} @{expected_context_source_registration_ids} [Documentation] Check that you can query context source registrations if at least one of list of Entity Types or list of Attribute names is present - [Tags] mandatory Query Context Source Registrations context=${ngsild_test_suite_context} ${query_param_name}=${query_param_value} diff --git a/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_02.robot b/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_02.robot index 99bee9233010c3fbe539d6c6039bddc434ec835e..245aa9ebada3e155f8f47fb46fb0a271fe50dfe1 100644 --- a/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_02.robot +++ b/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_02.robot @@ -7,7 +7,7 @@ Resource ${EXECDIR}/resources/JsonUtils.resource *** Test Case *** Query Context Source Registrations Without Entity Types and Attribute Names [Documentation] Check that you cannot query context source registrations, if neither Entity types nor Attribute names are provided, an error of type - [Tags] mandatory + [Tags] csr-query 5_10_2 Query Context Source Registrations context=${ngsild_test_suite_context} diff --git a/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_03.robot b/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_03.robot index 8199b09fd1735135d26ca732c1cf651d8cb8bc51..babb59c549dccc6e2bf3061e91b62da72f1f6e2a 100644 --- a/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_03.robot +++ b/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_03.robot @@ -8,15 +8,18 @@ Test Template Query Context Source Registration With Invalid Query Param *** Test Cases *** QUERY_PARAM_NAME QUERY_PARAM_VALUE Invalid URI id invalidUri + [Tags] csr-query 5_10_2 Invalid Query q invalidQuery + [Tags] csr-query 5_10_2 Invalid GeoQuery georel within + [Tags] csr-query 5_10_2 Invalid Temporal Query timerel before + [Tags] csr-query 5_10_2 *** Keywords *** Query Context Source Registration With Invalid Query Param [Arguments] ${query_param_name} ${query_param_value} [Documentation] Check that you cannot query context source registrations, if the list of Entity identifiers includes a URI which it is not valid, or the query, geo-query or temporal query are not syntactically valid - [Tags] mandatory Query Context Source Registrations context=${ngsild_test_suite_context} ${query_param_name}=${query_param_value} diff --git a/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_04.robot b/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_04.robot index 78dadc239614ad39713cdfcb8803bc10c3974db6..b8bac84b3e94f773848ee540810a26e715b905bd 100644 --- a/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_04.robot +++ b/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_04.robot @@ -15,7 +15,7 @@ ${expectation_file_path}= csourceRegistrations/expectations/context-source-reg *** Test Case *** Query Context Source Registrations Without Context [Documentation] Check that you can query context source registrations. If a JSON-LD context is not provided, then all the query terms shall be resolved against the default JSON-LD @context - [Tags] mandatory + [Tags] csr-query 5_10_2 Query Context Source Registrations id=${context_source_registration_id} diff --git a/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_05.robot b/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_05.robot index 399fa003bfc3ee1b1f31d9807f048079c6ec89d9..79fa92d4d4413fee44b37ebc9aecc4c779b524f8 100644 --- a/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_05.robot +++ b/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_05.robot @@ -11,13 +11,14 @@ ${context_source_registration_id_prefix}= urn:ngsi-ld:ContextSourceRegistration *** Test Cases *** REGISTRATION_FILE_PATH EXPECTATION_FILE_PATH Registration With EntityInfo Matching The Query csourceRegistrations/context-source-registration-sample.jsonld csourceRegistrations/expectations/context-source-registrations-037-05-01-expectation.json + [Tags] csr-query 5_10_2 Registration Without EntityInfo csourceRegistrations/context-source-registration-with-only-properties-information-sample.jsonld csourceRegistrations/expectations/context-source-registrations-037-05-02-expectation.json + [Tags] csr-query 5_10_2 *** Keywords *** Query Context Source Registration Matching EntityInfo of RegistrationInfo [Arguments] ${registration_file_path} ${expectation_file_path} [Documentation] Check that you can query context source registrations matching EntityInfo of RegistrationInfo - [Tags] mandatory ${context_source_registration_id}= Generate Random Entity Id ${context_source_registration_id_prefix} ${context_source_registration_payload}= Load Test Sample ${registration_file_path} ${context_source_registration_id} diff --git a/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_06.robot b/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_06.robot index 97f252914125b2bf9af3f6fb7e5759c8af2e54d4..f5cb05ca95c4dc29a9733949ad85d1f87669c94d 100644 --- a/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_06.robot +++ b/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_06.robot @@ -14,13 +14,14 @@ ${context_source_registration_payload_file_path}= csourceRegistrations/context *** Test Cases *** ATTRS_VALUE EXPECTATION_FILE_PATH Query With Matching Properties And Relationships name,locatedAt csourceRegistrations/expectations/context-source-registrations-037-06-expectation.json + [Tags] csr-query 5_10_2 Query Without Properties And Relationships ${EMPTY} csourceRegistrations/expectations/context-source-registrations-037-06-expectation.json + [Tags] csr-query 5_10_2 *** Keywords *** Query Context Source Registration Matching Properties And Relationships Of RegistrationInfo [Arguments] ${attrs_value} ${expectation_file_path} [Documentation] Check that you can query context source registrations matching property and relationships names of RegistrationInfo - [Tags] mandatory Query Context Source Registrations context=${ngsild_test_suite_context} type=Building attrs=${attrs_value} diff --git a/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_07.robot b/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_07.robot index efcd395227ee786b4981640525942d0cbf608527..4414dfd859b077c22b1975407040907de864b368 100644 --- a/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_07.robot +++ b/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_07.robot @@ -15,13 +15,14 @@ ${expectation_file_path}= csourceRegistrations/expectations/context-source-reg *** Test Cases *** GEOREL GEOMETRY COORDINATES GEOPROPERTY EXPECTATION_FILE_PATH Near Point near;maxDistance==2000 Point [-8.503,41.202] ${EMPTY} ${expectation_file_path} + [Tags] csr-query 5_10_2 Within Polygon within Polygon [[-13.503,47.202],[6.541, 52.961],[20.37,44.653],[9.46,32.57],[-15.23,21.37]] location ${expectation_file_path} + [Tags] csr-query 5_10_2 *** Keywords *** Query Context Source Registration Matching Geoquery [Arguments] ${georel} ${geometry} ${coordinates} ${geoproperty} ${expectation_file_path} [Documentation] Check that you can query context source registrations. If present, the geoquery is matched against the GeoProperty identified in the geoquery - [Tags] mandatory Query Context Source Registrations context=${ngsild_test_suite_context} type=Building georel=${georel} geometry=${geometry} coordinates=${coordinates} geoproperty=${geoproperty} diff --git a/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_08.robot b/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_08.robot index 256d33933572d2c062625f59727834eb4f6ae1b5..cbc1fc83d91a8f6f0fb442a59ce894a59db18bc0 100644 --- a/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_08.robot +++ b/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_08.robot @@ -15,7 +15,7 @@ ${expectation_file_path}= csourceRegistrations/expectations/context-source-reg *** Test Case *** Query Context Source Registration Without Temporal Query [Documentation] Check that you can query context source registrations. If no temporal query is present, only Context Source Registrations for Context Sources providing latest information are considered - [Tags] mandatory + [Tags] csr-query 5_10_2 Query Context Source Registrations context=${ngsild_test_suite_context} type=Building diff --git a/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_09.robot b/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_09.robot index 8b0f1f10d81d8a1e315ace27ad8dcacd757aaddb..1c9948f9b418d84ab35c06e6f229f36d32b85d6d 100644 --- a/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_09.robot +++ b/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_09.robot @@ -15,15 +15,18 @@ ${management_interval_expectation_file_path}= csourceRegistrations/expectation *** Test Cases *** PAYLOAD_FILE_PATH TIMEPROPERTY EXPECTATION_FILE_PATH Observation Interval With observedAt ${context_source_registration_observation_interval_payload_file_path} observedAt ${observation_interval_expectation_file_path} + [Tags] csr-query 5_10_2 Observation Interval Without timeproperty ${context_source_registration_observation_interval_payload_file_path} ${EMPTY} ${observation_interval_expectation_file_path} + [Tags] csr-query 5_10_2 Mqnagement Interval With createdAt ${context_source_registration_management_interval_payload_file_path} createdAt ${management_interval_expectation_file_path} + [Tags] csr-query 5_10_2 Mqnagement Interval With modifiedAt ${context_source_registration_management_interval_payload_file_path} modifiedAt ${management_interval_expectation_file_path} + [Tags] csr-query 5_10_2 *** Keywords *** Query Context Source Registration Matching Temporal Query [Arguments] ${payload_file_path} ${timeproperty} ${expectation_file_path} [Documentation] Check that you can query context source registrations. If present, the temporal query is matched against the observationInterval or the managementInterval - [Tags] mandatory ${context_source_registration_id}= Generate Random Entity Id ${context_source_registration_id_prefix} ${context_source_registration_payload}= Load Test Sample ${payload_file_path} ${context_source_registration_id} diff --git a/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_10.robot b/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_10.robot index 94076c1ff5cb27d92dcc3327ecf1b43a6e4665be..1df91252333227a30b92e77c75be39409c144811 100644 --- a/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_10.robot +++ b/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_10.robot @@ -16,14 +16,16 @@ ${third_context_source_registration_payload_file_path}= csourceRegistrations/c *** Test Cases *** QUERY_PARAM_NAME QUERY_PARAM_VALUE EXPECTATION_FILE_PATH EXPECTED_CONTEXT_SOURCE_REGISTRATION_IDS With list of Entity Ids id ${first_context_source_registration_id},${third_context_source_registration_id} csourceRegistrations/expectations/context-source-registrations-037-10-01-expectation.json ${first_context_source_registration_id} ${third_context_source_registration_id} + [Tags] csr-query 5_10_2 With NGSI-LD Query q location.type=="GeoProperty" csourceRegistrations/expectations/context-source-registrations-037-10-02-expectation.json ${third_context_source_registration_id} + [Tags] csr-query 5_10_2 With Context Source Filter csf endpoint=="http://my.csource.org:1026" csourceRegistrations/expectations/context-source-registrations-037-10-03-expectation.json ${first_context_source_registration_id} ${second_context_source_registration_id} ${third_context_source_registration_id} + [Tags] csr-query 5_10_2 *** Keywords *** Query Context Source Registration With Query Params [Arguments] ${query_param_name} ${query_param_value} ${expectation_file_path} @{expected_context_source_registration_ids} [Documentation] Check that you can query context source registrations. If present, the conditions specified by the context source query match the respective Context Source Properties - [Tags] mandatory Query Context Source Registrations context=${ngsild_test_suite_context} ${query_param_name}=${query_param_value} diff --git a/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_11.robot b/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_11.robot index ee83a7d74c01b91bf169f184e2dac0e3bbe15706..10f8e0ecc20fd7a8845101bef22b22c2b8fcb414 100644 --- a/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_11.robot +++ b/TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_11.robot @@ -16,14 +16,16 @@ ${third_context_source_registration_payload_file_path}= csourceRegistrations/c *** Test Cases *** LIMIT PAGE EXPECTED_NUMBER PREV_LINK NEXT_LINK Query Second Subscription ${1} ${2} ${1} ;rel="prev";type="application/ld+json" ;rel="next";type="application/ld+json" + [Tags] csr-query 5_10_2 Query Last Subscription ${2} ${2} ${1} ;rel="prev";type="application/ld+json" ${EMPTY} + [Tags] csr-query 5_10_2 Query All Subscriptions ${15} ${1} ${3} ${EMPTY} ${EMPTY} + [Tags] csr-query 5_10_2 *** Keywords *** Query Context Source Registration With Limit And Page Parameters [Arguments] ${limit} ${page} ${expected_number} ${prev_link} ${next_link} [Documentation] Check that you can query context source registrations with providing page and limit parameters, pagination logic shall be in place as mandated by clause 5.5.9. - [Tags] mandatory Query Context Source Registrations context=${ngsild_test_suite_context} type=Building limit=${limit} page=${page} diff --git a/TP/NGSI-LD/ContextSource/Registration/RetrieveContextSourceRegistration/036_01.robot b/TP/NGSI-LD/ContextSource/Registration/RetrieveContextSourceRegistration/036_01.robot index 41981066d7ef6b04333188dd34fa813fa4f8668f..b0f524e499152216d23fe90a0828baded8bb4c64 100644 --- a/TP/NGSI-LD/ContextSource/Registration/RetrieveContextSourceRegistration/036_01.robot +++ b/TP/NGSI-LD/ContextSource/Registration/RetrieveContextSourceRegistration/036_01.robot @@ -8,7 +8,9 @@ Test Template Retrieve Context Source Registration With A Not Present Or Invali *** Test Cases *** ID Not Present Id ${EMPTY} + [Tags] csr-retrieve 5_10_1 Invalid Id invalidUri + [Tags] csr-retrieve 5_10_1 *** Keywords *** @@ -16,7 +18,6 @@ Retrieve Context Source Registration With A Not Present Or Invalid Id [Arguments] ${id} [Documentation] Check that you cannot a retrieve Context Source Registration, if the context source registration id is not present or it is not a valid URI - [Tags] mandatory Retrieve Context Source Registration ${id} diff --git a/TP/NGSI-LD/ContextSource/Registration/RetrieveContextSourceRegistration/036_02.robot b/TP/NGSI-LD/ContextSource/Registration/RetrieveContextSourceRegistration/036_02.robot index bdc90d7637e261b50d51d55fb5285588a66f83fa..10b9e3f51827e988f467f158a72a78c8767d7f29 100644 --- a/TP/NGSI-LD/ContextSource/Registration/RetrieveContextSourceRegistration/036_02.robot +++ b/TP/NGSI-LD/ContextSource/Registration/RetrieveContextSourceRegistration/036_02.robot @@ -7,7 +7,7 @@ Resource ${EXECDIR}/resources/JsonUtils.resource *** Test Case *** Retrieve Unknown Context Source Registration [Documentation] Check that you cannot retrieve a Context Source Registration, if the NGSI-LD endpoint does not know about the target context source registration, because there is no existing context source registration whose id (URI) is equivalent - [Tags] mandatory + [Tags] csr-retrieve 5_10_1 Retrieve Context Source Registration urn:ngsi-ld:ContextSourceRegistration:unknowRegistration diff --git a/TP/NGSI-LD/ContextSource/Registration/RetrieveContextSourceRegistration/036_03.robot b/TP/NGSI-LD/ContextSource/Registration/RetrieveContextSourceRegistration/036_03.robot index c1fc4b2ef0e0eca83cc82f98309dfe5231184133..0b2e26a2de9142f56a77bcfaf7b4bed96548b354 100644 --- a/TP/NGSI-LD/ContextSource/Registration/RetrieveContextSourceRegistration/036_03.robot +++ b/TP/NGSI-LD/ContextSource/Registration/RetrieveContextSourceRegistration/036_03.robot @@ -15,7 +15,7 @@ ${expectation_file_path}= csourceRegistrations/expectations/context-source-reg *** Test Case *** Retrieve Context Source Registration With Default Core Context [Documentation] Check that you can retrieve a Context Source Registration. Term to URI expansion of Attribute names shall be observed. - [Tags] mandatory + [Tags] csr-retrieve 5_10_1 Retrieve Context Source Registration ${context_source_registration_id} diff --git a/TP/NGSI-LD/ContextSource/Registration/RetrieveContextSourceRegistration/036_04.robot b/TP/NGSI-LD/ContextSource/Registration/RetrieveContextSourceRegistration/036_04.robot index 3577a1e781e0c7ed238071162760205eae5789f7..e895d1170afa518322c3277f37e104cbad4898e7 100644 --- a/TP/NGSI-LD/ContextSource/Registration/RetrieveContextSourceRegistration/036_04.robot +++ b/TP/NGSI-LD/ContextSource/Registration/RetrieveContextSourceRegistration/036_04.robot @@ -15,7 +15,7 @@ ${expectation_file_path}= csourceRegistrations/expectations/context-source-reg *** Test Case *** Retrieve Context Source Registration [Documentation] Check that you can retrieve a Context Source Registration - [Tags] mandatory + [Tags] csr-retrieve 5_10_1 Retrieve Context Source Registration ${context_source_registration_id} context=${ngsild_test_suite_context} diff --git a/TP/NGSI-LD/ContextSource/Registration/RetrieveContextSourceRegistration/036_05.robot b/TP/NGSI-LD/ContextSource/Registration/RetrieveContextSourceRegistration/036_05.robot index 368f62590c255a34f45be5f56ee53d2e69558dd5..14e668ed8dc3cc47c72b2a5305f14bdb6f53296d 100644 --- a/TP/NGSI-LD/ContextSource/Registration/RetrieveContextSourceRegistration/036_05.robot +++ b/TP/NGSI-LD/ContextSource/Registration/RetrieveContextSourceRegistration/036_05.robot @@ -17,13 +17,14 @@ ${expectation_file_path_expanded}= csourceRegistrations/expectations/context-s *** Test Cases *** CONTEXT EXPECTED_PAYLOAD EmptyJsonLdContext ${EMPTY} ${expectation_file_path_expanded} + [Tags] csr-retrieve 6_3_5 CreationTimeJsonLdContext ${ngsild_test_suite_context} ${expectation_file_path_compacted} + [Tags] csr-retrieve 6_3_5 *** Keywords *** Check JSON-LD resolution when retrieving a context source registration [Arguments] ${context} ${expected_payload} [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 - [Tags] mandatory Retrieve Context Source Registration ${context_source_registration_id} context=${context} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_01.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_01.robot index aeb55b3c43d97dc1e6cba5e6bccd03047798836a..31cb75e76f76ddfa6bb329247d2bb827119f1ff4 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_01.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_01.robot @@ -14,7 +14,7 @@ ${subscription_payload_file_path}= csourceSubscriptions/subscription-sample.js *** Test Case *** Create Context Source Registration Subscription [Documentation] Check that you can create a minimal context source registration subscription - [Tags] mandatory + [Tags] csrsub-create 5_11_2 ${subscription_payload}= Load Test Sample ${subscription_payload_file_path} ${subscription_id} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_02.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_02.robot index d7019a9802f280b05558c081a066af32a49da9b5..d6b0c567b3197fc99f17cdc8a63cde0f6322b174 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_02.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_02.robot @@ -13,7 +13,7 @@ ${subscription_payload_file_path}= csourceSubscriptions/subscription-sample.js *** Test Case *** Create Context Source Registration Subscription Without An Id [Documentation] Check that you can create a context source registration subscription without providing an id and it will be automatically generated - [Tags] mandatory + [Tags] csrsub-create 5_11_2 ${subscription_payload}= Load Test Sample ${subscription_payload_file_path} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_03.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_03.robot index bb635568c8fd045626099de4c5161fa3152e3429..22801be6db164384b057ae6f2dc03e8e7e382320 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_03.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_03.robot @@ -14,7 +14,7 @@ ${subscription_payload_file_path}= csourceSubscriptions/subscription-sample.js *** Test Case *** Create Context Source Registration Subscription Without isActive Member [Documentation] Check that you can create a context source registration subscription without providing isActive member and will be active by default - [Tags] mandatory + [Tags] csrsub-create 5_11_2 ${subscription_payload}= Load Test Sample ${subscription_payload_file_path} ${subscription_id} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_04.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_04.robot index ee2c08b5787ece60bc45dbaa6f74db6dbf308ee3..73747b2f0849daba1fe15da6d4cb64fb74c7beda 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_04.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_04.robot @@ -14,7 +14,7 @@ ${subscription_payload_file_path}= csourceSubscriptions/subscription-inactive- *** Test Case *** Create Inactive Context Source Registration Subscription [Documentation] Check that you can create a context source registration subscription with isActive member set to false and it's initial status will be set to "paused" - [Tags] mandatory + [Tags] csrsub-create 5_11_2 ${subscription_payload}= Load Test Sample ${subscription_payload_file_path} ${subscription_id} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_05.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_05.robot index 4bb7737a5b3d283eaf27a979d9f03b17a5db145b..a41813d27c5f4c06110b157ef0e3ad5b699cc5b0 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_05.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_05.robot @@ -14,7 +14,7 @@ ${subscription_payload_file_path}= csourceSubscriptions/subscription-expiresAt *** Test Case *** Create Context Source Registration Subscription With expiresAt Member [Documentation] Check that you can create a context source registration subscription with an expiresAt member and when it is due the status of the subscription changes to expired - [Tags] mandatory + [Tags] csrsub-create 5_11_2 ${subscription_payload_sample}= Load Test Sample ${subscription_payload_file_path} ${subscription_id} ${current_date}= Get Current Date time_zone=UTC result_format=${date_format} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_06.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_06.robot index e6c70610ba9bc2eda587239fcd7df2f1f91e79e0..414e0feec3ef37566e9a2740084019e02aca598d 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_06.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_06.robot @@ -14,7 +14,7 @@ ${subscription_payload_file_path}= csourceSubscriptions/subscription-sample.js *** Test Case *** Create Context Source Registration Subscription Without expiresAt Member [Documentation] Check that you can create a context source registration subscription without an expiresAt member and it will be considered as perpetual - [Tags] mandatory + [Tags] csrsub-create 5_11_2 ${subscription_payload}= Load Test Sample ${subscription_payload_file_path} ${subscription_id} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_07.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_07.robot index 11d1ab963a73c3854e9c6dbfafabb1633bac6295..f38c99e34618bd63e36fe9fcb831801242ea955d 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_07.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_07.robot @@ -14,7 +14,7 @@ ${subscription_payload_file_path}= csourceSubscriptions/subscription-sample.js *** Test Case *** Create Existing Context Source Registration Subscription [Documentation] Check that you cannot create a context source registration subscription where another context source registration subscription whose id is equivalent exists - [Tags] mandatory + [Tags] csrsub-create 5_11_2 ${subscription_payload}= Load Test Sample ${subscription_payload_file_path} ${subscription_id} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_08.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_08.robot index 7bbdbcf3fd2a964cb63b8e3eba9f6766d5269b95..6c1cc5147b9e4cc1282b33f55f0d62a7cf878df4 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_08.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_08.robot @@ -12,15 +12,18 @@ ${subscription_payload_file_path}= *** Test Cases *** FILEPATH WithoutNotification csourceSubscriptions/subscription-without-notification-sample.jsonld + [Tags] csrsub-create 5_11_2 InvalidType csourceSubscriptions/subscription-invalid-type-sample.jsonld + [Tags] csrsub-create 5_11_2 InvalidQuery csourceSubscriptions/subscription-invalid-query-sample.jsonld + [Tags] csrsub-create 5_11_2 EmptyWatchedAttributes csourceSubscriptions/subscription-empty-watchedAttributes-sample.jsonld + [Tags] csrsub-create 5_11_2 *** Keywords *** Create Invalid Context Source Registration Subscription [Arguments] ${filepath} [Documentation] Check that you cannot create a context source registration subscription If the data types, cardinalities and restrictions expressed by clause 5.2.12 are not met - [Tags] mandatory ${subscription_id}= Generate Random Entity Id ${subscription_id_prefix} ${subscription_payload}= Load Test Sample ${filepath} ${subscription_id} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_09.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_09.robot index 9a0f4450e34e21e1162992fe6f8ec94da8848ed9..2788ed161a34637e384b0eab897b9869ebab2b9f 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_09.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_09.robot @@ -11,7 +11,7 @@ ${subscription_payload_file_path}= csourceSubscriptions/subscription-expired-s *** Test Case *** Create Expired Context Source Registration Subscription [Documentation] Check that you cannot create a context source registration subscription with an expiration timestamp representing a moment before the current date and time - [Tags] mandatory + [Tags] csrsub-create 5_11_2 ${subscription_id}= Generate Random Entity Id ${subscription_id_prefix} ${subscription_payload}= Load Test Sample ${subscription_payload_file_path} ${subscription_id} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/DeleteContextSourceRegistrationSubscription/042_01.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/DeleteContextSourceRegistrationSubscription/042_01.robot index 53629a0f398935f9352c9f222f68973e35e23036..651d8a2978314c5a0475284fac1bce2fdd2427e5 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/DeleteContextSourceRegistrationSubscription/042_01.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/DeleteContextSourceRegistrationSubscription/042_01.robot @@ -13,7 +13,7 @@ ${subscription_payload_file_path}= csourceSubscriptions/subscription-sample.js *** Test Case *** Delete Context Source Registration Subscription [Documentation] Check that you can delete a context source registration subscription - [Tags] mandatory + [Tags] csrsub-delete 5_11_6 Delete Context Source Registration Subscription ${subscription_id} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/DeleteContextSourceRegistrationSubscription/042_02.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/DeleteContextSourceRegistrationSubscription/042_02.robot index 61755ee6849494a6df562dab9f92bc774534899b..5ff3f69e078d456a5db7c4a3d21a25de6c00a4e2 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/DeleteContextSourceRegistrationSubscription/042_02.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/DeleteContextSourceRegistrationSubscription/042_02.robot @@ -7,7 +7,7 @@ Resource ${EXECDIR}/resources/JsonUtils.resource *** Test Case *** Delete Context Source Registration Subscription With Invalid Uri [Documentation] Check that you cannot delete a context source registration subscription with an invalid URI - [Tags] mandatory + [Tags] csrsub-delete 5_11_6 Delete Context Source Registration Subscription invalidUri diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/DeleteContextSourceRegistrationSubscription/042_03.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/DeleteContextSourceRegistrationSubscription/042_03.robot index 8156d8f913d9152816a4c8cfd2d7d32e0b43ae88..ea4afc67474704f155c5b4b628d7d70b4fe5af5c 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/DeleteContextSourceRegistrationSubscription/042_03.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/DeleteContextSourceRegistrationSubscription/042_03.robot @@ -7,7 +7,7 @@ Resource ${EXECDIR}/resources/JsonUtils.resource *** Test Case *** Delete Unknown Context Source Registration Subscription With Invalid Uri [Documentation] Check that you cannot delete an unknown context source registration subscription - [Tags] mandatory + [Tags] csrsub-delete 5_11_6 Delete Context Source Registration Subscription urn:ngsi-ld:Subscription:unknowSubscription diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_01.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_01.robot index 09b5e1f6afc6cde6b52e27d320274e565592e584..912b2fbd3727e0daf50b5752c7f5babe8bc04738 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_01.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_01.robot @@ -17,7 +17,7 @@ ${subscription_payload_file_path}= csourceSubscriptions/subscription-timeInter *** Test Case *** Receive cSourceNotification Periodically And Initially On Subscription [Documentation] Check that if the created context source registration subscription defines a timeInterval member, a cSourceNotification will be sent periodically, initially on subscription and when the time interval is reached - [Tags] mandatory + [Tags] csrsub-notification 5_11_7 ${subscription_id}= Generate Random Entity Id ${subscription_id_prefix} ${subscription_payload}= Load Subscription Sample With Reachable Endpoint ${subscription_payload_file_path} ${subscription_id} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_02.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_02.robot index 04e6f2ac12bcfe5da1a04eed976217dd3472b1d5..1470fdbc6de74fec751c3da5432d17662dacc367 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_02.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_02.robot @@ -18,7 +18,7 @@ ${update_fragment_file_path}= csourceRegistrations/fragments/context-source-re *** Test Case *** Receive cSourceNotification Initially On Subscription And Whenever There Is A Change Of A Matching Context Source Registration [Documentation] Check that if the created context source registration subscription doesn't define a timeInterval member, a cSourceNotification, with the appropriate trigger reason in the "triggerReason" member, will be sent initially on subscription and whenever there is a change of a matching Context Source Registration - [Tags] mandatory + [Tags] csrsub-notification 5_11_7 ${subscription_id}= Generate Random Entity Id ${subscription_id_prefix} ${subscription_payload}= Load Subscription Sample With Reachable Endpoint ${subscription_payload_file_path} ${subscription_id} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_03.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_03.robot index 8531a45f0b4e5b3abd1c545637cd3bed12f0be06..8cbebca26e184cff274554c595fb026c24ea0ea5 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_03.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_03.robot @@ -17,7 +17,7 @@ ${subscription_payload_file_path}= csourceSubscriptions/subscription-sample.js *** Test Case *** Receive cSourceNotification With Relevant Information [Documentation] Check that instead of providing the original context source registration, implementations should return context source registration information relevant for the subscription, in particular only matching RegistrationInfo elements - [Tags] mandatory + [Tags] csrsub-notification 5_11_7 ${context_source_registration_id}= Generate Random Entity Id ${context_source_registration_id_prefix} ${context_source_registration_payload}= Load Test Sample ${context_source_registration_payload_file_path} ${context_source_registration_id} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_04.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_04.robot index c61dd05834eedb1bc7f470bb1a7d4a4f6b8f6d61..2f4bb44760b8b4f8315d42e3d555eb4a7a57c8ea 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_04.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_04.robot @@ -17,7 +17,7 @@ ${subscription_payload_file_path}= csourceSubscriptions/subscription-sample.js *** Test Case *** Receive cSourceNotification With Compliant Structure [Documentation] The structure of the csource notification message shall be as mandated by clause 5.3.2 - [Tags] mandatory + [Tags] csrsub-notification 5_11_7 ${context_source_registration_id}= Generate Random Entity Id ${context_source_registration_id_prefix} ${context_source_registration_payload}= Load Test Sample ${context_source_registration_payload_file_path} ${context_source_registration_id} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_05.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_05.robot index 61af8f1d678d93e3173b0bbbd0bb47001ebb1004..852dec857af52722edd0f2dbd0ff31f915813cc3 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_05.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_05.robot @@ -18,7 +18,7 @@ ${notification_expectation_file_path}= notifications/expectations/1-timesSent- *** Test Case *** If A cSourceNotification Is Successfully Sent The Notification Member Shall Be Updated [Documentation] Check that if a cSourceNotification is sent successfully to the "endpoint" member, the "notification.timesSent" member shall be incremented by one and the "notification.lastSuccess" and "notification.lastNotification" members shall be updated with the current timestamp and the status of the context source registration subscription shall be updated to "ok" - [Tags] mandatory + [Tags] csrsub-notification 5_11_7 ${context_source_registration_id}= Generate Random Entity Id ${context_source_registration_id_prefix} ${context_source_registration_payload}= Load Test Sample ${context_source_registration_payload_file_path} ${context_source_registration_id} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_06.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_06.robot index 594793d52867903dafdc0318b8c55281302e412f..4208e21fbda896f7f8ad631d7d095d6c7e84b620 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_06.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_06.robot @@ -18,7 +18,7 @@ ${notification_expectation_file_path}= notifications/expectations/1-timesSent- *** Test Case *** If A cSourceNotification Is Not Successfully Sent The Notification Member Shall Be Updated [Documentation] Check that if a cSourceNotification is not sent successfully, the "notification.timesSent" member shall be incremented by one and the notification.lastFailure" and "notification.lastNotification" members shall be updated with the current timestamp and the status of the context source registration subscription shall be updated to "failed" - [Tags] mandatory + [Tags] csrsub-notification 5_11_7 ${context_source_registration_id}= Generate Random Entity Id ${context_source_registration_id_prefix} ${context_source_registration_payload}= Load Test Sample ${context_source_registration_payload_file_path} ${context_source_registration_id} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_07.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_07.robot index 6b244861d0cb89771ab2c506e7dd10c71593fc57..11309d9cb6a8518fdd846ed468f44e5f6bf3c37c 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_07.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_07.robot @@ -17,13 +17,14 @@ ${subscription_payload_file_path}= csourceSubscriptions/subscription-sample.js *** Test Cases *** FILEPATH PausedSubscription csourceSubscriptions/fragments/subscription-isActive-update-sample.json + [Tags] csrsub-notification 5_11_7 ExpiredSubscription csourceSubscriptions/fragments/subscription-expiresAt-update-sample.json + [Tags] csrsub-notification 5_11_7 *** Keywords *** Do Not Receive cSourceNotification If Subscription Status Is Not Active [Arguments] ${filepath} [Documentation] Check that a cSourceNotification shall only be sent if and only if the status of the corresponding subscription is active not paused nor expired - [Tags] mandatory ${subscription_update_fragment}= Load Test Sample ${filepath} Update Context Source Registration Subscription ${subscription_id} ${subscription_update_fragment} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_08.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_08.robot index 16b9cb92c8968c1c2db3c0ed52c2207cd561fed1..957e126edf2ac749ca56a9cf5ae919d2502e6303 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_08.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_08.robot @@ -18,7 +18,7 @@ ${update_fragment_file_path}= csourceRegistrations/fragments/context-source-re *** Test Case *** Receive cSourceNotification For Matching Context Source Registrations Providing Latest Information [Documentation] Check if a context source registration subscription does not define a temporalQ member, a CsourceNotification will be triggered from matching context source registrations for context sources providing latest information - [Tags] mandatory + [Tags] csrsub-notification 5_11_7 ${update_fragment}= Load Test Sample ${update_fragment_file_path} Update Context Source Registration ${context_source_registration_id} ${update_fragment} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_09.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_09.robot index 834ab1aeb87e585dbfb4fcac896dea82e46988b8..893cada78639e50c3133cf552ae23e02491c1a64 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_09.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_09.robot @@ -18,7 +18,7 @@ ${update_fragment_file_path}= csourceRegistrations/fragments/context-source-re *** Test Case *** Receive cSourceNotification For No Longer Matching Context Source Registrations Providing Latest Information [Documentation] Check if a context source registration subscription defines an entities member, a CsourceNotification will be triggered from context source registrations with information member matching the described entities - [Tags] mandatory + [Tags] csrsub-notification 5_11_7 ${update_fragment}= Load Test Sample ${update_fragment_file_path} Update Context Source Registration ${context_source_registration_id} ${update_fragment} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_10.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_10.robot index 6d2d3a1bd8b40b5a8b1e5a40e84bcf54784a0dcf..35e64443352784af06283b4dc712118605428742 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_10.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_10.robot @@ -17,7 +17,7 @@ ${subscription_payload_file_path}= csourceSubscriptions/subscription-temporalQ *** Test Case *** Receive cSourceNotification For Matching Context Source Registrations On Observation Interval [Documentation] Check if a context source registration subscription defines temporalQ member with timeproperty observedAt, the temporal query is matched against the observationInterval of matching context source registrations - [Tags] mandatory + [Tags] csrsub-notification 5_11_7 ${context_source_registration_id}= Generate Random Entity Id ${context_source_registration_id_prefix} ${context_source_registration_payload}= Load Test Sample ${context_source_registration_payload_file_path} ${context_source_registration_id} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_11.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_11.robot index 64dca1334d566bde23f043d3f82aab23c7541a4b..b77708bd2edc44d2231b0442cdd604f762f215a6 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_11.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_11.robot @@ -16,13 +16,14 @@ ${context_source_registration_payload_file_path}= csourceRegistrations/context *** Test Cases *** FILEPATH CreatedAt csourceSubscriptions/subscription-temporalQ-createdAt-sample.jsonld + [Tags] csrsub-notification 5_11_7 ModifiedAt csourceSubscriptions/subscription-temporalQ-modifiedAt-sample.jsonld + [Tags] csrsub-notification 5_11_7 *** Keywords *** Receive cSourceNotification For Matching Context Source Registrations On Management Interval [Arguments] ${filepath} [Documentation] Check if a context source registration subscription defines temporalQ member with timeproperty createdAt or modifiedAt, the temporal query is matched against the managementInterval of matching context source registrations - [Tags] mandatory ${subscription_id}= Generate Random Entity Id ${subscription_id_prefix} ${subscription_payload}= Load Subscription Sample With Reachable Endpoint ${filepath} ${subscription_id} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_12.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_12.robot index 995a53c9004b8e750034549ee7d6d15c78bee7c8..271aadf341e08c87533e722dbb7885a25646c89d 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_12.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_12.robot @@ -17,7 +17,7 @@ ${subscription_payload_file_path}= csourceSubscriptions/subscription-watchedAt *** Test Case *** Receive cSourceNotification For Matching Context Source Registrations On Watched Attributes [Documentation] Check if a context source registrations subscription defines entities member and watchedAttributes member, a CsourceNotification will be triggered from context source registrations with information member matching the described entities and attributes - [Tags] mandatory + [Tags] csrsub-notification 5_11_7 ${context_source_registration_id}= Generate Random Entity Id ${context_source_registration_id_prefix} ${context_source_registration_payload}= Load Test Sample ${context_source_registration_payload_file_path} ${context_source_registration_id} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_13.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_13.robot index 3317b4f6bf8da1c32467d039ffae05a494783964..7cc6abe3c266e9a1ad3841fb62975dcfa59330cc 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_13.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_13.robot @@ -17,7 +17,7 @@ ${subscription_payload_file_path}= csourceSubscriptions/subscription-sample.js *** Test Case *** Receive cSourceNotification For Matching Context Source Registrations On Any watchedAttribute [Documentation] Check if a context source registrations subscription does not define watchedAttributes member, a CsourceNotification will be triggered from context source registrations with information member matching all attributes of the described entities - [Tags] mandatory + [Tags] csrsub-notification 5_11_7 ${context_source_registration_id}= Generate Random Entity Id ${context_source_registration_id_prefix} ${context_source_registration_payload}= Load Test Sample ${context_source_registration_payload_file_path} ${context_source_registration_id} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_14.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_14.robot index bb97800535ae2401b5ca663330027e1c2007f223..6ac5680242bc00510bbfc47dbe2edc28388df5e0 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_14.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_14.robot @@ -17,7 +17,7 @@ ${subscription_payload_file_path}= csourceSubscriptions/subscription-geoQ-samp *** Test Case *** Receive cSourceNotification For Matching Context Source Registrations On Location [Documentation] Check if a context source registrations subscription defines a geoQ member, a CsourceNotification will be triggered from matching context source registrations with a matching location member - [Tags] mandatory + [Tags] csrsub-notification 5_11_7 ${context_source_registration_id}= Generate Random Entity Id ${context_source_registration_id_prefix} ${context_source_registration_payload}= Load Test Sample ${context_source_registration_payload_file_path} ${context_source_registration_id} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_15.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_15.robot index ae8bc477902f522e22bd51510da25285623d74bd..850dce58d33d7662e46065e81b5db14b5cb82a0a 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_15.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_15.robot @@ -17,7 +17,7 @@ ${subscription_payload_file_path}= csourceSubscriptions/subscription-geoQ-with *** Test Case *** Receive cSourceNotification For Matching Context Source Registrations On Location As Default [Documentation] Check if a context source registrations subscription does not define a geoproperty in the geoQ member, a CsourceNotification will be triggered from matching context source registrations with a matching location member - [Tags] mandatory + [Tags] csrsub-notification 5_11_7 ${context_source_registration_id}= Generate Random Entity Id ${context_source_registration_id_prefix} ${context_source_registration_payload}= Load Test Sample ${context_source_registration_payload_file_path} ${context_source_registration_id} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_16.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_16.robot index cc3970452848f3dd50312556b2d5c3d0e4540cb2..e725453a003cd7e9db0e295f36a394167df9d08a 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_16.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/NotificationBehaviour/047_16.robot @@ -18,14 +18,16 @@ ${subscription_payload_file_path}= csourceSubscriptions/subscription-sample.js *** Test Cases *** FILEPATH NOTIFICATION_CSR_IDS MatchFirstContextSourceRegistration csourceSubscriptions/fragments/subscription-vehicle-entities-sample.json ${first_context_source_registration_id} + [Tags] csrsub-notification 5_11_7 MatchSecondContextSourceRegistration csourceSubscriptions/fragments/subscription-bus-entities-sample.json ${second_context_source_registration_id} + [Tags] csrsub-notification 5_11_7 MatchBothContextSourceRegistrations csourceSubscriptions/fragments/subscription-vehicle-and-bus-entities-sample.json ${first_context_source_registration_id} ${second_context_source_registration_id} + [Tags] csrsub-notification 5_11_7 *** Keywords *** Receive cSourceNotification For Newly Matching Context Source Registrations [Arguments] ${filepath} @{notification_csr_ids} [Documentation] Check if you update a context source registration subscription, a CsourceNotification will be sent with all currently matching context source registrations - [Tags] mandatory ${subscription_update_fragment}= Load Test Sample ${filepath} Update Context Source Registration Subscription ${subscription_id} ${subscription_update_fragment} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/QueryContextSourceRegistrationSubscriptions/041_01.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/QueryContextSourceRegistrationSubscriptions/041_01.robot index 2c2d24c3f7183949b2fbfa9eee47e73b30d310ea..4d3a53edbbc6741153635d8072aeaef4e81c2f30 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/QueryContextSourceRegistrationSubscriptions/041_01.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/QueryContextSourceRegistrationSubscriptions/041_01.robot @@ -16,7 +16,7 @@ ${expectation_file_path}= csourceSubscriptions/expectations/subscriptions-035- *** Test Case *** Query Context Source Registration Subscriptions [Documentation] Check that you can query context source registration subscriptions - [Tags] mandatory + [Tags] csrsub-query 5_11_5 Query Context Source Registration Subscriptions context=${ngsild_test_suite_context} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/QueryContextSourceRegistrationSubscriptions/041_02.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/QueryContextSourceRegistrationSubscriptions/041_02.robot index 2a250414dc63fde4edf5733cb0e4c29f35fcb2e1..078d352c0a937402016bad197b9987854b94641f 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/QueryContextSourceRegistrationSubscriptions/041_02.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/QueryContextSourceRegistrationSubscriptions/041_02.robot @@ -17,15 +17,17 @@ ${expectation_file_path}= csourceSubscriptions/expectations/subscriptions-035- *** Test Cases *** LIMIT EXPECTED_SUBSCRIPTION_NUMBER Query One Subscription ${1} ${1} + [Tags] csrsub-query 5_11_5 Query Two Subscription ${2} ${2} + [Tags] csrsub-query 5_11_5 Query All Subscriptions ${15} ${3} + [Tags] csrsub-query 5_11_5 *** Keywords *** Query Context Source Registration Subscriptions With Limit Parameter [Arguments] ${limit} ${expectation_subscription_number} [Documentation] Check that you can query context source registration subscriptions with a limit parameter and it will be the maximum number of subscriptions to be retrieved - [Tags] mandatory Query Context Source Registration Subscriptions context=${ngsild_test_suite_context} limit=${limit} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/QueryContextSourceRegistrationSubscriptions/041_03.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/QueryContextSourceRegistrationSubscriptions/041_03.robot index 86147fd5e33998e53dd391e9957428ef8c0d5027..31140a59f7b5596fca6bfa0d56066dada5115f33 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/QueryContextSourceRegistrationSubscriptions/041_03.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/QueryContextSourceRegistrationSubscriptions/041_03.robot @@ -16,15 +16,16 @@ ${third_subscription_payload_file_path}= csourceSubscriptions/subscription-geo *** Test Cases *** LIMIT PAGE EXPECTED_SUBSCRIPTION_NUMBER PREV_LINK NEXT_LINK Query Second Subscription ${1} ${2} ${1} ;rel="prev";type="application/ld+json" ;rel="next";type="application/ld+json" + [Tags] csrsub-query 5_11_5 Query Last Subscription ${2} ${2} ${1} ;rel="prev";type="application/ld+json" ${EMPTY} + [Tags] csrsub-query 5_11_5 Query All Subscriptions ${15} ${1} ${3} ${EMPTY} ${EMPTY} + [Tags] csrsub-query 5_11_5 *** Keywords *** Query Context Source Registration Subscriptions With Limit And Page Parameters [Arguments] ${limit} ${page} ${expectation_subscription_number} ${prev_link} ${next_link} - [Documentation] Check that you can query context source registration subscriptions with providing page and limit parameters for pagination - [Tags] mandatory Query Context Source Registration Subscriptions context=${ngsild_test_suite_context} limit=${limit} page=${page} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/QueryContextSourceRegistrationSubscriptions/041_04.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/QueryContextSourceRegistrationSubscriptions/041_04.robot index 136ff6fd37d15e4941485f046e526d24963a359a..57b439c86326c97f4990381af43fdf754d262e01 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/QueryContextSourceRegistrationSubscriptions/041_04.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/QueryContextSourceRegistrationSubscriptions/041_04.robot @@ -8,15 +8,16 @@ Test Template Query Context Source Registration Subscriptions With Invalid Limi *** Test Cases *** LIMIT PAGE Invalid Limit ${-5} ${2} + [Tags] csrsub-query 5_11_5 Invalid Page ${2} ${-3} + [Tags] csrsub-query 5_11_5 Invalid Limit And Page ${0} ${0} + [Tags] csrsub-query 5_11_5 *** Keywords *** Query Context Source Registration Subscriptions With Invalid Limit And Page Parameters [Arguments] ${limit} ${page} - [Documentation] Check that you cannot query context source registration subscriptions with invalid page and limit parameters - [Tags] mandatory Query Context Source Registration Subscriptions limit=${limit} page=${page} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/RetrieveContextSourceRegistrationSubscription/040_01.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/RetrieveContextSourceRegistrationSubscription/040_01.robot index 0da3e65b5cbd55a98f71051d111789865591ac27..9478f37e871c3fa5ee2c6d26c003611850f17ab4 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/RetrieveContextSourceRegistrationSubscription/040_01.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/RetrieveContextSourceRegistrationSubscription/040_01.robot @@ -15,7 +15,7 @@ ${expectation_file_path}= csourceSubscriptions/expectations/subscriptions-040- *** Test Case *** Retrieve Context Source Registration Subscription [Documentation] Check that you can retrieve a context source registration subscription - [Tags] mandatory + [Tags] csrsub-retrieve 5_11_4 Retrieve Context Source Registration Subscription ${subscription_id} context=${ngsild_test_suite_context} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/RetrieveContextSourceRegistrationSubscription/040_02.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/RetrieveContextSourceRegistrationSubscription/040_02.robot index f256820e81f8ca6409d16d89683a19d572e637c4..537342ae385ff5f8b341b98a9bba64d979fb51a2 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/RetrieveContextSourceRegistrationSubscription/040_02.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/RetrieveContextSourceRegistrationSubscription/040_02.robot @@ -7,7 +7,7 @@ Resource ${EXECDIR}/resources/JsonUtils.resource *** Test Case *** Retrieve Context Source Registration Subscription With An Invalid Id [Documentation] Check that you cannot retrieve a context source registration subscription with an invalid URI, an error of type BadRequestData shall be raised - [Tags] mandatory + [Tags] csrsub-retrieve 5_11_4 Retrieve Context Source Registration Subscription invalidUri diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/RetrieveContextSourceRegistrationSubscription/040_03.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/RetrieveContextSourceRegistrationSubscription/040_03.robot index d48f640aa497d60b4782c3e4ccff06e875406200..42230d60b3f4a8e134b72baf8036b5fa8d7058e7 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/RetrieveContextSourceRegistrationSubscription/040_03.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/RetrieveContextSourceRegistrationSubscription/040_03.robot @@ -7,7 +7,7 @@ Resource ${EXECDIR}/resources/JsonUtils.resource *** Test Case *** Retrieve Unknown Context Source Registration Subscription [Documentation] Check that you cannot retrieve an unknown context source registration subscription, an error of type ResourceNotFound shall be raised - [Tags] mandatory + [Tags] csrsub-retrieve 5_11_4 Retrieve Context Source Registration Subscription urn:ngsi-ld:Subscription:unknowSubscription diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_01.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_01.robot index 825a9c4c27e71442e58a3e2f0a1840ac39ac5625..6dabc291698e4926cba17663c52eb569a663384a 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_01.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_01.robot @@ -15,7 +15,7 @@ ${subscription_update_fragment_file_path}= csourceSubscriptions/fragments/subs *** Test Case *** Update Context Source Registration Subscription [Documentation] Check that you can update a context source registration subscription - [Tags] mandatory + [Tags] csrsub-update 5_11_3 ${subscription_update_fragment}= Load Test Sample ${subscription_update_fragment_file_path} Update Context Source Registration Subscription ${subscription_id} ${subscription_update_fragment} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_02.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_02.robot index c62c0d80200d8e311d766fcc35ccc35f6e9b2541..004e78c7a2ae3d603c3c74d8ab38555454d85a7d 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_02.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_02.robot @@ -10,7 +10,7 @@ ${subscription_update_fragment_file_path}= csourceSubscriptions/fragments/subs *** Test Case *** Update Context Source Registration Subscription With Invalid Uri [Documentation] Check that you cannot update a context source registration subscription with an invalid URI - [Tags] mandatory + [Tags] csrsub-update 5_11_3 ${subscription_update_fragment}= Load Test Sample ${subscription_update_fragment_file_path} Update Context Source Registration Subscription invalidUri ${subscription_update_fragment} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_03.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_03.robot index 58da071345c480873bdd05f9a3420f3529aff61b..bd70c92b46967c34ada40e58620ec237cdcfd590 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_03.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_03.robot @@ -10,7 +10,7 @@ ${subscription_update_fragment_file_path}= csourceSubscriptions/fragments/subs *** Test Case *** Update Unknown Context Source Registration Subscription [Documentation] Check that you cannot update an unknown context source registration subscription - [Tags] mandatory + [Tags] csrsub-update 5_11_3 ${subscription_update_fragment}= Load Test Sample ${subscription_update_fragment_file_path} Update Context Source Registration Subscription urn:ngsi-ld:Subscription:unknowSubscription ${subscription_update_fragment} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_04.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_04.robot index 54d969c64ebc1674f0ce1ace448e554aad1415dc..cbe22fced259c19067829463e15f60b136a66370 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_04.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_04.robot @@ -14,13 +14,14 @@ ${subscription_payload_file_path}= csourceSubscriptions/subscription-sample.js *** Test Cases *** FILEPATH InvalidType csourceSubscriptions/fragments/subscription-update-invalid-type-sample.json + [Tags] csrsub-update 5_11_3 InvalidNotification csourceSubscriptions/fragments/subscription-update-invalid-notification-sample.json + [Tags] csrsub-update 5_11_3 *** Keywords *** Update Context Source Registration Subscription With Invalid Fragment [Arguments] ${filepath} [Documentation] Check that you cannot update a context source registration subscription with a fragment that doesn't meet the data types and restrictions expressed by clause 5.2.12 - [Tags] mandatory ${subscription_update_fragment}= Load Test Sample ${filepath} Update Context Source Registration Subscription ${subscription_id} ${subscription_update_fragment} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_05.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_05.robot index b646740c1eb71cf82f1af9423e2d0da9544f86b7..d71bdb16e2cdcf69d479fa346b94e0c464a85695 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_05.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_05.robot @@ -15,7 +15,7 @@ ${subscription_update_fragment_file_path}= csourceSubscriptions/fragments/subs *** Test Case *** Update Context Source Registration Subscription With Invalid JSON Fragment [Documentation] Check that you cannot update a context source registration subscription with an invalid request body (invalid JSON document) - [Tags] mandatory + [Tags] csrsub-update 5_11_3 Update Context Source Registration Subscription From File ${subscription_id} ${subscription_update_fragment_file_path}