Skip to content
This repository was archived by the owner on Sep 1, 2026. It is now read-only.

vdk-core: lowercase env variables are inferred as configuration - #751

Merged
antoniivanov merged 3 commits into
mainfrom
person/aivanov/vdk-core-config
Mar 7, 2022
Merged

vdk-core: lowercase env variables are inferred as configuration#751
antoniivanov merged 3 commits into
mainfrom
person/aivanov/vdk-core-config

Conversation

@antoniivanov

Copy link
Copy Markdown
Contributor

vdk config-help prints all configs in lower-case so it's easy to copy
paste it and set it and it's error prone to allow only upper-cased.
Spring does the same thing when inferring applicaiton properties from
environment variables.

Added also better testing around use-cases with configuration in the
functional test suite

Testing Done: the functional tests

Signed-off-by: Antoni Ivanov aivanov@vmware.com

vdk config-help prints all configs in lower-case so it's easy to copy
paste it and set it and it's error prone to allow only upper-cased.
Spring does the same thing when inferring applicaiton properties from
environment variables.

Added also better testing around use-cases with configuration in the
functional test suite

Testing Done: the functional tests

Signed-off-by: Antoni Ivanov <aivanov@vmware.com>

@YanaZhivkova YanaZhivkova left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@antoniivanov
antoniivanov enabled auto-merge (squash) March 7, 2022 15:56
@antoniivanov
antoniivanov merged commit 789b3ca into main Mar 7, 2022
@antoniivanov
antoniivanov deleted the person/aivanov/vdk-core-config branch March 7, 2022 16:02
antoniivanov added a commit that referenced this pull request Mar 16, 2022
vdk config-help prints all configs in lower-case so it's easy to copy
paste it and set it and it's error prone to allow only upper-cased.
Spring does the same thing when inferring applicaiton properties from
environment variables.

Added also better testing around use-cases with configuration in the
functional test suite

Testing Done: the functional tests

Signed-off-by: Antoni Ivanov <aivanov@vmware.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants