This is the repository of the Automation Management microservice of the Smart Operating Block project.
You need to specify the following environment variable:
AZURE_CLIENT_ID
: ID of an Azure AD applicationAZURE_TENANT_ID
: ID of the application's Azure AD tenantAZURE_CLIENT_SECRET
: the application's client secretsAZURE_DT_ENDPOINT
: the Azure Digital Twins instance endpointBOOTSTRAP_SERVER_URL
: the kafka connection endpointCONFIG_PATH
: the path where the microservice can find the configuration for environmental data and automation scenarios.SCHEMA_REGISTRY_URL
: the schema registry urlTHING_DESCRIPTION_DIRECTORY_BASE_URL
: the base url for the thing description directory. To this base url must be necessary to add only the id of the thing.
If you want to run it via docker container:
- Provide a
.env
file with all the environment variable described above - Run the container with the command:
docker run ghcr.io/smartoperatingblock/automation-management-microservice:latest
- If you want to pass an environment file whose name is different from
.env
use the--env-file <name>
parameter.
- If you want to pass an environment file whose name is different from