dependabot[bot] opened a new pull request, #16413: URL: https://github.com/apache/camel/pull/16413
Bumps [io.pinecone:pinecone-client](https://github.com/pinecone-io/pinecone-java-client) from 3.0.0 to 3.1.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pinecone-io/pinecone-java-client/releases">io.pinecone:pinecone-client's releases</a>.</em></p> <blockquote> <h2>v3.1.0 Release</h2> <p>This version of the Pinecone Java SDK introduces support for specifying a base URL for control and data plane operations.</p> <h2>Features</h2> <h3>Support to pass base url for control and data plane operations</h3> <p>Users can now specify the base URL (host:port) for both control and data plane operations using the <code>Builder</code> inner class of the <code>Pinecone</code> class. This is achieved with the <code>withHost()</code> method, supporting both <code>HTTP</code> and <code>HTTPS</code> endpoints. For <code>HTTP</code> endpoints on the data plane, users must also disable <code>TLS</code> using the <code>withTlsEnabled()</code> method.</p> <p>The following example demonstrates how to perform control and data plane operations against a locally running emulator:</p> <pre lang="java"><code>import io.pinecone.clients.Index; import io.pinecone.clients.Pinecone; import io.pinecone.configs.PineconeConfig; import org.openapitools.db_control.client.ApiClient; import org.openapitools.db_control.client.api.ManageIndexesApi; import org.openapitools.db_control.client.model.DeletionProtection; import java.util.Arrays; <p>...</p> <p>String host = "<a href="http://localhost:5080">http://localhost:5080</a>";<br /> Pinecone pinecone = new Pinecone.Builder("apiKey")<br /> .withHost(host) // set host to localhost and port to 5080<br /> .withTlsEnabled(false) // disable TLS for data plane operations<br /> .build();</p> <p>// Create serverless index<br /> pinecone.createServerlessIndex("serverless-index", "cosine", 3, "aws","us-east-1", DeletionProtection.DISABLED);<br /> // Create pod index<br /> pinecone.createPodsIndex("pod-index", 3, "us-east-1-aws", "p1.x1");</p> <p>// Describe serverless index<br /> pinecone.describeIndex("serverless-index");<br /> // Describe pod index<br /> pinecone.describeIndex("pod-index");</p> <p>// Get index connection object for serverless-index<br /> Index serverlessIndexConnection = pinecone.getIndexConnection("serverless-index");<br /> // Get index connection object for pod-index<br /> Index podIndexConnection = pinecone.getIndexConnection("pod-index");</p> <p>// Upsert records into serverless index<br /> serverlessIndexConnection.upsert("v1", Arrays.asList(1f, 2f, 3f));<br /> // Upsert records into pod index<br /> podIndexConnection.upsert("v1", Arrays.asList(1f, 2f, 3f));</p> <p>// Query by vectorId from serverless index<br /> serverlessIndexConnection.queryByVectorId(3, "v1");<br /> // Query by vectorId from pod index<br /> podIndexConnection.queryByVectorId(3, "v1");<br /> </tr></table><br /> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pinecone-io/pinecone-java-client/blob/main/CHANGELOG.md">io.pinecone:pinecone-client's changelog</a>.</em></p> <blockquote> <h3>3.1.0</h3> <ul> <li>Add support to pass base url for control and data plane operations</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pinecone-io/pinecone-java-client/commit/1597b00a55eb3a698d8cb24b89e472ae01f80f88"><code>1597b00</code></a> prepare for releasing v3.1.0</li> <li><a href="https://github.com/pinecone-io/pinecone-java-client/commit/d8deb59e0e613b008de091673b3b211bb256605f"><code>d8deb59</code></a> add docstrings</li> <li><a href="https://github.com/pinecone-io/pinecone-java-client/commit/79550f4fea0980eb867164e50e58c10d4ab60374"><code>79550f4</code></a> improve ux for passing base path for control plane ops</li> <li><a href="https://github.com/pinecone-io/pinecone-java-client/commit/f41e4b89191755609a0010dc4ca18e34e66048ea"><code>f41e4b8</code></a> support default namespace for list api</li> <li><a href="https://github.com/pinecone-io/pinecone-java-client/commit/7e8807d061c2af126c78aafd7759365073c7f68c"><code>7e8807d</code></a> Update import examples in README (<a href="https://redirect.github.com/pinecone-io/pinecone-java-client/issues/167">#167</a>)</li> <li>See full diff in <a href="https://github.com/pinecone-io/pinecone-java-client/compare/v3.0.0...v3.1.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> -- 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: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org