Done ticket GEPAFINBE-167

This commit is contained in:
rajesh
2025-02-25 11:57:30 +05:30
parent 555a5d777a
commit fac0c3e2ec
35 changed files with 1573 additions and 13 deletions

View File

@@ -153,7 +153,7 @@ public class AmazonS3ServiceImpl implements AmazonS3Service {
}
}
private String decodeS3Key(String key) {
public String decodeS3Key(String key) {
return URLDecoder.decode(key, StandardCharsets.UTF_8);
}
@@ -186,11 +186,11 @@ public class AmazonS3ServiceImpl implements AmazonS3Service {
}
}
private String cleanNewPath(String oldPath, String newPath) {
public String cleanNewPath(String oldPath, String newPath) {
return newPath + "/" + oldPath.substring(oldPath.lastIndexOf("/") + 1);
}
private String cleanOldPath(String oldPath) {
public String cleanOldPath(String oldPath) {
return oldPath.replace(s3Url, "");
}
}