Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Support Environment variables#32

Merged
jonathanaustin merged 11 commits intomasterBorderTech/java-config:masterfrom
env-variablesBorderTech/java-config:env-variablesCopy head branch name to clipboard
Mar 29, 2020
Merged

Support Environment variables#32
jonathanaustin merged 11 commits intomasterBorderTech/java-config:masterfrom
env-variablesBorderTech/java-config:env-variablesCopy head branch name to clipboard

Conversation

@jonathanaustin
Copy link
Member

@jonathanaustin jonathanaustin commented Mar 26, 2020

Similar to the functionality of loading System Properties, there is now an option to load Environment Variables. Closes #31

  • Enable Environment Variables via runtime property bordertech.config.parameters.useEnvProperties=true
  • Option to limit variables merged via property bordertech.config.parameters.useEnvPrefixes. Defaults to allow all.
  • Ability to override the default config file name via a system or environment property BT_CONFIG_FILE=my-config.properties
  • To be consistent with Environment and System property behaviour, the runtime property bordertech.config.parameters.useSystemOverWriteOnly now defaults to false which allows all system properties to be merged when system properties enabled. Use the optional runtime property bordertech.config.parameters.useSystemPrefixes to limit the properties merged.
  • Option to append extra resources to the defined resources via config property bordertech.config.resources.append

Other changes:

  • Latest qa-parent
  • Fix travis sonar token

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 2 Security Hotspots to review)
Code Smell A 2 Code Smells

80.9% 80.9% Coverage
0.0% 0.0% Duplication

@jonathanaustin jonathanaustin requested a review from a user March 26, 2020 15:33
@jonathanaustin jonathanaustin merged commit ea4fee8 into master Mar 29, 2020
@jonathanaustin jonathanaustin deleted the env-variables branch March 29, 2020 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Environment Variables

1 participant

Comments

Close sidebar
Morty Proxy This is a proxified and sanitized view of the page, visit original site.