oscerd opened a new pull request, #2915:
URL: https://github.com/apache/camel-kamelets/pull/2915

   ## Summary
   
   Adds Citrus integration tests for 10 kamelets that require no external 
services or containers. All tests use **Camel route YAML** format (per #2873) 
and leverage the existing `CommonIT` HTTP mock server and log verification 
infrastructure.
   
   ### New tests
   
   | Kamelet | Pattern | What is verified |
   |---------|---------|-----------------|
   | `cron-source` | log-verify | Emits configured message on cron schedule |
   | `set-body-action` | http-mock | Message body replaced with configured 
value |
   | `delay-action` | http-mock | Message passes through after configurable 
delay |
   | `throttle-action` | http-mock | Message flows through rate limiter |
   | `simple-filter-action` | http-mock | Non-matching message passes through 
(match = drop) |
   | `xj-identity-action` | http-mock + log | JSON-to-XML identity transform |
   | `dns-ip-action` | log-verify | `localhost` resolves to `127.0.0.1` |
   | `regex-router-action` | log-verify | Kafka topic header modified by regex |
   | `timestamp-router-action` | log-verify | Kafka topic header gets timestamp 
prefix |
   | `topic-name-matches-filter-action` | log-verify | Message with matching 
topic passes through |
   
   ### Files
   
   - **20 new files**: 10 Camel route YAML definitions + 10 Citrus test YAML 
definitions across 7 test directories
   - **1 modified file**: `CommonIT.java` — added 7 new `@CitrusTestFactory` 
methods
   
   ## Test plan
   
   - [ ] `mvn compile test-compile -pl :camel-kamelets-itest` passes
   - [ ] `mvn verify -pl :camel-kamelets-itest -Denable.integration.tests` — 
all tests pass
   - [ ] No external services or containers required for these tests
   
   _Claude Code on behalf of Andrea Cosentino_
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
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