Skip to content

Commit

Permalink
merge obs branch
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuangchong committed Dec 27, 2023
2 parents 818516c + b1fade3 commit a13a51d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions dolphinscheduler-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.dolphinscheduler</groupId>
Expand Down Expand Up @@ -83,7 +84,7 @@
<hibernate-validator.version>6.2.2.Final</hibernate-validator.version>
<aws-sdk.version>1.12.160</aws-sdk.version>
<aliyun-sdk-oss.version>3.15.1</aliyun-sdk-oss.version>
<esdk-obs.version>3.23.3</esdk-obs.version>
<esdk-obs.version>3.23.9.1</esdk-obs.version>
<joda-time.version>2.10.13</joda-time.version>
<okhttp.version>4.9.3</okhttp.version>
<json-path.version>2.7.0</json-path.version>
Expand Down
3 changes: 2 additions & 1 deletion dolphinscheduler-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.dolphinscheduler</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,7 @@ protected void createObsPrefix(final String bucketName, final String key) {

@Override
public String getResourceFileName(String tenantCode, String fullName) {
String resDir = getResDir(tenantCode);
return fullName.replaceFirst(resDir, "");
return getFileName(ResourceType.FILE, tenantCode, fullName);
}

@Override
Expand Down

0 comments on commit a13a51d

Please sign in to comment.