opensearch-project / index-management

🗃 Automate periodic data operations, such as deleting indices at a certain age or performing a rollover at a certain size
https://opensearch.org/docs/latest/im-plugin/index/
Apache License 2.0
53 stars 111 forks source link

[Backport 2.x] Upgrade ktlint to mitigate CVE-2023-6378 #1098

Closed r1walz closed 7 months ago

r1walz commented 8 months ago

Description of changes: backport #1095

CheckList:

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.

codecov[bot] commented 7 months ago

Codecov Report

Attention: 171 lines in your changes are missing coverage. Please review.

Comparison is base (e768d3b) 74.99% compared to head (b282d3e) 75.09%.

Files Patch % Lines
...agement/indexstatemanagement/ManagedIndexRunner.kt 45.83% 10 Missing and 3 partials :warning:
...action/removepolicy/TransportRemovePolicyAction.kt 50.00% 8 Missing :warning:
...atemanagement/step/rollover/AttemptRolloverStep.kt 46.15% 2 Missing and 5 partials :warning:
...xmanagement/snapshotmanagement/model/SMMetadata.kt 61.11% 6 Missing and 1 partial :warning:
...management/indexstatemanagement/MetadataService.kt 66.66% 6 Missing :warning:
...anagement/step/forcemerge/WaitForForceMergeStep.kt 25.00% 5 Missing and 1 partial :warning:
...ent/controlcenter/notification/model/LRONConfig.kt 37.50% 5 Missing :warning:
...action/changepolicy/TransportChangePolicyAction.kt 68.75% 5 Missing :warning:
...dexmanagement/rollup/query/QueryStringQueryUtil.kt 44.44% 3 Missing and 2 partials :warning:
...ndexmanagement/transform/TransformSearchService.kt 37.50% 4 Missing and 1 partial :warning:
... and 67 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## 2.x #1098 +/- ## ============================================ + Coverage 74.99% 75.09% +0.10% Complexity 2904 2904 ============================================ Files 372 372 Lines 17122 17160 +38 Branches 2474 2476 +2 ============================================ + Hits 12840 12887 +47 + Misses 2911 2905 -6 + Partials 1371 1368 -3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.