-
Notifications
You must be signed in to change notification settings - Fork 113
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
Fix all the compile warnings and detekt issues #603
Fix all the compile warnings and detekt issues #603
Conversation
4f1435a
to
c197526
Compare
Signed-off-by: bowenlan-amzn <[email protected]>
c197526
to
0869675
Compare
Codecov Report
@@ Coverage Diff @@
## main #603 +/- ##
============================================
- Coverage 75.86% 75.09% -0.78%
- Complexity 2485 2589 +104
============================================
Files 316 330 +14
Lines 14546 15111 +565
Branches 2248 2337 +89
============================================
+ Hits 11036 11348 +312
- Misses 2253 2432 +179
- Partials 1257 1331 +74
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
0e7fc07
to
2ab9eaa
Compare
Signed-off-by: bowenlan-amzn <[email protected]>
2ab9eaa
to
64bd21f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for fixing these deteckt issues @bowenlan-amzn. Helps improve the overall development sanity for the Repo.
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-2.x 2.x
# Navigate to the new working tree
cd .worktrees/backport-2.x
# Create a new branch
git switch --create backport/backport-603-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 a21e4a60b4f76c18c9f5eb2d2db9649750c92781
# Push it to GitHub
git push --set-upstream origin backport/backport-603-to-2.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-2.x Then, create a pull request where the |
* Fix all the compile warnings and detekt issues Signed-off-by: bowenlan-amzn <[email protected]> * Fix time capture is 0 Signed-off-by: bowenlan-amzn <[email protected]> Signed-off-by: bowenlan-amzn <[email protected]>
* Fix all the compile warnings and detekt issues Signed-off-by: bowenlan-amzn <[email protected]> * Fix time capture is 0 Signed-off-by: bowenlan-amzn <[email protected]> Signed-off-by: bowenlan-amzn <[email protected]>
* Fix all the compile warnings and detekt issues (#603) * Fix all the compile warnings and detekt issues Signed-off-by: bowenlan-amzn <[email protected]> * Fix time capture is 0 Signed-off-by: bowenlan-amzn <[email protected]> Signed-off-by: bowenlan-amzn <[email protected]> * Unify test clean logic (#609) * Unify wipe indices logic after tests Signed-off-by: bowenlan-amzn <[email protected]> * Enhance wipeAllIndices function Signed-off-by: bowenlan-amzn <[email protected]> * Customize cleanup for multi node test Signed-off-by: bowenlan-amzn <[email protected]> Signed-off-by: bowenlan-amzn <[email protected]> Signed-off-by: bowenlan-amzn <[email protected]>
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-2.4 2.4
# Navigate to the new working tree
cd .worktrees/backport-2.4
# Create a new branch
git switch --create backport/backport-603-to-2.4
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 a21e4a60b4f76c18c9f5eb2d2db9649750c92781
# Push it to GitHub
git push --set-upstream origin backport/backport-603-to-2.4
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-2.4 Then, create a pull request where the |
* Fix all the compile warnings and detekt issues Signed-off-by: bowenlan-amzn <[email protected]> * Fix time capture is 0 Signed-off-by: bowenlan-amzn <[email protected]> Signed-off-by: bowenlan-amzn <[email protected]> (cherry picked from commit a21e4a6)
* Fix all the compile warnings and detekt issues Signed-off-by: bowenlan-amzn <[email protected]> * Fix time capture is 0 Signed-off-by: bowenlan-amzn <[email protected]> Signed-off-by: bowenlan-amzn <[email protected]> (cherry picked from commit a21e4a6)
* Fix all the compile warnings and detekt issues (#603) * Fix all the compile warnings and detekt issues Signed-off-by: bowenlan-amzn <[email protected]> * Fix time capture is 0 Signed-off-by: bowenlan-amzn <[email protected]> Signed-off-by: bowenlan-amzn <[email protected]> * Unify test clean logic (#609) * Unify wipe indices logic after tests Signed-off-by: bowenlan-amzn <[email protected]> * Enhance wipeAllIndices function Signed-off-by: bowenlan-amzn <[email protected]> * Customize cleanup for multi node test Signed-off-by: bowenlan-amzn <[email protected]> Signed-off-by: bowenlan-amzn <[email protected]> Signed-off-by: bowenlan-amzn <[email protected]> (cherry picked from commit 7a02534)
* Fix all the compile warnings and detekt issues (#603) * Fix all the compile warnings and detekt issues Signed-off-by: bowenlan-amzn <[email protected]> * Fix time capture is 0 Signed-off-by: bowenlan-amzn <[email protected]> Signed-off-by: bowenlan-amzn <[email protected]> * Unify test clean logic (#609) * Unify wipe indices logic after tests Signed-off-by: bowenlan-amzn <[email protected]> * Enhance wipeAllIndices function Signed-off-by: bowenlan-amzn <[email protected]> * Customize cleanup for multi node test Signed-off-by: bowenlan-amzn <[email protected]> Signed-off-by: bowenlan-amzn <[email protected]> Signed-off-by: bowenlan-amzn <[email protected]> (cherry picked from commit 7a02534) Co-authored-by: bowenlan-amzn <[email protected]>
* Fix all the compile warnings and detekt issues (opensearch-project#603) * Fix all the compile warnings and detekt issues Signed-off-by: bowenlan-amzn <[email protected]> * Fix time capture is 0 Signed-off-by: bowenlan-amzn <[email protected]> Signed-off-by: bowenlan-amzn <[email protected]> * Unify test clean logic (opensearch-project#609) * Unify wipe indices logic after tests Signed-off-by: bowenlan-amzn <[email protected]> * Enhance wipeAllIndices function Signed-off-by: bowenlan-amzn <[email protected]> * Customize cleanup for multi node test Signed-off-by: bowenlan-amzn <[email protected]> Signed-off-by: bowenlan-amzn <[email protected]> Signed-off-by: bowenlan-amzn <[email protected]>
* Fix all the compile warnings and detekt issues (opensearch-project#603) * Fix all the compile warnings and detekt issues Signed-off-by: bowenlan-amzn <[email protected]> * Fix time capture is 0 Signed-off-by: bowenlan-amzn <[email protected]> Signed-off-by: bowenlan-amzn <[email protected]> * Unify test clean logic (opensearch-project#609) * Unify wipe indices logic after tests Signed-off-by: bowenlan-amzn <[email protected]> * Enhance wipeAllIndices function Signed-off-by: bowenlan-amzn <[email protected]> * Customize cleanup for multi node test Signed-off-by: bowenlan-amzn <[email protected]> Signed-off-by: bowenlan-amzn <[email protected]> Signed-off-by: bowenlan-amzn <[email protected]> Signed-off-by: Ronnak Saxena <[email protected]>
Signed-off-by: bowenlan-amzn [email protected]
Issue #, if available:
#90
#239
Description of changes:
Fix all the compile warning and detekt warning. After this merged in, IM doesn't allow any change with compile warning or detekt warning to be merged in.
For the roles field deprecated in Rollup and Transform model, the usage in stream input and output is also deprecated. Specifically, stream output always write roles field as empty list.
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.