dependabot[bot] opened a new pull request, #1692:
URL: https://github.com/apache/cxf/pull/1692

   Bumps `cxf.zipkin-reporter.version` from 2.17.2 to 3.3.0.
   Updates `io.zipkin.reporter2:zipkin-reporter-brave` from 2.17.2 to 3.3.0
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a 
href="https://github.com/openzipkin/zipkin-reporter-java/releases";>io.zipkin.reporter2:zipkin-reporter-brave's
 releases</a>.</em></p>
   <blockquote>
   <p>Zipkin Reporter 3.2 deprecates <code>Sender</code> for a simpler type 
<code>BytesMessageSender</code>. This only supports synchronous invocation (as 
used by the async reporters in the reporting thread) and requires senders to 
pass an empty list vs a complicated and usually implemented 
<code>check()</code> function. The result is being able to implement a custom 
sender in less than 50 lines including imports like below! Thank a lot to <a 
href="https://github.com/anuraaga";><code>@​anuraaga</code></a> and <a 
href="https://github.com/reta";><code>@​reta</code></a> for the review on 
this.</p>
   <pre lang="java"><code>package brave.example;
   <p>import com.linecorp.armeria.client.WebClient;
   import com.linecorp.armeria.common.AggregatedHttpResponse;
   import com.linecorp.armeria.common.HttpData;
   import com.linecorp.armeria.common.HttpMethod;
   import com.linecorp.armeria.common.HttpRequest;
   import com.linecorp.armeria.common.MediaType;
   import java.io.IOException;
   import java.util.List;
   import zipkin2.reporter.BytesMessageEncoder;
   import zipkin2.reporter.BytesMessageSender;
   import zipkin2.reporter.ClosedSenderException;
   import zipkin2.reporter.Encoding;</p>
   <p>final class WebClientSender extends BytesMessageSender.Base {
   final WebClient zipkinApiV2SpansClient;
   volatile boolean closeCalled; // volatile as not called from the reporting 
thread.</p>
   <p>WebClientSender(WebClient zipkinApiV2SpansClient) {
   super(Encoding.JSON);
   this.zipkinApiV2SpansClient = zipkinApiV2SpansClient;
   }</p>
   <p><a href="https://github.com/Override";><code>@​Override</code></a> public 
int messageMaxBytes() {
   return 500_000; // Use the most common HTTP default
   }</p>
   <p><a href="https://github.com/Override";><code>@​Override</code></a> public 
void send(List&lt;byte[]&gt; encodedSpans) throws IOException {
   if (closeCalled) throw new ClosedSenderException();
   byte[] body = BytesMessageEncoder.JSON.encode(encodedSpans);
   HttpRequest request =
   HttpRequest.of(HttpMethod.POST, &quot;&quot;, MediaType.JSON, 
HttpData.wrap(body));
   AggregatedHttpResponse response = 
zipkinApiV2SpansClient.blocking().execute(request);
   try (HttpData content = response.content()) {
   if (!response.status().isSuccess()) {
   if (content.isEmpty()) {
   throw new IOException(&quot;response failed: &quot; + response);
   }
   throw new IOException(&quot;response failed: &quot; + 
content.toStringAscii());
   }
   }
   }</p>
   <p><a href="https://github.com/Override";><code>@​Override</code></a> public 
void close() {
   closeCalled = true;
   }
   &lt;/tr&gt;&lt;/table&gt;
   </code></pre></p>
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/openzipkin/zipkin-reporter-java/commit/9b4489e7c9f12ae0f304910f5487b9669b4ad11e";><code>9b4489e</code></a>
 [maven-release-plugin] prepare release 3.3.0</li>
   <li><a 
href="https://github.com/openzipkin/zipkin-reporter-java/commit/ee69d437b6ad9eca29740f683ef91d704775db0d";><code>ee69d43</code></a>
 Renames HttpSender to BaseHttpSender (<a 
href="https://redirect.github.com/openzipkin/zipkin-reporter-java/issues/256";>#256</a>)</li>
   <li><a 
href="https://github.com/openzipkin/zipkin-reporter-java/commit/9f3a99aa13895a5705198e959c9527db9107772d";><code>9f3a99a</code></a>
 Adds rate limited HTTP endpoint supplier and factory (<a 
href="https://redirect.github.com/openzipkin/zipkin-reporter-java/issues/255";>#255</a>)</li>
   <li><a 
href="https://github.com/openzipkin/zipkin-reporter-java/commit/51bac2ac8c41723ee1bfaf6f3d0540396b2a44fa";><code>51bac2a</code></a>
 Makes constant endpoint an api with implementations available (<a 
href="https://redirect.github.com/openzipkin/zipkin-reporter-java/issues/254";>#254</a>)</li>
   <li><a 
href="https://github.com/openzipkin/zipkin-reporter-java/commit/ec4e01c3f27a9746ec80d8d401249e90bfcd3c15";><code>ec4e01c</code></a>
 Adds HttpSender to aid proper handling of HttpEndpointSupplier (<a 
href="https://redirect.github.com/openzipkin/zipkin-reporter-java/issues/253";>#253</a>)</li>
   <li><a 
href="https://github.com/openzipkin/zipkin-reporter-java/commit/be5082030f796a23c5a735536877f98e1677c3af";><code>be50820</code></a>
 brave: adds PROTO3 encoding (<a 
href="https://redirect.github.com/openzipkin/zipkin-reporter-java/issues/252";>#252</a>)</li>
   <li><a 
href="https://github.com/openzipkin/zipkin-reporter-java/commit/bb3f5b77c85e31a82122120eaed228fe8fc0b1d5";><code>bb3f5b7</code></a>
 Decreases switch statements and deprecates BytesMessageEncoder (<a 
href="https://redirect.github.com/openzipkin/zipkin-reporter-java/issues/250";>#250</a>)</li>
   <li><a 
href="https://github.com/openzipkin/zipkin-reporter-java/commit/b5fbad86b132c3932bcdc89f76a677e520c4e335";><code>b5fbad8</code></a>
 Pulls up ConstantHttpEndpointSupplier (<a 
href="https://redirect.github.com/openzipkin/zipkin-reporter-java/issues/251";>#251</a>)</li>
   <li><a 
href="https://github.com/openzipkin/zipkin-reporter-java/commit/0f03cf6163c98b523ff62d98019bca4a47341843";><code>0f03cf6</code></a>
 Adds HttpEndpointSupplier to allow generic discovery of HTTP endpoints (<a 
href="https://redirect.github.com/openzipkin/zipkin-reporter-java/issues/249";>#249</a>)</li>
   <li><a 
href="https://github.com/openzipkin/zipkin-reporter-java/commit/334499c531e2a03f0cc35cfd0d1ff1e17519af93";><code>334499c</code></a>
 [maven-release-plugin] prepare for next development iteration</li>
   <li>Additional commits viewable in <a 
href="https://github.com/openzipkin/zipkin-reporter-java/compare/2.17.2...3.3.0";>compare
 view</a></li>
   </ul>
   </details>
   <br />
   
   Updates `io.zipkin.reporter2:zipkin-sender-urlconnection` from 2.17.2 to 
3.3.0
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a 
href="https://github.com/openzipkin/zipkin-reporter-java/releases";>io.zipkin.reporter2:zipkin-sender-urlconnection's
 releases</a>.</em></p>
   <blockquote>
   <p>Zipkin Reporter 3.2 deprecates <code>Sender</code> for a simpler type 
<code>BytesMessageSender</code>. This only supports synchronous invocation (as 
used by the async reporters in the reporting thread) and requires senders to 
pass an empty list vs a complicated and usually implemented 
<code>check()</code> function. The result is being able to implement a custom 
sender in less than 50 lines including imports like below! Thank a lot to <a 
href="https://github.com/anuraaga";><code>@​anuraaga</code></a> and <a 
href="https://github.com/reta";><code>@​reta</code></a> for the review on 
this.</p>
   <pre lang="java"><code>package brave.example;
   <p>import com.linecorp.armeria.client.WebClient;
   import com.linecorp.armeria.common.AggregatedHttpResponse;
   import com.linecorp.armeria.common.HttpData;
   import com.linecorp.armeria.common.HttpMethod;
   import com.linecorp.armeria.common.HttpRequest;
   import com.linecorp.armeria.common.MediaType;
   import java.io.IOException;
   import java.util.List;
   import zipkin2.reporter.BytesMessageEncoder;
   import zipkin2.reporter.BytesMessageSender;
   import zipkin2.reporter.ClosedSenderException;
   import zipkin2.reporter.Encoding;</p>
   <p>final class WebClientSender extends BytesMessageSender.Base {
   final WebClient zipkinApiV2SpansClient;
   volatile boolean closeCalled; // volatile as not called from the reporting 
thread.</p>
   <p>WebClientSender(WebClient zipkinApiV2SpansClient) {
   super(Encoding.JSON);
   this.zipkinApiV2SpansClient = zipkinApiV2SpansClient;
   }</p>
   <p><a href="https://github.com/Override";><code>@​Override</code></a> public 
int messageMaxBytes() {
   return 500_000; // Use the most common HTTP default
   }</p>
   <p><a href="https://github.com/Override";><code>@​Override</code></a> public 
void send(List&lt;byte[]&gt; encodedSpans) throws IOException {
   if (closeCalled) throw new ClosedSenderException();
   byte[] body = BytesMessageEncoder.JSON.encode(encodedSpans);
   HttpRequest request =
   HttpRequest.of(HttpMethod.POST, &quot;&quot;, MediaType.JSON, 
HttpData.wrap(body));
   AggregatedHttpResponse response = 
zipkinApiV2SpansClient.blocking().execute(request);
   try (HttpData content = response.content()) {
   if (!response.status().isSuccess()) {
   if (content.isEmpty()) {
   throw new IOException(&quot;response failed: &quot; + response);
   }
   throw new IOException(&quot;response failed: &quot; + 
content.toStringAscii());
   }
   }
   }</p>
   <p><a href="https://github.com/Override";><code>@​Override</code></a> public 
void close() {
   closeCalled = true;
   }
   &lt;/tr&gt;&lt;/table&gt;
   </code></pre></p>
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/openzipkin/zipkin-reporter-java/commit/9b4489e7c9f12ae0f304910f5487b9669b4ad11e";><code>9b4489e</code></a>
 [maven-release-plugin] prepare release 3.3.0</li>
   <li><a 
href="https://github.com/openzipkin/zipkin-reporter-java/commit/ee69d437b6ad9eca29740f683ef91d704775db0d";><code>ee69d43</code></a>
 Renames HttpSender to BaseHttpSender (<a 
href="https://redirect.github.com/openzipkin/zipkin-reporter-java/issues/256";>#256</a>)</li>
   <li><a 
href="https://github.com/openzipkin/zipkin-reporter-java/commit/9f3a99aa13895a5705198e959c9527db9107772d";><code>9f3a99a</code></a>
 Adds rate limited HTTP endpoint supplier and factory (<a 
href="https://redirect.github.com/openzipkin/zipkin-reporter-java/issues/255";>#255</a>)</li>
   <li><a 
href="https://github.com/openzipkin/zipkin-reporter-java/commit/51bac2ac8c41723ee1bfaf6f3d0540396b2a44fa";><code>51bac2a</code></a>
 Makes constant endpoint an api with implementations available (<a 
href="https://redirect.github.com/openzipkin/zipkin-reporter-java/issues/254";>#254</a>)</li>
   <li><a 
href="https://github.com/openzipkin/zipkin-reporter-java/commit/ec4e01c3f27a9746ec80d8d401249e90bfcd3c15";><code>ec4e01c</code></a>
 Adds HttpSender to aid proper handling of HttpEndpointSupplier (<a 
href="https://redirect.github.com/openzipkin/zipkin-reporter-java/issues/253";>#253</a>)</li>
   <li><a 
href="https://github.com/openzipkin/zipkin-reporter-java/commit/be5082030f796a23c5a735536877f98e1677c3af";><code>be50820</code></a>
 brave: adds PROTO3 encoding (<a 
href="https://redirect.github.com/openzipkin/zipkin-reporter-java/issues/252";>#252</a>)</li>
   <li><a 
href="https://github.com/openzipkin/zipkin-reporter-java/commit/bb3f5b77c85e31a82122120eaed228fe8fc0b1d5";><code>bb3f5b7</code></a>
 Decreases switch statements and deprecates BytesMessageEncoder (<a 
href="https://redirect.github.com/openzipkin/zipkin-reporter-java/issues/250";>#250</a>)</li>
   <li><a 
href="https://github.com/openzipkin/zipkin-reporter-java/commit/b5fbad86b132c3932bcdc89f76a677e520c4e335";><code>b5fbad8</code></a>
 Pulls up ConstantHttpEndpointSupplier (<a 
href="https://redirect.github.com/openzipkin/zipkin-reporter-java/issues/251";>#251</a>)</li>
   <li><a 
href="https://github.com/openzipkin/zipkin-reporter-java/commit/0f03cf6163c98b523ff62d98019bca4a47341843";><code>0f03cf6</code></a>
 Adds HttpEndpointSupplier to allow generic discovery of HTTP endpoints (<a 
href="https://redirect.github.com/openzipkin/zipkin-reporter-java/issues/249";>#249</a>)</li>
   <li><a 
href="https://github.com/openzipkin/zipkin-reporter-java/commit/334499c531e2a03f0cc35cfd0d1ff1e17519af93";><code>334499c</code></a>
 [maven-release-plugin] prepare for next development iteration</li>
   <li>Additional commits viewable in <a 
href="https://github.com/openzipkin/zipkin-reporter-java/compare/2.17.2...3.3.0";>compare
 view</a></li>
   </ul>
   </details>
   <br />
   
   
   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: dev-unsubscr...@cxf.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to