Skip to content

Commit b413ea9

Browse files
committed
Explicitly add apiKey
1 parent d61b8b0 commit b413ea9

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

provision-devices

+16
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ curl -s -o /dev/null -X POST \
131131
"device_id": "motion001",
132132
"entity_name": "Motion:001",
133133
"entity_type": "Motion",
134+
"apikey": "1068318794",
134135
"static_attributes": [
135136
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:001"}
136137
]
@@ -139,6 +140,7 @@ curl -s -o /dev/null -X POST \
139140
"device_id": "bell001",
140141
"entity_name": "Bell:001",
141142
"entity_type": "Bell",
143+
"apikey": "3020035",
142144
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/bell001"'",
143145
"static_attributes": [
144146
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:001"}
@@ -148,6 +150,7 @@ curl -s -o /dev/null -X POST \
148150
"device_id": "door001",
149151
"entity_name": "Door:001",
150152
"entity_type": "Door",
153+
"apikey": "3089326",
151154
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/door001"'",
152155
"static_attributes": [
153156
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:001"}
@@ -157,6 +160,7 @@ curl -s -o /dev/null -X POST \
157160
"device_id": "lamp001",
158161
"entity_name": "Lamp:001",
159162
"entity_type": "Lamp",
163+
"apikey": "3314136",
160164
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/lamp001"'",
161165
"static_attributes": [
162166
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:001"}
@@ -183,6 +187,7 @@ curl -s -o /dev/null -X POST \
183187
"device_id": "motion002",
184188
"entity_name": "Motion:002",
185189
"entity_type": "Motion",
190+
"apikey": "1068318794",
186191
"static_attributes": [
187192
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:002"}
188193
]
@@ -191,6 +196,7 @@ curl -s -o /dev/null -X POST \
191196
"device_id": "bell002",
192197
"entity_name": "Bell:002",
193198
"entity_type": "Bell",
199+
"apikey": "3020035",
194200
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/bell002"'",
195201
"static_attributes": [
196202
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:002"}
@@ -200,6 +206,7 @@ curl -s -o /dev/null -X POST \
200206
"device_id": "door002",
201207
"entity_name": "Door:002",
202208
"entity_type": "Door",
209+
"apikey": "3089326",
203210
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/door002"'",
204211
"static_attributes": [
205212
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:002"}
@@ -209,6 +216,7 @@ curl -s -o /dev/null -X POST \
209216
"device_id": "lamp002",
210217
"entity_name": "Lamp:002",
211218
"entity_type": "Lamp",
219+
"apikey": "3314136",
212220
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/lamp002"'",
213221
"static_attributes": [
214222
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:002"}
@@ -239,6 +247,7 @@ curl -s -o /dev/null -X POST \
239247
"device_id": "motion003",
240248
"entity_name": "Motion:003",
241249
"entity_type": "Motion",
250+
"apikey": "1068318794",
242251
"static_attributes": [
243252
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:003"}
244253
]
@@ -247,6 +256,7 @@ curl -s -o /dev/null -X POST \
247256
"device_id": "bell003",
248257
"entity_name": "Bell:003",
249258
"entity_type": "Bell",
259+
"apikey": "3020035",
250260
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/bell003"'",
251261
"static_attributes": [
252262
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:003"}
@@ -256,6 +266,7 @@ curl -s -o /dev/null -X POST \
256266
"device_id": "door003",
257267
"entity_name": "Door:003",
258268
"entity_type": "Door",
269+
"apikey": "3089326",
259270
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/door003"'",
260271
"static_attributes": [
261272
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:003"}
@@ -265,6 +276,7 @@ curl -s -o /dev/null -X POST \
265276
"device_id": "lamp003",
266277
"entity_name": "Lamp:003",
267278
"entity_type": "Lamp",
279+
"apikey": "3314136",
268280
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/lamp003"'",
269281
"static_attributes": [
270282
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:003"}
@@ -294,6 +306,7 @@ curl -s -o /dev/null -X POST \
294306
"device_id": "motion004",
295307
"entity_name": "Motion:004",
296308
"entity_type": "Motion",
309+
"apikey": "1068318794",
297310
"static_attributes": [
298311
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:004"}
299312
]
@@ -302,6 +315,7 @@ curl -s -o /dev/null -X POST \
302315
"device_id": "bell004",
303316
"entity_name": "Bell:004",
304317
"entity_type": "Bell",
318+
"apikey": "3020035",
305319
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/bell004"'",
306320
"static_attributes": [
307321
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:004"}
@@ -311,6 +325,7 @@ curl -s -o /dev/null -X POST \
311325
"device_id": "door004",
312326
"entity_name": "Door:004",
313327
"entity_type": "Door",
328+
"apikey": "3089326",
314329
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/door004"'",
315330
"static_attributes": [
316331
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:004"}
@@ -320,6 +335,7 @@ curl -s -o /dev/null -X POST \
320335
"device_id": "lamp004",
321336
"entity_name": "Lamp:004",
322337
"entity_type": "Lamp",
338+
"apikey": "3314136",
323339
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/lamp004"'",
324340
"static_attributes": [
325341
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:004"}

0 commit comments

Comments
 (0)