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 Manager] Rename agent configs SO to agent policies #74397

Merged
merged 1 commit into from
Aug 5, 2020

Conversation

jen-huang
Copy link
Contributor

Summary

This PR is a proposal to rename ingest-agent-configs Saved Object type to ingest-agent-policies ahead of the rest of the work needed for renaming configs -> policies.

The other work involved in the renaming effort requires more SO changes, but those changes can be handled by creating SO migrations. Per Platform team, changing the SO "type" string using a migration is theoretically possible, but may introduce a lot of complexity and unknowns. That's why I'd like to rename this string now to avoid potential breaking changes in a subsequent release.

This change is largely invisible to end users as we are not changing client routes, API routes, or UI yet. The only place where it surfaces is in the autocomplete for filtering agent configs, but I think this is acceptable for now:

image

@jen-huang jen-huang added v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.10.0 v7.9.0 Team:Fleet Team label for Observability Data Collection Fleet team labels Aug 5, 2020
@jen-huang jen-huang requested review from ruflin and a team August 5, 2020 18:04
@jen-huang jen-huang self-assigned this Aug 5, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/ingest-management (Team:Ingest Management)

Copy link
Member

@ruflin ruflin left a comment

Choose a reason for hiding this comment

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

LGTM. @neptunian or @jfsiii could you also have a look?

Copy link
Contributor

@jfsiii jfsiii left a comment

Choose a reason for hiding this comment

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

The changes and plan SGTM

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

page load bundle size

id value diff baseline
ingestManager 466.0KB +1.0B 466.0KB

Saved Objects .kibana field count

id value diff baseline
ingest-agent-configs - -11 11
ingest-agent-policies 11 +11 -
total -0

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@jen-huang jen-huang merged commit c655f50 into elastic:master Aug 5, 2020
@jen-huang jen-huang deleted the ingest/rename-agent-policy-so branch August 5, 2020 19:52
jen-huang added a commit to jen-huang/kibana that referenced this pull request Aug 5, 2020
# Conflicts:
#	x-pack/test/page_load_metrics/es_archives/default/mappings.json
#	x-pack/test/security_solution_cypress/es_archives/export_rule/mappings.json
jen-huang added a commit that referenced this pull request Aug 5, 2020
# Conflicts:
#	x-pack/test/page_load_metrics/es_archives/default/mappings.json
#	x-pack/test/security_solution_cypress/es_archives/export_rule/mappings.json
gmmorris added a commit to gmmorris/kibana that referenced this pull request Aug 6, 2020
* master: (208 commits)
  Observability Overview fix extra basepath prepend for alerting fetch (elastic#74465)
  [Lens] Clean and inline disabling of react-hooks/exhaustive-deps eslint rule (elastic#70010)
  Skip "space with index pattern management disabled" functional test for cloud env (elastic#74073)
  Filter out non-security jobs when collecting Detections telemetry (elastic#74456)
  [Security Solution][Test] Enzyme test for related events button (elastic#74411)
  [SECURITY_SOLUTION] add z-index to get over nav bar (elastic#74427)
  Rename package configs SO to package policies (elastic#74422)
  [DOCS] Add Kibana alerts to Stack Monitoring (elastic#73762)
  skip flaky suite (elastic#71390)
  [ML] DF Analytics: adds functional tests for edit form (elastic#73885)
  Rename agent configs SO to agent policies (elastic#74397)
  [Jenkins] run CI when plugin readmes change (elastic#74388)
  [Metrics UI] Fix validating Metrics Explorer URL (elastic#74311)
  fixing encoding issue with \ for enroll command (elastic#74379)
  [Ingest Manager] Update package registry for testing to f6b01d (elastic#74341)
  Change experimental message for visualizations (elastic#74354)
  [Alerting] Reload the Alerts List when alerts are deleted (elastic#73715)
  [Enterprise Search] Fix/DRY out plugin i18n strings (elastic#74323)
  update empty prompt in analytics list (elastic#74174)
  [Task Manager] Correctly handle `running` tasks when calling RunNow and reduce flakiness in related tests (elastic#73244)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v7.9.0 v7.10.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants