OCIRegistryClient : Replace deprecated org.apache.commons.io.input.CountingInputStream
with org.apache.commons.io.input.BoundedInputStream
#3029
Labels
Component
JKube Kit
Task description
Description
We're using CountingInputStream for pushing helm charts to OCI registries:
jkube/jkube-kit/helm/src/main/java/org/eclipse/jkube/kit/resource/helm/oci/OCIManifestLayer.java
Line 37 in 7d08fb0
In recent releases of Apache commons io, this class has been marked as
@Deprecated
(see javadoc). We should replace this with the suggested alternative.After making changes, we also need to verify that the functionality is also working as expected. For that you'll need to generate a helm chart and push it to some OCI registry (DockerHub, Quay, GitHub Container Registry etc). You can watch this demo video to get idea of workflow : 📺 Sprint 244 - Eclipse JKube: Helm push to OCI repository
Expected Behavior
CountingInputStream
is replaced with suggested alternative in JavaDocAcceptance Criteria
CountingInputStream
is replaced withBoundedInputStream
The text was updated successfully, but these errors were encountered: