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

   ## CAMEL-28021: camel-pinecone - tls option now defaults to true
   
   ### Problem
   
   The `tls` endpoint option of `camel-pinecone` controls whether the data 
plane (gRPC) connection to the index uses
   TLS. It defaulted to `false`, while the underlying Pinecone client enables 
TLS by default. As a result, the
   data-plane connection did not use TLS unless a route explicitly set 
`tls=true`, which did not match the client's own
   default nor the usual configuration of an index in the Pinecone cloud.
   
   ### Change
   
   - `PineconeVectorDbConfiguration`: the `tls` option now defaults to `true`, 
matching the Pinecone client. The option
     description is reworded for the new default. The endpoint already passes 
the option through to
     `Pinecone.Builder.withTlsEnabled(...)`, so no other endpoint change is 
needed.
   - Upgrade guide: a note in `camel-4x-upgrade-guide-4_25.adoc` documents the 
changed default. A route that connects to
     a local server that does not use TLS, such as Pinecone Local, must now set 
`tls=false` explicitly; a route that
     connects to an index in the Pinecone cloud needs no change.
   - Regenerated the component metadata, the catalog mirror and the 
component/endpoint DSL builder factories.
   
   ### Tests
   
   - `PineconeComponentConfigurationTest.createEndpointDefaultsTlsToTrue` 
asserts that an endpoint created without a
     `tls` option now has `tls=true`, and that `?tls=false` still yields 
`false`.
   - The existing `createEndpointWithProperties`, which sets `tls=false` 
explicitly, is unchanged and still passes.
   
   _Claude Code on behalf of oscerd_
   
   🤖 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