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

Backport 2.9 fix #937

Merged
merged 7 commits into from
Mar 18, 2024
Merged

Backport 2.9 fix #937

merged 7 commits into from
Mar 18, 2024

Conversation

riysaxen-amzn
Copy link
Collaborator

Description

Backport PRs:

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.

jowg-amazon and others added 6 commits March 18, 2024 15:12
… mapping view API (#786) (#788)

* field mapping changes

Signed-off-by: Joanne Wang <[email protected]>

* add integ test

Signed-off-by: Joanne Wang <[email protected]>

* turn unmappedfieldaliases as set and add integ test

Signed-off-by: Joanne Wang <[email protected]>

* add comments

Signed-off-by: Joanne Wang <[email protected]>

* fix integ tests

Signed-off-by: Joanne Wang <[email protected]>

* moved logic to method for better readability

Signed-off-by: Joanne Wang <[email protected]>

---------

Signed-off-by: Joanne Wang <[email protected]>
* add logic and integ tests to not add duplicate to log-types-config index

Signed-off-by: Joanne Wang <[email protected]>

* change naming for existingFieldMapping and change contains to equals

Signed-off-by: Joanne Wang <[email protected]>

---------

Signed-off-by: Joanne Wang <[email protected]>
Signed-off-by: Joanne Wang <[email protected]>
* fix detector writeTo() method missing fields

Signed-off-by: Surya Sashank Nistala <[email protected]>

* fix test

Signed-off-by: Surya Sashank Nistala <[email protected]>

---------

Signed-off-by: Surya Sashank Nistala <[email protected]>
Copy link

codecov bot commented Mar 18, 2024

Codecov Report

Attention: Patch coverage is 79.16667% with 5 lines in your changes are missing coverage. Please review.

Project coverage is 25.73%. Comparing base (e44e5d4) to head (f6bad2f).

Files Patch % Lines
...arch/securityanalytics/logtype/LogTypeService.java 58.33% 1 Missing and 4 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                2.9     #937      +/-   ##
============================================
+ Coverage     25.66%   25.73%   +0.06%     
- Complexity      950      951       +1     
============================================
  Files           252      252              
  Lines         10854    10865      +11     
  Branches       1204     1206       +2     
============================================
+ Hits           2786     2796      +10     
  Misses         7824     7824              
- Partials        244      245       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@riysaxen-amzn
Copy link
Collaborator Author

Ci is not passing due to known flaky tests in SA which needs to be fixed

Copy link
Collaborator

@engechas engechas left a comment

Choose a reason for hiding this comment

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

Would be good to get at least 1 iteration of the build to succeed in the CIs for confidence

Signed-off-by: Riya Saxena <[email protected]>
@riysaxen-amzn
Copy link
Collaborator Author

Would be good to get at least 1 iteration of the build to succeed in the CIs for confidence

yeah i ran 1 more iteration, some tests seem to be passing now

@riysaxen-amzn riysaxen-amzn merged commit 4139155 into 2.9 Mar 18, 2024
19 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants