Skip to content

SmartOperatingBlock/automation-management-microservice

Repository files navigation

Automation management microservice

workflow status License: MIT Version

Code Smells Vulnerabilities Technical Debt Security Rating

This is the repository of the Automation Management microservice of the Smart Operating Block project.

Usage

You need to specify the following environment variable:

  • AZURE_CLIENT_ID: ID of an Azure AD application
  • AZURE_TENANT_ID: ID of the application's Azure AD tenant
  • AZURE_CLIENT_SECRET: the application's client secrets
  • AZURE_DT_ENDPOINT: the Azure Digital Twins instance endpoint
  • BOOTSTRAP_SERVER_URL: the kafka connection endpoint
  • CONFIG_PATH: the path where the microservice can find the configuration for environmental data and automation scenarios.
  • SCHEMA_REGISTRY_URL: the schema registry url
  • THING_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:

  1. Provide a .env file with all the environment variable described above
  2. Run the container with the command:
     docker run ghcr.io/smartoperatingblock/automation-management-microservice:latest
    1. If you want to pass an environment file whose name is different from .env use the --env-file <name> parameter.

Documentation

  • Check out the website here
  • Direct link to the Code documentation here
  • Direct link to the AsyncAPI documentation here