Skip to content

Commit c53f5e2

Browse files
committed
Update to use VocabProperty
1 parent b01dd04 commit c53f5e2

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 -X POST \
2020
-d '{
2121
"id": "urn:ngsi-ld:Building:store001",
2222
"type": "Building",
23-
"category": {"type": "VocabularyProperty", "vocab": "commercial"},
23+
"category": { "vocab": ["commercial"]},
2424
"address": {
2525
"type": "Property",
2626
"value": {"streetAddress": "Bornholmer Straße 65","addressRegion": "Berlin","addressLocality": "Prenzlauer Berg","postalCode": "10439"},
@@ -43,7 +43,7 @@ curl -s -o /dev/null -X POST \
4343
-d '{
4444
"id": "urn:ngsi-ld:Building:store002",
4545
"type": "Building",
46-
"category": {"type": "VocabularyProperty", "vocab": "commercial"},
46+
"category": {"type": "VocabProperty", "vocab": "commercial"},
4747
"address": {
4848
"type": "Property",
4949
"value": {"streetAddress":"Friedrichstraße 44","addressRegion":"Berlin","addressLocality":"Kreuzberg","postalCode":"10969"},
@@ -63,7 +63,7 @@ curl -s -o /dev/null -X POST \
6363
-d '{
6464
"id": "urn:ngsi-ld:Building:store003",
6565
"type": "Building",
66-
"category": {"type": "VocabularyProperty", "vocab": "commercial"},
66+
"category": {"type": "VocabProperty", "vocab": "commercial"},
6767
"address": {
6868
"type": "Property",
6969
"value": {"streetAddress":"Mühlenstrasse 10","addressRegion":"Berlin","addressLocality":"Friedrichshain","postalCode":"10243"},
@@ -84,7 +84,7 @@ curl -s -o /dev/null -X POST \
8484
-d '{
8585
"id": "urn:ngsi-ld:Building:store004",
8686
"type": "Building",
87-
"category": {"type": "VocabularyProperty", "vocab": "commercial"},
87+
"category": {"type": "VocabProperty", "vocab": "commercial"},
8888
"address": {
8989
"type": "Property",
9090
"value": {"streetAddress":"Panoramastraße 1A","addressRegion":"Berlin","addressLocality":"Mitte","postalCode":"10178"},

0 commit comments

Comments
 (0)