gbhavya07 opened a new pull request, #24668:
URL: https://github.com/apache/camel/pull/24668

   # Description
   
   This PR addresses CAMEL-23970 by marking the `sslEndpointAlgorithm` endpoint 
option as an insecure-capable SSL configuration.
   
   The `sslEndpointAlgorithm` option allows disabling TLS hostname verification 
by setting it to an empty value or `none`. However, it was not annotated with 
`security = "insecure:ssl"`, preventing Camel's security policy framework from 
identifying it as an option that weakens SSL verification.
   
   This change adds the missing `security = "insecure:ssl"` attribute to the 
`@UriParam` annotation in `OpenAIConfiguration` and regenerates the component 
metadata so the security metadata is reflected in the generated `openai.json`.
   
   # Target
   
   - [x] I checked that the commit is targeting the correct branch (Camel 4 
uses the `main` branch)
   
   # Tracking
   
   - [x] I checked there is a JIRA issue filed for the change: CAMEL-23970
   
   # Apache Camel coding standards and style
   
   - [x] I checked that each commit in the pull request has a meaningful 
subject line and body.
   
   - [x] I have run `mvn clean install -DskipTests` locally from root folder 
and I have committed all auto-generated changes.
   I ran ./mvnw clean install -DskipTests. The build fails in the unrelated 
camel-kserve module due to a protobuf-maven-plugin/protoc generation error. The 
camel-openai module builds successfully, and its tests pass.
   
   # AI-assisted contributions
   
   - [ ] If this PR includes AI-generated code, commits have proper 
co-authorship attribution (e.g., `Co-authored-by` trailers) and the PR 
description identifies the AI tool used.
   
   


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