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

Get rid of dependency on environment variables in public configuration #168

Merged
merged 2 commits into from
May 30, 2020

Conversation

artem-v
Copy link
Contributor

@artem-v artem-v commented May 30, 2020

Motivation

Design of a component configuration via ENV variables and not via normal property setters -- is bad design.

Updates

Made settings to come via config properties setter methods (initialization from ENV variables remained as default option). Get rid of MockEnviro..Variabl...Loder in the test code.

…ome via config properties setter methods (initialization from ENV variables remained as default option).
@artem-v artem-v requested a review from segabriel May 30, 2020 15:04
Copy link
Member

@segabriel segabriel left a comment

Choose a reason for hiding this comment

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

LGTM

@artem-v artem-v merged commit 441bd5e into develop May 30, 2020
@artem-v artem-v deleted the cleanup-configuration-in-vault branch May 30, 2020 17:05
io-scalecube-ci added a commit that referenced this pull request May 30, 2020
Get rid of dependency on environment variables in public configuration [skip ci] prepare release v0.4.4-RC2
io-scalecube-ci added a commit that referenced this pull request May 30, 2020
Get rid of dependency on environment variables in public configuration [skip ci] prepare for next development iteration
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.

2 participants