k-krawczyk opened a new pull request, #8664:
URL: https://github.com/apache/camel-quarkus/pull/8664

   Fixes #2400.
   
   ## Summary
   
   Adds the missing integration test module for the `camel-quarkus-aws2-kms` 
extension. Module follows the same shape as the existing AWS test modules (e.g. 
`aws2-cw`, `aws2-ddb`).
   
   ## What's covered
   
   - **`createKey` + `describeKey` + `listKeys`** — a key is created via the 
Camel producer, then verified through the same producer (`describeKey`, 
`listKeys`) and cross-checked with a direct `KmsClient.describeKey` call.
   - **`disableKey` + `enableKey`** — state transitions verified both through 
the Camel route and `KmsClient.describeKey`.
   - **`scheduleKeyDeletion`** — used as the cleanup path; minimum 
`pendingWindowInDays` of 7 is supplied to satisfy the AWS API.
   - The inherited `successfulDefaultCredentialsProviderTest` / 
`failingDefaultCredentialsProviderTest` from `BaseAWs2TestSupport` run 
automatically.
   
   ## Files
   
   - `integration-test-groups/aws2/aws2-kms/pom.xml`
   - 
`integration-test-groups/aws2/aws2-kms/src/main/resources/application.properties`
   - 
`integration-test-groups/aws2/aws2-kms/src/main/java/.../it/Aws2KmsResource.java`
   - 
`integration-test-groups/aws2/aws2-kms/src/test/java/.../it/Aws2KmsTestEnvCustomizer.java`
   - 
`integration-test-groups/aws2/aws2-kms/src/test/java/.../it/Aws2KmsTest.java`
   - `integration-test-groups/aws2/aws2-kms/src/test/java/.../it/Aws2KmsIT.java`
   - 
`integration-test-groups/aws2/aws2-kms/src/test/resources/META-INF/services/...Aws2TestEnvCustomizer`
   - `integration-test-groups/aws2/pom.xml` (+1 line: 
`<module>aws2-kms</module>`)
   
   The grouped pom under `integration-tests/aws2-grouped/pom.xml` already 
declared the `camel-quarkus-aws2-kms` dependency, so no changes were needed 
there.
   
   ## Verification
   
   - `./mvnw test -pl integration-test-groups/aws2/aws2-kms` — **4/4 tests 
pass**, ~23 s on LocalStack via Testcontainers
   - `./mvnw process-resources -Pformat -N` — no formatting changes required
   - Full reactor `./mvnw clean install -Dquickly` — green on macOS


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to