Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • News
    • Getting started
    • Introduction video
      Welcome to Wiki
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

Side Menu

  • Overview
  • Repository
  • Wiki
    Wiki

Content

You are here:
  1. Wiki
  2. Software Architecture Document
  3. 08 - Cross-Cutting Concerns

08 - Cross-Cutting Concerns

  • More
    • Print
    • Table of contents

8.1. Configuration

The default service configuration is provided internally with a multi-profile application.yml YAML file. The default values are meant to be overridden on any development or production environment, either by system variables or by a centrally managed configuration server.

In a distributed microservice environment a configuration server (OpenWMS.org Configuration Server) is used to provide environment specific configuration to all services and manage this in a single place.

If the configuration of the service is being updated on the configuration server, the service needs to be restarted in order to fetch the configuration at startup. A second and better approach is to update the configuration of the service at runtime without any service downtime. This can either happen via Spring Actuator endpoints (in a SYNCHRONOUS environment) or via RabbitMQ events in an ASYNCHRONOUS environment with a RabbitMQ message broker.

Loading...