-
Notifications
You must be signed in to change notification settings - Fork 207
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
Remove dependency on AWS S3 SDKv1 #1628
Remove dependency on AWS S3 SDKv1 #1628
Conversation
Signed-off-by: jzonthemtn <[email protected]>
Signed-off-by: jzonthemtn <[email protected]>
Signed-off-by: jzonthemtn <[email protected]>
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.
Thanks Jeff for making these changes! I made a few small comments. It will be good to remove the SDK v1 entirely from Data Prepper once this is in!
if (json == null) { | ||
return null; | ||
} | ||
System.out.println("Json = " + json); |
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.
We should remove any calls to System.out
.
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.
My terrible debugging! :)
/** | ||
* A Jackson serializer for Joda {@code DateTime}s. | ||
*/ | ||
public final class DateTimeJsonSerializer extends JsonSerializer<Date> { |
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.
Please make this class package protected by removing the public
modifier. This will help avoid use of this class where it is not intended to be used.
Signed-off-by: jzonthemtn <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #1628 +/- ##
============================================
- Coverage 94.48% 93.81% -0.67%
- Complexity 1160 1272 +112
============================================
Files 159 167 +8
Lines 3316 3652 +336
Branches 268 292 +24
============================================
+ Hits 3133 3426 +293
- Misses 129 157 +28
- Partials 54 69 +15
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Thanks @jzonthemtn for providing this fix! I'm glad to see the AWS SDK v1 removed entirely now. |
* opensearch-project#1562: Working toward removing dependency. Signed-off-by: jzonthemtn <[email protected]> * opensearch-project#1562: Removing unneeded parts. Changing date processing. Signed-off-by: jzonthemtn <[email protected]> * opensearch-project#1562: Adding file header and comment. Signed-off-by: jzonthemtn <[email protected]> * opensearch-project#1562: Removing sysout and removing public from class. Signed-off-by: jzonthemtn <[email protected]> Signed-off-by: jzonthemtn <[email protected]>
Description
This PR removes the dependency on the AWS S3 SDKv1. It does not include any new functionality and hopefully should not affect current functionality.
Issues Resolved
#1562
Check List
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.