Skip to content

add category to custom log types#634

Merged
sbcd90 merged 2 commits intoopensearch-project:mainfrom
sbcd90:categories
Oct 4, 2023
Merged

add category to custom log types#634
sbcd90 merged 2 commits intoopensearch-project:mainfrom
sbcd90:categories

Conversation

@sbcd90
Copy link
Copy Markdown
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 <sbcd90@gmail.com>
@codecov
Copy link
Copy Markdown

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

private String description;

private String category;
Copy link
Copy Markdown
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
Copy Markdown
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 <sbcd90@gmail.com>
@sbcd90 sbcd90 merged commit 5781c85 into opensearch-project:main Oct 4, 2023
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 4, 2023
Signed-off-by: Subhobrata Dey <sbcd90@gmail.com>
(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 <sbcd90@gmail.com>
(cherry picked from commit 5781c85)
sbcd90 pushed a commit that referenced this pull request Oct 4, 2023
Signed-off-by: Subhobrata Dey <sbcd90@gmail.com>
sbcd90 pushed a commit that referenced this pull request Oct 4, 2023
Signed-off-by: Subhobrata Dey <sbcd90@gmail.com>
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