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 2fc8c07 commit ac6e761
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 @@ -131,6 +131,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 @@ -139,6 +140,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 @@ -148,6 +150,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 @@ -157,6 +160,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 @@ -183,6 +187,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 @@ -191,6 +196,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 @@ -200,6 +206,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 @@ -209,6 +216,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 @@ -239,6 +247,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 @@ -247,6 +256,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 @@ -256,6 +266,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 @@ -265,6 +276,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 @@ -294,6 +306,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 @@ -302,6 +315,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 @@ -311,6 +325,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 @@ -320,6 +335,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 ac6e761

Please sign in to comment.