Skip to content

Commit f15836d

Browse files
committed
Update to use VocabProperty
1 parent cce6ac7 commit f15836d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ EXPOSED_PORT=1026
44

55
# Orion LD variables
66
ORION_LD_PORT=1026
7-
ORION_LD_VERSION=1.7.1
7+
ORION_LD_VERSION=1.8.0
88

99
# Scorpio variables
1010
SCORPIO_PORT=9090

import-data

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ curl -s -o /dev/null -X POST \
2020
-d '{
2121
"id": "urn:ngsi-ld:Building:store001",
2222
"type": "Building",
23-
"category": {"type": "Property", "value": ["commercial"]},
23+
"category": {"type": "VocabProperty", "vocab": "commercial"},
2424
"address": {
2525
"type": "Property",
2626
"value": {"streetAddress": "Bornholmer Straße 65", "addressRegion": "Berlin", "addressLocality": "Prenzlauer Berg", "postalCode": "10439"},
@@ -49,7 +49,7 @@ curl -s -o /dev/null -X POST \
4949
-d '{
5050
"id": "urn:ngsi-ld:Building:store002",
5151
"type": "Building",
52-
"category": {"type": "Property", "value": ["commercial"]},
52+
"category": {"type": "VocabProperty", "vocab": "commercial"},
5353
"address": {
5454
"type": "Property",
5555
"value": {"streetAddress":"Friedrichstraße 44", "addressRegion":"Berlin", "addressLocality":"Kreuzberg", "postalCode":"10969"},
@@ -75,7 +75,7 @@ curl -s -o /dev/null -X POST \
7575
-d '{
7676
"id": "urn:ngsi-ld:Building:store003",
7777
"type": "Building",
78-
"category": {"type": "Property", "value": ["commercial"]},
78+
"category": {"type": "VocabProperty", "vocab": "commercial"},
7979
"address": {
8080
"type": "Property",
8181
"value": {"streetAddress":"Mühlenstrasse 10", "addressRegion":"Berlin", "addressLocality":"Friedrichshain", "postalCode":"10243"},
@@ -102,7 +102,7 @@ curl -s -o /dev/null -X POST \
102102
-d '{
103103
"id": "urn:ngsi-ld:Building:store004",
104104
"type": "Building",
105-
"category": {"type": "Property", "value": ["commercial"]},
105+
"category": {"type": "VocabProperty", "vocab": "commercial"},
106106
"address": {
107107
"type": "Property",
108108
"value": {"streetAddress":"Panoramastraße 1A", "addressRegion":"Berlin", "addressLocality":"Mitte", "postalCode":"10178"},

0 commit comments

Comments
 (0)