Skip to content
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

add category to custom log types #634

Merged
merged 2 commits into from
Oct 4, 2023
Merged

Conversation

sbcd90
Copy link
Collaborator

@sbcd90 sbcd90 commented Oct 4, 2023

Description

add category to custom log types

Issues Resolved

[List any issues this PR will resolve]

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --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.

Signed-off-by: Subhobrata Dey <[email protected]>
@codecov
Copy link

codecov bot commented Oct 4, 2023

Codecov Report

Merging #634 (90cd502) into main (3c9b23a) will decrease coverage by 0.04%.
Report is 1 commits behind head on main.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##               main     #634      +/-   ##
============================================
- Coverage     25.04%   25.01%   -0.04%     
  Complexity      943      943              
============================================
  Files           255      255              
  Lines         11123    11139      +16     
  Branches       1242     1246       +4     
============================================
  Hits           2786     2786              
- Misses         8086     8102      +16     
  Partials        251      251              
Files Coverage Δ
...ityanalytics/action/IndexCustomLogTypeRequest.java 0.00% <0.00%> (ø)
...nsearch/securityanalytics/model/CustomLogType.java 0.00% <0.00%> (ø)

... and 1 file with indirect coverage changes

amsiglan
amsiglan previously approved these changes Oct 4, 2023
@@ -44,6 +57,8 @@ public class CustomLogType implements Writeable, ToXContentObject {

private String description;

private String category;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not an optional parameter, we need this to have a default value for users upgrading the cluster or this will cause issues for them.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added a default value for category field.

Signed-off-by: Subhobrata Dey <[email protected]>
@sbcd90 sbcd90 merged commit 5781c85 into opensearch-project:main Oct 4, 2023
13 of 15 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 4, 2023
Signed-off-by: Subhobrata Dey <[email protected]>
(cherry picked from commit 5781c85)
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 4, 2023
Signed-off-by: Subhobrata Dey <[email protected]>
(cherry picked from commit 5781c85)
sbcd90 pushed a commit that referenced this pull request Oct 4, 2023
sbcd90 pushed a commit that referenced this pull request Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants