Skip to content

Commit

Permalink
Explicitly add apiKey
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-fox committed Jun 28, 2024
1 parent 639178c commit 3d3ee2e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions provision-devices
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ curl -s -o /dev/null -X POST \
"device_id": "motion001",
"entity_name": "Motion:001",
"entity_type": "Motion",
"apikey": "1068318794",
"static_attributes": [
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:001"}
]
Expand All @@ -138,6 +139,7 @@ curl -s -o /dev/null -X POST \
"device_id": "bell001",
"entity_name": "Bell:001",
"entity_type": "Bell",
"apikey": "3020035",
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/bell001"'",
"static_attributes": [
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:001"}
Expand All @@ -147,6 +149,7 @@ curl -s -o /dev/null -X POST \
"device_id": "door001",
"entity_name": "Door:001",
"entity_type": "Door",
"apikey": "3089326",
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/door001"'",
"static_attributes": [
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:001"}
Expand All @@ -156,6 +159,7 @@ curl -s -o /dev/null -X POST \
"device_id": "lamp001",
"entity_name": "Lamp:001",
"entity_type": "Lamp",
"apikey": "3314136",
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/lamp001"'",
"static_attributes": [
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:001"}
Expand All @@ -182,6 +186,7 @@ curl -s -o /dev/null -X POST \
"device_id": "motion002",
"entity_name": "Motion:002",
"entity_type": "Motion",
"apikey": "1068318794",
"static_attributes": [
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:002"}
]
Expand All @@ -190,6 +195,7 @@ curl -s -o /dev/null -X POST \
"device_id": "bell002",
"entity_name": "Bell:002",
"entity_type": "Bell",
"apikey": "3020035",
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/bell002"'",
"static_attributes": [
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:002"}
Expand All @@ -199,6 +205,7 @@ curl -s -o /dev/null -X POST \
"device_id": "door002",
"entity_name": "Door:002",
"entity_type": "Door",
"apikey": "3089326",
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/door002"'",
"static_attributes": [
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:002"}
Expand All @@ -208,6 +215,7 @@ curl -s -o /dev/null -X POST \
"device_id": "lamp002",
"entity_name": "Lamp:002",
"entity_type": "Lamp",
"apikey": "3314136",
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/lamp002"'",
"static_attributes": [
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:002"}
Expand Down Expand Up @@ -238,6 +246,7 @@ curl -s -o /dev/null -X POST \
"device_id": "motion003",
"entity_name": "Motion:003",
"entity_type": "Motion",
"apikey": "1068318794",
"static_attributes": [
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:003"}
]
Expand All @@ -246,6 +255,7 @@ curl -s -o /dev/null -X POST \
"device_id": "bell003",
"entity_name": "Bell:003",
"entity_type": "Bell",
"apikey": "3020035",
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/bell003"'",
"static_attributes": [
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:003"}
Expand All @@ -255,6 +265,7 @@ curl -s -o /dev/null -X POST \
"device_id": "door003",
"entity_name": "Door:003",
"entity_type": "Door",
"apikey": "3089326",
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/door003"'",
"static_attributes": [
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:003"}
Expand All @@ -264,6 +275,7 @@ curl -s -o /dev/null -X POST \
"device_id": "lamp003",
"entity_name": "Lamp:003",
"entity_type": "Lamp",
"apikey": "3314136",
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/lamp003"'",
"static_attributes": [
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:003"}
Expand Down Expand Up @@ -293,6 +305,7 @@ curl -s -o /dev/null -X POST \
"device_id": "motion004",
"entity_name": "Motion:004",
"entity_type": "Motion",
"apikey": "1068318794",
"static_attributes": [
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:004"}
]
Expand All @@ -301,6 +314,7 @@ curl -s -o /dev/null -X POST \
"device_id": "bell004",
"entity_name": "Bell:004",
"entity_type": "Bell",
"apikey": "3020035",
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/bell004"'",
"static_attributes": [
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:004"}
Expand All @@ -310,6 +324,7 @@ curl -s -o /dev/null -X POST \
"device_id": "door004",
"entity_name": "Door:004",
"entity_type": "Door",
"apikey": "3089326",
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/door004"'",
"static_attributes": [
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:004"}
Expand All @@ -319,6 +334,7 @@ curl -s -o /dev/null -X POST \
"device_id": "lamp004",
"entity_name": "Lamp:004",
"entity_type": "Lamp",
"apikey": "3314136",
"endpoint": "'"http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT/iot/lamp004"'",
"static_attributes": [
{"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:004"}
Expand Down

0 comments on commit 3d3ee2e

Please sign in to comment.