Skip to content

Commit 3d3ee2e

Browse files
committed
Explicitly add apiKey
1 parent 639178c commit 3d3ee2e

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

provision-devices

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ curl -s -o /dev/null -X POST \
130130
"device_id": "motion001",
131131
"entity_name": "Motion:001",
132132
"entity_type": "Motion",
133+
"apikey": "1068318794",
133134
"static_attributes": [
134135
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:001"}
135136
]
@@ -138,6 +139,7 @@ curl -s -o /dev/null -X POST \
138139
"device_id": "bell001",
139140
"entity_name": "Bell:001",
140141
"entity_type": "Bell",
142+
"apikey": "3020035",
141143
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/bell001"'",
142144
"static_attributes": [
143145
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:001"}
@@ -147,6 +149,7 @@ curl -s -o /dev/null -X POST \
147149
"device_id": "door001",
148150
"entity_name": "Door:001",
149151
"entity_type": "Door",
152+
"apikey": "3089326",
150153
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/door001"'",
151154
"static_attributes": [
152155
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:001"}
@@ -156,6 +159,7 @@ curl -s -o /dev/null -X POST \
156159
"device_id": "lamp001",
157160
"entity_name": "Lamp:001",
158161
"entity_type": "Lamp",
162+
"apikey": "3314136",
159163
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/lamp001"'",
160164
"static_attributes": [
161165
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:001"}
@@ -182,6 +186,7 @@ curl -s -o /dev/null -X POST \
182186
"device_id": "motion002",
183187
"entity_name": "Motion:002",
184188
"entity_type": "Motion",
189+
"apikey": "1068318794",
185190
"static_attributes": [
186191
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:002"}
187192
]
@@ -190,6 +195,7 @@ curl -s -o /dev/null -X POST \
190195
"device_id": "bell002",
191196
"entity_name": "Bell:002",
192197
"entity_type": "Bell",
198+
"apikey": "3020035",
193199
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/bell002"'",
194200
"static_attributes": [
195201
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:002"}
@@ -199,6 +205,7 @@ curl -s -o /dev/null -X POST \
199205
"device_id": "door002",
200206
"entity_name": "Door:002",
201207
"entity_type": "Door",
208+
"apikey": "3089326",
202209
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/door002"'",
203210
"static_attributes": [
204211
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:002"}
@@ -208,6 +215,7 @@ curl -s -o /dev/null -X POST \
208215
"device_id": "lamp002",
209216
"entity_name": "Lamp:002",
210217
"entity_type": "Lamp",
218+
"apikey": "3314136",
211219
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/lamp002"'",
212220
"static_attributes": [
213221
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:002"}
@@ -238,6 +246,7 @@ curl -s -o /dev/null -X POST \
238246
"device_id": "motion003",
239247
"entity_name": "Motion:003",
240248
"entity_type": "Motion",
249+
"apikey": "1068318794",
241250
"static_attributes": [
242251
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:003"}
243252
]
@@ -246,6 +255,7 @@ curl -s -o /dev/null -X POST \
246255
"device_id": "bell003",
247256
"entity_name": "Bell:003",
248257
"entity_type": "Bell",
258+
"apikey": "3020035",
249259
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/bell003"'",
250260
"static_attributes": [
251261
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:003"}
@@ -255,6 +265,7 @@ curl -s -o /dev/null -X POST \
255265
"device_id": "door003",
256266
"entity_name": "Door:003",
257267
"entity_type": "Door",
268+
"apikey": "3089326",
258269
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/door003"'",
259270
"static_attributes": [
260271
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:003"}
@@ -264,6 +275,7 @@ curl -s -o /dev/null -X POST \
264275
"device_id": "lamp003",
265276
"entity_name": "Lamp:003",
266277
"entity_type": "Lamp",
278+
"apikey": "3314136",
267279
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/lamp003"'",
268280
"static_attributes": [
269281
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:003"}
@@ -293,6 +305,7 @@ curl -s -o /dev/null -X POST \
293305
"device_id": "motion004",
294306
"entity_name": "Motion:004",
295307
"entity_type": "Motion",
308+
"apikey": "1068318794",
296309
"static_attributes": [
297310
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:004"}
298311
]
@@ -301,6 +314,7 @@ curl -s -o /dev/null -X POST \
301314
"device_id": "bell004",
302315
"entity_name": "Bell:004",
303316
"entity_type": "Bell",
317+
"apikey": "3020035",
304318
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/bell004"'",
305319
"static_attributes": [
306320
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:004"}
@@ -310,6 +324,7 @@ curl -s -o /dev/null -X POST \
310324
"device_id": "door004",
311325
"entity_name": "Door:004",
312326
"entity_type": "Door",
327+
"apikey": "3089326",
313328
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/door004"'",
314329
"static_attributes": [
315330
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:004"}
@@ -319,6 +334,7 @@ curl -s -o /dev/null -X POST \
319334
"device_id": "lamp004",
320335
"entity_name": "Lamp:004",
321336
"entity_type": "Lamp",
337+
"apikey": "3314136",
322338
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/lamp004"'",
323339
"static_attributes": [
324340
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:004"}

0 commit comments

Comments
 (0)