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

Ingest: move get/put/delete pipeline methods to ClusterAdminClient #16242

Merged
merged 2 commits into from Jan 27, 2016

Conversation

javanna
Copy link
Member

@javanna javanna commented Jan 26, 2016

These methods allow to modify and retrieve the content of pipelines, which are stored in the cluster state. Their actions names were already correct under the category cluster:admin/ingest/pipeline/* , the corresponding methods should be moved under client.admin().cluster() .

@javanna javanna added >enhancement review v5.0.0-alpha1 :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP labels Jan 26, 2016
@javanna
Copy link
Member Author

javanna commented Jan 26, 2016

What remains to be discussed here is what to do with the simulate api. It allows to simulate pipelines, which would mean only retrieving existing ones and executing them. The index api and bulk api allow as well to retrieve pipelines and execute them before indexing. Seems consistent to keep simulate in the Client , but its action name is cluster:admin/ingest/pipeline/simulate which suggests it is an admin action. That said I don't see any other existing action category that would suit it better. @jaymode what do you think?

 These methods allow to modify and retrieve the content of pipelines, which are stored in the cluster state. Their actions names were already correct under the category cluster:admin/ingest/pipeline/* , the corresponding methods should be moved under client.admin().cluster() .
@javanna
Copy link
Member Author

javanna commented Jan 27, 2016

We have discussed this internally and decided to move simulate pipeline to ClusterAdminClient too. This is ready for review then, @martijnvg can you please have a look?

@martijnvg
Copy link
Member

LGTM

javanna added a commit that referenced this pull request Jan 27, 2016
Ingest: move get/put/delete pipeline methods to ClusterAdminClient
@javanna javanna merged commit 783c160 into elastic:master Jan 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP >enhancement v5.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants