Commit e4975eee authored by Andrea Il Grande's avatar Andrea Il Grande
Browse files

replaced files in doc folder

parent e5d2ed3f
Loading
Loading
Loading
Loading
+44 −0
Original line number Diff line number Diff line
{
  "tp_id": "TP/NGSI-LD/DistributedOperations/Cons/E/063_01_Inc",
  "tp_id": "TP/NGSI-LD/DistributedOperations/Cons/E/D010_01_inc",
  "test_objective": "Verify that, when one has an inclusive registration on a Context Broker and an entity only on a Context Source, if one retrieves entity from the Context Broker the request gets forwarded to the Context Source correctly",
  "reference": "ETSI GS CIM 009 V1.6.1 [], clause 5.7.1",
  "reference": "ETSI GS CIM 009 V1.6.1 [], clauses 4.3.3, 4.3.6.2, 5.7.1",
  "config_id": "",
  "parent_release": "v1.6.1",
  "clauses": [
    "4.3.3",
    "4.3.6.2",
    "5.7.1"
  ],
  "pics_selection": "",
  "keywords": [
    "Setup Entity On Remote And Registration",
    "Delete Created Entity And Registration"
    "Setup Registration And Start Context Source Mock Server",
    "Delete Registration And Stop Context Source Mock Server"
  ],
  "teardown": "None",
  "initial_condition": "with {\n    the SUT being in the \"initial state\" and\n    the SUT containing an initial Entity ${entity} on the Context Source\n        with an id set to ${entity_id}\n        and payload set to ${entity_payload_filename}\n    and the SUT containing a Context Source Registration \n        with id equal to ${registration_id}\n        and payload set to ${registration_payload_file_path}\n}",
  "initial_condition": "with {\n    the SUT being in the \"initial state\" and\n    the SUT containing a Context Source Registration \n        with id equal to ${registration_id}\n        and payload set to ${registration_payload_file_path}\n    and the SUT containing a Context Source Mock Server\n}",
  "test_cases": [
    {
      "name": "063_01_inc Retrieve entity on a Context Source from the Context Broker",
      "permutation_tp_id": "TP/NGSI-LD/DistributedOperations/Cons/E/063_01_inc",
      "name": "D010_01_inc Retrieve entity on a Context Source from the Context Broker",
      "permutation_tp_id": "TP/NGSI-LD/DistributedOperations/Cons/E/D010_01_inc",
      "doc": "Check that if one retrieves entity living on a Context Source from a Context Broker, entity gets returned",
      "tags": [
        "4_3_3",
        "4_3_6_2",
        "5_7_1",
        "additive-inclusive",
        "cf_06",
        "dist-ops",
        "since_v1.6.1"
      ],
      "setup": "Setup Entity On Remote And Registration",
      "teardown": "Delete Created Entity And Registration",
      "setup": "Setup Registration And Start Context Source Mock Server",
      "teardown": "Delete Registration And Stop Context Source Mock Server",
      "template": null,
      "http_verb": "GET",
      "endpoint": "entities/{id}"
      "http_verb": "",
      "endpoint": ""
    }
  ],
  "permutations": [],
  "robotpath": "DistributedOperations/Consumption/Entity/RetrieveEntity",
  "robotfile": "063_01_inc"
  "robotfile": "D010_01_inc",
  "error_while_autogenerating": "no error"
}
 No newline at end of file
