Skip to content

[elasticsearch/migrateConfig] use server.savedObjectsClientFactory()#12767

Merged
spalger merged 5 commits intoelastic:masterfrom
spalger:fix/use-saved-objects-client-factory
Jul 18, 2017
Merged

[elasticsearch/migrateConfig] use server.savedObjectsClientFactory()#12767
spalger merged 5 commits intoelastic:masterfrom
spalger:fix/use-saved-objects-client-factory

Conversation

@spalger
Copy link
Contributor

@spalger spalger commented Jul 11, 2017

Requires #12747

Updates the migrateConfig step of the es healthcheck to use the new server.savedObjectsClientFactory() exposed by #12747 rather than importing the class and constructing it directly.

@spalger spalger added review and removed blocked labels Jul 13, 2017
@spalger spalger requested a review from kobelb July 13, 2017 19:33
@spalger spalger requested a review from tylersmalley July 13, 2017 19:34
Copy link
Contributor

@kobelb kobelb left a comment

Choose a reason for hiding this comment

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

LGTM

@spalger spalger merged commit 0772998 into elastic:master Jul 18, 2017
@spalger spalger deleted the fix/use-saved-objects-client-factory branch July 18, 2017 00:48
spalger added a commit that referenced this pull request Jul 18, 2017
…12767)

* Uses SavedObjectsClient for UI Settings

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* [server/saved_objects] add server.savedObjectsClientFactory()

* [elasticsearch/migrateConfig] use server.savedObjectsClientFactory()

* [elasticsearch/healthCheck] add savedObjectsClient stub

(cherry picked from commit 0772998)
@spalger
Copy link
Contributor Author

spalger commented Jul 18, 2017

5.x/5.6: 6e76310

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.

5 participants