diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 96ede748e..f83495364 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,6 +26,9 @@ jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + alternative-client-implementation: ['true', 'false'] steps: - uses: actions/checkout@v3 @@ -36,4 +39,4 @@ jobs: java-version: 11 cache: maven - name: Build with Maven - run: ./mvnw -B formatter:validate verify --file pom.xml -Dnative + run: ./mvnw -B formatter:validate verify --file pom.xml -Dnative -Dalternative-client-implementation=${{ matrix.alternative-client-implementation }} diff --git a/integration-tests/pom.xml b/integration-tests/pom.xml index 4b0596505..f7291e66c 100644 --- a/integration-tests/pom.xml +++ b/integration-tests/pom.xml @@ -1,5 +1,7 @@ - + 4.0.0 io.quarkiverse.amazonservices @@ -20,10 +22,6 @@ io.quarkus quarkus-resteasy-reactive - - io.quarkus - quarkus-netty - io.quarkus quarkus-core @@ -76,22 +74,7 @@ io.quarkiverse.amazonservices quarkus-amazon-cognito-user-pools - - software.amazon.awssdk - netty-nio-client - - - software.amazon.awssdk - aws-crt-client - - - software.amazon.awssdk - url-connection-client - - - software.amazon.awssdk - apache-client - + org.jboss.slf4j slf4j-jboss-logmanager @@ -157,6 +140,52 @@ + + default-client-implementation + + + alternative-client-implementation + !true + + + + + software.amazon.awssdk + netty-nio-client + + + software.amazon.awssdk + url-connection-client + + + + url + netty + + + + alternative-client-implementation + + + alternative-client-implementation + true + + + + + software.amazon.awssdk + aws-crt-client + + + software.amazon.awssdk + apache-client + + + + apache + aws-crt + + native-image @@ -176,7 +205,8 @@ - ${project.build.directory}/${project.build.finalName}-runner + + ${project.build.directory}/${project.build.finalName}-runner org.jboss.logmanager.LogManager ${maven.home} @@ -191,4 +221,4 @@ - + \ No newline at end of file diff --git a/integration-tests/src/main/resources/application.properties b/integration-tests/src/main/resources/application.properties index d912c9cd7..8e1d0aa58 100644 --- a/integration-tests/src/main/resources/application.properties +++ b/integration-tests/src/main/resources/application.properties @@ -12,5 +12,25 @@ quarkus.dynamodb.interceptors=io.quarkus.it.amazon.dynamodb.DynamoDBModifyRespon quarkus.s3.interceptors=io.quarkus.it.amazon.s3.S3ModifyResponse quarkus.dynamodbenhanced.client-extensions=software.amazon.awssdk.enhanced.dynamodb.extensions.VersionedRecordExtension,io.quarkus.it.amazon.dynamodb.enhanced.MyExtension -quarkus.s3.sync-client.type=apache -quarkus.kms.async-client.type=aws-crt +quarkus.cognito-user-pools.sync-client.type=${sync-client.type} +quarkus.dynamodb.sync-client.type=${sync-client.type} +quarkus.iam.sync-client.type=${sync-client.type} +quarkus.kms.sync-client.type=${sync-client.type} +quarkus.s3.sync-client.type=${sync-client.type} +quarkus.secretsmanager.sync-client.type=${sync-client.type} +quarkus.ses.sync-client.type=${sync-client.type} +quarkus.sns.sync-client.type=${sync-client.type} +quarkus.sqs.sync-client.type=${sync-client.type} +quarkus.ssm.sync-client.type=${sync-client.type} +quarkus.sts.sync-client.type=${sync-client.type} +quarkus.cognito-user-pools.async-client.type=${async-client.type} +quarkus.dynamodb.async-client.type=${async-client.type} +quarkus.iam.async-client.type=${async-client.type} +quarkus.kms.async-client.type=${async-client.type} +quarkus.s3.async-client.type=${async-client.type} +quarkus.secretsmanager.async-client.type=${async-client.type} +quarkus.ses.async-client.type=${async-client.type} +quarkus.sns.async-client.type=${async-client.type} +quarkus.sqs.async-client.type=${async-client.type} +quarkus.ssm.async-client.type=${async-client.type} +quarkus.sts.async-client.type=${async-client.type} \ No newline at end of file