Configuration Files for Services

enaio® 9.10 »

The configuration files for services are managed in the \config directory by default.

For environments with distributed services and multiple systems – development, test, production – the configuration files can be managed via Git.

The following steps are necessary:

  • Execute enaio_blueline_service-managerw.exe in the \bin directory.

  • Open the Startup tab.
  • Customize the arguments area:
  • --spring.profiles.active=sw,prod,native

    Delete the native parameter

    --spring.cloud.config.server.git.uri=https://<git>

    --spring.cloud.config.server.git.username=user

    --spring.cloud.config.server.git.password=password

    --spring.cloud.config.server.git.default-label=branch

    Attach new parameters:

    • Git address
    • Technical user with password for Git access
    • Branch for the configuration files
  • Copy the configuration files to the Git branch.
  • The servicewatcher-sw.yml configuration file and the logback.xml log configuration file must remain in the \config directory.

  • Restart enaio® service-manager.

enaio® service-manager will now use the configuration files in the Git branch.

If new services are installed, the configuration files in the \config directory will be installed and must be copied to the Git branch.