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

Add "version" field to Pipelines #20343

Merged
merged 1 commit into from
Sep 7, 2016

Conversation

pickypg
Copy link
Member

@pickypg pickypg commented Sep 6, 2016

This adds a version field to Pipelines, which is itself is unused by Elasticsearch, but exists for users to better manage their own pipelines. Like description, it's optional.

{
  "version": 10,
  "processors": [ ]
}

This is the pipeline portion of #20171

@pickypg pickypg added >enhancement :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP v5.0.0-beta1 labels Sep 6, 2016
@martijnvg
Copy link
Member

LGTM

@talevy
Copy link
Contributor

talevy commented Sep 6, 2016

why is version nullable? why not set a default starting value?

@pickypg
Copy link
Member Author

pickypg commented Sep 6, 2016

@talevy I didn't want to worry about BWC or returning something that is unset. I think it's easier to just not set it if it's not there.

@pickypg
Copy link
Member Author

pickypg commented Sep 6, 2016

To be clear, the BWC comment stems from me thinking about how this will work with templates as well.

@talevy
Copy link
Contributor

talevy commented Sep 6, 2016

@pickypg got it

@pickypg pickypg force-pushed the feature/add-version-to-pipelines branch 2 times, most recently from d1a4d11 to 0196c8e Compare September 7, 2016 06:08
This adds a version field to Pipelines, which is itself is unused by Elasticsearch, but exists for users to better manage their own pipelines.
@pickypg pickypg force-pushed the feature/add-version-to-pipelines branch from 0196c8e to 6a7309c Compare September 7, 2016 14:27
@pickypg pickypg merged commit 6a7309c into elastic:master Sep 7, 2016
@pickypg pickypg deleted the feature/add-version-to-pipelines branch September 7, 2016 14:28
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-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants