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

Do not require id & description when creating a logstash pipeline #76616

Merged

Conversation

mshustov
Copy link
Contributor

@mshustov mshustov commented Sep 3, 2020

Summary

Fixes #76611

Checklist

  • Documentation was added for features that require explanation or tutorials

Release notes

Fixed bug preventing logstash pipeline creation without specifying id & description explicitly.

@mshustov mshustov added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc release_note:fix v8.0.0 v7.10.0 v7.8.2 v7.9.2 labels Sep 3, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-platform (Team:Platform)

@mshustov mshustov requested a review from a team September 3, 2020 10:01
@@ -125,11 +125,11 @@ class PipelineEditorUi extends React.Component {

onPipelineSave = () => {
const { pipelineService, toastNotifications, intl } = this.props;
const { id } = this.state.pipeline;
const { id, ...pipelineToStore } = this.state.pipeline;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

id is not expected in the request body

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

async chunks size

id value diff baseline
logstash 216.9KB +815.0B 216.1KB

History

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

@mshustov mshustov merged commit db67eb0 into elastic:master Sep 4, 2020
@mshustov mshustov deleted the issue-76611-fix-logstash-validation branch September 4, 2020 18:29
mshustov added a commit to mshustov/kibana that referenced this pull request Sep 4, 2020
…astic#76616)

* do not requie id & desc

* remove id validation, it's not used in logic anyway

* no id in tests

* remove another wrong id usage
mshustov added a commit to mshustov/kibana that referenced this pull request Sep 4, 2020
…astic#76616)

* do not requie id & desc

* remove id validation, it's not used in logic anyway

* no id in tests

* remove another wrong id usage
mshustov added a commit to mshustov/kibana that referenced this pull request Sep 4, 2020
…astic#76616)

* do not requie id & desc

* remove id validation, it's not used in logic anyway

* no id in tests

* remove another wrong id usage
gmmorris added a commit to gmmorris/kibana that referenced this pull request Sep 4, 2020
* master: (47 commits)
  Do not require id & description when creating a logstash pipeline (elastic#76616)
  Remove commented src/core/tsconfig file (elastic#76792)
  Replaced whitelistedHosts with allowedHosts in actions ascii docs (elastic#76731)
  [Dashboard First] Genericize Attribute Service (elastic#76057)
  [ci-metrics] unify distributable file count metrics (elastic#76448)
  [Security Solution][Detections] Handle conflicts on alert status update (elastic#75492)
  [eslint] convert to @typescript-eslint/no-unused-expressions (elastic#76471)
  [DOCS] Add default time range filter to advanced settings (elastic#76414)
  [Security Solution] Refactor NetworkTopNFlow to use Search Strategy (elastic#76249)
  [Dashboard] Update Index Patterns when Child Index Patterns Change (elastic#76356)
  [ML] Add option to Advanced Settings to set default time range filter for AD jobs (elastic#76347)
  Add CSM app to CODEOWNERS (elastic#76793)
  [Security Solution][Exceptions] - Updates exception item find sort field (elastic#76685)
  [Security Solution][Detections][Tech Debt] - Move to using common io-ts types (elastic#75009)
  [Lens] Drag dimension to replace (elastic#75895)
  URI encode the index names we fetch in the fetchIndices lib function. (elastic#76584)
  [Security Solution] Resolver retrieve entity id of documents without field mapped (elastic#76562)
  [Ingest Manager] validate agent route using AJV instead kbn-config-schema (elastic#76546)
  Updated non-dev usages of node-forge (elastic#76699)
  [Ingest Pipelines] Processor forms for processors K-S (elastic#75638)
  ...
mshustov added a commit that referenced this pull request Sep 5, 2020
…6616) (#76814)

* do not requie id & desc

* remove id validation, it's not used in logic anyway

* no id in tests

* remove another wrong id usage
mshustov added a commit that referenced this pull request Sep 5, 2020
…6616) (#76815)

* do not requie id & desc

* remove id validation, it's not used in logic anyway

* no id in tests

* remove another wrong id usage
mshustov added a commit that referenced this pull request Sep 5, 2020
…6616) (#76816)

* do not requie id & desc

* remove id validation, it's not used in logic anyway

* no id in tests

* remove another wrong id usage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backported release_note:fix Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.8.2 v7.9.2 v7.10.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot create logstash pipeline due to broken validation
4 participants