From aac966e6fc18386fdf1ca4bb6a59a23e812d4ccf Mon Sep 17 00:00:00 2001 From: Benoit Orihuela Date: Tue, 8 Aug 2023 08:03:53 +0200 Subject: [PATCH] chore: remove unused test data files --- ...t-source-registration-update-sample.jsonld | 6 - data/entities/building-minimal.jsonld | 8 -- data/entities/building-no-attributes.jsonld | 11 -- data/entities/building-relationship.jsonld | 12 -- .../vehicle-parking-sample-expectation.json | 54 -------- .../vehicle-empty-fragment.jsonld | 2 - ...subscription-building-entities-sample.json | 15 --- ...epresentation-021-11-01-expectation.jsonld | 78 ------------ ...epresentation-021-11-02-expectation.jsonld | 116 ------------------ ...fied-temporal-representation-sample.jsonld | 21 ---- ...cle-temporal-invalid-context-sample.jsonld | 41 ------- ...presentation-without-context-sample.jsonld | 38 ------ 12 files changed, 402 deletions(-) delete mode 100644 data/csourceRegistrations/fragments/context-source-registration-update-sample.jsonld delete mode 100644 data/entities/building-minimal.jsonld delete mode 100644 data/entities/building-no-attributes.jsonld delete mode 100644 data/entities/building-relationship.jsonld delete mode 100644 data/entities/expectations/vehicle-parking-sample-expectation.json delete mode 100644 data/entities/fragmentEntities/vehicle-empty-fragment.jsonld delete mode 100644 data/subscriptions/fragments/subscription-building-entities-sample.json delete mode 100644 data/temporalEntities/expectations/vehicles-temporal-representation-021-11-01-expectation.jsonld delete mode 100644 data/temporalEntities/expectations/vehicles-temporal-representation-021-11-02-expectation.jsonld delete mode 100644 data/temporalEntities/vehicle-simplified-temporal-representation-sample.jsonld delete mode 100644 data/temporalEntities/vehicle-temporal-invalid-context-sample.jsonld delete mode 100644 data/temporalEntities/vehicle-temporal-representation-without-context-sample.jsonld diff --git a/data/csourceRegistrations/fragments/context-source-registration-update-sample.jsonld b/data/csourceRegistrations/fragments/context-source-registration-update-sample.jsonld deleted file mode 100644 index 795d209e..00000000 --- a/data/csourceRegistrations/fragments/context-source-registration-update-sample.jsonld +++ /dev/null @@ -1,6 +0,0 @@ -{ - "endpoint":"http://my.new.csource.org:1026", - "@context": [ - "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.3.jsonld" - ] -} \ No newline at end of file diff --git a/data/entities/building-minimal.jsonld b/data/entities/building-minimal.jsonld deleted file mode 100644 index 3de15791..00000000 --- a/data/entities/building-minimal.jsonld +++ /dev/null @@ -1,8 +0,0 @@ -{ - "id": "urn:ngsi-ld:Building:3009ef20-9f62-41f5-bd66-92f041b428b9", - "type": "Building", - "@context": [ - "https://forge.etsi.org/rep/cim/ngsi-ld-test-suite/-/raw/develop/resources/jsonld-contexts/ngsi-ld-test-suite-compound.jsonld", - "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.3.jsonld" - ] -} \ No newline at end of file diff --git a/data/entities/building-no-attributes.jsonld b/data/entities/building-no-attributes.jsonld deleted file mode 100644 index 42c0f2af..00000000 --- a/data/entities/building-no-attributes.jsonld +++ /dev/null @@ -1,11 +0,0 @@ -{ - "id": "urn:ngsi-ld:Building:randomUUID", - "type": "Building", - "name": { - "type": "Property", - "value": "Eiffel Tower" - }, - "@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 diff --git a/data/entities/building-relationship.jsonld b/data/entities/building-relationship.jsonld deleted file mode 100644 index d2151f1e..00000000 --- a/data/entities/building-relationship.jsonld +++ /dev/null @@ -1,12 +0,0 @@ -{ - "id": "urn:ngsi-ld:Building:3009ef20-9f62-41f5-bd66-92f041b428b9", - "type": "Building", - "locatedAt": { - "type": "Relationship", - "object": "urn:ngsi-ld:City:Paris" - }, - "@context": [ - "https://forge.etsi.org/rep/cim/ngsi-ld-test-suite/-/raw/develop/resources/jsonld-contexts/ngsi-ld-test-suite-compound.jsonld", - "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.3.jsonld" - ] -} \ No newline at end of file diff --git a/data/entities/expectations/vehicle-parking-sample-expectation.json b/data/entities/expectations/vehicle-parking-sample-expectation.json deleted file mode 100644 index 0205a53f..00000000 --- a/data/entities/expectations/vehicle-parking-sample-expectation.json +++ /dev/null @@ -1,54 +0,0 @@ -[ - { - "id": "urn:ngsi-ld:OffStreetParking:randomUUID", - "type": "https://ngsi-ld-test-suite/context#OffStreetParking", - "availableSpotNumber": { - "type": "Property", - "providedBy": { - "type": "Relationship", - "object": "urn:ngsi-ld:Camera:C1" - }, - "reliability": { - "type": "Property", - "value": 0.7 - }, - "value": 121, - "observedAt": "2017-07-29T12:05:02Z" - }, - "totalSpotNumber": { - "type": "Property", - "value": 200 - }, - "location": { - "type": "GeoProperty", - "value": { - "type": "Point", - "coordinates": [ - -8.5, - 41.2 - ] - } - }, - "name": { - "type": "Property", - "value": "Downtown One" - } - }, - { - "id": "urn:ngsi-ld:Vehicle:randomUUID", - "type": "https://ngsi-ld-test-suite/context#Vehicle", - "https://ngsi-ld-test-suite/context#brandName": { - "type": "Property", - "value": "Mercedes" - }, - "isParked": { - "type": "Relationship", - "providedBy": { - "type": "Relationship", - "object": "urn:ngsi-ld:Person:Bob" - }, - "object": "urn:ngsi-ld:OffStreetParking:Downtown1", - "observedAt": "2017-07-29T12:00:04Z" - } - } -] \ No newline at end of file diff --git a/data/entities/fragmentEntities/vehicle-empty-fragment.jsonld b/data/entities/fragmentEntities/vehicle-empty-fragment.jsonld deleted file mode 100644 index 7a73a41b..00000000 --- a/data/entities/fragmentEntities/vehicle-empty-fragment.jsonld +++ /dev/null @@ -1,2 +0,0 @@ -{ -} \ No newline at end of file diff --git a/data/subscriptions/fragments/subscription-building-entities-sample.json b/data/subscriptions/fragments/subscription-building-entities-sample.json deleted file mode 100644 index b6630a1f..00000000 --- a/data/subscriptions/fragments/subscription-building-entities-sample.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "type":"Subscription", - "entities":[ - { - "type":"Building" - } - ], - "notification":{ - "format":"keyValues", - "endpoint":{ - "uri":"http://my.endpoint.org/notify", - "accept":"application/json" - } - } -} \ No newline at end of file diff --git a/data/temporalEntities/expectations/vehicles-temporal-representation-021-11-01-expectation.jsonld b/data/temporalEntities/expectations/vehicles-temporal-representation-021-11-01-expectation.jsonld deleted file mode 100644 index 5044fa08..00000000 --- a/data/temporalEntities/expectations/vehicles-temporal-representation-021-11-01-expectation.jsonld +++ /dev/null @@ -1,78 +0,0 @@ -[ - { - "id":"urn:ngsi-ld:Vehicle:randomUUID", - "type":"Vehicle", - "fuelLevel":[ - { - "type":"Property", - "value":67, - "observedAt":"2020-08-01T12:03:00Z" - }, - { - "type":"Property", - "value":53, - "observedAt":"2020-08-01T13:05:00Z" - }, - { - "type":"Property", - "value":40, - "observedAt":"2020-08-01T14:07:00Z" - } - ], - "speed":[ - { - "type":"Property", - "value":120, - "observedAt":"2020-08-01T12:03:00Z" - }, - { - "type":"Property", - "value":80, - "observedAt":"2020-08-01T12:05:00Z" - }, - { - "type":"Property", - "value":100, - "observedAt":"2020-08-01T12:07:00Z" - } - ] - }, - { - "id":"urn:ngsi-ld:Vehicle:randomUUID", - "type":"Vehicle", - "fuelLevel":[ - { - "type":"Property", - "value":53, - "observedAt":"2020-09-01T13:05:00Z" - }, - { - "type":"Property", - "value":67, - "observedAt":"2020-09-01T12:03:00Z" - }, - { - "type":"Property", - "value":40, - "observedAt":"2020-09-01T14:07:00Z" - } - ], - "speed":[ - { - "type":"Property", - "value":120, - "observedAt":"2020-09-01T12:03:00Z" - }, - { - "type":"Property", - "value":80, - "observedAt":"2020-09-01T12:05:00Z" - }, - { - "type":"Property", - "value":100, - "observedAt":"2020-09-01T12:07:00Z" - } - ] - } -] \ No newline at end of file diff --git a/data/temporalEntities/expectations/vehicles-temporal-representation-021-11-02-expectation.jsonld b/data/temporalEntities/expectations/vehicles-temporal-representation-021-11-02-expectation.jsonld deleted file mode 100644 index e48ad9d2..00000000 --- a/data/temporalEntities/expectations/vehicles-temporal-representation-021-11-02-expectation.jsonld +++ /dev/null @@ -1,116 +0,0 @@ -[ - { - "id":"urn:ngsi-ld:Vehicle:randomUUID", - "type":"Vehicle", - "fuelLevel":[ - { - "type":"Property", - "value":67, - "observedAt":"2020-08-01T12:03:00Z" - }, - { - "type":"Property", - "value":53, - "observedAt":"2020-08-01T13:05:00Z" - }, - { - "type":"Property", - "value":40, - "observedAt":"2020-08-01T14:07:00Z" - } - ], - "speed":[ - { - "type":"Property", - "value":120, - "observedAt":"2020-08-01T12:03:00Z" - }, - { - "type":"Property", - "value":80, - "observedAt":"2020-08-01T12:05:00Z" - }, - { - "type":"Property", - "value":100, - "observedAt":"2020-08-01T12:07:00Z" - } - ] - }, - { - "id":"urn:ngsi-ld:Vehicle:randomUUID", - "type":"Vehicle", - "fuelLevel":[ - { - "type":"Property", - "value":53, - "observedAt":"2020-09-01T13:05:00Z" - }, - { - "type":"Property", - "value":67, - "observedAt":"2020-09-01T12:03:00Z" - }, - { - "type":"Property", - "value":40, - "observedAt":"2020-09-01T14:07:00Z" - } - ], - "speed":[ - { - "type":"Property", - "value":120, - "observedAt":"2020-09-01T12:03:00Z" - }, - { - "type":"Property", - "value":80, - "observedAt":"2020-09-01T12:05:00Z" - }, - { - "type":"Property", - "value":100, - "observedAt":"2020-09-01T12:07:00Z" - } - ] - }, - { - "id":"urn:ngsi-ld:Bus:randomUUID", - "type":"Bus", - "fuelLevel":[ - { - "type":"Property", - "value":210, - "observedAt":"2020-08-01T12:03:00Z" - }, - { - "type":"Property", - "value":145, - "observedAt":"2020-08-01T13:05:00Z" - }, - { - "type":"Property", - "value":124, - "observedAt":"2020-08-01T14:07:00Z" - } - ], - "speed":[ - { - "type":"Property", - "value":45, - "observedAt":"2020-08-01T12:03:00Z" - }, - { - "type":"Property", - "value":25, - "observedAt":"2020-08-01T12:05:00Z" - }, - { - "type":"Property", - "value":67, - "observedAt":"2020-08-01T12:07:00Z" - } - ] - } -] \ No newline at end of file diff --git a/data/temporalEntities/vehicle-simplified-temporal-representation-sample.jsonld b/data/temporalEntities/vehicle-simplified-temporal-representation-sample.jsonld deleted file mode 100644 index 8ffa880f..00000000 --- a/data/temporalEntities/vehicle-simplified-temporal-representation-sample.jsonld +++ /dev/null @@ -1,21 +0,0 @@ -{ - "id": "urn:ngsi-ld:Vehicle:randomUUID", - "type": "Vehicle", - "brandName": { - "type": "Property", - "values": [ - ["Volvo",""] - ] - }, - "speed": { - "type": "Property", - "values": [ - [120,"2018-08-01T12:03:00Z"], - [80,"2018-08-01T12:05:00Z"], - [100,"2018-08-01T12:07:00Z"] - ] - }, - "@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 diff --git a/data/temporalEntities/vehicle-temporal-invalid-context-sample.jsonld b/data/temporalEntities/vehicle-temporal-invalid-context-sample.jsonld deleted file mode 100644 index 33659f6b..00000000 --- a/data/temporalEntities/vehicle-temporal-invalid-context-sample.jsonld +++ /dev/null @@ -1,41 +0,0 @@ -{ - "id":"urn:ngsi-ld:Vehicle:randomUUID", - "type":"Vehicle", - "speed":[ - { - "type":"Property", - "value":120, - "observedAt":"2020-09-01T12:03:00Z" - }, - { - "type":"Property", - "value":80, - "observedAt":"2020-09-01T12:05:00Z" - }, - { - "type":"Property", - "value":100, - "observedAt":"2020-09-01T12:07:00Z" - } - ], - "fuelLevel":[ - { - "type":"Property", - "value":67, - "observedAt":"2020-09-01T12:03:00Z" - }, - { - "type":"Property", - "value":53, - "observedAt":"2020-09-01T13:05:00Z" - }, - { - "type":"Property", - "value":40, - "observedAt":"2020-09-01T14:07:00Z" - } - ], - "@context":[ - "invalidcontext" - ] -} \ No newline at end of file diff --git a/data/temporalEntities/vehicle-temporal-representation-without-context-sample.jsonld b/data/temporalEntities/vehicle-temporal-representation-without-context-sample.jsonld deleted file mode 100644 index b50a1eab..00000000 --- a/data/temporalEntities/vehicle-temporal-representation-without-context-sample.jsonld +++ /dev/null @@ -1,38 +0,0 @@ -{ - "id":"urn:ngsi-ld:Vehicle:randomUUID", - "type":"Vehicle", - "speed":[ - { - "type":"Property", - "value":120, - "observedAt":"2020-09-01T12:03:00Z" - }, - { - "type":"Property", - "value":80, - "observedAt":"2020-09-01T12:05:00Z" - }, - { - "type":"Property", - "value":100, - "observedAt":"2020-09-01T12:07:00Z" - } - ], - "fuelLevel":[ - { - "type":"Property", - "value":67, - "observedAt":"2020-09-01T12:03:00Z" - }, - { - "type":"Property", - "value":53, - "observedAt":"2020-09-01T13:05:00Z" - }, - { - "type":"Property", - "value":40, - "observedAt":"2020-09-01T14:07:00Z" - } - ] -} \ No newline at end of file -- GitLab