This is an automated email from the ASF dual-hosted git repository.

tsato 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 bfb2fab8e56 camel-ai - Minor doc fixes
bfb2fab8e56 is described below

commit bfb2fab8e561a6d84c655ee082a6997f02c60b55
Author: Tadayoshi Sato <[email protected]>
AuthorDate: Thu Jan 16 18:15:24 2025 +0900

    camel-ai - Minor doc fixes
---
 .../camel/component/tensorflow/serving/tensorflow-serving.json      | 6 +++---
 .../tensorflow/serving/TensorFlowServingConfiguration.java          | 2 +-
 .../component/tensorflow/serving/TensorFlowServingConstants.java    | 2 +-
 .../camel-torchserve/src/main/docs/torchserve-component.adoc        | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git 
a/components/camel-ai/camel-tensorflow-serving/src/generated/resources/META-INF/org/apache/camel/component/tensorflow/serving/tensorflow-serving.json
 
b/components/camel-ai/camel-tensorflow-serving/src/generated/resources/META-INF/org/apache/camel/component/tensorflow/serving/tensorflow-serving.json
index 6481d5fbde5..40aada7b3f6 100644
--- 
a/components/camel-ai/camel-tensorflow-serving/src/generated/resources/META-INF/org/apache/camel/component/tensorflow/serving/tensorflow-serving.json
+++ 
b/components/camel-ai/camel-tensorflow-serving/src/generated/resources/META-INF/org/apache/camel/component/tensorflow/serving/tensorflow-serving.json
@@ -29,13 +29,13 @@
     "modelVersion": { "index": 2, "kind": "property", "displayName": "Model 
Version", "group": "common", "label": "common", "required": false, "type": 
"integer", "javaType": "java.lang.Long", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.tensorflow.serving.TensorFlowServingConfiguration", 
"configurationField": "configuration", "description": "Optional choice of which 
version of the model to use. Use this specific version number." },
     "modelVersionLabel": { "index": 3, "kind": "property", "displayName": 
"Model Version Label", "group": "common", "label": "common", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.tensorflow.serving.TensorFlowServingConfiguration", 
"configurationField": "configuration", "description": "Optional choice of which 
version of the model to use. Use the version ass [...]
     "signatureName": { "index": 4, "kind": "property", "displayName": 
"Signature Name", "group": "common", "label": "common", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.tensorflow.serving.TensorFlowServingConfiguration", 
"configurationField": "configuration", "description": "A named signature to 
evaluate. If unspecified, the default signature will be used." },
-    "target": { "index": 5, "kind": "property", "displayName": "Target", 
"group": "common", "label": "common", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": "localhost:8500", "configurationClass": 
"org.apache.camel.component.tensorflow.serving.TensorFlowServingConfiguration", 
"configurationField": "configuration", "description": "The target URI of the 
client. See: https:\/\/grpc.github.io\/gr [...]
+    "target": { "index": 5, "kind": "property", "displayName": "Target", 
"group": "common", "label": "common", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": "localhost:8500", "configurationClass": 
"org.apache.camel.component.tensorflow.serving.TensorFlowServingConfiguration", 
"configurationField": "configuration", "description": "The target URI of the 
client. See: https:\/\/grpc.github.io\/gr [...]
     "lazyStartProducer": { "index": 6, "kind": "property", "displayName": 
"Lazy Start Producer", "group": "producer", "label": "producer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Whether the producer should be started lazy (on the first message). By 
starting lazy you can use this to allow CamelContext and routes to startup in 
situations where a producer may otherwise fail [...]
     "autowiredEnabled": { "index": 7, "kind": "property", "displayName": 
"Autowired Enabled", "group": "advanced", "label": "advanced", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": true, "description": 
"Whether autowiring is enabled. This is used for automatic autowiring options 
(the option must be marked as autowired) by looking up in the registry to find 
if there is a single instance of matching t [...]
     "credentials": { "index": 8, "kind": "property", "displayName": 
"Credentials", "group": "security", "label": "security", "required": false, 
"type": "object", "javaType": "io.grpc.ChannelCredentials", "deprecated": 
false, "autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.tensorflow.serving.TensorFlowServingConfiguration", 
"configurationField": "configuration", "description": "The credentials of the 
client." }
   },
   "headers": {
-    "CamelTensorFlowServingTarget": { "index": 0, "kind": "header", 
"displayName": "", "group": "producer", "label": "", "required": false, 
"javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "description": "The target of the client. See: 
https:\/\/grpc.github.io\/grpc-java\/javadoc\/io\/grpc\/Grpc.html#newChannelBuilder(java.lang.String,io.grpc.ChannelCredentials)",
 "constantName": "org.apache.camel.component.tensorflow.serving.TensorFl [...]
+    "CamelTensorFlowServingTarget": { "index": 0, "kind": "header", 
"displayName": "", "group": "producer", "label": "", "required": false, 
"javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "description": "The target of the client. See: 
https:\/\/grpc.github.io\/grpc-java\/javadoc\/io\/grpc\/Grpc.html#newChannelBuilder%28java.lang.String,io.grpc.ChannelCredentials%29",
 "constantName": "org.apache.camel.component.tensorflow.serving.Tens [...]
     "CamelTensorFlowServingCredentials": { "index": 1, "kind": "header", 
"displayName": "", "group": "producer", "label": "", "required": false, 
"javaType": "io.grpc.ChannelCredentials", "deprecated": false, 
"deprecationNote": "", "autowired": false, "secret": false, "description": "The 
credentials of the client.", "constantName": 
"org.apache.camel.component.tensorflow.serving.TensorFlowServingConstants#CREDENTIALS"
 },
     "CamelTensorFlowServingModelName": { "index": 2, "kind": "header", 
"displayName": "", "group": "producer", "label": "", "required": false, 
"javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "description": "Required servable name.", 
"constantName": 
"org.apache.camel.component.tensorflow.serving.TensorFlowServingConstants#MODEL_NAME"
 },
     "CamelTensorFlowServingModelVersion": { "index": 3, "kind": "header", 
"displayName": "", "group": "producer", "label": "", "required": false, 
"javaType": "long", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "description": "Optional choice of which version of the 
model to use. Use this specific version number.", "constantName": 
"org.apache.camel.component.tensorflow.serving.TensorFlowServingConstants#MODEL_VERSION"
 },
@@ -48,7 +48,7 @@
     "modelVersion": { "index": 2, "kind": "parameter", "displayName": "Model 
Version", "group": "common", "label": "common", "required": false, "type": 
"integer", "javaType": "java.lang.Long", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.tensorflow.serving.TensorFlowServingConfiguration", 
"configurationField": "configuration", "description": "Optional choice of which 
version of the model to use. Use this specific version number." },
     "modelVersionLabel": { "index": 3, "kind": "parameter", "displayName": 
"Model Version Label", "group": "common", "label": "common", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.tensorflow.serving.TensorFlowServingConfiguration", 
"configurationField": "configuration", "description": "Optional choice of which 
version of the model to use. Use the version as [...]
     "signatureName": { "index": 4, "kind": "parameter", "displayName": 
"Signature Name", "group": "common", "label": "common", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.tensorflow.serving.TensorFlowServingConfiguration", 
"configurationField": "configuration", "description": "A named signature to 
evaluate. If unspecified, the default signature will be used." },
-    "target": { "index": 5, "kind": "parameter", "displayName": "Target", 
"group": "common", "label": "common", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": "localhost:8500", "configurationClass": 
"org.apache.camel.component.tensorflow.serving.TensorFlowServingConfiguration", 
"configurationField": "configuration", "description": "The target URI of the 
client. See: https:\/\/grpc.github.io\/g [...]
+    "target": { "index": 5, "kind": "parameter", "displayName": "Target", 
"group": "common", "label": "common", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": "localhost:8500", "configurationClass": 
"org.apache.camel.component.tensorflow.serving.TensorFlowServingConfiguration", 
"configurationField": "configuration", "description": "The target URI of the 
client. See: https:\/\/grpc.github.io\/g [...]
     "lazyStartProducer": { "index": 6, "kind": "parameter", "displayName": 
"Lazy Start Producer", "group": "producer (advanced)", "label": 
"producer,advanced", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Whether the producer should be started 
lazy (on the first message). By starting lazy you can use this to allow 
CamelContext and routes to startup in situations where a produc [...]
     "credentials": { "index": 7, "kind": "parameter", "displayName": 
"Credentials", "group": "security", "label": "security", "required": false, 
"type": "object", "javaType": "io.grpc.ChannelCredentials", "deprecated": 
false, "autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.tensorflow.serving.TensorFlowServingConfiguration", 
"configurationField": "configuration", "description": "The credentials of the 
client." }
   }
diff --git 
a/components/camel-ai/camel-tensorflow-serving/src/main/java/org/apache/camel/component/tensorflow/serving/TensorFlowServingConfiguration.java
 
b/components/camel-ai/camel-tensorflow-serving/src/main/java/org/apache/camel/component/tensorflow/serving/TensorFlowServingConfiguration.java
index 8aa3e57484c..2eb46cf78d0 100644
--- 
a/components/camel-ai/camel-tensorflow-serving/src/main/java/org/apache/camel/component/tensorflow/serving/TensorFlowServingConfiguration.java
+++ 
b/components/camel-ai/camel-tensorflow-serving/src/main/java/org/apache/camel/component/tensorflow/serving/TensorFlowServingConfiguration.java
@@ -50,7 +50,7 @@ public class TensorFlowServingConfiguration implements 
Cloneable {
 
     /**
      * The target URI of the client. See:
-     * 
https://grpc.github.io/grpc-java/javadoc/io/grpc/Grpc.html#newChannelBuilder(java.lang.String,io.grpc.ChannelCredentials)
+     * 
https://grpc.github.io/grpc-java/javadoc/io/grpc/Grpc.html#newChannelBuilder%28java.lang.String,io.grpc.ChannelCredentials%29
      */
     public void setTarget(String target) {
         this.target = target;
diff --git 
a/components/camel-ai/camel-tensorflow-serving/src/main/java/org/apache/camel/component/tensorflow/serving/TensorFlowServingConstants.java
 
b/components/camel-ai/camel-tensorflow-serving/src/main/java/org/apache/camel/component/tensorflow/serving/TensorFlowServingConstants.java
index 44523d0fdcb..d66d34975f7 100644
--- 
a/components/camel-ai/camel-tensorflow-serving/src/main/java/org/apache/camel/component/tensorflow/serving/TensorFlowServingConstants.java
+++ 
b/components/camel-ai/camel-tensorflow-serving/src/main/java/org/apache/camel/component/tensorflow/serving/TensorFlowServingConstants.java
@@ -23,7 +23,7 @@ import org.apache.camel.spi.Metadata;
  */
 public interface TensorFlowServingConstants {
 
-    @Metadata(description = "The target of the client. See: 
https://grpc.github.io/grpc-java/javadoc/io/grpc/Grpc.html#newChannelBuilder(java.lang.String,io.grpc.ChannelCredentials)",
+    @Metadata(description = "The target of the client. See: 
https://grpc.github.io/grpc-java/javadoc/io/grpc/Grpc.html#newChannelBuilder%28java.lang.String,io.grpc.ChannelCredentials%29";,
               javaType = "String")
     String TARGET = "CamelTensorFlowServingTarget";
 
diff --git 
a/components/camel-ai/camel-torchserve/src/main/docs/torchserve-component.adoc 
b/components/camel-ai/camel-torchserve/src/main/docs/torchserve-component.adoc
index c17be681ff0..a6a50382876 100644
--- 
a/components/camel-ai/camel-torchserve/src/main/docs/torchserve-component.adoc
+++ 
b/components/camel-ai/camel-torchserve/src/main/docs/torchserve-component.adoc
@@ -162,7 +162,7 @@ from("direct:ping")
 ----
 from("file:data/kitten.jpg")
     .to("torchserve:inference/predictions?modelName=squeezenet1_1")
-    .log("Result: ${body}");;
+    .log("Result: ${body}");
 ----
 
 === Management API

Reply via email to