@@ -120,7 +120,7 @@ curl -s -o /dev/null -X POST \
120120#
121121
122122curl -s -o /dev/null -X POST \
123- " http://iot-agent:$IOTA_NORTH_PORT /iot/jsonevices " \
123+ " http://iot-agent:$IOTA_NORTH_PORT /iot/devices " \
124124 -H ' Content-Type: application/json' \
125125 -H ' fiware-service: openiot' \
126126 -H ' fiware-servicepath: /' \
@@ -150,7 +150,7 @@ curl -s -o /dev/null -X POST \
150150 "entity_name": "Door:001",
151151 "entity_type": "Door",
152152 "apikey": "3089326",
153- "endpoint": "' " http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT /iot/jsonoor001 " ' ",
153+ "endpoint": "' " http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT /iot/door001 " ' ",
154154 "static_attributes": [
155155 {"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:001"}
156156 ]
@@ -176,7 +176,7 @@ curl -s -o /dev/null -X POST \
176176#
177177
178178curl -s -o /dev/null -X POST \
179- " http://iot-agent:$IOTA_NORTH_PORT /iot/jsonevices " \
179+ " http://iot-agent:$IOTA_NORTH_PORT /iot/devices " \
180180 -H ' Content-Type: application/json' \
181181 -H ' fiware-service: openiot' \
182182 -H ' fiware-servicepath: /' \
@@ -206,7 +206,7 @@ curl -s -o /dev/null -X POST \
206206 "entity_name": "Door:002",
207207 "entity_type": "Door",
208208 "apikey": "3089326",
209- "endpoint": "' " http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT /iot/jsonoor002 " ' ",
209+ "endpoint": "' " http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT /iot/door002 " ' ",
210210 "static_attributes": [
211211 {"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:002"}
212212 ]
@@ -236,7 +236,7 @@ curl -s -o /dev/null -X POST \
236236#
237237
238238curl -s -o /dev/null -X POST \
239- " http://iot-agent:$IOTA_NORTH_PORT /iot/jsonevices " \
239+ " http://iot-agent:$IOTA_NORTH_PORT /iot/devices " \
240240 -H ' Content-Type: application/json' \
241241 -H ' fiware-service: openiot' \
242242 -H ' fiware-servicepath: /' \
@@ -266,7 +266,7 @@ curl -s -o /dev/null -X POST \
266266 "entity_name": "Door:003",
267267 "entity_type": "Door",
268268 "apikey": "3089326",
269- "endpoint": "' " http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT /iot/jsonoor003 " ' ",
269+ "endpoint": "' " http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT /iot/door003 " ' ",
270270 "static_attributes": [
271271 {"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:003"}
272272 ]
@@ -295,7 +295,7 @@ curl -s -o /dev/null -X POST \
295295#
296296
297297curl -s -o /dev/null -X POST \
298- " http://iot-agent:$IOTA_NORTH_PORT /iot/jsonevices " \
298+ " http://iot-agent:$IOTA_NORTH_PORT /iot/devices " \
299299 -H ' Content-Type: application/json' \
300300 -H ' fiware-service: openiot' \
301301 -H ' fiware-servicepath: /' \
@@ -325,7 +325,7 @@ curl -s -o /dev/null -X POST \
325325 "entity_name": "Door:004",
326326 "entity_type": "Door",
327327 "apikey": "3089326",
328- "endpoint": "' " http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT /iot/jsonoor004 " ' ",
328+ "endpoint": "' " http://iot-sensors:$TUTORIAL_DUMMY_DEVICE_PORT /iot/door004 " ' ",
329329 "static_attributes": [
330330 {"name": "refStore", "type": "Relationship","value": "urn:ngsi-ld:Store:004"}
331331 ]
0 commit comments