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

   Part of #3261: Citrus tests for nine more Kamelets that had none. None of 
them needs a container: they run where they are, or call the Citrus HTTP 
server, which stands in for the service. As in #3262, each route records the 
body type (`X-Body-Type`) and the `Content-Type` (`X-Content-Type`) that the 
Kamelet gives, for #3117.
   
   | Kamelet | Test | Body after the Kamelet |
   |---|---|---|
   | `pqc-signature-action` | Signs with ML-DSA, then verifies: 
`CamelPQCSignature` is bytes, and `CamelPQCVerification` is `true` | `String`, 
unchanged |
   | `pqc-kem-action` | `generateSecretKeyEncapsulation` with ML-KEM and AES | 
`SecretKeyWithEncapsulation` (BouncyCastle) |
   | `exec-sink` | Runs `tr a-z A-Z` on the body: `hello exec` becomes `HELLO 
EXEC`, with exit code `0` | `ByteArrayInputStreamCache` |
   | `dns-dig-action` | Asks the resolver of the machine about `localhost`. The 
answer depends on the resolver, so the test checks `opcode: QUERY` | `String` |
   | `graphql-sink` | The query goes to the Citrus server, which answers with 
`data` | `String`, `application/json` |
   | `splunk-hec-sink` | The event goes to `/services/collector/event` with 
`Authorization: Splunk <token>` | `String`, unchanged |
   | `nominatim-geocode-action` | The Citrus server answers `/search` with a 
place: `CamelGeoCoderLat` is `52.51703650` | `InputStreamCache`, 
`application/json` |
   | `ogcapi-features-action` | The Citrus server answers 
`/collections/lakes/items` with a feature collection | `String`, with the 
response's `application/geo+json` |
   
   New test packages: `pqc`, `exec`, `graphql`, `splunk`, `geo`, each with its 
factory in `CommonIT`. The `dns-dig-action` test is in the existing `dns` 
package.
   
   Notes for #3117:
   - `nominatim-geocode-action` says "JSON text", and gives it as a stream.
   - `exec-sink` gives a stream.
   
   `snmp-source` is not covered: it needs an SNMP agent, which can come in a 
later batch.
   
   ### Tests
   `CommonIT#pqc+exec+graphql+splunk+geo+dns`: 10 of 10 pass, the existing 
`dns` tests among them. `./mvnw clean verify` from the root passes.
   
   _Claude Code on behalf of Claus Ibsen_
   
   🤖 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