-
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][Maintenance Window] MW scoped query schema and API changes #171597
Conversation
Pinging @elastic/response-ops (Team:ResponseOps) |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Public APIs missing comments
Public APIs missing exports
Unknown metric groupsAPI count
References to deprecated APIs
Unreferenced deprecated APIs
History
To update your PR or re-run it, just comment with: |
@@ -14,6 +14,13 @@ export enum MaintenanceWindowStatus { | |||
Archived = 'archived', | |||
} | |||
|
|||
export const filterStateStore = { | |||
APP_STATE: 'appState', | |||
GLOBAL_STATE: 'globalState', |
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 still hate to see globalState
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 fine i will create an issue
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.
@@ -489,7 +489,7 @@ async function updateRuleAttributesAndParamsInMemory<Params extends RuleParams>( | |||
context, | |||
operations, | |||
rule: ruleDomain, | |||
ruleActions, | |||
ruleActions: ruleActions as RuleDomain['actions'], // TODO (http-versioning) Remove this cast once we fix injectReferencesIntoActions |
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 though that bulkEdit was part of the versioning!
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 method isn't versioned but the route IOs are all versioned.
Also I can remove this cast
Summary
Partially Resolves: #164255
This pull request is part 1/3 to add scoped queries to maintenance windows. More specifically, this PR adds the new
scoped_query
field to themaintenanceWindow
type and schema. Also adds thescoped_query
field tocreate/update
maintenance window APIs.This PR only contains the schema and API component. All changes should be backwards compatible since the
scoped_query
field is optional. So this PR can be merged without any dependencies.The 2 PRs that comes after will be:
Checklist