| Files | Last commit | Last update |
|---|---|---|
Release support for S3 checksum change. Co-authored-by: Zoe Wang <33073555+zoewangg@users.noreply.github.com> Co-authored-by: David Ho <70000000+davidh44@users.noreply.github.com> Co-authored-by: Olivier Lepage-Applin (L-Applin) <olapplin@amazon.com> Co-authored-by: John Viegas <joviegas@amazon.com> | 1 year ago | |
Make apache5-client the default sync HTTP client (#6732) * Swap apache-client with apache5-client This commit swaps the default apache-client dependency of service modules with apache5-client. Applications just relying on the default HTTP client will now use `Apache5HttpClient` as a result. * Fix CloudFrontUtilitiesIntegrationTest * Fix S3 tests * Update version in changelog entry * Revert to 4.x for test Expect100ContinueHeaderTest tests 4.x specific behavior (default 100-continue). * Add apache-client to aws-sdk-java module to prevent NoClassDefFoundError for customers using ApacheHttpClient in environments that bundle the whole SDK (e.g., EMR) after apache5-client default switch (#6964) * fix(integ-test): Fix Integ test issue after making Apache5 as default (#6974) * fix(dynamodb): Add TCP keep-alive permissions to SecurityManager test policy for Apache 5 compatibility. Apache 5.6 sets TCP_KEEPIDLE/INTERVAL/COUNT by default which requires jdk.net.NetworkPermission. * Fix ResponseInputStreamTimeoutIntegrationTest to update it to Apache5 exception assertion * Remove apache5-client test scope from s3/pom.xml to restore runtime transitivity. The test scope override prevented downstream modules like s3-transfer-manager from discovering the HTTP client via SPI * Dumy commit to trigger integ test * because we use org.apache.hc.core5.http.ConnectionRequestTimeoutException in ResponseInputStreamTimeoutIntegrationTest * Removing Apache5 specific execption from ResponseInputStreamTimeoutIntegrationTest and asserting just on error message * remove apache 5 as test dependency since it present as runtime * Updated change logs to have notable changes in the change logs * Upgrade httpcomponents.client5 to 5.6.1 --------- Co-authored-by: John Viegas <70235430+joviegas@users.noreply.github.com> Co-authored-by: John Viegas <joviegas@amazon.com> | 4 months ago | |
Add "CRT_MEMORY_BUFFER_DISABLED" advanced client option (#6579) * Add CRT "shouldStream" config as "CRT_MEMORY_BUFFER_DISABLED" SDK advanced client option * changelog * Update CRT_MEMORY_BUFFER_DISABLED javadoc * Add crtBuilder advancedOption method tests | 10 months ago | |
Release CRT Sync HTTP client (#4750) * Synchronous CRT Http Client SPI with tests (#4405) * implemented synchronous crt java http client with tests. --------- Co-authored-by: Waqar Ahmed Khan <waahm7@gmail.com> Co-authored-by: Dongie Agnir <261310+dagnir@users.noreply.github.com> * Various refactoring on CRT Sync HTTP Client (#4749) * Make sure CRT resources are closed (#4753) * Load HTTP implementations from classpath based on priority order (#4774) * Various performance optimization for CRT sync HTTP client (#4776) * Various performance optimization for CRT sync HTTP client * Return as soon as the stream starts if there is a payload in sync http client * Clean up tests and add changelog entry * Bump minor version to 2.22.0 * UrlConnectionSdkHttpService should have higher priority than AwsCrtSdkHttpService * Remove CrtResource.waitForNoResources() from integration tests because it increases test time and makes tests flaky especially when tests are running in parallel. We still verify it in wiremock tests and stability tests --------- Co-authored-by: Jonathan M. Henson <jonathan.michael.henson@gmail.com> Co-authored-by: Waqar Ahmed Khan <waahm7@gmail.com> Co-authored-by: Dongie Agnir <261310+dagnir@users.noreply.github.com> | 2 years ago | |
Fix S3 multipart copy requiring permissions on versioned buckets (#7122) | 3 months ago | |
| 2 months ago | ||
test(s3): add common tag to integ-test created buckets (#7118) * test(s3): add common tag to integ-test created buckets * Handled review comments * Handled review comments | 3 months ago | |
Make apache5-client the default sync HTTP client (#6732) * Swap apache-client with apache5-client This commit swaps the default apache-client dependency of service modules with apache5-client. Applications just relying on the default HTTP client will now use `Apache5HttpClient` as a result. * Fix CloudFrontUtilitiesIntegrationTest * Fix S3 tests * Update version in changelog entry * Revert to 4.x for test Expect100ContinueHeaderTest tests 4.x specific behavior (default 100-continue). * Add apache-client to aws-sdk-java module to prevent NoClassDefFoundError for customers using ApacheHttpClient in environments that bundle the whole SDK (e.g., EMR) after apache5-client default switch (#6964) * fix(integ-test): Fix Integ test issue after making Apache5 as default (#6974) * fix(dynamodb): Add TCP keep-alive permissions to SecurityManager test policy for Apache 5 compatibility. Apache 5.6 sets TCP_KEEPIDLE/INTERVAL/COUNT by default which requires jdk.net.NetworkPermission. * Fix ResponseInputStreamTimeoutIntegrationTest to update it to Apache5 exception assertion * Remove apache5-client test scope from s3/pom.xml to restore runtime transitivity. The test scope override prevented downstream modules like s3-transfer-manager from discovering the HTTP client via SPI * Dumy commit to trigger integ test * because we use org.apache.hc.core5.http.ConnectionRequestTimeoutException in ResponseInputStreamTimeoutIntegrationTest * Removing Apache5 specific execption from ResponseInputStreamTimeoutIntegrationTest and asserting just on error message * remove apache 5 as test dependency since it present as runtime * Updated change logs to have notable changes in the change logs * Upgrade httpcomponents.client5 to 5.6.1 --------- Co-authored-by: John Viegas <70235430+joviegas@users.noreply.github.com> Co-authored-by: John Viegas <joviegas@amazon.com> | 4 months ago | |
test(s3): add common tag to integ-test created buckets (#7118) * test(s3): add common tag to integ-test created buckets * Handled review comments * Handled review comments | 3 months ago | |
test(s3): add common tag to integ-test created buckets (#7118) * test(s3): add common tag to integ-test created buckets * Handled review comments * Handled review comments | 3 months ago | |
Revert "[JUnit 5] Migrate tests which can be easily converted (#2878)" because it broke integration tests. This reverts commit 4289e9a98c8db6b25643c40c9e77fdae6af1d5td5. | 4 years ago | |
Added AsyncRequestBody.forBlockingOutputStream (#3565) Added AsyncRequestBody.forBlockingOutputStream, allowing streaming operation requests to be written to like an output stream. Example usage: ```java BlockingOutputStreamAsyncRequestBody body = AsyncRequestBody.forBlockingOutputStream(5L); CompletableFuture<?> responseFuture = client.streamingInputOperation(StreamingInputOperationRequest.builder().build(), body); try (OutputStream stream = body.outputStream()) { // TODO: Test writing too much data and too little data stream.write("Hello".getBytes(StandardCharsets.UTF_8)); } responseFuture.join(); ``` Other changes made to support this change: 1. Added `OutputStreamPublisher` to utils. This is a `Publisher<ByteBuffer>` that can be written to like it's an output stream. Writes will block when there is no available downstream demand. 1. Added `CancellableOutputStream` to utils. This is an output stream that can be cancelled. This is useful for cancelling the upload via the output stream. The following changes appear in this PR as well as https://github.com/aws/aws-sdk-java-v2/pull/3563: 1. Updated `SimplePublisher` to return more useful and predictable error messages when invoked after `onComplete`, `onError` or `cancel` has been called. 1. Added `CompletableFutureUtils.joinInterruptibly`, which behaves equivalent to executing `join()`, but allows the calling thread to still respond to interrupts. 1. Added `CompletableFutureUtils.joinInterruptiblyIgnoringFailures`, which behaves equivalent to executing `join()`, but allows the calling thread to still respond to interrupts, and ignores exceptions that are thrown. | 3 years ago | |
API service calls custom query param validation (#3546) * Implement RequiredTrait * Enforce presence of required query params * Added codegen tests; missing javadoc * Revised codegen tests * Added integration tests for missing query parameter * Added tests for validating nested shapes * Misc fixes * Added ability to select traits to validate * Added codegen tests for verifying marshaller have correct validation enabling method calls * Handle cases where customization.config has no enabledTraitValidations information * Address review comments * Attach RequiredTrait only to operations for enabled services * Undo misc fixes breaking compatibility * Enforce RequiredTrait across all shape locations * Added tests for validating List and Map querystring objects * Updated CustomizationConfig * Updated changelog entry * Verify SdkField is non-null verify checking for traits * Trimmed changelog entry * Fixed new integration tests expectations * Moved new integration tests into separate classes * Updated expectation of existing integration test | 3 years ago | |
Revert "[JUnit 5] Migrate tests which can be easily converted (#2878)" because it broke integration tests. This reverts commit 4289e9a98c8db6b25643c40c9e77fdae6af1d5td5. | 4 years ago | |
Removing copyright year from headers | 6 years ago | |
Revert "[JUnit 5] Migrate tests which can be easily converted (#2878)" because it broke integration tests. This reverts commit 4289e9a98c8db6b25643c40c9e77fdae6af1d5td5. | 4 years ago | |
test(s3): add common tag to integ-test created buckets (#7118) * test(s3): add common tag to integ-test created buckets * Handled review comments * Handled review comments | 3 months ago | |
Revert "[JUnit 5] Migrate tests which can be easily converted (#2878)" because it broke integration tests. This reverts commit 4289e9a98c8db6b25643c40c9e77fdae6af1d5td5. | 4 years ago | |
Do not prefix copy-source with / when using the sourceBucket and sourceKey APIs. (#3630) The main goal of this change is to fix an issue where access point ARNs were prefixed with /, causing them to fail because / is not supported as a prefix. This also stops prefixing buckets with /, but that seems to work fine in the included integration test. | 3 years ago | |
fix(CopySourceRequestInS3): Updated codegen to customize the request before calling service (#5244) * fix(CopySourceRequestInS3): Updated codegen to customize the request before sending, instead of using interceptors. This change ensures that customized parameters are available for EndpointResolveInterceptors during beforeExecution. * Handle review comments * Handle review comments 2 * Handle review comments 3 * Added change log | 2 years ago | |
Updating getBucketLocation call to use Waiter for eventual consistency | 6 years ago | |
Fix signature mismatch exception generated when signing query parameters with empty-value keys. (#3369) | 4 years ago | |
Removing unused test for s3 error unmarshalling (#3620) | 3 years ago | |
Implement pause/resume for downloadFile in S3 transfer manager (#3169) * [TM DownloadFile Pause and Resume] Part 1: Add configuration to enable overwriting existing files (#3125) * Expose an option to overwrite an existing file in FileAsyncResponseTransformer * Add changelog entries and make TM use CREATE_OR_REPLACE_EXISTING write option by default * Address feedback * Update and address feedback * [TM DownloadFile Pause and Resume] Part 2: Implement pause for downloadFile operation (#3094) * Part 1: Implement pause for downloadFile operation * Address feedback * Refactor the logic * Address feedback * Fix merging issue * [TM DownloadFile Pause and Resume] Part 3: Implement resumeDownloadFile (#3157) * Implement resumeDownloadFile * Move test code around * Address feedback * Fix flaky test * fix flaky integ test * add changelog entry * Troubleshooting flaky test * Add file length check when checking if file has modified or not * Address feedback | 4 years ago | |
Revert "[JUnit 5] Migrate tests which can be easily converted (#2878)" because it broke integration tests. This reverts commit 4289e9a98c8db6b25643c40c9e77fdae6af1d5td5. | 4 years ago | |
Allow calling `close` after `abort` on a `ResponseInputStream`. (#5481) Before this change, calling `close` after `abort` would raise an IOException. It's well-understood that streams should be `close`d after they're done being used. This was not possible before this change, if `abort` was called. As a side effect of this change, `abort` now calls `close` on the underlying input stream. This is the behavior of the 1.x SDK, so it is low-risk. | 2 years ago | |
Revert "[JUnit 5] Migrate tests which can be easily converted (#2878)" because it broke integration tests. This reverts commit 4289e9a98c8db6b25643c40c9e77fdae6af1d5td5. | 4 years ago | |
Revert "[JUnit 5] Migrate tests which can be easily converted (#2878)" because it broke integration tests. This reverts commit 4289e9a98c8db6b25643c40c9e77fdae6af1d5td5. | 4 years ago | |
Fixed an issue that resulted in a NullPointerException when an invalid or global region was used on an S3 client. (#2889) Fixes #2885 | 4 years ago | |
Revert "[JUnit 5] Migrate tests which can be easily converted (#2878)" because it broke integration tests. This reverts commit 4289e9a98c8db6b25643c40c9e77fdae6af1d5td5. | 4 years ago | |
Revert "[JUnit 5] Migrate tests which can be easily converted (#2878)" because it broke integration tests. This reverts commit 4289e9a98c8db6b25643c40c9e77fdae6af1d5td5. | 4 years ago | |
API service calls custom query param validation (#3546) * Implement RequiredTrait * Enforce presence of required query params * Added codegen tests; missing javadoc * Revised codegen tests * Added integration tests for missing query parameter * Added tests for validating nested shapes * Misc fixes * Added ability to select traits to validate * Added codegen tests for verifying marshaller have correct validation enabling method calls * Handle cases where customization.config has no enabledTraitValidations information * Address review comments * Attach RequiredTrait only to operations for enabled services * Undo misc fixes breaking compatibility * Enforce RequiredTrait across all shape locations * Added tests for validating List and Map querystring objects * Updated CustomizationConfig * Updated changelog entry * Verify SdkField is non-null verify checking for traits * Trimmed changelog entry * Fixed new integration tests expectations * Moved new integration tests into separate classes * Updated expectation of existing integration test | 3 years ago | |
API service calls custom query param validation (#3546) * Implement RequiredTrait * Enforce presence of required query params * Added codegen tests; missing javadoc * Revised codegen tests * Added integration tests for missing query parameter * Added tests for validating nested shapes * Misc fixes * Added ability to select traits to validate * Added codegen tests for verifying marshaller have correct validation enabling method calls * Handle cases where customization.config has no enabledTraitValidations information * Address review comments * Attach RequiredTrait only to operations for enabled services * Undo misc fixes breaking compatibility * Enforce RequiredTrait across all shape locations * Added tests for validating List and Map querystring objects * Updated CustomizationConfig * Updated changelog entry * Verify SdkField is non-null verify checking for traits * Trimmed changelog entry * Fixed new integration tests expectations * Moved new integration tests into separate classes * Updated expectation of existing integration test | 3 years ago | |
Prevent IndexOutOfBoundsException when PutObject tagging is an empty set. (#3158) | 4 years ago | |
Releasing support for S3 Express Co-authored-by: Anna-Karin Salander (cenedhryn) <salande@amazon.com> Co-authored-by: Dongie Agnir (dagnir) <dongie@amazon.com> Co-authored-by: Zoe Wang <zoewangg@users.noreply.github.com> Co-authored-by: Matthew Miller (millems) <millem@amazon.com> Co-authored-by: Anirudh Krishnan (anirudh9391) <anirudkr@amazon.com> Co-authored-by: David Ho (hdavidh) <hdavidh@amazon.com> Co-authored-by: Olivier Lepage-Applin (L-Applin) <olapplin@amazon.com> | 2 years ago | |
Fix PutObject with CRT client chunkedEncodingEnabled(false) (#7129) * Fix PutObject hang when using CRT HTTP client with chunkedEncodingEnabled(false) * Fix spotbugs * Don't set Content-Length if Transfer-Encoding present * Changelog * Add tests and update javadoc * Validate non-positive request(n) per Reactive Streams spec in InMemoryPublisher * Scope PR to just hanging fix * Scope PR to just hanging fix | 2 months ago | |
Make apache5-client the default sync HTTP client (#6732) * Swap apache-client with apache5-client This commit swaps the default apache-client dependency of service modules with apache5-client. Applications just relying on the default HTTP client will now use `Apache5HttpClient` as a result. * Fix CloudFrontUtilitiesIntegrationTest * Fix S3 tests * Update version in changelog entry * Revert to 4.x for test Expect100ContinueHeaderTest tests 4.x specific behavior (default 100-continue). * Add apache-client to aws-sdk-java module to prevent NoClassDefFoundError for customers using ApacheHttpClient in environments that bundle the whole SDK (e.g., EMR) after apache5-client default switch (#6964) * fix(integ-test): Fix Integ test issue after making Apache5 as default (#6974) * fix(dynamodb): Add TCP keep-alive permissions to SecurityManager test policy for Apache 5 compatibility. Apache 5.6 sets TCP_KEEPIDLE/INTERVAL/COUNT by default which requires jdk.net.NetworkPermission. * Fix ResponseInputStreamTimeoutIntegrationTest to update it to Apache5 exception assertion * Remove apache5-client test scope from s3/pom.xml to restore runtime transitivity. The test scope override prevented downstream modules like s3-transfer-manager from discovering the HTTP client via SPI * Dumy commit to trigger integ test * because we use org.apache.hc.core5.http.ConnectionRequestTimeoutException in ResponseInputStreamTimeoutIntegrationTest * Removing Apache5 specific execption from ResponseInputStreamTimeoutIntegrationTest and asserting just on error message * remove apache 5 as test dependency since it present as runtime * Updated change logs to have notable changes in the change logs * Upgrade httpcomponents.client5 to 5.6.1 --------- Co-authored-by: John Viegas <70235430+joviegas@users.noreply.github.com> Co-authored-by: John Viegas <joviegas@amazon.com> | 4 months ago | |
Fix flaky test ResponsePublisherTimeoutIntegrationTest (#7342) | 1 month ago | |
test(s3): add common tag to integ-test created buckets (#7118) * test(s3): add common tag to integ-test created buckets * Handled review comments * Handled review comments | 3 months ago | |
Remove usage of `DisplayName` API from S3 integ test as S3 no longer sends it (#6305) * Handle eventual consistency test case to make sure to wait for some time so that item is eventually available * Remove use of s3 owner.displayName() api usage as it was causing Integ test failures | 1 year ago | |
Make apache5-client the default sync HTTP client (#6732) * Swap apache-client with apache5-client This commit swaps the default apache-client dependency of service modules with apache5-client. Applications just relying on the default HTTP client will now use `Apache5HttpClient` as a result. * Fix CloudFrontUtilitiesIntegrationTest * Fix S3 tests * Update version in changelog entry * Revert to 4.x for test Expect100ContinueHeaderTest tests 4.x specific behavior (default 100-continue). * Add apache-client to aws-sdk-java module to prevent NoClassDefFoundError for customers using ApacheHttpClient in environments that bundle the whole SDK (e.g., EMR) after apache5-client default switch (#6964) * fix(integ-test): Fix Integ test issue after making Apache5 as default (#6974) * fix(dynamodb): Add TCP keep-alive permissions to SecurityManager test policy for Apache 5 compatibility. Apache 5.6 sets TCP_KEEPIDLE/INTERVAL/COUNT by default which requires jdk.net.NetworkPermission. * Fix ResponseInputStreamTimeoutIntegrationTest to update it to Apache5 exception assertion * Remove apache5-client test scope from s3/pom.xml to restore runtime transitivity. The test scope override prevented downstream modules like s3-transfer-manager from discovering the HTTP client via SPI * Dumy commit to trigger integ test * because we use org.apache.hc.core5.http.ConnectionRequestTimeoutException in ResponseInputStreamTimeoutIntegrationTest * Removing Apache5 specific execption from ResponseInputStreamTimeoutIntegrationTest and asserting just on error message * remove apache 5 as test dependency since it present as runtime * Updated change logs to have notable changes in the change logs * Upgrade httpcomponents.client5 to 5.6.1 --------- Co-authored-by: John Viegas <70235430+joviegas@users.noreply.github.com> Co-authored-by: John Viegas <joviegas@amazon.com> | 4 months ago | |
Revert "[JUnit 5] Migrate tests which can be easily converted (#2878)" because it broke integration tests. This reverts commit 4289e9a98c8db6b25643c40c9e77fdae6af1d5td5. | 4 years ago | |
Fix S3 multipart SSE-C integration test broken by new S3 default bucket encryption behavior (#6850) * unblock sse-c for the bucket for test * more fix to other test | 5 months ago | |
Allow SDK to build on JDK 17 (#3037) * Update environment variable helpers to mock out environment variable loading via SystemSettings. This fixes an issue where the existing environment variable helpers did not work on Java 17, because it relied on reflectivly modifying the environment variable map directly. * Update Mockito to 4.x to allow building on JDK 17. * Fixed some findbugs issues. | 4 years ago | |
Revert "[JUnit 5] Migrate tests which can be easily converted (#2878)" because it broke integration tests. This reverts commit 4289e9a98c8db6b25643c40c9e77fdae6af1d5td5. | 4 years ago | |
Revert "[JUnit 5] Migrate tests which can be easily converted (#2878)" because it broke integration tests. This reverts commit 4289e9a98c8db6b25643c40c9e77fdae6af1d5td5. | 4 years ago | |
Removing copyright year from headers | 6 years ago | |
Revert "[JUnit 5] Migrate tests which can be easily converted (#2878)" because it broke integration tests. This reverts commit 4289e9a98c8db6b25643c40c9e77fdae6af1d5td5. | 4 years ago | |
Revert "[JUnit 5] Migrate tests which can be easily converted (#2878)" because it broke integration tests. This reverts commit 4289e9a98c8db6b25643c40c9e77fdae6af1d5td5. | 4 years ago | |
Revert "[JUnit 5] Migrate tests which can be easily converted (#2878)" because it broke integration tests. This reverts commit 4289e9a98c8db6b25643c40c9e77fdae6af1d5td5. | 4 years ago |
| Files | Last commit | Last update |
|---|---|---|
| 1 year ago | ||
| 4 months ago | ||
| 10 months ago | ||
| 2 years ago | ||
| 3 months ago | ||
| 2 months ago | ||
| 3 months ago | ||
| 4 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 4 years ago | ||
| 3 years ago | ||
| 3 years ago | ||
| 4 years ago | ||
| 6 years ago | ||
| 4 years ago | ||
| 3 months ago | ||
| 4 years ago | ||
| 3 years ago | ||
| 2 years ago | ||
| 6 years ago | ||
| 4 years ago | ||
| 3 years ago | ||
| 4 years ago | ||
| 4 years ago | ||
| 2 years ago | ||
| 4 years ago | ||
| 4 years ago | ||
| 4 years ago | ||
| 4 years ago | ||
| 4 years ago | ||
| 3 years ago | ||
| 3 years ago | ||
| 4 years ago | ||
| 2 years ago | ||
| 2 months ago | ||
| 4 months ago | ||
| 1 month ago | ||
| 3 months ago | ||
| 1 year ago | ||
| 4 months ago | ||
| 4 years ago | ||
| 5 months ago | ||
| 4 years ago | ||
| 4 years ago | ||
| 4 years ago | ||
| 6 years ago | ||
| 4 years ago | ||
| 4 years ago | ||
| 4 years ago |