-
Notifications
You must be signed in to change notification settings - Fork 73
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
Adding remote index and multi-index checks in validation #1290
Conversation
Signed-off-by: Amit Galitzky <[email protected]>
logger.info("clusterName1: " + clusterName); | ||
logger.info("clusterService.getClusterName().value(): " + clusterService.getClusterName().value()); |
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.
Are these logs still needed?
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.
Removed
String clusterName = parseClusterName(index); | ||
String indexName = parseIndexName(index); |
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.
Can you make one call and return a Pair instead of calling similar logic twice?
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.
Changed
Signed-off-by: Amit Galitzky <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1290 +/- ##
============================================
+ Coverage 71.83% 77.46% +5.63%
- Complexity 4898 5445 +547
============================================
Files 518 533 +15
Lines 22879 23319 +440
Branches 2245 2310 +65
============================================
+ Hits 16434 18063 +1629
+ Misses 5410 4199 -1211
- Partials 1035 1057 +22
Flags with carried forward coverage won't be shown. Click here to find out more.
|
* Adding remote index and multi index checks in validation Signed-off-by: Amit Galitzky <[email protected]> * adding more tests Signed-off-by: Amit Galitzky <[email protected]> --------- Signed-off-by: Amit Galitzky <[email protected]> (cherry picked from commit ec16d53) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Adding remote index and multi index checks in validation * adding more tests --------- (cherry picked from commit ec16d53) Signed-off-by: Amit Galitzky <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Adding remote index and multi index checks in validation Signed-off-by: Amit Galitzky <[email protected]> * adding more tests Signed-off-by: Amit Galitzky <[email protected]> --------- Signed-off-by: Amit Galitzky <[email protected]> (cherry picked from commit ec16d53) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Adding remote index and multi index checks in validation * adding more tests --------- (cherry picked from commit ec16d53) Signed-off-by: Amit Galitzky <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
Adds ability to validate multiple indices/aliases and remote indices during validation, rest of the remote indexing feature actually works out of the box on any search action that is done.
Tasks left over:
Check List
--signoff
.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.