-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Add selector syntax to index expressions #118614
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
Merged
Changes from 89 commits
Commits
Show all changes
113 commits
Select commit
Hold shift + click to select a range
ca7c90a
Remove FailureOptions from IndicesOptions
jbaiera 2d42454
Fix breaking tests and sources beyond server project.
jbaiera b03e21c
Add selector options to indices options
jbaiera ca36ddc
Add a way to look up suffixes by name
jbaiera 72ab8ec
Add logic to parse out selectors.
jbaiera 20fa270
Completely resolve selectors into expression resolution. Update tests…
jbaiera 402be1e
Add tests for SelectorResolver
jbaiera f5c7138
Add additional tests to WildcardExpressionResolverTests
jbaiera 1092875
Refactor: Change selector string into enum
jbaiera 97ed857
Refactor: Change "indexAbstraction" to "resource" inside ResolvedExpr…
jbaiera e4e924a
Integrate the resolveExpressions signature change.
jbaiera 70ff223
Fix rebase issues
jbaiera 4931386
Refactor: Move Selectors to a new class
jbaiera 2b78539
Refactor: DownsampleAction should use the options provided by factory…
jbaiera 94f9b6f
Merge branch 'main' into failure-store-naming-scheme
jbaiera c09c73d
Update $ separator to :: separator
jbaiera 21a3037
Match up IndicesOptions defaults with previous logic
jbaiera b4f15c0
Relabel TODO's in this PR to better find them
jbaiera dd4e775
Migrate uses of dataStreamNames to new model and ensure remaining use…
jbaiera 4ff3337
Do not allow selectors on Delete Index Request
jbaiera 6127206
Add support for :: into security expression resolvers
jbaiera a366dce
Merge branch 'main' into failure-store-naming-scheme
jbaiera 9c786d5
Merge with main
gmarouli 8161653
Merge with main and "Add ResolvedExpression wrapper" #114592
gmarouli 257e3a9
Merge branch 'main' into failure-store-naming-scheme
jbaiera b9bcd67
Some updates to expression resolution code post update
jbaiera ab014e8
Merge branch 'main' into failure-store-naming-scheme
jbaiera 8771175
Compilation fixes
jbaiera 75d092f
Refactorings to account for ALL_APPLICABLE cases and other slimming c…
jbaiera 8ea97a4
Test Cleanup
jbaiera 13b127c
Further ALL_APPLICABLE cleanup
jbaiera e473287
Cleanup combine selector methods
jbaiera 49fa8da
Cleanup combine selector methods
jbaiera 36a7ec2
Refine error message returned when no selectors are provided.
jbaiera 13989b2
Cleanup
jbaiera cc6c9c4
Update tests and fix a quick bug
jbaiera 4fdf753
Validate rollover request selectors
jbaiera c4ec4b3
Reintegrate selectors into rollover
jbaiera 201a834
Refactor rollover code
jbaiera 2a9ad90
Fix assertion bug
jbaiera a8d7d68
Cleanup transport bulk action rollover usage
jbaiera 0d2c7b1
Cleanup TODO
jbaiera 9d9b0cb
Clear out isAllIndices TODO item
jbaiera f4df38f
Cleanup TODO around remote cluster aware code
jbaiera 226d1be
Note issue with RestoreService - Awaiting fix from mainline
jbaiera 678c653
Clean up uses of strictSingleIndexNoExpandForbidClosed and add single…
jbaiera daab54a
Merge branch 'main' into failure-store-naming-scheme
jbaiera 2fd1aba
Restrict usage of failure indices in put mappings request
jbaiera 21b8a46
Fix NPE in wildcard resolver
jbaiera 609e933
Fix spotless
jbaiera f589e7e
Fix ml test
jbaiera 522da35
Fix bug in security error message generation
jbaiera 2a52a03
Merge branch 'main' into failure-store-naming-scheme
jbaiera e0e3a54
[CI] Auto commit changes from spotless
82fc167
Disable selectors in Enrich search operations. These follow a special…
jbaiera 1b8e578
fix ml test
jbaiera b22c9bf
Fix doc test
jbaiera 74ff6d4
Attempt fix rollover yaml tests
jbaiera 77ef9dd
Remove uses of default selectors in favor of using DATA by default. W…
jbaiera c3d9d5c
Spotless Apply
jbaiera ed3c054
Spotless Apply
jbaiera 98ac660
Remove selector options/failure store options
jbaiera 5a70369
Some fixups post selector options removal.
jbaiera ace61f1
Quick all indices optimization in the security code
jbaiera 2dd0200
Fix a whole slew of tests
jbaiera 19efe6c
Tighten up selector usage on some other APIs
jbaiera f040c94
[CI] Auto commit changes from spotless
9c2d925
Fix bwc test failures related to failure store rollover
jbaiera ad48c9c
Fix license header error
jbaiera 92c818e
Remove unneeded assertion
jbaiera 9f529c6
Fix another round of bugs and tests
jbaiera ed95fa4
[CI] Auto commit changes from spotless
62755bb
Merge branch 'main' into failure-store-naming-scheme
jbaiera 5d9ab0c
Fix rollover stats acquisition
jbaiera 1183c39
Fix rest IT
jbaiera c0b8d7e
Fix modify data stream test
jbaiera ae9f480
Remove old TODO's that are handled, irrelevant now, or will be handle…
jbaiera 23f8665
Fix rollover step tests
jbaiera 299cefc
Update snapshot test
jbaiera 6fe1458
Fix more tests
jbaiera 3a48015
Merge branch 'main' into failure-store-naming-scheme
jbaiera 2e04266
Update server/src/main/java/org/elasticsearch/cluster/metadata/IndexN…
jbaiera 2ac802c
Update server/src/main/java/org/elasticsearch/cluster/metadata/IndexN…
jbaiera 7335f6a
Update server/src/main/java/org/elasticsearch/cluster/metadata/IndexN…
jbaiera 3ef3e8a
Update server/src/main/java/org/elasticsearch/action/admin/indices/ma…
jbaiera 459254f
PR Feedback: Disable selectors on the data stream stats API and retur…
jbaiera 77d2ad7
Merge branch 'main' into failure-store-naming-scheme
jbaiera 8326d0b
PR Feedback: Log better messages for rollovers
jbaiera 57af575
Remove illegal code
jbaiera 0466d94
Update server/src/main/java/org/elasticsearch/action/support/IndicesO…
jbaiera 4faf1ec
Update server/src/main/java/org/elasticsearch/action/support/IndicesO…
jbaiera 52b96cf
PR Feedback: Add some test cases for resolving failure indices in sec…
jbaiera dea3153
PR Feedback: Fix comment
jbaiera 1499fb2
PR Feedback: Remove another usage of removed indices option
jbaiera 523cbf0
PR Feedback: Update unclear comment
jbaiera 93e8e7e
PR Feedback: Update unclear comment
jbaiera ba7d839
PR Feedback: Fix bug related to index data stream alias visibility
jbaiera 6b7d584
PR Feedback: Make isAllIndices MORE lazy
jbaiera 2114c82
PR Feedback: Simplify resolveConcreteIndexNames[WithSelector] methods
jbaiera 48e8dae
PR Feedback: Extract helper method
jbaiera 886604b
Merge branch 'main' into failure-store-naming-scheme
jbaiera 3742234
[CI] Auto commit changes from spotless
c1b680a
PR Feedback: Update TODO with PR number
jbaiera 9104d50
Merge branch 'main' into failure-store-naming-scheme
jbaiera e255975
Skip invalid bwc tests
jbaiera 05ce329
Merge branch 'main' into failure-store-naming-scheme
jbaiera 5775fe1
Merge branch 'main' into failure-store-naming-scheme
jbaiera 78a765c
Update x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/s…
jbaiera 57fa812
Update x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/s…
jbaiera 6e07e9d
Merge branch 'main' into failure-store-naming-scheme
jbaiera 7575ee3
Merge branch 'main' into failure-store-naming-scheme
jbaiera 5b59dc6
Merge branch 'main' into failure-store-naming-scheme
jbaiera 6e20bbd
Merge branch 'main' into failure-store-naming-scheme
jbaiera 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
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
221 changes: 0 additions & 221 deletions
221
...streams/src/javaRestTest/java/org/elasticsearch/datastreams/FailureStoreQueryParamIT.java
This file was deleted.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.