Repository navigation
fix(#22): add camel-knative-ssl example with TLS/SSL Knative broker - #23
Merged
Merged
Conversation
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
Closes #22
Adds a new
camel-knative-sslsub-module that demonstrates a Knative eventing flow secured with TLS/SSL. It follows the same pattern as the existingcamel-knativemodule (LocalStack S3 source → Camel route → Knative broker) but the Knative broker endpoint is secured with HTTPS and Citrus validates the received CloudEvents over a secure channel.Changes
apache-camel/camel-knative-ssl/— new module mirroringcamel-knativelayoutRoutes.java— unchanged fromcamel-knative; source-to-knative routeSourceOptions.java— CDI bean providing aWebClientOptionsbacked byKnativeSslClientOptionsapplication.properties— wires the SSL client bean and setsk.sink=https://localhost:8443in test profileknative.json— broker sink URL defaults tohttps://localhost:8443kubernetes.yml— KnativeSinkBindingdeployment descriptorQuarkusApplicationTest.java— Citrus HTTP server broker on port 8443 (SSL), uses explicithttp().server().receive()/http().server().send()to validate CloudEventssrc/test/resources/keystore/— generated test keystores (server.jks, truststore.jks, client.pem, client.crt)apache-camel/pom.xml— addedcamel-knative-sslto aggregator modules listTest Result
Full root build also passes (
mvn clean install -DskipTests): 21/21 modules SUCCESS.Generated by Bob via /oss-fix-issue