-
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
🌊 Streams: Show data retention on stream #204125
Merged
flash1293
merged 20 commits into
elastic:main
from
flash1293:flash1293/streams-data-retention
Jan 9, 2025
Merged
Changes from 17 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
aa49c96
show data retention on stream
flash1293 b4cc7a2
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine 7a4dcd2
Merge remote-tracking branch 'upstream/main' into flash1293/streams-d…
flash1293 818793d
maybe fix things
flash1293 de1c7e7
maybe fix things
flash1293 67edb2b
Merge remote-tracking branch 'upstream/main' into flash1293/streams-d…
flash1293 5623c43
clean up stuff
flash1293 5948b4f
[CI] Auto-commit changed files from 'node scripts/notice'
kibanamachine 3614b60
[CI] Auto-commit changed files from 'node scripts/yarn_deduplicate'
kibanamachine 59c24f2
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine 0314451
some fixes
flash1293 ff8e23a
Merge branch 'flash1293/streams-data-retention' of github.com:flash12…
flash1293 74a1355
fix tests
flash1293 2bd1785
Update kibana.jsonc
flash1293 f39cf0b
Merge remote-tracking branch 'upstream/main' into flash1293/streams-d…
flash1293 86b1c52
fix things
flash1293 d9334c3
Merge branch 'flash1293/streams-data-retention' of github.com:flash12…
flash1293 1f88212
Merge branch 'main' into flash1293/streams-data-retention
elasticmachine db287c7
Merge remote-tracking branch 'upstream/main' into flash1293/streams-d…
flash1293 5bb5bf8
fix tests
flash1293 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ | |
|
||
export const ILM_LOCATOR_ID = 'ILM_LOCATOR_ID'; | ||
export * from './src/policies'; | ||
export * from './src/locator'; |
12 changes: 12 additions & 0 deletions
12
...shared/index-lifecycle-management/index_lifecycle_management_common_shared/src/locator.ts
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* | ||
* 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; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
import type { SerializableRecord } from '@kbn/utility-types'; | ||
|
||
export interface IlmLocatorParams extends SerializableRecord { | ||
page: 'policies_list' | 'policy_edit' | 'policy_create'; | ||
policyName?: string; | ||
} | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,5 +16,6 @@ | |
"target/**/*" | ||
], | ||
"kbn_references": [ | ||
"@kbn/utility-types", | ||
] | ||
} |
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
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
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
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
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
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.
suggestion: should this go into
src/platform/packages/shared/deeplinks/management
as other many other apps hold there the locator params? That would let you revert the visibility change forindex-lifecycle-management
plugin.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'm not sure that's the right place - it looks like this is just for the top level app routing, not for specific locators within these apps.
As not all management apps are owned by the same team, I would like to keep this in a place owned by stack management as they will probably change the locator and the app itself at the same time.
But happy to go with what @elastic/kibana-management prefers here. If you want to go with a more elaborate solution I can also duplicate and inline the type for now and leave a todo, as it's more of a side quest of this PR
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.
Agree, the comment was not meant to be a blocker but to avoid switching visibility on a plugin that would then be mistakenly located in the new dir structure. I'll defer to what the Kibana team feels is best for this case, not a blocker on my end.
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'd like to avoid changing the visibility of this plugin although at the moment I'm not sure of the best way to do that. Is the locator API a good option?
After a bit more research, I think moving the plugin is the right call. Its probably best to use the locator API but I haven't fully wrapped my head around it.
If the plugin needs to be moved, that could happen in its own PR.
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.
Actually, I think there is an easier way - check the latest version of this. There is a shared package under
x-pack/platform/packages/shared/index-lifecycle-management
already, I moved the type over there.