diff --git a/provision-devices b/provision-devices index f5d320a..d1b2d4a 100755 --- a/provision-devices +++ b/provision-devices @@ -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"} ] @@ -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"} @@ -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"} @@ -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"} @@ -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"} ] @@ -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"} @@ -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"} @@ -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"} @@ -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"} ] @@ -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"} @@ -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"} @@ -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"} @@ -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"} ] @@ -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"} @@ -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"} @@ -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"}