added support for index pattern as param to CreateIndexMappings#155
Closed
petardz wants to merge 29 commits intoopensearch-project:mainfrom
Closed
added support for index pattern as param to CreateIndexMappings#155petardz wants to merge 29 commits intoopensearch-project:mainfrom
petardz wants to merge 29 commits intoopensearch-project:mainfrom
Conversation
Signed-off-by: Petar Dzepina <petar.dzepina@gmail.com>
Signed-off-by: Petar Dzepina <petar.dzepina@gmail.com>
Signed-off-by: Petar Dzepina <petar.dzepina@gmail.com>
Signed-off-by: Petar Dzepina <petar.dzepina@gmail.com>
Signed-off-by: Petar Dzepina <petar.dzepina@gmail.com>
Collaborator
|
hi @petardz , the pr looks good. can you resolve the |
Collaborator
|
@petardz lets also discuss on enhancing this with |
Member
|
@petardz Can we address the requested changes |
sbcd90
previously approved these changes
Jan 3, 2023
| if (index == null) { | ||
| actionListener.onFailure(new IllegalStateException("Could not find index [" + request.getIndexName() + "]")); | ||
| return; | ||
| } |
Collaborator
There was a problem hiding this comment.
do we need to enhance the check if index or pattern exists or not instead of removing it?
Contributor
Author
There was a problem hiding this comment.
No need I think. GET _mapping API will return mappings for all resolved indices in response.
Signed-off-by: Petar Dzepina <petar.dzepina@gmail.com>
Codecov Report
@@ Coverage Diff @@
## main #155 +/- ##
============================================
- Coverage 38.02% 36.77% -1.26%
+ Complexity 887 882 -5
============================================
Files 176 179 +3
Lines 6795 6970 +175
Branches 834 849 +15
============================================
- Hits 2584 2563 -21
- Misses 3974 4171 +197
+ Partials 237 236 -1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Signed-off-by: Petar Dzepina <petar.dzepina@gmail.com>
Signed-off-by: Petar Dzepina <petar.dzepina@gmail.com>
…-analytics into createindexmappings-indexpattern
Signed-off-by: Petar Dzepina <petar.dzepina@gmail.com>
…-analytics into createindexmappings-indexpattern
Signed-off-by: Petar Dzepina <petar.dzepina@gmail.com>
Signed-off-by: Petar Dzepina <petar.dzepina@gmail.com>
Signed-off-by: Petar Dzepina <petar.dzepina@gmail.com>
Signed-off-by: Petar Dzepina <petar.dzepina@gmail.com>
Signed-off-by: Petar Dzepina <petar.dzepina@gmail.com>
Signed-off-by: Petar Dzepina <petar.dzepina@gmail.com>
Signed-off-by: Petar Dzepina <petar.dzepina@gmail.com>
…into createindexmappings-indexpattern
…-analytics into createindexmappings-indexpattern
Signed-off-by: Petar Dzepina <petar.dzepina@gmail.com>
Signed-off-by: Petar Dzepina <petar.dzepina@gmail.com>
Signed-off-by: Petar Dzepina <petar.dzepina@gmail.com>
Member
|
@petardz Can we resolve the conflict. LGTM |
Signed-off-by: Petar Dzepina <petar.dzepina@gmail.com>
Signed-off-by: Petar Dzepina <petar.dzepina@gmail.com>
Signed-off-by: Petar Dzepina <petar.dzepina@gmail.com>
Signed-off-by: Petar Dzepina <petar.dzepina@gmail.com>
riysaxen-amzn
pushed a commit
to riysaxen-amzn/security-analytics
that referenced
this pull request
Feb 20, 2024
…h-project#182) * [FEATURE] Alerts chart | Use euiPaletteColorBlind for charts opensearch-project#155 Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com> * [FEATURE] Alerts chart | Use euiPaletteColorBlind for charts opensearch-project#155 [FEATURE] Chart grouping | Unify logType grouping fields for Overview and Findings opensearch-project#181 Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com> * Merge branch 'main' of https://github.com/opensearch-project/security-analytics-dashboards-plugin into feature/chart_legend_font_update Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com> Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com>
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.
Signed-off-by: Petar Dzepina petar.dzepina@gmail.com
Description
added support for index pattern as param to CreateIndexMappings
Issues Resolved
#154
Check List
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.