Skip to content

Overwrite feature#7476

Merged
exekias merged 2 commits intoelastic:masterfrom
ph:fix/overwrite-registry
Jul 25, 2018
Merged

Overwrite feature#7476
exekias merged 2 commits intoelastic:masterfrom
ph:fix/overwrite-registry

Conversation

@ph
Copy link
Copy Markdown
Contributor

@ph ph commented Jun 29, 2018

Allow to Overwrite an existing feature in the registry and add package
level function to deal bundle that need to overwrite feature.

This is require by the feature defined in the add_kubernetes_metadata
processors, the core ships with a set of default options for the feature
but a specific beats can decide to provide another set of default options.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this is such a nice to have :)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Same comment applies here

Copy link
Copy Markdown
Contributor

@exekias exekias left a comment

Choose a reason for hiding this comment

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

Looking good!, left some comments

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This function should not return anything, as it either works or panics

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Same comment applies here

ph added 2 commits July 24, 2018 11:25
Allow to Overwrite an existing feature in the registry and add package
level function to deal bundle that need to overwrite feature.

This is require by the feature defined in the `add_kubernetes_metadata`
processors, the core ships with a set of default options for the feature
but a specific beats can decide to provide another set of default options.
@ph
Copy link
Copy Markdown
Contributor Author

ph commented Jul 24, 2018

@exekias ready for the final review.

Copy link
Copy Markdown
Contributor

@exekias exekias left a comment

Choose a reason for hiding this comment

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

WFG

@exekias exekias merged commit 3d22932 into elastic:master Jul 25, 2018
@ph ph added the needs_backport PR is waiting to be backported to other branches. label Oct 4, 2018
@ph ph added v6.5.0 and removed needs_backport PR is waiting to be backported to other branches. labels Oct 4, 2018
ph added a commit that referenced this pull request Oct 5, 2018
Cherry-pick of PR #7476 to 6.x branch. Original message: 

Allow to Overwrite an existing feature in the registry and add package
level function to deal bundle that need to overwrite feature.

This is require by the feature defined in the `add_kubernetes_metadata`
processors, the core ships with a set of default options for the feature
but a specific beats can decide to provide another set of default options.
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.

3 participants