-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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 Pipelines] Processor forms for processors K-S #75638
[Ingest Pipelines] Processor forms for processors K-S #75638
Conversation
Also: - Also refactored name of defaultBoolToUndef to undefinedIfValue to make it more broadly applicable for deserializing when default values have been provided - Refactor to pass in original processor options value so that a form can initialize based on those values
- also fixed a bug that would render a horizontal line even if the form has no fields of its own (like the drop processor form)
- also added comments to set_security_user processor
Pinging @elastic/es-ui (Team:Elasticsearch UI) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @jloleysens , amazing work on this batch of processors!
I tested all new processors locally and all worked for me. Left you a couple comments in the code. I think the only fix needed before merging is trim_value
in KV processor, the rest is non-blocking, just some ideas for UI.
...ion/components/pipeline_processors_editor/components/manage_processor_form/processors/kv.tsx
Show resolved
Hide resolved
...components/pipeline_processors_editor/components/manage_processor_form/processors/script.tsx
Show resolved
Hide resolved
...components/pipeline_processors_editor/components/manage_processor_form/processors/script.tsx
Show resolved
Hide resolved
...components/pipeline_processors_editor/components/manage_processor_form/processors/script.tsx
Outdated
Show resolved
Hide resolved
...components/pipeline_processors_editor/components/manage_processor_form/processors/script.tsx
Outdated
Show resolved
Hide resolved
...n/components/pipeline_processors_editor/components/manage_processor_form/processors/sort.tsx
Show resolved
Hide resolved
@elasticmachine merge upstream |
1 similar comment
@elasticmachine merge upstream |
…nes/processors-forms-k-s * 'master' of github.com:elastic/kibana: (216 commits) [Ingest Manager] Split Registry errors into Connection & Response (elastic#76558) [Security Solution] add an excess validation instead of the exact match (elastic#76472) Introduce TS incremental builds & move src/test_utils to TS project (elastic#76082) fix bad merge (elastic#76629) [Newsfeed] Ensure the version format when calling the API (elastic#76381) remove server_extensions mixin (elastic#76606) Remove legacy applications and legacy mode (elastic#75987) [Discover] Fix sidebar element focus behavior when adding / removing columns (elastic#75749) Replace FetchOptions with ISearchOptions (elastic#76538) Move streams utils to the core (elastic#76397) [Ingest Manager] Wording & linking improvements (elastic#76284) remove legacy kibana plugin (elastic#76064) [Form lib] Fix regression on field not being validated after reset to its default value. (elastic#76379) Legacy SO import: Fix bug causing multiple overrides to only show the last confirm modal (elastic#76482) [APM] Service maps layout enhancements (elastic#76481) [Security Solution][Detection Engine] Remove RuleTypeSchema in favor of Type for TypeScript (elastic#76586) [Security Solution][Exceptions] - Updates enum schema and tests (elastic#76544) Index Pattern class - remove toJSON and toString (elastic#76246) skip failing suite (elastic#76581) Split up and clarify Enterprise Search codeowners (elastic#76580) ... # Conflicts: # x-pack/plugins/ingest_pipelines/public/application/components/pipeline_processors_editor/components/manage_processor_form/processor_settings_fields.tsx # x-pack/plugins/ingest_pipelines/public/application/components/pipeline_processors_editor/components/manage_processor_form/processors/foreach.tsx
…oleysens/kibana into ingest-pipelines/processors-forms-k-s * 'ingest-pipelines/processors-forms-k-s' of github.com:jloleysens/kibana: (216 commits) [Ingest Manager] Split Registry errors into Connection & Response (elastic#76558) [Security Solution] add an excess validation instead of the exact match (elastic#76472) Introduce TS incremental builds & move src/test_utils to TS project (elastic#76082) fix bad merge (elastic#76629) [Newsfeed] Ensure the version format when calling the API (elastic#76381) remove server_extensions mixin (elastic#76606) Remove legacy applications and legacy mode (elastic#75987) [Discover] Fix sidebar element focus behavior when adding / removing columns (elastic#75749) Replace FetchOptions with ISearchOptions (elastic#76538) Move streams utils to the core (elastic#76397) [Ingest Manager] Wording & linking improvements (elastic#76284) remove legacy kibana plugin (elastic#76064) [Form lib] Fix regression on field not being validated after reset to its default value. (elastic#76379) Legacy SO import: Fix bug causing multiple overrides to only show the last confirm modal (elastic#76482) [APM] Service maps layout enhancements (elastic#76481) [Security Solution][Detection Engine] Remove RuleTypeSchema in favor of Type for TypeScript (elastic#76586) [Security Solution][Exceptions] - Updates enum schema and tests (elastic#76544) Index Pattern class - remove toJSON and toString (elastic#76246) skip failing suite (elastic#76581) Split up and clarify Enterprise Search codeowners (elastic#76580) ...
💚 Build SucceededBuild metrics@kbn/optimizer bundle module count
async chunks size
History
To update your PR or re-run it, just comment with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @jloleysens ,
I tested KV and some other processors locally and all worked for me.
Great job on all the improvements, especially editor heights constants!
@yuliacech thanks for the re-review! |
* added kv processor form * added lowercase processor form * Added pipeline processor form * added remove processor form * added rename processor form * Add script processor form Also: - Also refactored name of defaultBoolToUndef to undefinedIfValue to make it more broadly applicable for deserializing when default values have been provided - Refactor to pass in original processor options value so that a form can initialize based on those values * Updated the existing set processor form - also fixed a bug that would render a horizontal line even if the form has no fields of its own (like the drop processor form) * Added set_security_user form * Added split processor form - also added comments to set_security_user processor * added sort processor form * fix: duplicate i18n identifier * added field to kv processor form for trim value * replaced all editor heights with a clearer indication of the source of common heights * remove unused translations * remove unused translation Co-authored-by: Elastic Machine <[email protected]>
* 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) ...
* added kv processor form * added lowercase processor form * Added pipeline processor form * added remove processor form * added rename processor form * Add script processor form Also: - Also refactored name of defaultBoolToUndef to undefinedIfValue to make it more broadly applicable for deserializing when default values have been provided - Refactor to pass in original processor options value so that a form can initialize based on those values * Updated the existing set processor form - also fixed a bug that would render a horizontal line even if the form has no fields of its own (like the drop processor form) * Added set_security_user form * Added split processor form - also added comments to set_security_user processor * added sort processor form * fix: duplicate i18n identifier * added field to kv processor form for trim value * replaced all editor heights with a clearer indication of the source of common heights * remove unused translations * remove unused translation Co-authored-by: Elastic Machine <[email protected]> Co-authored-by: Elastic Machine <[email protected]>
Summary
How to test
Notes
Checklist
For maintainers