Skip to content

Commit 7783032

Browse files
committed
Switch to Property
1 parent 7e4e728 commit 7783032

2 files changed

Lines changed: 53 additions & 6 deletions

File tree

.gitpod.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
tasks:
2+
- name: Pull Images
3+
init: ./services create
4+
5+
ports:
6+
- name: JSON-LD context (HTTPD)
7+
description: Public User JSON-LD context
8+
port: 3004
9+
onOpen: notify
10+
visibility: public
11+
- name: Orion
12+
description: Context Broker
13+
port: 1026
14+
onOpen: notify
15+
visibility: public
16+
- name: Scorpio
17+
description: Context Broker
18+
port: 9090
19+
onOpen: notify
20+
visibility: public
21+
- name: Stellio
22+
description: Context Broker
23+
port: 8080
24+
onOpen: notify
25+
visibility: public
26+
- name: Tutorial App
27+
description: Web app displaying context data
28+
port: 3000
29+
onOpen: open-preview
30+
visibility: public
31+
- name: Tutorial Devices
32+
description: Dummy IoT Sensors over HTTP
33+
port: 3001
34+
onOpen: ignore
35+
- name: IoT Agent (North Port)
36+
description: NGSI data and device provisioning
37+
port: 4041
38+
onOpen: ignore
39+
visibility: public
40+
- name: IoT Agent (South Port)
41+
description: Ultralight HTTP measures
42+
port: 7896
43+
onOpen: ignore
44+
- name: MongoDB
45+
description: Database for Orion + IoT Agent
46+
port: 27017
47+
onOpen: ignore

provision-devices

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ curl -s -o /dev/null -X POST \
7878
}
7979
],
8080
"commands": [
81-
{"name": "add", "type": "command"},
82-
{"name": "remove", "type": "command"}
81+
{"name": "add", "type": "Property"},
82+
{"name": "remove", "type": "Property"}
8383
],
8484
"static_attributes": [
8585
{"name": "supportedProtocol", "type": "Property", "value": ["ul20"]},
@@ -144,8 +144,8 @@ curl -s -o /dev/null -X POST \
144144
"transport": "HTTP",
145145
"timezone": "Europe/Berlin",
146146
"commands": [
147-
{"name": "on", "type": "command"},
148-
{"name": "off", "type": "command"}
147+
{"name": "on", "type": "Property"},
148+
{"name": "off", "type": "Property"}
149149
],
150150
"static_attributes": [
151151
{"name": "description", "type":"Property", "value": "Irrigation System"},
@@ -167,8 +167,8 @@ curl -s -o /dev/null -X POST \
167167
{"object_id": "gps", "name": "location", "type": "geo:point"}
168168
],
169169
"commands": [
170-
{"name": "start", "type": "command"},
171-
{"name": "stop", "type": "command"}
170+
{"name": "start", "type": "Property"},
171+
{"name": "stop", "type": "Property"}
172172
],
173173
"static_attributes": [
174174
{"name": "description", "type":"Property", "value": "Tractor FMIS"},

0 commit comments

Comments
 (0)