Skip to content

Conversation

@colings86
Copy link
Contributor

No description provided.

@colings86 colings86 added review :Data Management/ILM+SLM Index and Snapshot lifecycle management labels Sep 3, 2018
@colings86 colings86 self-assigned this Sep 3, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

Copy link
Contributor

@gwbrown gwbrown left a comment

Choose a reason for hiding this comment

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

Does this need tests? I think I recall a conversation where it was noted that transport client stuff isn't really tested, but just asking in case.

Otherwise, LGTM.

@dakrone
Copy link
Member

dakrone commented Sep 4, 2018

Are we going all async listener for this? In our other clients (like IndicesAdminClient for instance) we have versions that return ActionFuture so someone can do ExplainLifecycleResponse resp = client.explainLifecycle(req).get();

@colings86
Copy link
Contributor Author

Good point @dakrone I'll add the sync methods

@colings86
Copy link
Contributor Author

@dakrone I pushed a commit with the sync methods

Copy link
Member

@dakrone dakrone left a comment

Choose a reason for hiding this comment

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

I believe this needs to be added to XPackClient similar to how we have the other MonitoringClient, WatcherClient, etc, that way it is accessible rather than instantiating it ourselves

Copy link
Member

@dakrone dakrone left a comment

Choose a reason for hiding this comment

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

LGTM, thanks Colin

@colings86 colings86 merged commit a7b5f2c into elastic:index-lifecycle Sep 5, 2018
@colings86 colings86 deleted the ilm/transport-client branch September 5, 2018 11:50
colings86 added a commit that referenced this pull request Sep 5, 2018
* Adds ILMClient for use with transport client

* add sync methods

* adds ILMClient to XPackClient
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Data Management/ILM+SLM Index and Snapshot lifecycle management

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants