Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A couple of minor refactoring on the S3TransferManager #2997

Merged
merged 1 commit into from
Jan 27, 2022

Conversation

zoewangg
Copy link
Contributor

Motivation and Context

Modifications

  1. CompletedDirectoryUpload#failedTransfers now returns List<FailedFileUpload> instead of Collection<FailedFileUpload>.

  2. UploadDirectoryOverrideConfiguration#uploadFileRequestTransformer now returns Consumer<UploadFileRequest.Builder> instead of Optional<Consumer<UploadFileRequest.Builder>> it will be no-op if no uploadFileRequestTransformer is provided

Testing

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • I have read the CONTRIBUTING document
  • Local run of mvn install succeeds
  • My code follows the code style of this project
  • My change requires a change to the Javadoc documentation
  • I have updated the Javadoc documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed
  • I have added a changelog entry. Adding a new entry must be accomplished by running the scripts/new-change script and following the instructions. Commit the new file created by the script in .changes/next-release with your changes.
  • My change is to implement 1.11 parity feature and I have updated LaunchChangelog

License

  • I confirm that this pull request can be released under the Apache 2 license

@sonarcloud
Copy link

sonarcloud bot commented Jan 27, 2022

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

66.7% 66.7% Coverage
0.0% 0.0% Duplication

@zoewangg zoewangg merged commit 6aaec97 into zoewang/tm-downloadDirectory Jan 27, 2022
@zoewangg zoewangg deleted the zoewang/tm-APIChange branch January 27, 2022 18:55
zoewangg added a commit that referenced this pull request Feb 15, 2022
* [TM DownloadDirectory Part1] Create POJO classes for download directory (#2993)

* Create POJO classes for download directory

* Address feedback

* Address comments

* A couple of minor refactoring on the S3TransferManager (#2997)

* [TM DownloadDirectory Part2] Implement download directory in transfer manager (#3010)

* Implement download directory in transfer manager

* Add more tests and address comments

* Remove create parent directories logic and add changelog entry

* [TM DownloadDirectory Part3] Various updates on downloadDirectory (#3020)

* Implement download directory in transfer manager

* Add more tests and address comments

* Remove create parent directories logic and add changelog entry

* Various updates on downloadDirectory 1. limit the number of concurrent download file 2. create nonexistent parent directories 3. normalize key if prefix is not empty

* By default, set delimiter to null to avoid potentially excessive listObjectsV2 calls

* Move async buffering logic to SdkPublisher

* Move AsyncBufferingSubscriber back to s3-tranfer-manager module and address feedback

* remove unnecessary isDelivering.set(false)
aws-sdk-java-automation added a commit that referenced this pull request Apr 25, 2024
…7c9842dec

Pull request: release <- staging/b3f80186-51dd-4c85-a10f-b497c9842dec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants