Skip to content

Frontend Application for accessing IoT platforms. Runtime with Docker, java -jar

License

Notifications You must be signed in to change notification settings

Cantara/IoT-frontend

Repository files navigation

IotFrontend

Build Status - Project Status: Active – The project has reached a stable, usable state and is being actively developed. - Known Vulnerabilities

Access IoT Devices api. Subscribe to updates from devices.

Install

mvn install

Run

java -jar target/iot-frontend-0.1-SNAPSHOT.jar
or 
./run.sh 
or 
run.bat

Enter webclient

Healthcheck

http://localhost:8081/IotFrontend/healthcheck

Hystrix

We recomend to enhance your remote http calls within Hystrix Commands. It is quite simple, have a look at the ProxyExampleResource.

To generate example data use http://:/IotFrontend/proxy?url=<some_host_to_get_data_from>

This application will forward Hystrix statistics and metrics on http://:/hystrix.stream. Use a Hystrix dashboard to view these data. See https://github.com/Netflix/Hystrix/tree/master/hystrix-dashboard

Read more about Hystrix at:

Deployment

Static content

http://localhost:8080/frontend/

Dynamic content and api

http://localhost:8080/IotFrontend/