You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "dependabot[bot] (via GitHub)" <gi...@apache.org> on 2024/07/05 07:12:36 UTC
[PR] chore(deps): Bump io.pinecone:pinecone-client from 1.2.1 to 1.2.2 [camel]
dependabot[bot] opened a new pull request, #14740:
URL: https://github.com/apache/camel/pull/14740
Bumps [io.pinecone:pinecone-client](https://github.com/pinecone-io/pinecone-java-client) from 1.2.1 to 1.2.2.
<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>v1.2.2 Release</h2>
<h2>Added: Support for proxy configuration using proxyHost and proxyPort</h2>
<p>Users can now configure proxy settings without the need to manually instantiate network handler for both data and control plane operations. Until now, users had to instantiate multiple Pinecone classes and pass <code>customManagedChannel</code> for data plane operations and configure <code>OkHttpClient</code> separately for control plane operations, involving more complex setup steps.</p>
<p>The update simplifies proxy configuration within the SDK, ensuring easier setup by allowing users to specify <code>proxyHost</code> and <code>proxyPort</code>.</p>
<p>Note:
Users need to set up certificate authorities (CAs) to establish secure connections. Certificates verify server identities and encrypt data exchanged between the SDK and servers</p>
<h3>Example</h3>
<ol>
<li>The following examples demonstrates how to configure proxy for data Plane operations via <code>NettyChannelBuilder</code> vs. using the newly added proxy config support:</li>
</ol>
<p>Before:</p>
<pre lang="java"><code>import io.grpc.HttpConnectProxiedSocketAddress;
import io.grpc.ManagedChannel;
import io.grpc.ProxiedSocketAddress;
import io.grpc.ProxyDetector;
import io.pinecone.clients.Index;
import io.pinecone.configs.PineconeConfig;
import io.pinecone.configs.PineconeConnection;
import io.grpc.netty.GrpcSslContexts;
import io.grpc.netty.NegotiationType;
import io.grpc.netty.NettyChannelBuilder;
import io.pinecone.exceptions.PineconeException;
<p>import javax.net.ssl.SSLException;<br />
import java.net.InetSocketAddress;<br />
import java.net.SocketAddress;<br />
import java.util.concurrent.TimeUnit;</p>
<p>import java.util.Arrays;</p>
<p>...<br />
String apiKey = System.getenv("PINECONE_API_KEY");<br />
String proxyHost = System.getenv("PROXY_HOST");<br />
int proxyPort = Integer.parseInt(System.getenv("PROXY_PORT"));</p>
<p>PineconeConfig config = new PineconeConfig(apiKey);<br />
String endpoint = System.getenv("PINECONE_HOST");<br />
NettyChannelBuilder builder = NettyChannelBuilder.forTarget(endpoint);</p>
<p>ProxyDetector proxyDetector = new ProxyDetector() {<br />
<a href="https://github.com/Override"><code>@​Override</code></a><br />
public ProxiedSocketAddress proxyFor(SocketAddress targetServerAddress) {<br />
SocketAddress proxyAddress = new InetSocketAddress(proxyHost, proxyPort);</p>
<pre><code> return HttpConnectProxiedSocketAddress.newBuilder()
.setTargetAddress((InetSocketAddress) targetServerAddress)
</code></pre>
<p></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>1.2.2</h3>
<ul>
<li>Add support for proxy configuration</li>
<li>Fix user-agent for grpc</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/pinecone-io/pinecone-java-client/commit/8034dab033ad1171e4588e879db5ed77cccd4638"><code>8034dab</code></a> Update pinecone client version to 1.2.2 and remove redundant client version d...</li>
<li><a href="https://github.com/pinecone-io/pinecone-java-client/commit/fb4fb48273ed028685feb73adff1d2a3a6a25568"><code>fb4fb48</code></a> Fix useragent for grpc (<a href="https://redirect.github.com/pinecone-io/pinecone-java-client/issues/138">#138</a>)</li>
<li><a href="https://github.com/pinecone-io/pinecone-java-client/commit/c1bfc5dd8aa7871d9d135f9cd5fbeb13573e6990"><code>c1bfc5d</code></a> Add proxy configuration for OkHTTPClient and NettyChannelBuilder (<a href="https://redirect.github.com/pinecone-io/pinecone-java-client/issues/136">#136</a>)</li>
<li><a href="https://github.com/pinecone-io/pinecone-java-client/commit/f7b850e579e227f4e8553ab75fe7bb43a513d1a1"><code>f7b850e</code></a> Allow : in the source tag and add pinecone_test as a source tag for all integ...</li>
<li>See full diff in <a href="https://github.com/pinecone-io/pinecone-java-client/compare/v1.2.1...v1.2.2">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-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] chore(deps): Bump io.pinecone:pinecone-client from 1.2.1 to 1.2.2 [camel]
Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus merged PR #14740:
URL: https://github.com/apache/camel/pull/14740
--
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-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] chore(deps): Bump io.pinecone:pinecone-client from 1.2.1 to 1.2.2 [camel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #14740:
URL: https://github.com/apache/camel/pull/14740#issuecomment-2210325635
:star2: Thank you for your contribution to the Apache Camel project! :star2:
:robot: CI automation will test this PR automatically.
:camel: Apache Camel Committers, please review the following items:
* First-time contributors **require MANUAL approval** for the GitHub Actions to run
* You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot.
* You can label PRs using `build-all`, `build-dependents`, `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR.
* Build and test logs are available in the Summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary.
* :warning: Be careful when sharing logs. Review their contents before sharing them publicly.
--
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-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org