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.17] Update threat intel job mapping to new version #1286

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 66f1155 from #1272.

* update mapping

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

* fix integ tests

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

* remove debug in case of null and return listener on failure for lock

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

* remove stash context and change to local.root

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

* rename releaseLock

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

* check for concurrent modification exception

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

* remove exception check

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

---------

Signed-off-by: Joanne Wang <[email protected]>
(cherry picked from commit 66f1155)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copy link

codecov bot commented Sep 4, 2024

Codecov Report

Attention: Patch coverage is 37.28814% with 37 lines in your changes missing coverage. Please review.

Project coverage is 68.68%. Comparing base (2aa680a) to head (88e56d4).
Report is 1 commits behind head on 2.17.

Files with missing lines Patch % Lines
.../threatIntel/service/SATIFSourceConfigService.java 39.53% 26 Missing ⚠️
...tyanalytics/threatIntel/common/TIFLockService.java 25.00% 3 Missing ⚠️
...hreatIntel/transport/TransportPutTIFJobAction.java 25.00% 3 Missing ⚠️
...alytics/threatIntel/jobscheduler/TIFJobRunner.java 0.00% 2 Missing ⚠️
...hreatIntel/jobscheduler/TIFSourceConfigRunner.java 0.00% 2 Missing ⚠️
...transport/TransportIndexTIFSourceConfigAction.java 66.66% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               2.17    #1286      +/-   ##
============================================
- Coverage     68.69%   68.68%   -0.01%     
- Complexity     3572     3575       +3     
============================================
  Files           404      404              
  Lines         19987    20008      +21     
  Branches       2040     2040              
============================================
+ Hits          13730    13743      +13     
- Misses         5237     5246       +9     
+ Partials       1020     1019       -1     

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

@jowg-amazon jowg-amazon merged commit 5c5bfa0 into 2.17 Sep 4, 2024
31 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants