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 aebd0b6 CAMEL-16674: Regen
aebd0b6 is described below
commit aebd0b65930acfec69991bafb2bdca832f2adbd6
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Jun 9 16:00:37 2021 +0200
CAMEL-16674: Regen
---
bom/camel-bom/pom.xml | 2 +-
camel-dependencies/pom.xml | 2 +-
.../org/apache/camel/catalog/components.properties | 1 +
.../catalog/components/hwcloud-functiongraph.json | 45 +++
.../org/apache/camel/catalog/docs.properties | 1 +
.../docs/hwcloud-functiongraph-component.adoc | 19 +-
.../services/org/apache/camel/component.properties | 7 +
.../apache/camel/component/hwcloud-functiongraph | 2 +
.../main/docs/hwcloud-functiongraph-component.adoc | 19 +-
core/camel-allcomponents/pom.xml | 4 +
.../component/ComponentsBuilderFactory.java | 13 +
...wcloudFunctiongraphComponentBuilderFactory.java | 121 +++++++
.../src/generated/resources/metadata.json | 22 ++
.../builder/endpoint/EndpointBuilderFactory.java | 1 +
.../camel/builder/endpoint/EndpointBuilders.java | 1 +
.../builder/endpoint/StaticEndpointBuilders.java | 43 +++
.../dsl/FunctionGraphEndpointBuilderFactory.java | 383 +++++++++++++++++++++
.../org/apache/camel/main/components.properties | 1 +
docs/components/modules/ROOT/nav.adoc | 1 +
.../pages}/hwcloud-functiongraph-component.adoc | 21 +-
20 files changed, 683 insertions(+), 26 deletions(-)
diff --git a/bom/camel-bom/pom.xml b/bom/camel-bom/pom.xml
index b3979a3..fd59afc 100644
--- a/bom/camel-bom/pom.xml
+++ b/bom/camel-bom/pom.xml
@@ -902,7 +902,7 @@
<artifactId>camel-http-common</artifactId>
<version>${project.version}</version>
</dependency>
- <dependency>
+ <dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-huaweicloud-functiongraph</artifactId>
<version>${project.version}</version>
diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml
index 201f972..77d5dc3 100644
--- a/camel-dependencies/pom.xml
+++ b/camel-dependencies/pom.xml
@@ -266,7 +266,7 @@
<httpclient4-version>4.5.13</httpclient4-version>
<httpcore4-version>4.4.14</httpcore4-version>
<httpunit-version>1.7</httpunit-version>
- <huaweicloud-sdk-version>3.0.43-rc</huaweicloud-sdk-version>
+ <huaweicloud-sdk-version>3.0.32-rc</huaweicloud-sdk-version>
<hystrix-version>1.5.18</hystrix-version>
<ical4j-version>1.0.7</ical4j-version>
<icu4j-version>69.1</icu4j-version>
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties
index bf09c73..16498aa 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties
@@ -145,6 +145,7 @@ hbase
hdfs
http
https
+hwcloud-functiongraph
hwcloud-smn
iec60870-client
iec60870-server
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/hwcloud-functiongraph.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/hwcloud-functiongraph.json
new file mode 100644
index 0000000..1bf3bc8
--- /dev/null
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/hwcloud-functiongraph.json
@@ -0,0 +1,45 @@
+{
+ "component": {
+ "kind": "component",
+ "name": "hwcloud-functiongraph",
+ "title": "FunctionGraph",
+ "description": "Huawei Cloud component to integrate with FunctionGraph
services",
+ "deprecated": false,
+ "firstVersion": "3.11.0",
+ "label": "cloud,serverless",
+ "javaType": "org.apache.camel.FunctionGraphComponent",
+ "supportLevel": "Preview",
+ "groupId": "org.apache.camel",
+ "artifactId": "camel-huaweicloud-functiongraph",
+ "version": "3.11.0-SNAPSHOT",
+ "scheme": "hwcloud-functiongraph",
+ "extendsScheme": "",
+ "syntax": "hwcloud-functiongraph:operation",
+ "async": false,
+ "api": false,
+ "consumerOnly": false,
+ "producerOnly": true,
+ "lenientProperties": false
+ },
+ "componentProperties": {
+ "lazyStartProducer": { "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 during star [...]
+ "autowiredEnabled": { "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 type, which t [...]
+ },
+ "properties": {
+ "operation": { "kind": "path", "displayName": "Operation", "group":
"producer", "label": "producer", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "description": "Operation to be performed"
},
+ "authenticationKey": { "kind": "parameter", "displayName": "API
authentication key (AK)", "group": "producer", "label": "", "required": true,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": true, "description":
"Authentication key for the cloud user" },
+ "endpoint": { "kind": "parameter", "displayName": "Service endpoint",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "description": "FunctionGraph url. Carries
higher precedence than region parameter based client initialization" },
+ "functionName": { "kind": "parameter", "displayName": "Function name",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "description": "Name of the function to
invoke" },
+ "functionPackage": { "kind": "parameter", "displayName": "Function
package", "group": "producer", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "description":
"Functions that can be logically grouped together" },
+ "ignoreSslVerification": { "kind": "parameter", "displayName": "SSL
Verification Ignored", "group": "producer", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "defaultValue":
false, "description": "Ignore SSL verification" },
+ "lazyStartProducer": { "kind": "parameter", "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 during sta [...]
+ "projectId": { "kind": "parameter", "displayName": "Project ID", "group":
"producer", "label": "", "required": true, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "Cloud project ID" },
+ "proxyHost": { "kind": "parameter", "displayName": "Proxy server host",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "description": "Proxy server ip\/hostname"
},
+ "proxyPassword": { "kind": "parameter", "displayName": "Proxy password",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": true, "description": "Proxy authentication
password" },
+ "proxyPort": { "kind": "parameter", "displayName": "Proxy server port",
"group": "producer", "label": "", "required": false, "type": "integer",
"javaType": "int", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "Proxy server port" },
+ "proxyUser": { "kind": "parameter", "displayName": "Proxy user", "group":
"producer", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": true, "description": "Proxy authentication user" },
+ "region": { "kind": "parameter", "displayName": "Service region", "group":
"producer", "label": "", "required": true, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "FunctionGraph service region. This is
lower precedence than endpoint based configuration" },
+ "secretKey": { "kind": "parameter", "displayName": "API secret key (SK)",
"group": "producer", "label": "", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": true, "description": "Secret key for the cloud
user" },
+ "serviceKeys": { "kind": "parameter", "displayName": "Service
Configuration", "group": "producer", "label": "", "required": false, "type":
"object", "javaType": "org.apache.camel.models.ServiceKeys", "deprecated":
false, "deprecationNote": "", "autowired": false, "secret": true,
"description": "Configuration object for cloud service authentication" }
+ }
+}
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs.properties
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs.properties
index 54513e3..ff81928 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs.properties
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs.properties
@@ -208,6 +208,7 @@ headersmap
hl7-dataformat
hl7terser-language
http-component
+hwcloud-functiongraph-component
hwcloud-smn-component
hystrix
hystrix-eip
diff --git
a/components/camel-huaweicloud-functiongraph/src/main/docs/hwcloud-functiongraph-component.adoc
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/hwcloud-functiongraph-component.adoc
similarity index 93%
copy from
components/camel-huaweicloud-functiongraph/src/main/docs/hwcloud-functiongraph-component.adoc
copy to
catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/hwcloud-functiongraph-component.adoc
index 8b9a5df..b85d198 100644
---
a/components/camel-huaweicloud-functiongraph/src/main/docs/hwcloud-functiongraph-component.adoc
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/hwcloud-functiongraph-component.adoc
@@ -3,8 +3,8 @@
:docTitle: FunctionGraph
:artifactId: camel-huaweicloud-functiongraph
:description: Huawei Cloud component to integrate with FunctionGraph services
-:since: 3.11.0-SNAPSHOT
-:supportLevel: Stable
+:since: 3.11
+:supportLevel: Preview
:component-header: Only producer is supported
include::{cq-version}@camel-quarkus:ROOT:partial$reference/components/hwcloud-functiongraph.adoc[opts=optional]
@@ -38,13 +38,14 @@ hwcloud-functiongraph:operation[?options]
// component options: START
The FunctionGraph component supports 2 options, which are listed below.
+
+
[width="100%",cols="2,5,^1,2",options="header"]
|===
| Name | Description | Default | Type
| *lazyStartProducer* (producer) | 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 during
starting and cause the route to fail being started. By deferring this startup
to be lazy then the startup failure can be handled during routing messages via
Camel's routing error handlers. Beware that when the first message is processed
then creating and [...]
| *autowiredEnabled* (advanced) | 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
type, which then gets configured on the component. This can be used for
automatic configuring JDBC data sources, JMS connection factories, AWS Clients,
etc. | true | boolean
|===
-
// component options: END
@@ -59,22 +60,24 @@ with the following path and query parameters:
=== Path Parameters (1 parameters):
+
[width="100%",cols="2,5,^1,2",options="header"]
|===
| Name | Description | Default | Type
-| *operation* | *Required* Name of the FunctionGraph operation to invoke. | |
String
+| *operation* | *Required* Operation to be performed | | String
|===
=== Query Parameters (14 parameters):
+
[width="100%",cols="2,5,^1,2",options="header"]
|===
| Name | Description | Default | Type
| *authenticationKey* (producer) | *Required* Authentication key for the cloud
user | | String
-| *endpoint* (producer) | Fully qualified FunctionGraph service url. Carries
higher precedence than region parameter based client initialization. Required
if region is not given | | String
-| *functionName* (producer) | *Required* Name of the function to invoke the
operation on | | String
-| *functionPackage* (producer) | Name of the function package | | String
+| *endpoint* (producer) | FunctionGraph url. Carries higher precedence than
region parameter based client initialization | | String
+| *functionName* (producer) | Name of the function to invoke | | String
+| *functionPackage* (producer) | Functions that can be logically grouped
together | | String
| *ignoreSslVerification* (producer) | Ignore SSL verification | false |
boolean
| *lazyStartProducer* (producer) | 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 during
starting and cause the route to fail being started. By deferring this startup
to be lazy then the startup failure can be handled during routing messages via
Camel's routing error handlers. Beware that when the first message is processed
then creating and [...]
| *projectId* (producer) | *Required* Cloud project ID | | String
@@ -144,4 +147,4 @@ from("direct:triggerRoute")
.setProperty(FunctionGraphProperties.FUNCTION_NAME
,constant("your_function_name"))
.setProperty(FunctionGraphProperties.FUNCTION_PACKAGE,
constant("your_function_package"))
.to("hwcloud-functiongraph:invokeFunction?projectId=9071a38e7f6a4ba7b7bcbeb7d4ea6efc®ion=cn-north-4&serviceKeys=#myServiceKeyConfig")
---------------------------------------------------------------------------------
\ No newline at end of file
+--------------------------------------------------------------------------------
diff --git
a/components/camel-huaweicloud-functiongraph/src/generated/resources/META-INF/services/org/apache/camel/component.properties
b/components/camel-huaweicloud-functiongraph/src/generated/resources/META-INF/services/org/apache/camel/component.properties
new file mode 100644
index 0000000..46dd860
--- /dev/null
+++
b/components/camel-huaweicloud-functiongraph/src/generated/resources/META-INF/services/org/apache/camel/component.properties
@@ -0,0 +1,7 @@
+# Generated by camel build tools - do NOT edit this file!
+components=hwcloud-functiongraph
+groupId=org.apache.camel
+artifactId=camel-huaweicloud-functiongraph
+version=3.11.0-SNAPSHOT
+projectName=Camel :: Huawei Cloud FunctionGraph Component
+projectDescription=A Camel Huawei Cloud FunctionGraph Component
diff --git
a/components/camel-huaweicloud-functiongraph/src/generated/resources/META-INF/services/org/apache/camel/component/hwcloud-functiongraph
b/components/camel-huaweicloud-functiongraph/src/generated/resources/META-INF/services/org/apache/camel/component/hwcloud-functiongraph
new file mode 100644
index 0000000..a6f0edf
--- /dev/null
+++
b/components/camel-huaweicloud-functiongraph/src/generated/resources/META-INF/services/org/apache/camel/component/hwcloud-functiongraph
@@ -0,0 +1,2 @@
+# Generated by camel build tools - do NOT edit this file!
+class=org.apache.camel.FunctionGraphComponent
diff --git
a/components/camel-huaweicloud-functiongraph/src/main/docs/hwcloud-functiongraph-component.adoc
b/components/camel-huaweicloud-functiongraph/src/main/docs/hwcloud-functiongraph-component.adoc
index 8b9a5df..b85d198 100644
---
a/components/camel-huaweicloud-functiongraph/src/main/docs/hwcloud-functiongraph-component.adoc
+++
b/components/camel-huaweicloud-functiongraph/src/main/docs/hwcloud-functiongraph-component.adoc
@@ -3,8 +3,8 @@
:docTitle: FunctionGraph
:artifactId: camel-huaweicloud-functiongraph
:description: Huawei Cloud component to integrate with FunctionGraph services
-:since: 3.11.0-SNAPSHOT
-:supportLevel: Stable
+:since: 3.11
+:supportLevel: Preview
:component-header: Only producer is supported
include::{cq-version}@camel-quarkus:ROOT:partial$reference/components/hwcloud-functiongraph.adoc[opts=optional]
@@ -38,13 +38,14 @@ hwcloud-functiongraph:operation[?options]
// component options: START
The FunctionGraph component supports 2 options, which are listed below.
+
+
[width="100%",cols="2,5,^1,2",options="header"]
|===
| Name | Description | Default | Type
| *lazyStartProducer* (producer) | 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 during
starting and cause the route to fail being started. By deferring this startup
to be lazy then the startup failure can be handled during routing messages via
Camel's routing error handlers. Beware that when the first message is processed
then creating and [...]
| *autowiredEnabled* (advanced) | 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
type, which then gets configured on the component. This can be used for
automatic configuring JDBC data sources, JMS connection factories, AWS Clients,
etc. | true | boolean
|===
-
// component options: END
@@ -59,22 +60,24 @@ with the following path and query parameters:
=== Path Parameters (1 parameters):
+
[width="100%",cols="2,5,^1,2",options="header"]
|===
| Name | Description | Default | Type
-| *operation* | *Required* Name of the FunctionGraph operation to invoke. | |
String
+| *operation* | *Required* Operation to be performed | | String
|===
=== Query Parameters (14 parameters):
+
[width="100%",cols="2,5,^1,2",options="header"]
|===
| Name | Description | Default | Type
| *authenticationKey* (producer) | *Required* Authentication key for the cloud
user | | String
-| *endpoint* (producer) | Fully qualified FunctionGraph service url. Carries
higher precedence than region parameter based client initialization. Required
if region is not given | | String
-| *functionName* (producer) | *Required* Name of the function to invoke the
operation on | | String
-| *functionPackage* (producer) | Name of the function package | | String
+| *endpoint* (producer) | FunctionGraph url. Carries higher precedence than
region parameter based client initialization | | String
+| *functionName* (producer) | Name of the function to invoke | | String
+| *functionPackage* (producer) | Functions that can be logically grouped
together | | String
| *ignoreSslVerification* (producer) | Ignore SSL verification | false |
boolean
| *lazyStartProducer* (producer) | 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 during
starting and cause the route to fail being started. By deferring this startup
to be lazy then the startup failure can be handled during routing messages via
Camel's routing error handlers. Beware that when the first message is processed
then creating and [...]
| *projectId* (producer) | *Required* Cloud project ID | | String
@@ -144,4 +147,4 @@ from("direct:triggerRoute")
.setProperty(FunctionGraphProperties.FUNCTION_NAME
,constant("your_function_name"))
.setProperty(FunctionGraphProperties.FUNCTION_PACKAGE,
constant("your_function_package"))
.to("hwcloud-functiongraph:invokeFunction?projectId=9071a38e7f6a4ba7b7bcbeb7d4ea6efc®ion=cn-north-4&serviceKeys=#myServiceKeyConfig")
---------------------------------------------------------------------------------
\ No newline at end of file
+--------------------------------------------------------------------------------
diff --git a/core/camel-allcomponents/pom.xml b/core/camel-allcomponents/pom.xml
index b87d1c5..9bed219 100644
--- a/core/camel-allcomponents/pom.xml
+++ b/core/camel-allcomponents/pom.xml
@@ -603,6 +603,10 @@
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
+ <artifactId>camel-huaweicloud-functiongraph</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
<artifactId>camel-huaweicloud-smn</artifactId>
</dependency>
<dependency>
diff --git
a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
index b6ed659..6628499 100644
---
a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
+++
b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
@@ -1994,6 +1994,19 @@ public interface ComponentsBuilderFactory {
return
org.apache.camel.builder.component.dsl.HttpsComponentBuilderFactory.https();
}
/**
+ * FunctionGraph (camel-huaweicloud-functiongraph)
+ * Huawei Cloud component to integrate with FunctionGraph services
+ *
+ * Category: cloud,serverless
+ * Since: 3.11
+ * Maven coordinates: org.apache.camel:camel-huaweicloud-functiongraph
+ *
+ * @return the dsl builder
+ */
+ static
org.apache.camel.builder.component.dsl.HwcloudFunctiongraphComponentBuilderFactory.HwcloudFunctiongraphComponentBuilder
hwcloudFunctiongraph() {
+ return
org.apache.camel.builder.component.dsl.HwcloudFunctiongraphComponentBuilderFactory.hwcloudFunctiongraph();
+ }
+ /**
* SimpleNotification (camel-huaweicloud-smn)
* Huawei Cloud component to integrate with SimpleNotification services
*
diff --git
a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/HwcloudFunctiongraphComponentBuilderFactory.java
b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/HwcloudFunctiongraphComponentBuilderFactory.java
new file mode 100644
index 0000000..f7c2e8e
--- /dev/null
+++
b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/HwcloudFunctiongraphComponentBuilderFactory.java
@@ -0,0 +1,121 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.builder.component.dsl;
+
+import javax.annotation.Generated;
+import org.apache.camel.Component;
+import org.apache.camel.FunctionGraphComponent;
+import org.apache.camel.builder.component.AbstractComponentBuilder;
+import org.apache.camel.builder.component.ComponentBuilder;
+
+/**
+ * Huawei Cloud component to integrate with FunctionGraph services
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Generated("org.apache.camel.maven.packaging.ComponentDslMojo")
+public interface HwcloudFunctiongraphComponentBuilderFactory {
+
+ /**
+ * FunctionGraph (camel-huaweicloud-functiongraph)
+ * Huawei Cloud component to integrate with FunctionGraph services
+ *
+ * Category: cloud,serverless
+ * Since: 3.11
+ * Maven coordinates: org.apache.camel:camel-huaweicloud-functiongraph
+ *
+ * @return the dsl builder
+ */
+ static HwcloudFunctiongraphComponentBuilder hwcloudFunctiongraph() {
+ return new HwcloudFunctiongraphComponentBuilderImpl();
+ }
+
+ /**
+ * Builder for the FunctionGraph component.
+ */
+ interface HwcloudFunctiongraphComponentBuilder
+ extends
+ ComponentBuilder<FunctionGraphComponent> {
+ /**
+ * 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 during
+ * starting and cause the route to fail being started. By deferring
this
+ * startup to be lazy then the startup failure can be handled during
+ * routing messages via Camel's routing error handlers. Beware that
when
+ * the first message is processed then creating and starting the
+ * producer may take a little time and prolong the total processing
time
+ * of the processing.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: producer
+ *
+ * @param lazyStartProducer the value to set
+ * @return the dsl builder
+ */
+ default HwcloudFunctiongraphComponentBuilder lazyStartProducer(
+ boolean lazyStartProducer) {
+ doSetProperty("lazyStartProducer", lazyStartProducer);
+ return this;
+ }
+ /**
+ * 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 type,
+ * which then gets configured on the component. This can be used for
+ * automatic configuring JDBC data sources, JMS connection factories,
+ * AWS Clients, etc.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: true
+ * Group: advanced
+ *
+ * @param autowiredEnabled the value to set
+ * @return the dsl builder
+ */
+ default HwcloudFunctiongraphComponentBuilder autowiredEnabled(
+ boolean autowiredEnabled) {
+ doSetProperty("autowiredEnabled", autowiredEnabled);
+ return this;
+ }
+ }
+
+ class HwcloudFunctiongraphComponentBuilderImpl
+ extends
+ AbstractComponentBuilder<FunctionGraphComponent>
+ implements
+ HwcloudFunctiongraphComponentBuilder {
+ @Override
+ protected FunctionGraphComponent buildConcreteComponent() {
+ return new FunctionGraphComponent();
+ }
+ @Override
+ protected boolean setPropertyOnComponent(
+ Component component,
+ String name,
+ Object value) {
+ switch (name) {
+ case "lazyStartProducer": ((FunctionGraphComponent)
component).setLazyStartProducer((boolean) value); return true;
+ case "autowiredEnabled": ((FunctionGraphComponent)
component).setAutowiredEnabled((boolean) value); return true;
+ default: return false;
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/core/camel-componentdsl/src/generated/resources/metadata.json
b/core/camel-componentdsl/src/generated/resources/metadata.json
index cc23e70..c8f62fd 100644
--- a/core/camel-componentdsl/src/generated/resources/metadata.json
+++ b/core/camel-componentdsl/src/generated/resources/metadata.json
@@ -3260,6 +3260,28 @@
"producerOnly": true,
"lenientProperties": true
},
+ "HwcloudFunctiongraphComponentBuilderFactory": {
+ "kind": "component",
+ "name": "hwcloud-functiongraph",
+ "title": "FunctionGraph",
+ "description": "Huawei Cloud component to integrate with FunctionGraph
services",
+ "deprecated": false,
+ "firstVersion": "3.11.0",
+ "label": "cloud,serverless",
+ "javaType": "org.apache.camel.FunctionGraphComponent",
+ "supportLevel": "Preview",
+ "groupId": "org.apache.camel",
+ "artifactId": "camel-huaweicloud-functiongraph",
+ "version": "3.11.0-SNAPSHOT",
+ "scheme": "hwcloud-functiongraph",
+ "extendsScheme": "",
+ "syntax": "hwcloud-functiongraph:operation",
+ "async": false,
+ "api": false,
+ "consumerOnly": false,
+ "producerOnly": true,
+ "lenientProperties": false
+ },
"HwcloudSmnComponentBuilderFactory": {
"kind": "component",
"name": "hwcloud-smn",
diff --git
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java
index 66bd503..9ff04f2 100644
---
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java
+++
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java
@@ -122,6 +122,7 @@ public interface EndpointBuilderFactory
org.apache.camel.builder.endpoint.dsl.FreemarkerEndpointBuilderFactory.FreemarkerBuilders,
org.apache.camel.builder.endpoint.dsl.FtpEndpointBuilderFactory.FtpBuilders,
org.apache.camel.builder.endpoint.dsl.FtpsEndpointBuilderFactory.FtpsBuilders,
+
org.apache.camel.builder.endpoint.dsl.FunctionGraphEndpointBuilderFactory.FunctionGraphBuilders,
org.apache.camel.builder.endpoint.dsl.GangliaEndpointBuilderFactory.GangliaBuilders,
org.apache.camel.builder.endpoint.dsl.GeoCoderEndpointBuilderFactory.GeoCoderBuilders,
org.apache.camel.builder.endpoint.dsl.GitEndpointBuilderFactory.GitBuilders,
diff --git
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java
index 5b19c19..1b32042 100644
---
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java
+++
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java
@@ -119,6 +119,7 @@ public interface EndpointBuilders
org.apache.camel.builder.endpoint.dsl.FreemarkerEndpointBuilderFactory,
org.apache.camel.builder.endpoint.dsl.FtpEndpointBuilderFactory,
org.apache.camel.builder.endpoint.dsl.FtpsEndpointBuilderFactory,
+
org.apache.camel.builder.endpoint.dsl.FunctionGraphEndpointBuilderFactory,
org.apache.camel.builder.endpoint.dsl.GangliaEndpointBuilderFactory,
org.apache.camel.builder.endpoint.dsl.GeoCoderEndpointBuilderFactory,
org.apache.camel.builder.endpoint.dsl.GitEndpointBuilderFactory,
diff --git
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
index 1ba2599..503f08e 100644
---
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
+++
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
@@ -6745,6 +6745,49 @@ public class StaticEndpointBuilders {
return
org.apache.camel.builder.endpoint.dsl.HttpEndpointBuilderFactory.endpointBuilder(componentName,
path);
}
/**
+ * FunctionGraph (camel-huaweicloud-functiongraph)
+ * Huawei Cloud component to integrate with FunctionGraph services
+ *
+ * Category: cloud,serverless
+ * Since: 3.11
+ * Maven coordinates: org.apache.camel:camel-huaweicloud-functiongraph
+ *
+ * Syntax: <code>hwcloud-functiongraph:operation</code>
+ *
+ * Path parameter: operation (required)
+ * Operation to be performed
+ *
+ * @param path operation
+ * @return the dsl builder
+ */
+ public static
org.apache.camel.builder.endpoint.dsl.FunctionGraphEndpointBuilderFactory.FunctionGraphEndpointBuilder
hwcloudFunctiongraph(
+ String path) {
+ return
org.apache.camel.builder.endpoint.dsl.FunctionGraphEndpointBuilderFactory.endpointBuilder("hwcloud-functiongraph",
path);
+ }
+ /**
+ * FunctionGraph (camel-huaweicloud-functiongraph)
+ * Huawei Cloud component to integrate with FunctionGraph services
+ *
+ * Category: cloud,serverless
+ * Since: 3.11
+ * Maven coordinates: org.apache.camel:camel-huaweicloud-functiongraph
+ *
+ * Syntax: <code>hwcloud-functiongraph:operation</code>
+ *
+ * Path parameter: operation (required)
+ * Operation to be performed
+ *
+ * @param componentName to use a custom component name for the endpoint
+ * instead of the default name
+ * @param path operation
+ * @return the dsl builder
+ */
+ public static
org.apache.camel.builder.endpoint.dsl.FunctionGraphEndpointBuilderFactory.FunctionGraphEndpointBuilder
hwcloudFunctiongraph(
+ String componentName,
+ String path) {
+ return
org.apache.camel.builder.endpoint.dsl.FunctionGraphEndpointBuilderFactory.endpointBuilder(componentName,
path);
+ }
+ /**
* SimpleNotification (camel-huaweicloud-smn)
* Huawei Cloud component to integrate with SimpleNotification services
*
diff --git
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FunctionGraphEndpointBuilderFactory.java
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FunctionGraphEndpointBuilderFactory.java
new file mode 100644
index 0000000..3088dbc
--- /dev/null
+++
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FunctionGraphEndpointBuilderFactory.java
@@ -0,0 +1,383 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.builder.endpoint.dsl;
+
+import javax.annotation.Generated;
+import org.apache.camel.builder.EndpointConsumerBuilder;
+import org.apache.camel.builder.EndpointProducerBuilder;
+import org.apache.camel.builder.endpoint.AbstractEndpointBuilder;
+
+/**
+ * Huawei Cloud component to integrate with FunctionGraph services
+ *
+ * Generated by camel build tools - do NOT edit this file!
+ */
+@Generated("org.apache.camel.maven.packaging.EndpointDslMojo")
+public interface FunctionGraphEndpointBuilderFactory {
+
+
+ /**
+ * Builder for endpoint for the FunctionGraph component.
+ */
+ public interface FunctionGraphEndpointBuilder
+ extends
+ EndpointProducerBuilder {
+ /**
+ * Authentication key for the cloud user.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Required: true
+ * Group: producer
+ *
+ * @param authenticationKey the value to set
+ * @return the dsl builder
+ */
+ default FunctionGraphEndpointBuilder authenticationKey(
+ String authenticationKey) {
+ doSetProperty("authenticationKey", authenticationKey);
+ return this;
+ }
+ /**
+ * FunctionGraph url. Carries higher precedence than region parameter
+ * based client initialization.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param endpoint the value to set
+ * @return the dsl builder
+ */
+ default FunctionGraphEndpointBuilder endpoint(String endpoint) {
+ doSetProperty("endpoint", endpoint);
+ return this;
+ }
+ /**
+ * Name of the function to invoke.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param functionName the value to set
+ * @return the dsl builder
+ */
+ default FunctionGraphEndpointBuilder functionName(String functionName)
{
+ doSetProperty("functionName", functionName);
+ return this;
+ }
+ /**
+ * Functions that can be logically grouped together.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param functionPackage the value to set
+ * @return the dsl builder
+ */
+ default FunctionGraphEndpointBuilder functionPackage(
+ String functionPackage) {
+ doSetProperty("functionPackage", functionPackage);
+ return this;
+ }
+ /**
+ * Ignore SSL verification.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: producer
+ *
+ * @param ignoreSslVerification the value to set
+ * @return the dsl builder
+ */
+ default FunctionGraphEndpointBuilder ignoreSslVerification(
+ boolean ignoreSslVerification) {
+ doSetProperty("ignoreSslVerification", ignoreSslVerification);
+ return this;
+ }
+ /**
+ * Ignore SSL verification.
+ *
+ * The option will be converted to a <code>boolean</code>
+ * type.
+ *
+ * Default: false
+ * Group: producer
+ *
+ * @param ignoreSslVerification the value to set
+ * @return the dsl builder
+ */
+ default FunctionGraphEndpointBuilder ignoreSslVerification(
+ String ignoreSslVerification) {
+ doSetProperty("ignoreSslVerification", ignoreSslVerification);
+ return this;
+ }
+ /**
+ * 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 during
+ * starting and cause the route to fail being started. By deferring
this
+ * startup to be lazy then the startup failure can be handled during
+ * routing messages via Camel's routing error handlers. Beware that
when
+ * the first message is processed then creating and starting the
+ * producer may take a little time and prolong the total processing
time
+ * of the processing.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: producer
+ *
+ * @param lazyStartProducer the value to set
+ * @return the dsl builder
+ */
+ default FunctionGraphEndpointBuilder lazyStartProducer(
+ boolean lazyStartProducer) {
+ doSetProperty("lazyStartProducer", lazyStartProducer);
+ return this;
+ }
+ /**
+ * 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 during
+ * starting and cause the route to fail being started. By deferring
this
+ * startup to be lazy then the startup failure can be handled during
+ * routing messages via Camel's routing error handlers. Beware that
when
+ * the first message is processed then creating and starting the
+ * producer may take a little time and prolong the total processing
time
+ * of the processing.
+ *
+ * The option will be converted to a <code>boolean</code>
+ * type.
+ *
+ * Default: false
+ * Group: producer
+ *
+ * @param lazyStartProducer the value to set
+ * @return the dsl builder
+ */
+ default FunctionGraphEndpointBuilder lazyStartProducer(
+ String lazyStartProducer) {
+ doSetProperty("lazyStartProducer", lazyStartProducer);
+ return this;
+ }
+ /**
+ * Cloud project ID.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Required: true
+ * Group: producer
+ *
+ * @param projectId the value to set
+ * @return the dsl builder
+ */
+ default FunctionGraphEndpointBuilder projectId(String projectId) {
+ doSetProperty("projectId", projectId);
+ return this;
+ }
+ /**
+ * Proxy server ip/hostname.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param proxyHost the value to set
+ * @return the dsl builder
+ */
+ default FunctionGraphEndpointBuilder proxyHost(String proxyHost) {
+ doSetProperty("proxyHost", proxyHost);
+ return this;
+ }
+ /**
+ * Proxy authentication password.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param proxyPassword the value to set
+ * @return the dsl builder
+ */
+ default FunctionGraphEndpointBuilder proxyPassword(String
proxyPassword) {
+ doSetProperty("proxyPassword", proxyPassword);
+ return this;
+ }
+ /**
+ * Proxy server port.
+ *
+ * The option is a: <code>int</code> type.
+ *
+ * Group: producer
+ *
+ * @param proxyPort the value to set
+ * @return the dsl builder
+ */
+ default FunctionGraphEndpointBuilder proxyPort(int proxyPort) {
+ doSetProperty("proxyPort", proxyPort);
+ return this;
+ }
+ /**
+ * Proxy server port.
+ *
+ * The option will be converted to a <code>int</code> type.
+ *
+ * Group: producer
+ *
+ * @param proxyPort the value to set
+ * @return the dsl builder
+ */
+ default FunctionGraphEndpointBuilder proxyPort(String proxyPort) {
+ doSetProperty("proxyPort", proxyPort);
+ return this;
+ }
+ /**
+ * Proxy authentication user.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param proxyUser the value to set
+ * @return the dsl builder
+ */
+ default FunctionGraphEndpointBuilder proxyUser(String proxyUser) {
+ doSetProperty("proxyUser", proxyUser);
+ return this;
+ }
+ /**
+ * FunctionGraph service region. This is lower precedence than endpoint
+ * based configuration.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Required: true
+ * Group: producer
+ *
+ * @param region the value to set
+ * @return the dsl builder
+ */
+ default FunctionGraphEndpointBuilder region(String region) {
+ doSetProperty("region", region);
+ return this;
+ }
+ /**
+ * Secret key for the cloud user.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Required: true
+ * Group: producer
+ *
+ * @param secretKey the value to set
+ * @return the dsl builder
+ */
+ default FunctionGraphEndpointBuilder secretKey(String secretKey) {
+ doSetProperty("secretKey", secretKey);
+ return this;
+ }
+ /**
+ * Configuration object for cloud service authentication.
+ *
+ * The option is a:
+ * <code>org.apache.camel.models.ServiceKeys</code> type.
+ *
+ * Group: producer
+ *
+ * @param serviceKeys the value to set
+ * @return the dsl builder
+ */
+ default FunctionGraphEndpointBuilder serviceKeys(Object serviceKeys) {
+ doSetProperty("serviceKeys", serviceKeys);
+ return this;
+ }
+ /**
+ * Configuration object for cloud service authentication.
+ *
+ * The option will be converted to a
+ * <code>org.apache.camel.models.ServiceKeys</code> type.
+ *
+ * Group: producer
+ *
+ * @param serviceKeys the value to set
+ * @return the dsl builder
+ */
+ default FunctionGraphEndpointBuilder serviceKeys(String serviceKeys) {
+ doSetProperty("serviceKeys", serviceKeys);
+ return this;
+ }
+ }
+
+ public interface FunctionGraphBuilders {
+ /**
+ * FunctionGraph (camel-huaweicloud-functiongraph)
+ * Huawei Cloud component to integrate with FunctionGraph services
+ *
+ * Category: cloud,serverless
+ * Since: 3.11
+ * Maven coordinates: org.apache.camel:camel-huaweicloud-functiongraph
+ *
+ * Syntax: <code>hwcloud-functiongraph:operation</code>
+ *
+ * Path parameter: operation (required)
+ * Operation to be performed
+ *
+ * @param path operation
+ * @return the dsl builder
+ */
+ default FunctionGraphEndpointBuilder hwcloudFunctiongraph(String path)
{
+ return
FunctionGraphEndpointBuilderFactory.endpointBuilder("hwcloud-functiongraph",
path);
+ }
+ /**
+ * FunctionGraph (camel-huaweicloud-functiongraph)
+ * Huawei Cloud component to integrate with FunctionGraph services
+ *
+ * Category: cloud,serverless
+ * Since: 3.11
+ * Maven coordinates: org.apache.camel:camel-huaweicloud-functiongraph
+ *
+ * Syntax: <code>hwcloud-functiongraph:operation</code>
+ *
+ * Path parameter: operation (required)
+ * Operation to be performed
+ *
+ * @param componentName to use a custom component name for the endpoint
+ * instead of the default name
+ * @param path operation
+ * @return the dsl builder
+ */
+ default FunctionGraphEndpointBuilder hwcloudFunctiongraph(
+ String componentName,
+ String path) {
+ return
FunctionGraphEndpointBuilderFactory.endpointBuilder(componentName, path);
+ }
+ }
+ static FunctionGraphEndpointBuilder endpointBuilder(
+ String componentName,
+ String path) {
+ class FunctionGraphEndpointBuilderImpl extends AbstractEndpointBuilder
implements FunctionGraphEndpointBuilder {
+ public FunctionGraphEndpointBuilderImpl(String path) {
+ super(componentName, path);
+ }
+ }
+ return new FunctionGraphEndpointBuilderImpl(path);
+ }
+}
\ No newline at end of file
diff --git
a/core/camel-main/src/generated/resources/org/apache/camel/main/components.properties
b/core/camel-main/src/generated/resources/org/apache/camel/main/components.properties
index bf09c73..16498aa 100644
---
a/core/camel-main/src/generated/resources/org/apache/camel/main/components.properties
+++
b/core/camel-main/src/generated/resources/org/apache/camel/main/components.properties
@@ -145,6 +145,7 @@ hbase
hdfs
http
https
+hwcloud-functiongraph
hwcloud-smn
iec60870-client
iec60870-server
diff --git a/docs/components/modules/ROOT/nav.adoc
b/docs/components/modules/ROOT/nav.adoc
index c5fb1cf..c7f5f66 100644
--- a/docs/components/modules/ROOT/nav.adoc
+++ b/docs/components/modules/ROOT/nav.adoc
@@ -110,6 +110,7 @@
** xref:freemarker-component.adoc[Freemarker]
** xref:ftp-component.adoc[FTP]
** xref:ftps-component.adoc[FTPS]
+** xref:hwcloud-functiongraph-component.adoc[FunctionGraph]
** xref:ganglia-component.adoc[Ganglia]
** xref:geocoder-component.adoc[Geocoder]
** xref:git-component.adoc[Git]
diff --git
a/components/camel-huaweicloud-functiongraph/src/main/docs/hwcloud-functiongraph-component.adoc
b/docs/components/modules/ROOT/pages/hwcloud-functiongraph-component.adoc
similarity index 92%
copy from
components/camel-huaweicloud-functiongraph/src/main/docs/hwcloud-functiongraph-component.adoc
copy to docs/components/modules/ROOT/pages/hwcloud-functiongraph-component.adoc
index 8b9a5df..9b549a6 100644
---
a/components/camel-huaweicloud-functiongraph/src/main/docs/hwcloud-functiongraph-component.adoc
+++ b/docs/components/modules/ROOT/pages/hwcloud-functiongraph-component.adoc
@@ -1,10 +1,12 @@
[[hwcloud-functiongraph-component]]
= FunctionGraph Component
+//THIS FILE IS COPIED: EDIT THE SOURCE FILE:
+:page-source:
components/camel-huaweicloud-functiongraph/src/main/docs/hwcloud-functiongraph-component.adoc
:docTitle: FunctionGraph
:artifactId: camel-huaweicloud-functiongraph
:description: Huawei Cloud component to integrate with FunctionGraph services
-:since: 3.11.0-SNAPSHOT
-:supportLevel: Stable
+:since: 3.11
+:supportLevel: Preview
:component-header: Only producer is supported
include::{cq-version}@camel-quarkus:ROOT:partial$reference/components/hwcloud-functiongraph.adoc[opts=optional]
@@ -38,13 +40,14 @@ hwcloud-functiongraph:operation[?options]
// component options: START
The FunctionGraph component supports 2 options, which are listed below.
+
+
[width="100%",cols="2,5,^1,2",options="header"]
|===
| Name | Description | Default | Type
| *lazyStartProducer* (producer) | 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 during
starting and cause the route to fail being started. By deferring this startup
to be lazy then the startup failure can be handled during routing messages via
Camel's routing error handlers. Beware that when the first message is processed
then creating and [...]
| *autowiredEnabled* (advanced) | 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
type, which then gets configured on the component. This can be used for
automatic configuring JDBC data sources, JMS connection factories, AWS Clients,
etc. | true | boolean
|===
-
// component options: END
@@ -59,22 +62,24 @@ with the following path and query parameters:
=== Path Parameters (1 parameters):
+
[width="100%",cols="2,5,^1,2",options="header"]
|===
| Name | Description | Default | Type
-| *operation* | *Required* Name of the FunctionGraph operation to invoke. | |
String
+| *operation* | *Required* Operation to be performed | | String
|===
=== Query Parameters (14 parameters):
+
[width="100%",cols="2,5,^1,2",options="header"]
|===
| Name | Description | Default | Type
| *authenticationKey* (producer) | *Required* Authentication key for the cloud
user | | String
-| *endpoint* (producer) | Fully qualified FunctionGraph service url. Carries
higher precedence than region parameter based client initialization. Required
if region is not given | | String
-| *functionName* (producer) | *Required* Name of the function to invoke the
operation on | | String
-| *functionPackage* (producer) | Name of the function package | | String
+| *endpoint* (producer) | FunctionGraph url. Carries higher precedence than
region parameter based client initialization | | String
+| *functionName* (producer) | Name of the function to invoke | | String
+| *functionPackage* (producer) | Functions that can be logically grouped
together | | String
| *ignoreSslVerification* (producer) | Ignore SSL verification | false |
boolean
| *lazyStartProducer* (producer) | 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 during
starting and cause the route to fail being started. By deferring this startup
to be lazy then the startup failure can be handled during routing messages via
Camel's routing error handlers. Beware that when the first message is processed
then creating and [...]
| *projectId* (producer) | *Required* Cloud project ID | | String
@@ -144,4 +149,4 @@ from("direct:triggerRoute")
.setProperty(FunctionGraphProperties.FUNCTION_NAME
,constant("your_function_name"))
.setProperty(FunctionGraphProperties.FUNCTION_PACKAGE,
constant("your_function_package"))
.to("hwcloud-functiongraph:invokeFunction?projectId=9071a38e7f6a4ba7b7bcbeb7d4ea6efc®ion=cn-north-4&serviceKeys=#myServiceKeyConfig")
---------------------------------------------------------------------------------
\ No newline at end of file
+--------------------------------------------------------------------------------