+46 −0
Original line number Diff line number Diff line
{
  "tp_id": "TP/NGSI-LD/DistributedOperations/Cons/E/063_02_Inc",
  "tp_id": "TP/NGSI-LD/DistributedOperations/Cons/E/D010_02_inc",
  "test_objective": "Verify that, when one has an inclusive registration on a Context Broker and an entity only on a Context Source, if one retrieves entity from the Context Broker with local flag entity not found error is raised",
  "reference": "ETSI GS CIM 009 V1.6.1 [], clause 5.7.1",
  "reference": "ETSI GS CIM 009 V1.6.1 [], clauses 4.3.3, 4.3.6.2, 5.7.1, 6.3.18",
  "config_id": "",
  "parent_release": "v1.6.1",
  "clauses": [
    "5.7.1"
    "4.3.3",
    "4.3.6.2",
    "5.7.1",
    "6.3.18"
  ],
  "pics_selection": "",
  "keywords": [
    "Setup Entity On Remote And Registration",
    "Delete Created Entity And Registration"
    "Setup Registration And Start Context Source Mock Server",
    "Delete Registration And Stop Context Source Mock Server"
  ],
  "teardown": "None",
  "initial_condition": "with {\n    the SUT being in the \"initial state\" and\n    the SUT containing an initial Entity ${entity} on the Context Source\n        with an id set to ${entity_id}\n        and payload set to ${entity_payload_filename}\n    and the SUT containing a Context Source Registration \n        with id equal to ${registration_id}\n        and payload set to ${registration_payload_file_path}\n}",
  "initial_condition": "with {\n    the SUT being in the \"initial state\" and\n    the SUT containing a Context Source Registration \n        with id equal to ${registration_id}\n        and payload set to ${registration_payload_file_path}\n    and the SUT containing a Context Source Mock Server\n}",
  "test_cases": [
    {
      "name": "063_02_inc Retrieve entity on a Context Source from the Context Broker with local flag",
      "permutation_tp_id": "TP/NGSI-LD/DistributedOperations/Cons/E/063_02_inc",
      "name": "D010_02_inc Retrieve entity on a Context Source from the Context Broker with local flag",
      "permutation_tp_id": "TP/NGSI-LD/DistributedOperations/Cons/E/D010_02_inc",
      "doc": "Check that if one retrieves entity living on a Context Source from a Context Broker with local flag, entity not found error is raised",
      "tags": [
        "4_3_3",
        "4_3_6_2",
        "5_7_1",
        "6_3_18",
        "additive-inclusive",
        "cf_06",
        "dist-ops",
        "since_v1.6.1"
      ],
      "setup": "Setup Entity On Remote And Registration",
      "teardown": "Delete Created Entity And Registration",
      "setup": "Setup Registration And Start Context Source Mock Server",
      "teardown": "Delete Registration And Stop Context Source Mock Server",
      "template": null,
      "http_verb": "GET",
      "endpoint": "entities/{id}"
      "http_verb": "",
      "endpoint": ""
    }
  ],
  "permutations": [],
  "robotpath": "DistributedOperations/Consumption/Entity/RetrieveEntity",
  "robotfile": "063_02_inc"
  "robotfile": "D010_02_inc",
  "error_while_autogenerating": "no error"
}
 No newline at end of file
