chore: Migrate AWS tests from LocalStack to Floci and add sink tests#2913
Merged
Conversation
6067e3d to
1e3d50d
Compare
LocalStack's community edition was sunset in March 2026, now requiring auth tokens. This migrates all AWS integration tests to use Floci, the MIT-licensed drop-in replacement, via Citrus's native floci support in citrus-testcontainers. Also migrates all Pipe-format integration definitions to Camel route YAML format (issue #2873) and adds new Citrus integration tests for aws-s3-sink, aws-sqs-sink, and aws-sns-sink kamelets. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
1e3d50d to
21911f6
Compare
The SNS sink test Groovy script imports SnsClient which requires the camel-aws2-sns dependency on the test classpath. Without it, all AWS tests fail with ClassNotFoundException. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
LocalStack's community edition was sunset in March 2026, requiring auth tokens and freezing security updates. Floci is the MIT-licensed, drop-in replacement — same port 4566, same default credentials, same wire protocol.
Since Citrus 4.10.1 doesn't yet expose
floci:in its YAML DSL (that's onmaintargeting 5.0), this PR keeps thelocalstack:YAML action but configures it to pull the Floci Docker image instead viacitrus-application.properties:This PR makes three changes:
citrus-application.propertiesto use thefloci/flociDocker image with the existinglocalstack:Citrus YAML DSL actionkind: Pipefiles with equivalent- route:YAML files and update all Citrus test references accordinglyaws-s3-sink,aws-sqs-sink, andaws-sns-sink, all using Camel route formatFiles changed
New test coverage
aws-s3-sinkaws-sqs-sinkaws-sns-sinkTest plan
mvn verify -pl :camel-kamelets-itest -Denable.integration.teststo confirm all existing + new tests pass with Flocimvn compile test-compile -pl :camel-kamelets-itest)Claude Code on behalf of Andrea Cosentino
🤖 Generated with Claude Code