Skip to content
010_01.json 2.81 KiB
Newer Older
lopezaguilar's avatar
lopezaguilar committed
{
lopezaguilar's avatar
lopezaguilar committed
  "tp_id": "TP/NGSI-LD/CI/Prov/EA/010_01",
lopezaguilar's avatar
lopezaguilar committed
  "test_objective": "Check that you can append entity attributes",
  "reference": "ETSI GS CIM 009 V1.3.1 [], clause 5.6.3",
  "config_id": "",
  "parent_release": "v1.3.1",
  "pics_selection": "PICS_5_6_3",
  "keywords": [],
  "teardown": "None",
  "initial_condition": "with {\n    the SUT being in the \"initial state\" and\n    the SUT containing an initial Entity ${entity} \n        with an id set to ${entityId} \n}",
lopezaguilar's avatar
lopezaguilar committed
  "test_cases": [
    {
      "name": "010_01_01 Append entity attributes",
lopezaguilar's avatar
lopezaguilar committed
      "permutation_tp_id": "TP/NGSI-LD/CI/Prov/EA/010_01_01",
lopezaguilar's avatar
lopezaguilar committed
      "doc": "Check that you can append entity attributes",
      "tags": [
        "ea-append",
        "5_6_3"
      ],
      "setup": "Create Initial Entity",
      "teardown": "Delete Initial Entity",
lopezaguilar's avatar
lopezaguilar committed
      "template": "Append Attributes Without Params",
      "then": "then {\n    the SUT sends a valid Response for the operations:\n        Append Entity Attributes with Response Status Code set to 204     and\n        Retrieve Entity by Id with Updated Entity set to ${entity}\n}",
      "when": "when {\n    the SUT receives a Request from the client containing:\n        URL set to '/ngsi-ld/v1/entities/{id}/attrs'\n        method set to 'POST'\n        Append Entity Attributes and\n    Query Parameter: id set to '${entity_id}' and\n    Query Parameter: fragment_filename set to 'vehicle-new-attribute-fragment.jsonld' and\n    Query Parameter: content_type set to 'application/ld+json'\n}",
      "http_verb": "POST",
      "endpoint": "entities/{id}/attrs"
lopezaguilar's avatar
lopezaguilar committed
      "name": "010_01_02 Append entity attributes with different datasetid",
      "permutation_tp_id": "TP/NGSI-LD/CI/Prov/EA/010_01_02",
lopezaguilar's avatar
lopezaguilar committed
      "doc": "Check that you can append entity attributes",
      "tags": [
        "ea-append",
        "5_6_3"
      ],
      "setup": "Create Initial Entity",
      "teardown": "Delete Initial Entity",
lopezaguilar's avatar
lopezaguilar committed
      "template": "Append Attributes Without Params",
      "then": "then {\n    the SUT sends a valid Response for the operations:\n        Append Entity Attributes with Response Status Code set to 204     and\n        Retrieve Entity by Id with Updated Entity set to ${entity}\n}",
      "when": "when {\n    the SUT receives a Request from the client containing:\n        URL set to '/ngsi-ld/v1/entities/{id}/attrs'\n        method set to 'POST'\n        Append Entity Attributes 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'\n}",
      "http_verb": "POST",
      "endpoint": "entities/{id}/attrs"
lopezaguilar's avatar
lopezaguilar committed
  "robotpath": "ContextInformation/Provision/EntityAttributes/AppendEntityAttributes",
  "robotfile": "010_01"
}