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

   Bumps 
[com.slack.api:slack-api-client](https://github.com/slackapi/java-slack-sdk) 
from 1.40.3 to 1.41.0.
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a 
href="https://github.com/slackapi/java-slack-sdk/releases";>com.slack.api:slack-api-client's
 releases</a>.</em></p>
   <blockquote>
   <h2>version 1.41.0</h2>
   <h1>Announcements</h1>
   <h2>Support for custom steps</h2>
   <p>Bolt for Java now supoports the way to build custom steps in Workflow 
Builder. Here is a quick example demonstrating how it works:</p>
   <pre lang="java"><code>app.function(&quot;sample_function&quot;, (req, ctx) 
-&gt; {
     app.executorService().submit(() -&gt; {
       try {
         var userId = 
req.getEvent().getInputs().get(&quot;user_id&quot;).asString();
         var response = ctx.client().chatPostMessage(r -&gt; r
           .channel(userId) // sending a DM
           .text(&quot;Hi! Thank you for submitting the request! We'll let you 
know once the processing completes.&quot;)
         );
         var outputs = new HashMap&lt;String, Object&gt;();
         outputs.put(&quot;channel_id&quot;, response.getChannel());
         outputs.put(&quot;ts&quot;, response.getTs());
         ctx.complete(outputs);
       } catch (Exception e) {
         ctx.logger.error(e.getMessage(), e);
         try {
           ctx.fail(&quot;Failed to handle 'sample_function' custom step 
execution (error: &quot; + e.getMessage() + &quot;)&quot;);
         } catch (Exception ex) {
           ctx.logger.error(e.getMessage(), e);
         }
       }
     });
     return ctx.ack();
   });
   </code></pre>
   <p>The App Manifest for the custom step would be something like this:</p>
   <pre lang="json"><code>&quot;functions&quot;: {
       &quot;sample_function&quot;: {
           &quot;title&quot;: &quot;Send a request&quot;,
           &quot;description&quot;: &quot;Send some request to the 
backend&quot;,
           &quot;input_parameters&quot;: {
               &quot;user_id&quot;: {
                   &quot;type&quot;: &quot;slack#/types/user_id&quot;,
                   &quot;title&quot;: &quot;User&quot;,
                   &quot;description&quot;: &quot;Who to send it&quot;,
                   &quot;is_required&quot;: true,
                   &quot;hint&quot;: &quot;Select a user in the workspace&quot;,
                   &quot;name&quot;: &quot;user_id&quot;
               }
   &lt;/tr&gt;&lt;/table&gt; 
   </code></pre>
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/slackapi/java-slack-sdk/commit/e3702f382fdf56a2657ac8f91bed5bcf4cbe4375";><code>e3702f3</code></a>
 version 1.41.0</li>
   <li><a 
href="https://github.com/slackapi/java-slack-sdk/commit/bd8e9c4efea442a00bfb3a96d9804ca6e9562769";><code>bd8e9c4</code></a>
 Upgrade http4k version to the latest</li>
   <li><a 
href="https://github.com/slackapi/java-slack-sdk/commit/52d1c769604f08102313a19bb385ec52a0369523";><code>52d1c76</code></a>
 Add custom function support (<a 
href="https://redirect.github.com/slackapi/java-slack-sdk/issues/1241";>#1241</a>)</li>
   <li><a 
href="https://github.com/slackapi/java-slack-sdk/commit/efa3f24d08a2934890104f81818a1eeeb419491d";><code>efa3f24</code></a>
 Fix <a 
href="https://redirect.github.com/slackapi/java-slack-sdk/issues/1343";>#1343</a>
 block_suggestion response does not support description in an option...</li>
   <li><a 
href="https://github.com/slackapi/java-slack-sdk/commit/11a6defd3f36129c986feb92910206fe533b3d7b";><code>11a6def</code></a>
 Run all the integration tests - 2024-08-19 PT</li>
   <li><a 
href="https://github.com/slackapi/java-slack-sdk/commit/0bee2ae69551714195461d11c3c076a3cb0ec8af";><code>0bee2ae</code></a>
 Upgrade http4k and micronaut (<a 
href="https://redirect.github.com/slackapi/java-slack-sdk/issues/1350";>#1350</a>)</li>
   <li><a 
href="https://github.com/slackapi/java-slack-sdk/commit/d4622caa64726eb650db7e6bf0166942aa6e2d52";><code>d4622ca</code></a>
 Fix <a 
href="https://redirect.github.com/slackapi/java-slack-sdk/issues/1345";>#1345</a>
 filename &amp; title getting improperly defaulted in filesUploadV2 (<a 
href="https://redirect.github.com/slackapi/java-slack-sdk/issues/1346";>#1346</a>)</li>
   <li><a 
href="https://github.com/slackapi/java-slack-sdk/commit/7859986b6efc69108bc63f13cb0b319635640fe3";><code>7859986</code></a>
 Run all the integration tests - 2024-08-16 PT</li>
   <li><a 
href="https://github.com/slackapi/java-slack-sdk/commit/71ed00d377ea5a65cc5412e1ca63e782b045d1b2";><code>71ed00d</code></a>
 docs: google analytics tag (<a 
href="https://redirect.github.com/slackapi/java-slack-sdk/issues/1344";>#1344</a>)</li>
   <li><a 
href="https://github.com/slackapi/java-slack-sdk/commit/fdbe39fc7fed3bed2435029cc2c14022e897a3b3";><code>fdbe39f</code></a>
 Docs: adds docusaurus site (<a 
href="https://redirect.github.com/slackapi/java-slack-sdk/issues/1342";>#1342</a>)</li>
   <li>Additional commits viewable in <a 
href="https://github.com/slackapi/java-slack-sdk/compare/v1.40.3...v1.41.0";>compare
 view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.slack.api:slack-api-client&package-manager=maven&previous-version=1.40.3&new-version=1.41.0)](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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to