Skip to content

[Improvement-14830][dolphinscheduler-storage-s3] Allow customization of s3 region#14831

Merged
caishunfeng merged 2 commits intoapache:devfrom
lukeyan2023:Improvment-14830
Aug 31, 2023
Merged

[Improvement-14830][dolphinscheduler-storage-s3] Allow customization of s3 region#14831
caishunfeng merged 2 commits intoapache:devfrom
lukeyan2023:Improvment-14830

Conversation

@lukeyan2023
Copy link
Contributor

@lukeyan2023 lukeyan2023 commented Aug 30, 2023

Purpose of the pull request

Allow AWS S3 compatible Object storage using custom named regions

Brief change log

Replace Regions. fromName (region). getName() with the region variable

Verify this pull request

This pull request is code cleanup without any test coverage.

(or)

This pull request is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(or)

If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

This closes #14830

…ions

Replace `Regions. fromName (region). getName() ` with the `region ` variable
@codecov-commenter
Copy link

codecov-commenter commented Aug 30, 2023

Codecov Report

Merging #14831 (1969099) into dev (742f0c3) will decrease coverage by 0.01%.
Report is 1 commits behind head on dev.
The diff coverage is 0.00%.

❗ Current head 1969099 differs from pull request most recent head dc0e204. Consider uploading reports for the commit dc0e204 to get more accurate results

@@             Coverage Diff              @@
##                dev   #14831      +/-   ##
============================================
- Coverage     38.94%   38.94%   -0.01%     
+ Complexity     4602     4601       -1     
============================================
  Files          1232     1232              
  Lines         43254    43253       -1     
  Branches       4789     4789              
============================================
- Hits          16844    16843       -1     
  Misses        24542    24542              
  Partials       1868     1868              
Files Changed Coverage Δ
...scheduler/plugin/storage/s3/S3StorageOperator.java 34.52% <0.00%> (+0.13%) ⬆️

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@lukeyan2023 lukeyan2023 changed the title [DS-14830][dolphinscheduler-storage-s3] Allow customization of s3 region [Improvement-14830][dolphinscheduler-storage-s3] Allow customization of s3 region Aug 30, 2023
@lukeyan2023 lukeyan2023 marked this pull request as ready for review August 30, 2023 06:26
Copy link
Contributor

@caishunfeng caishunfeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Copy link
Member

@SbloodyS SbloodyS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@caishunfeng caishunfeng merged commit 6e5870d into apache:dev Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.2.1 backend improvement make more easy to user or prompt friendly ready-to-merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Improvement][dolphinscheduler-storage-s3] Allow AWS S3 compatible Object storage using custom named regions

4 participants