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

   ## Summary
   
   Introduces two new action kamelets that expose the Camel crypto dataformat 
for payload encryption/decryption with a fixed JCE key:
   
   - `crypto-encrypt-action` — marshals (encrypts) the body using JCE.
   - `crypto-decrypt-action` — unmarshals (decrypts) the body using JCE.
   
   Both kamelets require an `algorithm` (e.g., `AES`, `DES`) and a `key`. The 
secret key is built through a `javax.crypto.spec.SecretKeySpec` bean declared 
in the kamelet template (via `constructors`) and wired to the crypto dataformat 
by name.
   
   Closes apache/camel-kamelets#2529
   
   ## Test plan
   
   - [x] `mvn clean install -DskipTests` builds successfully (`camel-kamelets`, 
`camel-kamelets-catalog`, `camel-kamelets-itest`)
   - [x] `mvn test` passes on all modules (catalog validation includes the new 
kamelets)
   - [x] `kamelets-maven-plugin:validate` reports `Validation passed`
   - [x] Local JBang round-trip: plaintext → `crypto-encrypt-action` → 
`crypto-decrypt-action` returns the original plaintext
   - [x] New Citrus integration test added under 
`tests/camel-kamelets-itest/src/test/resources/crypto/crypto-action-pipe.citrus.it.yaml`
 and wired into `CommonIT`


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