Skip to content

Remove required ConfigClass#36609

Merged
mshustov merged 9 commits intoelastic:masterfrom
mshustov:issue-36099-remove-ConfigClass
May 21, 2019
Merged

Remove required ConfigClass#36609
mshustov merged 9 commits intoelastic:masterfrom
mshustov:issue-36099-remove-ConfigClass

Conversation

@mshustov
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

💔 Build Failed

@elasticmachine
Copy link
Copy Markdown
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 Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t// labels May 20, 2019
@elasticmachine
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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 Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t// v7.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Simplify NP Config service consumption

3 participants