@@ -119,7 +119,7 @@ curl -s -o /dev/null -X POST \
119119#
120120
121121curl -s -o /dev/null -X POST \
122- " http://iot-agent:$IOTA_NORTH_PORT /iot/jsonevices " \
122+ " http://iot-agent:$IOTA_NORTH_PORT /iot/devices " \
123123 -H ' Content-Type: application/json' \
124124 -H ' fiware-service: openiot' \
125125 -H ' fiware-servicepath: /' \
@@ -149,7 +149,7 @@ curl -s -o /dev/null -X POST \
149149 "entity_name": "Door:001",
150150 "entity_type": "Door",
151151 "apikey": "3089326",
152- "endpoint": "' " http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT /iot/jsonoor001 " ' ",
152+ "endpoint": "' " http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT /iot/door001 " ' ",
153153 "static_attributes": [
154154 {"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:001"}
155155 ]
@@ -180,7 +180,7 @@ curl -s -o /dev/null -X POST \
180180#
181181
182182curl -s -o /dev/null -X POST \
183- " http://iot-agent:$IOTA_NORTH_PORT /iot/jsonevices " \
183+ " http://iot-agent:$IOTA_NORTH_PORT /iot/devices " \
184184 -H ' Content-Type: application/json' \
185185 -H ' fiware-service: openiot' \
186186 -H ' fiware-servicepath: /' \
@@ -210,7 +210,7 @@ curl -s -o /dev/null -X POST \
210210 "entity_name": "Door:002",
211211 "entity_type": "Door",
212212 "apikey": "3089326",
213- "endpoint": "' " http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT /iot/jsonoor002 " ' ",
213+ "endpoint": "' " http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT /iot/door002 " ' ",
214214 "static_attributes": [
215215 {"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:002"}
216216 ]
@@ -244,7 +244,7 @@ curl -s -o /dev/null -X POST \
244244#
245245
246246curl -s -o /dev/null -X POST \
247- " http://iot-agent:$IOTA_NORTH_PORT /iot/jsonevices " \
247+ " http://iot-agent:$IOTA_NORTH_PORT /iot/devices " \
248248 -H ' Content-Type: application/json' \
249249 -H ' fiware-service: openiot' \
250250 -H ' fiware-servicepath: /' \
@@ -274,7 +274,7 @@ curl -s -o /dev/null -X POST \
274274 "entity_name": "Door:003",
275275 "entity_type": "Door",
276276 "apikey": "3089326",
277- "endpoint": "' " http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT /iot/jsonoor003 " ' ",
277+ "endpoint": "' " http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT /iot/door003 " ' ",
278278 "static_attributes": [
279279 {"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:003"}
280280 ]
@@ -307,7 +307,7 @@ curl -s -o /dev/null -X POST \
307307#
308308
309309curl -s -o /dev/null -X POST \
310- " http://iot-agent:$IOTA_NORTH_PORT /iot/jsonevices " \
310+ " http://iot-agent:$IOTA_NORTH_PORT /iot/devices " \
311311 -H ' Content-Type: application/json' \
312312 -H ' fiware-service: openiot' \
313313 -H ' fiware-servicepath: /' \
@@ -337,7 +337,7 @@ curl -s -o /dev/null -X POST \
337337 "entity_name": "Door:004",
338338 "entity_type": "Door",
339339 "apikey": "3089326",
340- "endpoint": "' " http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT /iot/jsonoor004 " ' ",
340+ "endpoint": "' " http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT /iot/door004 " ' ",
341341 "static_attributes": [
342342 {"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:004"}
343343 ]
0 commit comments