Skip to content

[Ingest pipelines] Fix schema validation for simulate and update routes#67199

Merged
alisonelizabeth merged 2 commits intoelastic:masterfrom
alisonelizabeth:bugfix/simulate_ingest_pipelines
May 26, 2020
Merged

[Ingest pipelines] Fix schema validation for simulate and update routes#67199
alisonelizabeth merged 2 commits intoelastic:masterfrom
alisonelizabeth:bugfix/simulate_ingest_pipelines

Conversation

@alisonelizabeth
Copy link
Copy Markdown
Contributor

This fixes a regression introduced by #65961. The description field was not updated to use schema.maybe() for the update and simulate routes.

I added additional API tests and created a shared pipeline schema to hopefully prevent situations like this from occurring in the future.

@alisonelizabeth alisonelizabeth added v8.0.0 Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t// release_note:skip Skip the PR/issue when compiling release notes v7.8.0 v7.9.0 Feature:Ingest Node Pipelines Ingest node pipelines management labels May 21, 2020
@alisonelizabeth alisonelizabeth requested a review from a team as a code owner May 21, 2020 17:46
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/es-ui (Team:Elasticsearch UI)

@alisonelizabeth alisonelizabeth requested review from aarju and jloleysens and removed request for aarju May 21, 2020 17:46
@alisonelizabeth
Copy link
Copy Markdown
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

History

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

Copy link
Copy Markdown
Contributor

@jloleysens jloleysens left a comment

Choose a reason for hiding this comment

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

@alisonelizabeth Thanks for the fix! Great work, happy for this to be merged once CI is green (thanks for adding tests)

@alisonelizabeth alisonelizabeth merged commit 5781b9f into elastic:master May 26, 2020
@alisonelizabeth alisonelizabeth deleted the bugfix/simulate_ingest_pipelines branch May 26, 2020 13:47
alisonelizabeth added a commit to alisonelizabeth/kibana that referenced this pull request May 26, 2020
…es (elastic#67199)

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
jloleysens added a commit that referenced this pull request May 26, 2020
…ine-editor

* 'master' of github.com:elastic/kibana: (129 commits)
  [Canvas] Force embeddables to refresh when renderable reevaluated (#67133)
  [Canvas] Better handling navigating to/from canvas (#66407)
  [Ingest pipelines] Fix schema validation for simulate and update routes (#67199)
  do not use es from setup (#67277)
  Auto expand replicas for event log (#67286)
  Observability & APM do not use elasticsearch client provided via setup contract  (#67263)
  Fix privileges check when security is not enabled (#67308)
  add IIS home (#66918)
  [ML] Adding additional job service endpoint tests (#66892)
  [Ingest Manager] Update fleet internal doc with latest flags (#67193)
  [Discover] Deangularize the loading spinner (#67165)
  Add `application.navigateToUrl` core API (#67110)
  Improve indexpattern without timefield functional test (#67031)
  KibanaContext in index pattern managment ui (#66985)
  Fix Azure metrics tutorial inside the App Home/ Add data area (#66901)
  add azure logs home (#66910)
  fix: rum agent should work correctly on new platform (#67037)
  [test_utils/Testbed] Move to src/test_utils folder (OSS) (#66898)
  only block registration when appRoute contains the exact basePath (#67125)
  Changed actions API endpoints urls to follow Kibana STYLEGUIDE (#65936)
  ...

# Conflicts:
#	x-pack/plugins/ingest_pipelines/public/application/components/pipeline_form/pipeline_form_fields.tsx
alisonelizabeth added a commit that referenced this pull request May 26, 2020
…e routes (#67199) (#67330)

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
alisonelizabeth added a commit that referenced this pull request May 26, 2020
…e routes (#67199) (#67328)

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:Ingest Node Pipelines Ingest node pipelines management release_note:skip Skip the PR/issue when compiling release notes Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t// v7.8.0 v7.9.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants