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 4f04c6b6d19c camel-ibm-watson-discovery: the operation header javaType
is unqualified, so the catalog publishes none of its 7 operations (#30109)
4f04c6b6d19c is described below
commit 4f04c6b6d19c94e66166b6996adf268e4df12c73
Author: dhairya05 <[email protected]>
AuthorDate: Sun Nov 15 23:47:03 2026 +0530
camel-ibm-watson-discovery: the operation header javaType is unqualified,
so the catalog publishes none of its 7 operations (#30109)
---
.../org/apache/camel/catalog/components/ibm-watson-discovery.json | 2 +-
.../camel/component/ibm/watson/discovery/ibm-watson-discovery.json | 2 +-
.../camel/component/ibm/watson/discovery/WatsonDiscoveryConstants.java | 3 ++-
.../builder/endpoint/dsl/WatsonDiscoveryEndpointBuilderFactory.java | 3 ++-
4 files changed, 6 insertions(+), 4 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/ibm-watson-discovery.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/ibm-watson-discovery.json
index 802af015b34d..72b953537b28 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/ibm-watson-discovery.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/ibm-watson-discovery.json
@@ -35,7 +35,7 @@
"apiKey": { "index": 8, "kind": "property", "displayName": "Api Key",
"group": "security", "label": "security", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.ibm.watson.discovery.WatsonDiscoveryConfiguration",
"configurationField": "configuration", "description": "The IBM Cloud API key
for authentication" }
},
"headers": {
- "CamelIBMWatsonDiscoveryOperation": { "index": 0, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "WatsonDiscoveryOperations", "deprecated": false, "autowired":
false, "secret": false, "description": "The operation to perform",
"constantName":
"org.apache.camel.component.ibm.watson.discovery.WatsonDiscoveryConstants#OPERATION"
},
+ "CamelIBMWatsonDiscoveryOperation": { "index": 0, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType":
"org.apache.camel.component.ibm.watson.discovery.WatsonDiscoveryOperations",
"enum": [ "query", "listCollections", "createCollection", "deleteCollection",
"addDocument", "updateDocument", "deleteDocument" ], "deprecated": false,
"autowired": false, "secret": false, "description": "The operation to perform",
"constantName": "org.apache [...]
"CamelIBMWatsonDiscoveryQuery": { "index": 1, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The natural language query to execute", "constantName":
"org.apache.camel.component.ibm.watson.discovery.WatsonDiscoveryConstants#QUERY"
},
"CamelIBMWatsonDiscoveryCount": { "index": 2, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "Integer", "deprecated": false, "autowired": false, "secret":
false, "description": "The number of results to return", "constantName":
"org.apache.camel.component.ibm.watson.discovery.WatsonDiscoveryConstants#COUNT"
},
"CamelIBMWatsonDiscoveryFilter": { "index": 3, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The filter to apply to the query", "constantName":
"org.apache.camel.component.ibm.watson.discovery.WatsonDiscoveryConstants#FILTER"
},
diff --git
a/components/camel-ibm/camel-ibm-watson-discovery/src/generated/resources/META-INF/org/apache/camel/component/ibm/watson/discovery/ibm-watson-discovery.json
b/components/camel-ibm/camel-ibm-watson-discovery/src/generated/resources/META-INF/org/apache/camel/component/ibm/watson/discovery/ibm-watson-discovery.json
index 802af015b34d..72b953537b28 100644
---
a/components/camel-ibm/camel-ibm-watson-discovery/src/generated/resources/META-INF/org/apache/camel/component/ibm/watson/discovery/ibm-watson-discovery.json
+++
b/components/camel-ibm/camel-ibm-watson-discovery/src/generated/resources/META-INF/org/apache/camel/component/ibm/watson/discovery/ibm-watson-discovery.json
@@ -35,7 +35,7 @@
"apiKey": { "index": 8, "kind": "property", "displayName": "Api Key",
"group": "security", "label": "security", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.ibm.watson.discovery.WatsonDiscoveryConfiguration",
"configurationField": "configuration", "description": "The IBM Cloud API key
for authentication" }
},
"headers": {
- "CamelIBMWatsonDiscoveryOperation": { "index": 0, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "WatsonDiscoveryOperations", "deprecated": false, "autowired":
false, "secret": false, "description": "The operation to perform",
"constantName":
"org.apache.camel.component.ibm.watson.discovery.WatsonDiscoveryConstants#OPERATION"
},
+ "CamelIBMWatsonDiscoveryOperation": { "index": 0, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType":
"org.apache.camel.component.ibm.watson.discovery.WatsonDiscoveryOperations",
"enum": [ "query", "listCollections", "createCollection", "deleteCollection",
"addDocument", "updateDocument", "deleteDocument" ], "deprecated": false,
"autowired": false, "secret": false, "description": "The operation to perform",
"constantName": "org.apache [...]
"CamelIBMWatsonDiscoveryQuery": { "index": 1, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The natural language query to execute", "constantName":
"org.apache.camel.component.ibm.watson.discovery.WatsonDiscoveryConstants#QUERY"
},
"CamelIBMWatsonDiscoveryCount": { "index": 2, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "Integer", "deprecated": false, "autowired": false, "secret":
false, "description": "The number of results to return", "constantName":
"org.apache.camel.component.ibm.watson.discovery.WatsonDiscoveryConstants#COUNT"
},
"CamelIBMWatsonDiscoveryFilter": { "index": 3, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The filter to apply to the query", "constantName":
"org.apache.camel.component.ibm.watson.discovery.WatsonDiscoveryConstants#FILTER"
},
diff --git
a/components/camel-ibm/camel-ibm-watson-discovery/src/main/java/org/apache/camel/component/ibm/watson/discovery/WatsonDiscoveryConstants.java
b/components/camel-ibm/camel-ibm-watson-discovery/src/main/java/org/apache/camel/component/ibm/watson/discovery/WatsonDiscoveryConstants.java
index 695b4208f258..746b225b5ea8 100644
---
a/components/camel-ibm/camel-ibm-watson-discovery/src/main/java/org/apache/camel/component/ibm/watson/discovery/WatsonDiscoveryConstants.java
+++
b/components/camel-ibm/camel-ibm-watson-discovery/src/main/java/org/apache/camel/component/ibm/watson/discovery/WatsonDiscoveryConstants.java
@@ -20,7 +20,8 @@ import org.apache.camel.spi.Metadata;
public interface WatsonDiscoveryConstants {
- @Metadata(description = "The operation to perform", javaType =
"WatsonDiscoveryOperations")
+ @Metadata(description = "The operation to perform",
+ javaType =
"org.apache.camel.component.ibm.watson.discovery.WatsonDiscoveryOperations")
String OPERATION = "CamelIBMWatsonDiscoveryOperation";
// Query parameters
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/WatsonDiscoveryEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/WatsonDiscoveryEndpointBuilderFactory.java
index c363ded11f1a..b0aa794f723a 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/WatsonDiscoveryEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/WatsonDiscoveryEndpointBuilderFactory.java
@@ -277,7 +277,8 @@ public interface WatsonDiscoveryEndpointBuilderFactory {
/**
* The operation to perform.
*
- * The option is a: {@code WatsonDiscoveryOperations} type.
+ * The option is a: {@code
+ *
org.apache.camel.component.ibm.watson.discovery.WatsonDiscoveryOperations} type.
*
* Group: producer
*