Results

Configure

The environment file must have following variables defined:

  • SRC_ROOT
  • BUILD_ROOT
  • DELIVERABLE_ROOT
  • LOG_ROOT
  • MAIA_CORE_HOST
  • MAIA_CORE_HTTP_PORT
  • MAIA_CORE_APP_CONTEXT
  • MAIA_CORE_USE_SSL
  • MAIA_CORE_API_TOKEN_FILE
  • COMPONENT_CONF_FILE
  • COMPONENT_STATE_FILE
  • KAFKA_BROKERS
  • KAFKA_TOPIC
  1. Check out a component with the MAIA Agent command maia checkout.

    bundle exec maia checkout -c component_name

  2. Go to the root directory of the component.

    cd <%INSTALL_PATH%>/component_name

  3. If the component has no configuration file, create a configuration file.

    touch MAIA.yml

  4. Edit the parameters in the configuration file. The file must contain at least the parameters version, rev and subcomponents.

    Example of a basic component configuration file.

    version: 4.0
    rev: 1.0.2
    subcomponents:
      -name: core
      -name: core_test
    

    Each subcomponent must have a configuration file of their own.

  5. Save the configuration file and make a commit to the version control system.