Skip to content

Commit 85b1ec1

Browse files
committed
Explicitly add apiKey
1 parent 6197a5d commit 85b1ec1

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

provision-devices

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ curl -s -o /dev/null -X POST \
129129
"device_id": "motion001",
130130
"entity_name": "Motion:001",
131131
"entity_type": "Motion",
132+
"apikey": "1068318794",
132133
"static_attributes": [
133134
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:001"}
134135
]
@@ -137,6 +138,7 @@ curl -s -o /dev/null -X POST \
137138
"device_id": "bell001",
138139
"entity_name": "Bell:001",
139140
"entity_type": "Bell",
141+
"apikey": "3020035",
140142
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/bell001"'",
141143
"static_attributes": [
142144
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:001"}
@@ -146,6 +148,7 @@ curl -s -o /dev/null -X POST \
146148
"device_id": "door001",
147149
"entity_name": "Door:001",
148150
"entity_type": "Door",
151+
"apikey": "3089326",
149152
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/door001"'",
150153
"static_attributes": [
151154
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:001"}
@@ -155,6 +158,7 @@ curl -s -o /dev/null -X POST \
155158
"device_id": "lamp001",
156159
"entity_name": "Lamp:001",
157160
"entity_type": "Lamp",
161+
"apikey": "3314136",
158162
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/lamp001"'",
159163
"static_attributes": [
160164
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:001"},
@@ -186,6 +190,7 @@ curl -s -o /dev/null -X POST \
186190
"device_id": "motion002",
187191
"entity_name": "Motion:002",
188192
"entity_type": "Motion",
193+
"apikey": "1068318794",
189194
"static_attributes": [
190195
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:002"}
191196
]
@@ -194,6 +199,7 @@ curl -s -o /dev/null -X POST \
194199
"device_id": "bell002",
195200
"entity_name": "Bell:002",
196201
"entity_type": "Bell",
202+
"apikey": "3020035",
197203
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/bell002"'",
198204
"static_attributes": [
199205
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:002"}
@@ -203,6 +209,7 @@ curl -s -o /dev/null -X POST \
203209
"device_id": "door002",
204210
"entity_name": "Door:002",
205211
"entity_type": "Door",
212+
"apikey": "3089326",
206213
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/door002"'",
207214
"static_attributes": [
208215
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:002"}
@@ -212,6 +219,7 @@ curl -s -o /dev/null -X POST \
212219
"device_id": "lamp002",
213220
"entity_name": "Lamp:002",
214221
"entity_type": "Lamp",
222+
"apikey": "3314136",
215223
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/lamp002"'",
216224
"static_attributes": [
217225
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:002"},
@@ -246,6 +254,7 @@ curl -s -o /dev/null -X POST \
246254
"device_id": "motion003",
247255
"entity_name": "Motion:003",
248256
"entity_type": "Motion",
257+
"apikey": "1068318794",
249258
"static_attributes": [
250259
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:003"}
251260
]
@@ -254,6 +263,7 @@ curl -s -o /dev/null -X POST \
254263
"device_id": "bell003",
255264
"entity_name": "Bell:003",
256265
"entity_type": "Bell",
266+
"apikey": "3020035",
257267
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/bell003"'",
258268
"static_attributes": [
259269
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:003"}
@@ -263,6 +273,7 @@ curl -s -o /dev/null -X POST \
263273
"device_id": "door003",
264274
"entity_name": "Door:003",
265275
"entity_type": "Door",
276+
"apikey": "3089326",
266277
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/door003"'",
267278
"static_attributes": [
268279
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:003"}
@@ -272,6 +283,7 @@ curl -s -o /dev/null -X POST \
272283
"device_id": "lamp003",
273284
"entity_name": "Lamp:003",
274285
"entity_type": "Lamp",
286+
"apikey": "3314136",
275287
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/lamp003"'",
276288
"static_attributes": [
277289
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:003"},
@@ -305,6 +317,7 @@ curl -s -o /dev/null -X POST \
305317
"device_id": "motion004",
306318
"entity_name": "Motion:004",
307319
"entity_type": "Motion",
320+
"apikey": "1068318794",
308321
"static_attributes": [
309322
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:004"}
310323
]
@@ -313,6 +326,7 @@ curl -s -o /dev/null -X POST \
313326
"device_id": "bell004",
314327
"entity_name": "Bell:004",
315328
"entity_type": "Bell",
329+
"apikey": "3020035",
316330
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/bell004"'",
317331
"static_attributes": [
318332
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:004"}
@@ -322,6 +336,7 @@ curl -s -o /dev/null -X POST \
322336
"device_id": "door004",
323337
"entity_name": "Door:004",
324338
"entity_type": "Door",
339+
"apikey": "3089326",
325340
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/door004"'",
326341
"static_attributes": [
327342
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:004"}
@@ -331,6 +346,7 @@ curl -s -o /dev/null -X POST \
331346
"device_id": "lamp004",
332347
"entity_name": "Lamp:004",
333348
"entity_type": "Lamp",
349+
"apikey": "3314136",
334350
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/lamp004"'",
335351
"static_attributes": [
336352
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:004"},

0 commit comments

Comments
 (0)