This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 919988ef4c32 CAMEL-23832: camel-slack - avoid an ellipsis after the
URL in the webhookUrl description (#31083)
919988ef4c32 is described below
commit 919988ef4c322ee25278744dc99fe1ddf9763a4f
Author: Claus Ibsen <[email protected]>
AuthorDate: Sat Nov 28 21:41:41 2026 +0100
CAMEL-23832: camel-slack - avoid an ellipsis after the URL in the
webhookUrl description (#31083)
Asciidoctor replaces "..." with "…​" before it autolinks URLs,
so "https://hooks.slack.com/services/...," rendered as a link to
".../…​" with the final ";" left outside. The broken entity
fails the html-validate check (no-raw-characters) of the website on the
component and Spring Boot starter pages.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
.../resources/org/apache/camel/catalog/components/slack.json | 4 ++--
.../META-INF/org/apache/camel/component/slack/slack.json | 4 ++--
.../java/org/apache/camel/component/slack/SlackComponent.java | 4 ++--
.../main/java/org/apache/camel/component/slack/SlackEndpoint.java | 6 +++---
.../camel/builder/component/dsl/SlackComponentBuilderFactory.java | 8 ++++----
.../camel/builder/endpoint/dsl/SlackEndpointBuilderFactory.java | 7 +++----
6 files changed, 16 insertions(+), 17 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/slack.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/slack.json
index 5c13b83230be..0878dbb4623a 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/slack.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/slack.json
@@ -30,7 +30,7 @@
"healthCheckConsumerEnabled": { "index": 3, "kind": "property",
"displayName": "Health Check Consumer Enabled", "group": "health", "label":
"health", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Used for enabling or disabling all consumer based health checks
from this component" },
"healthCheckProducerEnabled": { "index": 4, "kind": "property",
"displayName": "Health Check Producer Enabled", "group": "health", "label":
"health", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Used for enabling or disabling all producer based health checks
from this component. Notice: Camel has by default disabled all producer based
health-checks. You can turn on producer [...]
"token": { "index": 5, "kind": "property", "displayName": "Token",
"group": "security", "label": "token,security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "description": "The OAuth token of a Slack app, a bot
token (xoxb-) or a user token (xoxp-), that endpoints use unless they set their
own token. The producer needs the chat:write scope, the consumer the history
and read scopes of its conversationT [...]
- "webhookUrl": { "index": 6, "kind": "property", "displayName": "Webhook
Url", "group": "security", "label": "webhook,security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": true, "description": "The URL of a Slack incoming
webhook, such as https:\/\/hooks.slack.com\/services\/..., that the producers
post the message to as JSON. Endpoints use it unless they set their own
webhookUrl, and only when no token is set." }
+ "webhookUrl": { "index": 6, "kind": "property", "displayName": "Webhook
Url", "group": "security", "label": "webhook,security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": true, "description": "The URL of a Slack incoming
webhook that the producers post the message to as JSON. It starts with
https:\/\/hooks.slack.com\/services\/. Endpoints use it unless they set their
own webhookUrl, and only when no token is [...]
},
"bodyTypes": {
"consumerOut": { "carriers": [ "pojo" ], "javaType":
"com.slack.api.model.Message", "description": "One message per new message of
the conversation, the most recent first, or the oldest first with naturalOrder;
the first poll gives the last message of the history. The text is ${body.text}"
},
@@ -68,7 +68,7 @@
"startScheduler": { "index": 27, "kind": "parameter", "displayName":
"Start Scheduler", "group": "scheduler", "label": "consumer,scheduler",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Whether the scheduler should be auto started." },
"timeUnit": { "index": 28, "kind": "parameter", "displayName": "Time
Unit", "group": "scheduler", "label": "consumer,scheduler", "required": false,
"type": "enum", "javaType": "java.util.concurrent.TimeUnit", "enum": [
"NANOSECONDS", "MICROSECONDS", "MILLISECONDS", "SECONDS", "MINUTES", "HOURS",
"DAYS" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "MILLISECONDS", "description": "Time unit for initialDelay and
delay options." },
"useFixedDelay": { "index": 29, "kind": "parameter", "displayName": "Use
Fixed Delay", "group": "scheduler", "label": "consumer,scheduler", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in
JDK for details." },
- "webhookUrl": { "index": 30, "kind": "parameter", "displayName": "Webhook
Url", "group": "security", "label": "producer,security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": true, "security": "secret", "description": "The
URL of a Slack incoming webhook, such as
https:\/\/hooks.slack.com\/services\/..., that the producer posts the message
to as JSON. It is used only when no token is set. The consumer does no [...]
+ "webhookUrl": { "index": 30, "kind": "parameter", "displayName": "Webhook
Url", "group": "security", "label": "producer,security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": true, "security": "secret", "description": "The
URL of a Slack incoming webhook that the producer posts the message to as JSON.
It starts with https:\/\/hooks.slack.com\/services\/. It is used only when no
token is set. The consumer does [...]
},
"dstWorlds": {
"SlackWorld": { "javaType":
"org.apache.camel.component.slack.dst.SlackWorld", "fake": "a fake Slack Web
API (conversations.history) returned by a mocked Slack.getInstance", "covers":
[ "the polling consumer with maxResults and naturalOrder", "the pages of
conversations.history (oldest and cursor)", "route suspend and resume while a
batch is routed" ], "faults": [ "the first page of conversations.history
answers ratelimited", "conversations.history answers slowly", "the route is
susp [...]
diff --git
a/components/camel-slack/src/generated/resources/META-INF/org/apache/camel/component/slack/slack.json
b/components/camel-slack/src/generated/resources/META-INF/org/apache/camel/component/slack/slack.json
index 5c13b83230be..0878dbb4623a 100644
---
a/components/camel-slack/src/generated/resources/META-INF/org/apache/camel/component/slack/slack.json
+++
b/components/camel-slack/src/generated/resources/META-INF/org/apache/camel/component/slack/slack.json
@@ -30,7 +30,7 @@
"healthCheckConsumerEnabled": { "index": 3, "kind": "property",
"displayName": "Health Check Consumer Enabled", "group": "health", "label":
"health", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Used for enabling or disabling all consumer based health checks
from this component" },
"healthCheckProducerEnabled": { "index": 4, "kind": "property",
"displayName": "Health Check Producer Enabled", "group": "health", "label":
"health", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Used for enabling or disabling all producer based health checks
from this component. Notice: Camel has by default disabled all producer based
health-checks. You can turn on producer [...]
"token": { "index": 5, "kind": "property", "displayName": "Token",
"group": "security", "label": "token,security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "description": "The OAuth token of a Slack app, a bot
token (xoxb-) or a user token (xoxp-), that endpoints use unless they set their
own token. The producer needs the chat:write scope, the consumer the history
and read scopes of its conversationT [...]
- "webhookUrl": { "index": 6, "kind": "property", "displayName": "Webhook
Url", "group": "security", "label": "webhook,security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": true, "description": "The URL of a Slack incoming
webhook, such as https:\/\/hooks.slack.com\/services\/..., that the producers
post the message to as JSON. Endpoints use it unless they set their own
webhookUrl, and only when no token is set." }
+ "webhookUrl": { "index": 6, "kind": "property", "displayName": "Webhook
Url", "group": "security", "label": "webhook,security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": true, "description": "The URL of a Slack incoming
webhook that the producers post the message to as JSON. It starts with
https:\/\/hooks.slack.com\/services\/. Endpoints use it unless they set their
own webhookUrl, and only when no token is [...]
},
"bodyTypes": {
"consumerOut": { "carriers": [ "pojo" ], "javaType":
"com.slack.api.model.Message", "description": "One message per new message of
the conversation, the most recent first, or the oldest first with naturalOrder;
the first poll gives the last message of the history. The text is ${body.text}"
},
@@ -68,7 +68,7 @@
"startScheduler": { "index": 27, "kind": "parameter", "displayName":
"Start Scheduler", "group": "scheduler", "label": "consumer,scheduler",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Whether the scheduler should be auto started." },
"timeUnit": { "index": 28, "kind": "parameter", "displayName": "Time
Unit", "group": "scheduler", "label": "consumer,scheduler", "required": false,
"type": "enum", "javaType": "java.util.concurrent.TimeUnit", "enum": [
"NANOSECONDS", "MICROSECONDS", "MILLISECONDS", "SECONDS", "MINUTES", "HOURS",
"DAYS" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "MILLISECONDS", "description": "Time unit for initialDelay and
delay options." },
"useFixedDelay": { "index": 29, "kind": "parameter", "displayName": "Use
Fixed Delay", "group": "scheduler", "label": "consumer,scheduler", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in
JDK for details." },
- "webhookUrl": { "index": 30, "kind": "parameter", "displayName": "Webhook
Url", "group": "security", "label": "producer,security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": true, "security": "secret", "description": "The
URL of a Slack incoming webhook, such as
https:\/\/hooks.slack.com\/services\/..., that the producer posts the message
to as JSON. It is used only when no token is set. The consumer does no [...]
+ "webhookUrl": { "index": 30, "kind": "parameter", "displayName": "Webhook
Url", "group": "security", "label": "producer,security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": true, "security": "secret", "description": "The
URL of a Slack incoming webhook that the producer posts the message to as JSON.
It starts with https:\/\/hooks.slack.com\/services\/. It is used only when no
token is set. The consumer does [...]
},
"dstWorlds": {
"SlackWorld": { "javaType":
"org.apache.camel.component.slack.dst.SlackWorld", "fake": "a fake Slack Web
API (conversations.history) returned by a mocked Slack.getInstance", "covers":
[ "the polling consumer with maxResults and naturalOrder", "the pages of
conversations.history (oldest and cursor)", "route suspend and resume while a
batch is routed" ], "faults": [ "the first page of conversations.history
answers ratelimited", "conversations.history answers slowly", "the route is
susp [...]
diff --git
a/components/camel-slack/src/main/java/org/apache/camel/component/slack/SlackComponent.java
b/components/camel-slack/src/main/java/org/apache/camel/component/slack/SlackComponent.java
index a750c5dade3a..dc3d56aeed34 100644
---
a/components/camel-slack/src/main/java/org/apache/camel/component/slack/SlackComponent.java
+++
b/components/camel-slack/src/main/java/org/apache/camel/component/slack/SlackComponent.java
@@ -28,8 +28,8 @@ import org.apache.camel.support.HealthCheckComponent;
public class SlackComponent extends HealthCheckComponent {
@Metadata(label = "webhook,security", secret = true,
- description = "The URL of a Slack incoming webhook, such as
https://hooks.slack.com/services/..., that the"
- + " producers post the message to as JSON.
Endpoints use it unless they set their own"
+ description = "The URL of a Slack incoming webhook that the
producers post the message to as JSON. It"
+ + " starts with https://hooks.slack.com/services/.
Endpoints use it unless they set their own"
+ " webhookUrl, and only when no token is set.")
private String webhookUrl;
diff --git
a/components/camel-slack/src/main/java/org/apache/camel/component/slack/SlackEndpoint.java
b/components/camel-slack/src/main/java/org/apache/camel/component/slack/SlackEndpoint.java
index 9f71557b7936..66f31449ca15 100644
---
a/components/camel-slack/src/main/java/org/apache/camel/component/slack/SlackEndpoint.java
+++
b/components/camel-slack/src/main/java/org/apache/camel/component/slack/SlackEndpoint.java
@@ -62,9 +62,9 @@ public class SlackEndpoint extends ScheduledPollEndpoint {
@Metadata(required = true)
private String channel;
@UriParam(label = "producer,security", secret = true,
- description = "The URL of a Slack incoming webhook, such as
https://hooks.slack.com/services/..., that the"
- + " producer posts the message to as JSON. It is
used only when no token is set. The consumer"
- + " does not use it.")
+ description = "The URL of a Slack incoming webhook that the
producer posts the message to as JSON. It"
+ + " starts with https://hooks.slack.com/services/.
It is used only when no token is set. The"
+ + " consumer does not use it.")
private String webhookUrl;
@UriParam(label = "producer", security = "secret",
description = "The name shown as the author of the messages that
the producer sends. Slack applies it only"
diff --git
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/SlackComponentBuilderFactory.java
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/SlackComponentBuilderFactory.java
index b0938a4eacf5..ebfdf9dd3646 100644
---
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/SlackComponentBuilderFactory.java
+++
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/SlackComponentBuilderFactory.java
@@ -185,10 +185,10 @@ public interface SlackComponentBuilderFactory {
}
/**
- * The URL of a Slack incoming webhook, such as
- * https://hooks.slack.com/services/..., that the producers post the
- * message to as JSON. Endpoints use it unless they set their own
- * webhookUrl, and only when no token is set.
+ * The URL of a Slack incoming webhook that the producers post the
+ * message to as JSON. It starts with
https://hooks.slack.com/services/.
+ * Endpoints use it unless they set their own webhookUrl, and only when
+ * no token is set.
*
* The option is a: <code>java.lang.String</code> type.
*
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SlackEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SlackEndpointBuilderFactory.java
index 1960df2aa229..a2717eb08598 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SlackEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SlackEndpointBuilderFactory.java
@@ -946,10 +946,9 @@ public interface SlackEndpointBuilderFactory {
return this;
}
/**
- * The URL of a Slack incoming webhook, such as
- * https://hooks.slack.com/services/..., that the producer posts the
- * message to as JSON. It is used only when no token is set. The
- * consumer does not use it.
+ * The URL of a Slack incoming webhook that the producer posts the
+ * message to as JSON. It starts with
https://hooks.slack.com/services/.
+ * It is used only when no token is set. The consumer does not use it.
*
* The option is a: <code>java.lang.String</code> type.
*