Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
Mar 7, 2022

Conversation

antoniivanov
Copy link
Collaborator

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>
Copy link
Contributor

@YanaZhivkova YanaZhivkova left a comment

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 join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants