-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[RAM] refactors RulesClient.update, by using new Task Manager API bulkUpdateSchedules #134027
Merged
vitaliidm
merged 35 commits into
elastic:main
from
vitaliidm:repsponse-ops/rules-client-update-move-to-new-taks-manager-api
Jun 15, 2022
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
2759c2e
init taskManager bulk
vitaliidm d24c2f3
updates and fixes
vitaliidm ff55e01
Merge branch 'main' into task-manager-bulk-schedules
vitaliidm 6efc5fb
fix the rest of tests
vitaliidm 655a753
Merge branch 'main' into task-manager-bulk-schedules
vitaliidm 74c5a7c
Merge branch 'main' into task-manager-bulk-schedules
vitaliidm 7e1e7c7
add unit tests
vitaliidm 815854b
tests!!!
vitaliidm 79fc692
refactor it
vitaliidm 8197409
Merge branch 'main' into task-manager-bulk-schedules
vitaliidm e9d4426
add test to rukes_client
vitaliidm 51469cc
Merge branch 'task-manager-bulk-schedules' of https://github.com/vita…
vitaliidm 0b96f46
tests, more tests
vitaliidm 9f1ccf7
README, docs
vitaliidm edc7890
skip again
vitaliidm d20f2fd
add rest of ops
vitaliidm f572388
Merge branch 'main' into task-manager-bulk-schedules
vitaliidm f2bc696
tests
vitaliidm 0b44ef1
comments updates
vitaliidm cb5411a
JSDoc
vitaliidm bdeadf6
few perf improvements
vitaliidm 0563f88
Merge branch 'main' into task-manager-bulk-schedules
vitaliidm bd36d9a
Merge branch 'main' into task-manager-bulk-schedules
vitaliidm 64e7adb
CR: replace auditLogger with logger.error
vitaliidm 6fb6bee
Merge branch 'main' into task-manager-bulk-schedules
vitaliidm f079cd7
[RAM] rules-client-update-move-to-new-taks-manager-api
vitaliidm 24e9f45
fix failing unti tests
vitaliidm 4136dd3
[CI] Auto-commit changed files from 'node scripts/precommit_hook.js -…
kibanamachine cb16f8c
Merge branch 'main' into repsponse-ops/rules-client-update-move-to-ne…
vitaliidm adcee94
Merge branch 'main' into repsponse-ops/rules-client-update-move-to-ne…
vitaliidm f216bbf
Update x-pack/plugins/alerting/server/rules_client/rules_client.ts
vitaliidm d59787d
Update x-pack/plugins/alerting/server/rules_client/rules_client.ts
vitaliidm 834d7fb
Merge branch 'main' into repsponse-ops/rules-client-update-move-to-ne…
vitaliidm 1b46b3a
CR: add runAt in
vitaliidm 6bdcc9f
fix test
vitaliidm 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 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 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
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.
I believe we don't need this test anymore: we not running task anymore right after rule's SO updated, only doing REST API calls.
So, once user updates rule's schedule, there will be no time expensive run of rule, only underlying task update.
In that case, we can wait to this update finished and we won't need to leave unfinished HTTP requests once return response of
RulesClient.update