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

Remove required ConfigClass #36609

Merged
merged 9 commits into from
May 21, 2019

Conversation

mshustov
Copy link
Contributor

@mshustov mshustov commented May 15, 2019

Summary

close #36099
This PR makes ConfigClass declaration optional. End users can wrap Config in ConfigClass manually if it is beneficial. All core service do this in the constructors.

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

@mshustov mshustov changed the title Issue 36099 remove config class Remove required ConfigClass May 15, 2019
@elasticmachine
Copy link
Contributor

💔 Build Failed

@mshustov mshustov force-pushed the issue-36099-remove-ConfigClass branch from b9345c6 to d811ff1 Compare May 19, 2019 14:53
@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@mshustov mshustov marked this pull request as ready for review May 20, 2019 06:15
@mshustov mshustov requested a review from a team as a code owner May 20, 2019 06:15
@mshustov mshustov added Feature:New Platform Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc labels May 20, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-platform

@mshustov mshustov added release_note:skip Skip the PR/issue when compiling release notes v7.2.0 labels May 20, 2019
@mshustov mshustov requested a review from azasypkin May 20, 2019 06:19
Copy link
Contributor

@rudolf rudolf left a comment

Choose a reason for hiding this comment

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

👍 This makes the API much simpler.

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@mshustov mshustov merged commit b32f135 into elastic:master May 21, 2019
@mshustov mshustov deleted the issue-36099-remove-ConfigClass branch May 21, 2019 08:57
mshustov added a commit to mshustov/kibana that referenced this pull request May 21, 2019
* remove LoggingConfig class

* get rid of ElasticsearchConfig class

* get rid of PluginsConfig class

* get rid of HttpConfig Class

* update ConfigService

* update LegacyService

* update testbed plugin

* update docs
mshustov added a commit that referenced this pull request May 21, 2019
* remove LoggingConfig class

* get rid of ElasticsearchConfig class

* get rid of PluginsConfig class

* get rid of HttpConfig Class

* update ConfigService

* update LegacyService

* update testbed plugin

* update docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:New Platform release_note:skip Skip the PR/issue when compiling release notes Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Simplify NP Config service consumption
3 participants