alert-mgmt-12: PATCH /rules bulk update handler#11
Open
sradco wants to merge 1 commit intoalert-mgmt-11-platform-updatefrom
Open
alert-mgmt-12: PATCH /rules bulk update handler#11sradco wants to merge 1 commit intoalert-mgmt-11-platform-updatefrom
sradco wants to merge 1 commit intoalert-mgmt-11-platform-updatefrom
Conversation
79de5cb to
0e38ca2
Compare
e36d25b to
856bbfd
Compare
0e38ca2 to
4e064d9
Compare
856bbfd to
e1a7bdb
Compare
4e064d9 to
aa28a8b
Compare
e1a7bdb to
c55d856
Compare
aa28a8b to
fb62715
Compare
c55d856 to
2325e45
Compare
fb62715 to
9cd4085
Compare
2325e45 to
018ba46
Compare
9cd4085 to
3cfe659
Compare
018ba46 to
204f240
Compare
3cfe659 to
88846bb
Compare
204f240 to
05e7db5
Compare
88846bb to
b85c592
Compare
05e7db5 to
0b77990
Compare
b85c592 to
6f6cc32
Compare
0b77990 to
5cfb683
Compare
6f6cc32 to
5a9f130
Compare
5cfb683 to
6897d28
Compare
5a9f130 to
8302351
Compare
6897d28 to
96629ef
Compare
8302351 to
09cf93a
Compare
96629ef to
f595203
Compare
09cf93a to
427d5b2
Compare
f595203 to
51af654
Compare
427d5b2 to
f727831
Compare
5d1c269 to
29f0dfc
Compare
f727831 to
e85cd17
Compare
8869060 to
cfd5ea0
Compare
083f542 to
4953fea
Compare
cfd5ea0 to
d814f31
Compare
6b25100 to
e020fed
Compare
d814f31 to
7d1dbf0
Compare
Signed-off-by: Shirly Radco <sradco@redhat.com> Signed-off-by: João Vilaça <jvilaca@redhat.com> Signed-off-by: Aviv Litman <alitman@redhat.com> Co-authored-by: AI Assistant <noreply@cursor.com>
7d1dbf0 to
6527edb
Compare
e020fed to
beb842b
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Alert Management API — Part 12/14: user-defined update + PATCH /rules (bulk)
Summary
PATCH /api/v1/alerting/rulesbulk handler: acceptsruleIdsarray with label changes, drop/restore toggle, and classification patchUpdateUserDefinedAlertRule: validates preconditions, updates PrometheusRule spec in-place, handles rule ID changes by migrating classification overridesNotAllowedErrorGetRuleById, merges with requested label set/unset operationsUpdateAlertRuleResponsetype (also used by single-rule update in PR 14)Dependencies
This PR is part of a stacked series. Please review in order.
2–11. Pending — alert queries, relabel/health, management foundation, endpoints, create, delete, classification, platform update
13–14. Pending — docs/CI/e2e, single-rule API