Browse Source

Pull request #21: DEC-18310 fix:文件服务器插件接口未兼容

Merge in PG/plugin-repository-s3 from ~FENG/plugin-repository-s3:release/10.0 to release/10.0

* commit '4623bd97c861f31591711ceb14ceec8204c4995c':
  DEC-18310 fix:文件服务器插件接口未兼容
persist/jsy-11.0
Feng 4 years ago
parent
commit
b6d9f00336
  1. 3
      plugin.xml
  2. 2
      src/main/java/com/fanruan/fs/s3/repository/core/S3ResourceRepository.java

3
plugin.xml

@ -5,12 +5,13 @@
<main-package>com.fanruan.fs</main-package>
<active>yes</active>
<hidden>no</hidden>
<version>1.2.6</version>
<version>1.2.7</version>
<env-version>10.0</env-version>
<jartime>2021-03-11</jartime>
<vendor>richie</vendor>
<description><![CDATA[使用支持S3协议的云存储文件系统作为文件服务器。]]></description>
<change-notes><![CDATA[
[2021-04-23]copyFile接口兼容。 <br/>
[2021-03-30]修复copy文件耗时问题。<br/>
[2021-01-28]修复备份还原S3报警告问题。<br/>
[2021-01-24]修复定时调度结果文件预览失败。<br/>

2
src/main/java/com/fanruan/fs/s3/repository/core/S3ResourceRepository.java

@ -309,7 +309,7 @@ public class S3ResourceRepository extends BaseResourceRepository {
}
@Override
protected boolean internalCopy(String origPath, String desPath) {
public boolean copyFile(String origPath, String desPath) throws ResourceIOException {
s3.copyObject(bucket, origPath, bucket, desPath);
return exist(desPath);
}

Loading…
Cancel
Save