+16 −10
Original line number Diff line number Diff line
{
  "tp_id": "TP/NGSI-LD/DistributedOperations/Cons/E/064_01_01_Inc",
  "tp_id": "TP/NGSI-LD/DistributedOperations/Cons/E/D011_01_01_inc",
  "test_objective": "Verify that, when one has an inclusive registration on a Context Broker and an entity only on a Context Source, if one queries the Context Broker the query gets forwarded to the Context Source correctly",
  "reference": "ETSI GS CIM 009 V1.6.1 [], clause 5.7.2",
  "reference": "ETSI GS CIM 009 V1.6.1 [], clauses 4.3.3, 4.3.6.2, 5.7.2",
  "config_id": "",
  "parent_release": "v1.6.1",
  "clauses": [
    "4.3.3",
    "4.3.6.2",
    "5.7.2"
  ],
  "pics_selection": "",
  "keywords": [
    "Setup Entity On Remote And Registration",
    "Delete Created Entity And Registration"
    "Setup Registration And Start Context Source Mock Server",
    "Delete Registration And Stop Context Source Mock Server"
  ],
  "teardown": "None",
  "initial_condition": "with {\n    the SUT being in the \"initial state\" and\n    the SUT containing an initial Entity ${entity} on the Context Source\n        with an id set to ${entity_id}\n        and payload set to ${entity_payload_filename}\n    and the SUT containing a Context Source Registration \n        with id equal to ${registration_id}\n        and payload set to ${registration_payload_file_path}\n}",
  "initial_condition": "with {\n    the SUT being in the \"initial state\" and\n    the SUT containing a Context Source Registration \n        with id equal to ${registration_id}\n        and payload set to ${registration_payload_file_path}\n    and the SUT containing a Context Source Mock Server\n}",
  "test_cases": [
    {
      "name": "064_01_01_inc Query The Context Broker With Type",
      "permutation_tp_id": "TP/NGSI-LD/DistributedOperations/Cons/E/064_01_01_inc",
      "name": "D011_01_01_inc Query The Context Broker With Type",
      "permutation_tp_id": "TP/NGSI-LD/DistributedOperations/Cons/E/D011_01_01_inc",
      "doc": "Check that if one queries the Context Broker for type, entity with matching type on a Context Source gets returned",
      "tags": [
        "4_3_3",
        "4_3_6_2",
        "5_7_2",
        "additive-inclusive",
        "cf_06",
        "dist-ops",
        "since_v1.6.1"
      ],
      "setup": "Setup Entity On Remote And Registration",
      "teardown": "Delete Created Entity And Registration",
      "setup": "Setup Registration And Start Context Source Mock Server",
      "teardown": "Delete Registration And Stop Context Source Mock Server",
      "template": null,
      "http_verb": "GET",
      "endpoint": "entities/"
@@ -34,5 +39,6 @@
  ],
  "permutations": [],
  "robotpath": "DistributedOperations/Consumption/Entity/QueryEntities",
  "robotfile": "064_01_01_inc"
  "robotfile": "D011_01_01_inc",
  "error_while_autogenerating": "no error"
}
 No newline at end of file
+16 −10
Original line number Diff line number Diff line
{
  "tp_id": "TP/NGSI-LD/DistributedOperations/Cons/E/064_01_02_Inc",
  "tp_id": "TP/NGSI-LD/DistributedOperations/Cons/E/D011_01_02_inc",
  "test_objective": "Verify that, when one has an inclusive registration on a Context Broker and an entity only on a Context Source, if one queries the Context Broker the query gets forwarded to the Context Source correctly",
  "reference": "ETSI GS CIM 009 V1.6.1 [], clause 5.7.2",
  "reference": "ETSI GS CIM 009 V1.6.1 [], clauses 4.3.3, 4.3.6.2, 5.7.2",
  "config_id": "",
  "parent_release": "v1.6.1",
  "clauses": [
    "4.3.3",
    "4.3.6.2",
    "5.7.2"
  ],
  "pics_selection": "",
  "keywords": [
    "Setup Entity On Remote And Registration",
    "Delete Created Entity And Registration"
    "Setup Registration And Start Context Source Mock Server",
    "Delete Registration And Stop Context Source Mock Server"
  ],
  "teardown": "None",
  "initial_condition": "with {\n    the SUT being in the \"initial state\" and\n    the SUT containing an initial Entity ${entity} on the Context Source\n        with an id set to ${entity_id}\n        and payload set to ${entity_payload_filename}\n    and the SUT containing a Context Source Registration \n        with id equal to ${registration_id}\n        and payload set to ${registration_payload_file_path}\n}",
  "initial_condition": "with {\n    the SUT being in the \"initial state\" and\n    the SUT containing a Context Source Registration \n        with id equal to ${registration_id}\n        and payload set to ${registration_payload_file_path}\n    and the SUT containing a Context Source Mock Server\n}",
  "test_cases": [
    {
      "name": "064_01_02_inc Query The Context Broker With Type And Missing Attribute",
      "permutation_tp_id": "TP/NGSI-LD/DistributedOperations/Cons/E/064_01_02_inc",
      "name": "D011_01_02_inc Query The Context Broker With Type And Missing Attribute",
      "permutation_tp_id": "TP/NGSI-LD/DistributedOperations/Cons/E/D011_01_02_inc",
      "doc": "Check that if one queries for type and an attribute that is missing, no entity gets returned",
      "tags": [
        "4_3_3",
        "4_3_6_2",
        "5_7_2",
        "additive-inclusive",
        "cf_06",
        "dist-ops",
        "since_v1.6.1"
      ],
      "setup": "Setup Entity On Remote And Registration",
      "teardown": "Delete Created Entity And Registration",
      "setup": "Setup Registration And Start Context Source Mock Server",
      "teardown": "Delete Registration And Stop Context Source Mock Server",
      "template": null,
      "http_verb": "GET",
      "endpoint": "entities/"
@@ -34,5 +39,6 @@
  ],
  "permutations": [],
  "robotpath": "DistributedOperations/Consumption/Entity/QueryEntities",
  "robotfile": "064_01_02_inc"
  "robotfile": "D011_01_02_inc",
  "error_while_autogenerating": "no error"
}
 No newline at end of file
+16 −10
Original line number Diff line number Diff line
{
  "tp_id": "TP/NGSI-LD/DistributedOperations/Cons/E/064_01_03_Inc",
  "tp_id": "TP/NGSI-LD/DistributedOperations/Cons/E/D011_01_03_inc",
  "test_objective": "Verify that, when one has an inclusive registration on a Context Broker, one entity on it and another on a Context Source, if one queries the Context Broker the query gets forwarded to the Context Source correctly",
  "reference": "ETSI GS CIM 009 V1.6.1 [], clause 5.7.2",
  "reference": "ETSI GS CIM 009 V1.6.1 [], clauses 4.3.3, 4.3.6.2, 5.7.2",
  "config_id": "",
  "parent_release": "v1.6.1",
  "clauses": [
    "4.3.3",
    "4.3.6.2",
    "5.7.2"
  ],
  "pics_selection": "",
  "keywords": [
    "Create Entities With Different Payloads And Registration",
    "Delete Created Entities And Registration"
    "Create Entity And Registration On The Context Broker And Start Context Source Mock Server",
    "Delete Created Entity And Registration And Stop Context Source Mock Server"
  ],
  "teardown": "None",
  "initial_condition": "with {\n    the SUT being in the \"initial state\" and\n    the SUT containing an initial Entity ${entity} on the Context Broker\n        with an id set to ${entity_id}\n        and payload set to ${entity_payload_filename}\n    and the SUT containing an initial Entity ${entity} on the Context Source\n        with an id set to ${entity_id}\n        and payload set to ${entity_payload_filename2}\n    and the SUT containing a Context Source Registration \n        with id equal to ${registration_id}\n        and payload set to ${registration_payload_file_path}\n}",
  "initial_condition": "with {\n    the SUT being in the \"initial state\" and\n    the SUT containing an initial Entity ${entity} on the Context Broker\n        with an id set to ${entity_id}\n        and payload set to ${entity_payload_filename}\n    and the SUT containing a Context Source Registration \n        with id equal to ${registration_id}\n        and payload set to ${registration_payload_file_path}\n    and the SUT containing a Context Source Mock Server\n}",
  "test_cases": [
    {
      "name": "064_01_03_inc Query The Context Broker With Type and Attribute",
      "permutation_tp_id": "TP/NGSI-LD/DistributedOperations/Cons/E/064_01_03_inc",
      "name": "D011_01_03_inc Query The Context Broker With Type and Attribute",
      "permutation_tp_id": "TP/NGSI-LD/DistributedOperations/Cons/E/D011_01_03_inc",
      "doc": "Check that if one queries for attribute present in an entity on a Context Source, only that entity gets returned",
      "tags": [
        "4_3_3",
        "4_3_6_2",
        "5_7_2",
        "additive-inclusive",
        "cf_06",
        "dist-ops",
        "since_v1.6.1"
      ],
      "setup": "Create Entities With Different Payloads And Registration",
      "teardown": "Delete Created Entities And Registration",
      "setup": "Create Entity And Registration On The Context Broker And Start Context Source Mock Server",
      "teardown": "Delete Created Entity And Registration And Stop Context Source Mock Server",
      "template": null,
      "http_verb": "GET",
      "endpoint": "entities/"
@@ -34,5 +39,6 @@
  ],
  "permutations": [],
  "robotpath": "DistributedOperations/Consumption/Entity/QueryEntities",
  "robotfile": "064_01_03_inc"
  "robotfile": "D011_01_03_inc",
  "error_while_autogenerating": "no error"
}
 No newline at end of file
Loading