-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[Response Ops][Flapping] Rule Specific Flapping - Create/Update API changes #190019
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
Merged
JiaweiWu
merged 26 commits into
elastic:main
from
JiaweiWu:issue-190018-rule-specific-flapping-create-update
Oct 9, 2024
Merged
Changes from 10 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
10b9770
Implement rule specific flapping for update and create
JiaweiWu b33f2c4
Add task runner portion
JiaweiWu 79069a4
Merge branch 'main' into issue-190018-rule-specific-flapping-create-u…
elasticmachine e069e44
Fix bundle size
JiaweiWu d40c6f5
Improve validate logic
JiaweiWu ca3663b
Add more tests
JiaweiWu 5db9580
Fix conflicts
JiaweiWu e6bd0ca
Integrate backend with frontend
JiaweiWu 03d4fbe
[CI] Auto-commit changed files from 'node scripts/capture_oas_snapsho…
kibanamachine b5dec2b
Merge branch 'main' into issue-190018-rule-specific-flapping-create-u…
elasticmachine 6521b98
Clean up flapping test after it has ran
JiaweiWu 99f0926
Add new model schema version
JiaweiWu c80deab
[CI] Auto-commit changed files from 'node scripts/jest_integration -u…
kibanamachine ffe5f33
Merge branch 'main' into issue-190018-rule-specific-flapping-create-u…
JiaweiWu c226f51
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine 2ae41a5
Address comments
JiaweiWu c041027
Merge branch 'main' into issue-190018-rule-specific-flapping-create-u…
elasticmachine 60b6776
Address comments
JiaweiWu 2c6f4fa
Fix merge conflicts and address comments
JiaweiWu f13b052
[CI] Auto-commit changed files from 'node scripts/jest_integration -u…
kibanamachine a59f28a
Fix merge conflict
JiaweiWu 0649f68
[CI] Auto-commit changed files from 'node scripts/jest_integration -u…
kibanamachine 91c531a
[CI] Auto-commit changed files from 'make api-docs && make api-docs-s…
kibanamachine ad98c68
Merge branch 'main' into issue-190018-rule-specific-flapping-create-u…
elasticmachine 55e75a1
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine d762519
Merge branch 'main' into issue-190018-rule-specific-flapping-create-u…
elasticmachine File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| /* | ||
| * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
| * or more contributor license agreements. Licensed under the Elastic License | ||
| * 2.0 and the Server Side Public License, v 1; you may not use this file except | ||
| * in compliance with, at your election, the Elastic License 2.0 or the Server | ||
| * Side Public License, v 1. | ||
| */ | ||
|
|
||
| export * from './v1'; |
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
What is the reason for extending with
SavedObjectAttributes?Uh oh!
There was an error while loading. Please reload this page.
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.
The parent object extends it so all of its properties need to as well, these types should be deprecated in favor of the rule attribute types
Uh oh!
There was an error while loading. Please reload this page.
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.
I removed it and I did not get a type error. I am not sure I understand how the parent affects the children's properties. Probably I miss something.
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.
Oh, then i'll remove it
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.
So I tried running the
node scripts/type_check.js --project=x-pack/plugins/triggers_actions_ui/tsconfig.jsoncommand with this removed and I am receiving a lot of errors, I think I need to leave it in there.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.
Ok! Weird that is happening. Thanks!