"doc":"Check that you can update a batch of entities with noOverwrite option",
"doc":"Check that one can update a batch of entities with noOverwrite option",
"tags":[
"5_6_9",
"be-update"
@@ -27,7 +27,7 @@
"setup":"Setup Initial Entities",
"teardown":"Delete Initial Entities",
"template":"Batch Update Entity With NoOverwrite Option Scenarios",
"then":"then {\n the SUT sends a valid Response for the operations:\n Batch Update Entities with Response Status Code set to 204 and\n Query Entities with Updated Entities set to '${updated_entities}' valid entities\n}",
"then":"then {\n the SUT sends a valid Response for the operations:\n Batch Update Entities with Response Status Code set to 207 and\n Query Entities with Updated Entities set to '${updated_entities}' valid entities\n}",
"when":"when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/entityOperations/update?${params_as_string}'\n method set to 'POST'\n Request batch update operation over entity from filename '@{entities_to_be_updated}' with overwrite_option set to '${EMPTY}' and Content-Type set to 'application/ld+json'\n}",
"doc":"Check that you can update a batch of entities with noOverwrite option",
"doc":"Check that one can update a batch of entities with noOverwrite option",
"tags":[
"5_6_9",
"be-update"
@@ -59,13 +59,15 @@
"setup":"Setup Initial Entities",
"teardown":"Delete Initial Entities",
"template":"Batch Update Entity With NoOverwrite Option Scenarios",
"then":"then {\n the SUT sends a valid Response for the operations:\n Batch Update Entities with Response Status Code set to 204 and\n Query Entities with Updated Entities set to '${updated_entities}' valid entities\n}",
"then":"then {\n the SUT sends a valid Response for the operations:\n Batch Update Entities with Response Status Code set to 207 and\n Query Entities with Updated Entities set to '${updated_entities}' valid entities\n}",
"when":"when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/entityOperations/update?${params_as_string}'\n method set to 'POST'\n Request batch update operation over entity from filename '@{entities_to_be_updated}' with overwrite_option set to '${EMPTY}' and Content-Type set to 'application/ld+json'\n}",
"doc":"Check that you can append entity attributes",
"doc":"Check that one can append entity attributes with noOverwrite option",
"tags":[
"ea-append",
"5_6_3"
@@ -27,7 +27,7 @@
"setup":"Create Initial Entity",
"teardown":"Delete Initial Entity",
"template":"Append Attributes With Params",
"then":"then {\n the SUT sends a valid Response for the operations:\n Append Entity Attributes With Parameters with Response Status Code set to 204 and\n Retrieve Entity by Id with Check Updated Entity and\n Query Parameter: 'updated_resource' set to 'entity_expectation_payload' and\n Query Parameter: 'response_body' set to 'response1.json()' and\n Query Parameter: 'ignored_keys' set to 'ignored_attributes'\n}",
"then":"then {\n the SUT sends a valid Response for the operations:\n Append Entity Attributes With Parameters with Response Status Code set to 207 and\n Append Entity Attributes With Parameters with Response body containing update result set to '${expected_update_result}' and\n Retrieve Entity by Id with Check Updated Entity and\n Query Parameter: 'updated_resource' set to 'entity_expectation_payload' and\n Query Parameter: 'response_body' set to 'response1.json()' and\n Query Parameter: 'ignored_keys' set to 'ignored_attributes'\n}",
"when":"when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/entities/{id}/attrs?options=${options}'\n method set to 'POST'\n Append entity attributes with parameters: and\n Query Parameter: id set to '${entity_id}' and\n Query Parameter: fragment_filename set to 'vehicle-attribute-to-add-fragment.jsonld' and\n Query Parameter: content_type set to 'application/ld+json' and\n Query Parameter: options set to 'noOverwrite'\n}",
"doc":"Check that you can append entity attributes",
"doc":"Check that one can append entity attributes with noOverwrite option",
"tags":[
"ea-append",
"5_6_3"
@@ -43,13 +43,14 @@
"setup":"Create Initial Entity",
"teardown":"Delete Initial Entity",
"template":"Append Attributes With Params",
"then":"then {\n the SUT sends a valid Response for the operations:\n Append Entity Attributes With Parameters with Response Status Code set to 204 and\n Retrieve Entity by Id with Check Updated Entity and\n Query Parameter: 'updated_resource' set to 'entity_expectation_payload' and\n Query Parameter: 'response_body' set to 'response1.json()' and\n Query Parameter: 'ignored_keys' set to 'ignored_attributes'\n}",
"then":"then {\n the SUT sends a valid Response for the operations:\n Append Entity Attributes With Parameters with Response Status Code set to 204 and\nAppend Entity Attributes With Parameters with Response body containing update result set to '${expected_update_result}' and\nRetrieve Entity by Id with Check Updated Entity and\n Query Parameter: 'updated_resource' set to 'entity_expectation_payload' and\n Query Parameter: 'response_body' set to 'response1.json()' and\n Query Parameter: 'ignored_keys' set to 'ignored_attributes'\n}",
"when":"when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/entities/{id}/attrs?options=${options}'\n method set to 'POST'\n Append entity attributes with parameters: and\n Query Parameter: id set to '${entity_id}' and\n Query Parameter: fragment_filename set to 'vehicle-speed-different-datasetid-fragment.jsonld' and\n Query Parameter: content_type set to 'application/ld+json' and\n Query Parameter: options set to 'noOverwrite'\n}",