Skip to content

Backport 2.9 fix#937

Merged
riysaxen-amzn merged 7 commits into2.9from
backport-2.9-fix
Mar 18, 2024
Merged

Backport 2.9 fix#937
riysaxen-amzn merged 7 commits into2.9from
backport-2.9-fix

Conversation

@riysaxen-amzn
Copy link
Copy Markdown
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 <jowg@amazon.com>

* add integ test

Signed-off-by: Joanne Wang <jowg@amazon.com>

* turn unmappedfieldaliases as set and add integ test

Signed-off-by: Joanne Wang <jowg@amazon.com>

* add comments

Signed-off-by: Joanne Wang <jowg@amazon.com>

* fix integ tests

Signed-off-by: Joanne Wang <jowg@amazon.com>

* moved logic to method for better readability

Signed-off-by: Joanne Wang <jowg@amazon.com>

---------

Signed-off-by: Joanne Wang <jowg@amazon.com>
* add logic and integ tests to not add duplicate to log-types-config index

Signed-off-by: Joanne Wang <jowg@amazon.com>

* change naming for existingFieldMapping and change contains to equals

Signed-off-by: Joanne Wang <jowg@amazon.com>

---------

Signed-off-by: Joanne Wang <jowg@amazon.com>
Signed-off-by: Joanne Wang <jowg@amazon.com>
* fix detector writeTo() method missing fields

Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>

* fix test

Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>

---------

Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>
Signed-off-by: Riya Saxena <riysaxen@amazon.com>
Signed-off-by: Riya Saxena <riysaxen@amazon.com>
@codecov
Copy link
Copy Markdown

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
Copy Markdown
Collaborator Author

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

Copy link
Copy Markdown
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 <riysaxen@amazon.com>
@riysaxen-amzn
Copy link
Copy Markdown
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
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