Skip to content

IT correctness, refactoring, remove V1 SDK#2320

Merged
afranken merged 6 commits intomainfrom
it-correctness-and-refactoring-removing-v1-sdk
Apr 21, 2025
Merged

IT correctness, refactoring, remove V1 SDK#2320
afranken merged 6 commits intomainfrom
it-correctness-and-refactoring-removing-v1-sdk

Conversation

@afranken
Copy link
Member

@afranken afranken commented Apr 9, 2025

Description

  • Test all ITs against S3 again to see if there are differences in behaviour, fix S3Mock if necessary.
  • Migrate all SDK V1 test cases to SDK V2.
  • Remove SDK V1 tests (SDK V1 is deprecated and only supported until EOY 2025).
  • Use Lambdas where possible for functions accepting Consumer. Kotlification.

Related Issue

N/A

Tasks

  • I have signed the CLA.
  • I have written tests and verified that they fail without my change.

@afranken afranken requested a review from Copilot April 9, 2025 09:16

This comment was marked as outdated.

@afranken afranken force-pushed the it-correctness-and-refactoring-removing-v1-sdk branch 11 times, most recently from 44f8398 to e60246d Compare April 20, 2025 23:33
Test all ITs against S3 again to see if there are differences in
behaviour, fix S3Mock if necessary.
Migrate all SDK V1 tests to SDK V2.
Remove SDK V1 tests.
Use Lambdas where possible for functions accepting Consumer<Builder>.
Kotlification.
@afranken afranken force-pushed the it-correctness-and-refactoring-removing-v1-sdk branch from e60246d to 546ca66 Compare April 21, 2025 08:49
Not sure why this class was introduced in the first place...
Test all ITs against S3 again to see if there are differences in
behaviour, fix S3Mock if necessary.
@afranken afranken self-assigned this Apr 21, 2025
@afranken afranken requested a review from Copilot April 21, 2025 12:28
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR focuses on cleaning up and refactoring integration tests by removing deprecated AWS SDK V1 tests and migrating all tests to AWS SDK V2 while updating test annotations and client creation patterns. Key changes include:

  • Removal of all SDK V1 test files.
  • Migration/refactoring of tests to use AWS SDK V2 with updated lambda DSL patterns.
  • Updates of test annotations (e.g. @S3VerifiedSuccess and @S3VerifiedFailure) and copyright year adjustments.

Reviewed Changes

Copilot reviewed 46 out of 47 changed files in this pull request and generated 2 comments.

File Description
ObjectTaggingV1IT.kt, ListObjectV1*.kt, LegalHoldV2IT.kt, BucketV1IT.kt Removed deprecated SDK V1 tests
ObjectTaggingIT.kt, LegalHoldIT.kt, KotlinSDKIT.kt, CrtAsyncIT.kt, CorsIT.kt, ConcurrencyIT.kt, BucketIT.kt, AwsChunkedEndcodingIT.kt, AclIT.kt Refactored tests to use AWS SDK V2 client creation and lambda syntax with updated annotations and year values
CHANGELOG.md Updated changelog entries to reflect migration work and dependency version bumps
Files not reviewed (1)
  • integration-tests/pom.xml: Language not supported

@afranken afranken merged commit d836d68 into main Apr 21, 2025
6 checks passed
@afranken afranken deleted the it-correctness-and-refactoring-removing-v1-sdk branch April 21, 2025 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants