diff --git a/provision-devices b/provision-devices index 31eb090..3118a41 100755 --- a/provision-devices +++ b/provision-devices @@ -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"} ] @@ -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"} @@ -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"} @@ -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"} @@ -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"} ] @@ -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"} @@ -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"} @@ -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"} @@ -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"} ] @@ -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"} @@ -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"} @@ -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"} @@ -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"} ] @@ -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"} @@ -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"} @@ -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"}