File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 port : 4041
2121 onOpen : ignore
2222 - name : IoT Agent (South Port)
23- description : Ultralight HTTP measures
23+ description : JSON HTTP measures
2424 port : 7896
2525 onOpen : ignore
2626 - name : MongoDB
Load diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ Enabler の組み合わせを使用して、履歴コンテキスト・データ
136136このチュートリアルの目的のために、一連のダミー IoT デバイスが作成され、Context
137137Broker に接続されます。使用しているアーキテクチャとプロトコルの詳細は
138138、[ IoT Sensors チュートリアル] ( https://github.com/FIWARE/tutorials.IoT-Sensors/tree/NGSI-v2 ) に
139- あります。各デバイスの状態は、次の UltraLight デバイス・モニタの Web ページで確
139+ あります。各デバイスの状態は、次の JSON デバイス・モニタの Web ページで確
140140認できます : ` http://localhost:3000/device/monitor `
141141
142142![ FIWARE Monitor] ( https://fiware.github.io/tutorials.Short-Term-History/img/device-monitor.png )
Original file line number Diff line number Diff line change @@ -94,8 +94,6 @@ services:
9494 - IOTA_DEFAULT_RESOURCE=/iot/json
9595 - IOTA_AMQP_DISABLED=true
9696 - IOTA_MQTT_DISABLED=true
97- healthcheck :
98- interval : 5s
9997
10098
10199 # Tutorial acts as a series of dummy IoT Sensors over HTTP
@@ -127,7 +125,6 @@ services:
127125 - " WEB_APP_PORT=${TUTORIAL_APP_PORT}" # Port used by the content provider proxy and web-app for viewing data
128126 - " IOTA_HTTP_HOST=iot-agent"
129127 - " IOTA_HTTP_PORT=${IOTA_SOUTH_PORT}"
130- - " IOTA_DEFAULT_RESOURCE=/iot/json"
131128 - " DUMMY_DEVICES_PORT=${TUTORIAL_DUMMY_DEVICE_PORT}" # Port used by the dummy IOT devices to receive commands
132129 - " DUMMY_DEVICES_TRANSPORT=HTTP" # Default transport used by dummy Io devices
133130 - " DUMMY_DEVICES_PAYLOAD=JSON"
Original file line number Diff line number Diff line change @@ -87,8 +87,6 @@ services:
8787 - IOTA_DEFAULT_RESOURCE=/iot/json
8888 - IOTA_AMQP_DISABLED=true
8989 - IOTA_MQTT_DISABLED=true
90- healthcheck :
91- interval : 5s
9290
9391
9492 # Tutorial acts as a series of dummy IoT Sensors over HTTP
@@ -120,7 +118,6 @@ services:
120118 - " WEB_APP_PORT=${TUTORIAL_APP_PORT}" # Port used by the content provider proxy and web-app for viewing data
121119 - " IOTA_HTTP_HOST=iot-agent"
122120 - " IOTA_HTTP_PORT=${IOTA_SOUTH_PORT}"
123- - " IOTA_DEFAULT_RESOURCE=/iot/json"
124121 - " DUMMY_DEVICES_PORT=${TUTORIAL_DUMMY_DEVICE_PORT}" # Port used by the dummy IOT devices to receive commands
125122 - " DUMMY_DEVICES_TRANSPORT=HTTP" # Default transport used by dummy Io devices
126123 - " DUMMY_DEVICES_PAYLOAD=JSON"
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ printf "⏳ Provisioning IoT devices "
1414
1515
1616#
17- # Create a service groups for all UltraLight IoT devices
17+ # Create a service groups for all JSON IoT devices
1818#
1919
2020curl -s -o /dev/null -X POST \
Original file line number Diff line number Diff line change @@ -105,8 +105,7 @@ waitForOrion () {
105105
106106waitForIoTAgent () {
107107 echo -e " \n⏳ Waiting for \033[1;36mIoT-Agent\033[0m to be available\n"
108- while ! [ ` docker inspect --format=' {{.State.Health.Status}}' fiware-iot-agent` == " healthy" ]
109-
108+ while [ ` curl -s -o /dev/null -w %{http_code} ' http://localhost:4041/version' ` != " 200" ]
110109 do
111110 echo -e " IoT Agent HTTP state: " ` curl -s -o /dev/null -w %{http_code} ' http://localhost:4041/version' ` " (waiting for 200)"
112111 sleep 1
You can’t perform that action at this time.
0 commit comments