Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • O OS Core Lib Azure
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 9
    • Issues 9
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Open Subsurface Data Universe SoftwareOpen Subsurface Data Universe Software
  • Platform
  • System
  • Lib
  • cloud
  • azure
  • OS Core Lib Azure
  • Issues
  • #9
Closed
Open
Issue created Jun 08, 2021 by Abhishek Patil@abpatilMaintainer

Managing common properties and Container Health Guidelines through core-lib-azure

Context

Today there are various configuration properties which are common across all OSDU services. Managing these configurations across all services is difficult because if there is an update or addition of new configuration, then that update/addition should be incorporated across all services.

Problem Statement

Whenever there is an update or addition of common configuration property, that change has to be made available in application.properties of all the OSDU services.

Proposed Solution

Idea is to have all the common configuration properties in core-lib-azure. As every OSDU service uses core-lib-azure, those properties will be available for consumption in every service. The following is a representation of how common properties will be available through core-lib-azure. image All the common configuration properties can be placed in common.properties file within core-lib-azure and be packaged within core-lib-azure’s jar. Individual services can then use this common.properties file along with their own application.properties. This can be achieved by configuring the following environment variable in every service.

  • name: SPRING_CONFIG_NAME value: "common,application"

Also, if there is need to override any configuration, services can do so by specifying another value for that property in their own application.properties file.

How does this solution solves the issue ?

Whenever there is an update or addition of common configuration property, only common.properties file in core-lib-azure needs to be updated. Individual OSDU services can pick up that change by using the appropriate version of core-lib-azure.

Edited Jun 22, 2021 by Smitha Manjunath
Assignee
Assign to
Time tracking