Skip to content

Latest commit

 

History

History
54 lines (44 loc) · 1.49 KB

README.md

File metadata and controls

54 lines (44 loc) · 1.49 KB

iot-core

A service for handling core functionality in the IoT platform. Enriches messages with metadata such as position and environment.

License: AGPL v3

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 
Loading

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