opendatadiscovery / odd-platform

First open-source data discovery and observability platform. We make a life for data practitioners easy so you can focus on your business.
https://opendatadiscovery.org
Apache License 2.0
1.19k stars 98 forks source link

1608 - added support of AWS Parameters Store #1618

Closed Vladysl closed 6 months ago

Vladysl commented 6 months ago

By default, AWS Parameters Store is disabled. In case, user want to enable it, need to specify:

Note : this naming is hardcoded In case, you want to enable this on your local env, you should also specify:

(How to setup this variables for local env)

By default, aws.paramstore.prefix = /odd aws.paramstore.name = platform_config In result, platform will get variables which have naming like: /odd/platform_config/[variable.name]

IMPORTANT As name separator for variable, you should use '.', not '_'.
This rule only for variables naming. Name of profile can be separated by '_'. Example: In applciation.yml we have following property

auth:
  type: DISABLED

1)In parameters store we have this : /odd/platform_config/auth.type=OAUTH2. Result: applciation.yml will be overridden and we will have OAUTH2 2)In parameters store we have this : /odd/platform_config/auth_type=OAUTH2. Result: applciation.yml will NOT be overridden and we will have DISABLED Screenshots: variables in paramstore

image

Their values in application

image
github-actions[bot] commented 6 months ago

Test Results

  55 files    55 suites   2m 50s :stopwatch: 259 tests 259 :heavy_check_mark: 0 :zzz: 0 :x: 287 runs  287 :heavy_check_mark: 0 :zzz: 0 :x:

Results for commit 94aad10c.

sonarcloud[bot] commented 6 months ago

Quality Gate Passed Quality Gate passed for 'odd-platform-api'

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud