Commit 57a92ff1 authored by Benedetta Arena's avatar Benedetta Arena
Browse files

fix: registration files

parent 6e1181b6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
*** Settings ***
Documentation       Check that one can create a batch of entities on both Context Source thanks to a redirect registration
Documentation       Check that one can create a batch of entities on both Context Sources thanks to a redirect registration

Resource            ${EXECDIR}/resources/ApiUtils/Common.resource
Resource            ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource
+0 −20
Original line number Diff line number Diff line

{
  "id": "urn:ngsi-ld:ContextSourceRegistration:randomUUID",
  "type": "ContextSourceRegistration",
  "information": [
    {
      "entities": [
        {
          "idPattern": "urn:ngsi-ld:Vehicle:*",
          "type": "Vehicle"
        }
        ]
    }
  ],
  "operations": ["redirectionOps"],
  "endpoint": "http://my.csource.org:1026/",
  "@context":[
    "https://forge.etsi.org/rep/cim/ngsi-ld-test-suite/-/raw/develop/resources/jsonld-contexts/ngsi-ld-test-suite-compound.jsonld"
 ]
}
 No newline at end of file
+0 −21
Original line number Diff line number Diff line

{
  "id": "urn:ngsi-ld:ContextSourceRegistration:randomUUID",
  "type": "ContextSourceRegistration",
  "information": [
    {
      "entities": [
        {
          "idPattern": "urn:ngsi-ld:Vehicle:*",
          "type": "Vehicle"
        }
     ],
      "propertyNames":["speed"]
    }
  ],
  "operations": ["redirectionOps"],
  "endpoint": "http://my.csource.org:1026/",
  "@context":[
    "https://forge.etsi.org/rep/cim/ngsi-ld-test-suite/-/raw/develop/resources/jsonld-contexts/ngsi-ld-test-suite-compound.jsonld"
 ]
}
 No newline at end of file