module
0.0.0-20240919141748-143138731d34
Repository: https://github.com/diwise/iot-core.git
Documentation: pkg.go.dev
# README
iot-core
A service for handling core functionality in the IoT platform. Enriches messages with metadata such as position and environment.
Design
flowchart LR
iot-agent-->handler
handler --> iot-device-mgmt -- enrich --> handler
handler --pub--> rabbitMQ --sub--> iot-transform-fiware
handler --pub--> rabbitMQ --sub--> other
subgraph iot-core
handler
end
Dependencies
Build and test
Build
docker build -f deployments/Dockerfile . -t diwise/iot-core:latest
Test
Testing is best done using unit tests. For integration testing the preferred way is to use docker-compose.yaml
found in repository diwise
Configuration
Environment variables
"RABBITMQ_HOST": "<rabbit mq hostname>"
"RABBITMQ_PORT": "5672"
"RABBITMQ_VHOST": "/"
"RABBITMQ_USER": "user"
"RABBITMQ_PASS": "bitnami"
"RABBITMQ_DISABLED": "false"
"DEV_MGMT_URL": "http://iot-device-mgmt:8080",
"OAUTH2_TOKEN_URL": "http://keycloak:8080/realms/diwise-local/protocol/openid-connect/token",
"OAUTH2_CLIENT_ID": "diwise-devmgmt-api",
"OAUTH2_CLIENT_SECRET": "<client secret>",
CLI flags
none
Configuration files
none
Links
iot-core on diwise.github.io