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 041cb8c CAMEL-17321: Add HuaweiCloud FaceRecognitionService(FRS)
Component (#6838)
041cb8c is described below
commit 041cb8c0919ed4ef6c7b2d4f848be17df950cdc5
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Jan 28 07:12:28 2022 +0100
CAMEL-17321: Add HuaweiCloud FaceRecognitionService(FRS) Component (#6838)
---
.../org/apache/camel/catalog/components.properties | 1 +
.../camel/catalog/components/hwcloud-frs.json | 54 ++
.../org/apache/camel/main/components.properties | 1 +
.../component/ComponentsBuilderFactory.java | 15 +
.../dsl/HwcloudFrsComponentBuilderFactory.java | 125 +++++
.../src/generated/resources/metadata.json | 22 +
.../builder/endpoint/EndpointBuilderFactory.java | 1 +
.../camel/builder/endpoint/EndpointBuilders.java | 1 +
.../builder/endpoint/StaticEndpointBuilders.java | 49 ++
.../dsl/FaceRecognitionEndpointBuilderFactory.java | 598 +++++++++++++++++++++
.../EndpointProducerDeserializersResolver.java | 1 +
.../apache/camel/maven/packaging/MojoHelper.java | 9 +-
12 files changed, 873 insertions(+), 4 deletions(-)
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 5306546..1a6fd0b 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
@@ -148,6 +148,7 @@ hdfs
http
https
hwcloud-dms
+hwcloud-frs
hwcloud-functiongraph
hwcloud-iam
hwcloud-imagerecognition
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/hwcloud-frs.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/hwcloud-frs.json
new file mode 100644
index 0000000..b4495c8
--- /dev/null
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/hwcloud-frs.json
@@ -0,0 +1,54 @@
+{
+ "component": {
+ "kind": "component",
+ "name": "hwcloud-frs",
+ "title": "Huawei Cloud Face Recognition Service",
+ "description": "Face Recognition Service (FRS) is an intelligent service
that uses computers to process, analyze, and understand facial images based on
human facial features.",
+ "deprecated": false,
+ "firstVersion": "3.15.0",
+ "label": "cloud,messaging",
+ "javaType":
"org.apache.camel.component.huaweicloud.frs.FaceRecognitionComponent",
+ "supportLevel": "Preview",
+ "groupId": "org.apache.camel",
+ "artifactId": "camel-huaweicloud-frs",
+ "version": "3.15.0-SNAPSHOT",
+ "scheme": "hwcloud-frs",
+ "extendsScheme": "",
+ "syntax": "hwcloud-frs: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 name", "group":
"producer", "label": "producer", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "description": "Name of Face Recognition
operation to perform, including faceDetection, faceVerification and
faceLiveDetection" },
+ "accessKey": { "kind": "parameter", "displayName": "Account access key
(AK)", "group": "producer", "label": "", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": true, "description": "Access key for the cloud
user" },
+ "actions": { "kind": "parameter", "displayName": "actions", "group":
"producer", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "This param is mandatory when the
operation is faceLiveDetection, indicating the action code sequence list.
Actions are separated by commas (,). Currently, the following actions are
supported: 1: Shake the head to the left. 2: Sh [...]
+ "actionTimes": { "kind": "parameter", "displayName": "actionTime",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "description": "This param can be used
when the operation is faceLiveDetection, indicating the action time array. The
length of the array is the same as the number of actions. Each item contains
the start time and end time of the action [...]
+ "anotherImageBase64": { "kind": "parameter", "displayName":
"anotherImageBase64", "group": "producer", "label": "", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "description":
"This param can be used when operation is faceVerification, indicating the
Base64 character string converted from the other image. It needs to be
configured if imageBase64 is set. The image size cannot excee [...]
+ "anotherImageFilePath": { "kind": "parameter", "displayName":
"anotherImageFilePath", "group": "producer", "label": "", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "description":
"This param can be used when operation is faceVerification, indicating the
local file path of the other image. It needs to be configured if imageFilePath
is set. Image size cannot exceed 8 MB, and it is [...]
+ "anotherImageUrl": { "kind": "parameter", "displayName":
"anotherImageUrl", "group": "producer", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "description":
"This param can be used when operation is faceVerification, indicating the URL
of the other image. It needs to be configured if imageUrl is set. The options
are as follows: 1.HTTP\/HTTPS URLs on the public network [...]
+ "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": "Fully qualified Face
Recognition service url. Carries higher precedence than region based
configuration." },
+ "imageBase64": { "kind": "parameter", "displayName": "imageBase64",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "description": "This param can be used
when operation is faceDetection or faceVerification, indicating the Base64
character string converted from an image. Any one of imageBase64, imageUrl and
imageFilePath needs to be set, and the prio [...]
+ "imageFilePath": { "kind": "parameter", "displayName": "imageFilePath",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "description": "This param can be used
when operation is faceDetection or faceVerification, indicating the local image
file path. Any one of imageBase64, imageUrl and imageFilePath needs to be set,
and the priority is imageBase64 im [...]
+ "imageUrl": { "kind": "parameter", "displayName": "imageUrl", "group":
"producer", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "This param can be used when operation
is faceDetection or faceVerification, indicating the URL of an image. Any one
of imageBase64, imageUrl and imageFilePath needs to be set, and the priority is
imageBase64 imageUrl imageFile [...]
+ "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": "Face Recognition service region.
Currently only cn-north-1 and cn-north-4 are supported. This is lower
precedence than endpoint based configuration." },
+ "secretKey": { "kind": "parameter", "displayName": "Account 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.component.huaweicloud.common.models.ServiceKeys",
"deprecated": false, "deprecationNote": "", "autowired": false, "secret": true,
"description": "Configuration object for cloud service authentication" },
+ "videoBase64": { "kind": "parameter", "displayName": "videoBase64",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "description": "This param can be used
when operation is faceLiveDetection, indicating the Base64 character string
converted from a video. Any one of videoBase64, videoUrl and videoFilePath
needs to be set, and the priority is videoBase [...]
+ "videoFilePath": { "kind": "parameter", "displayName": "videoFilePath",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "description": "This param can be used
when operation is faceLiveDetection, indicating the local video file path. Any
one of videoBase64, videoUrl and videoFilePath needs to be set, and the
priority is videoBase64 videoUrl videoFile [...]
+ "videoUrl": { "kind": "parameter", "displayName": "videoUrl", "group":
"producer", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "This param can be used when operation
is faceLiveDetection, indicating the URL of a video. Any one of videoBase64,
videoUrl and videoFilePath needs to be set, and the priority is videoBase64
videoUrl videoFilePath. Currently, [...]
+ "ignoreSslVerification": { "kind": "parameter", "displayName": "SSL
Verification Ignored", "group": "security", "label": "security", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "defaultValue":
false, "description": "Ignore SSL verification" }
+ }
+}
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 5306546..1a6fd0b 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
@@ -148,6 +148,7 @@ hdfs
http
https
hwcloud-dms
+hwcloud-frs
hwcloud-functiongraph
hwcloud-iam
hwcloud-imagerecognition
diff --git
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
index d4fe38e..fe446a8 100644
---
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
+++
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
@@ -2043,6 +2043,21 @@ public interface ComponentsBuilderFactory {
return
org.apache.camel.builder.component.dsl.HwcloudDmsComponentBuilderFactory.hwcloudDms();
}
/**
+ * Huawei Cloud Face Recognition Service (camel-huaweicloud-frs)
+ * Face Recognition Service (FRS) is an intelligent service that uses
+ * computers to process, analyze, and understand facial images based on
+ * human facial features.
+ *
+ * Category: cloud,messaging
+ * Since: 3.15
+ * Maven coordinates: org.apache.camel:camel-huaweicloud-frs
+ *
+ * @return the dsl builder
+ */
+ static
org.apache.camel.builder.component.dsl.HwcloudFrsComponentBuilderFactory.HwcloudFrsComponentBuilder
hwcloudFrs() {
+ return
org.apache.camel.builder.component.dsl.HwcloudFrsComponentBuilderFactory.hwcloudFrs();
+ }
+ /**
* Huawei FunctionGraph (camel-huaweicloud-functiongraph)
* To call serverless functions on Huawei Cloud
*
diff --git
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/HwcloudFrsComponentBuilderFactory.java
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/HwcloudFrsComponentBuilderFactory.java
new file mode 100644
index 0000000..56a8173
--- /dev/null
+++
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/HwcloudFrsComponentBuilderFactory.java
@@ -0,0 +1,125 @@
+/*
+ * 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.builder.component.AbstractComponentBuilder;
+import org.apache.camel.builder.component.ComponentBuilder;
+import org.apache.camel.component.huaweicloud.frs.FaceRecognitionComponent;
+
+/**
+ * Face Recognition Service (FRS) is an intelligent service that uses computers
+ * to process, analyze, and understand facial images based on human facial
+ * features.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Generated("org.apache.camel.maven.packaging.ComponentDslMojo")
+public interface HwcloudFrsComponentBuilderFactory {
+
+ /**
+ * Huawei Cloud Face Recognition Service (camel-huaweicloud-frs)
+ * Face Recognition Service (FRS) is an intelligent service that uses
+ * computers to process, analyze, and understand facial images based on
+ * human facial features.
+ *
+ * Category: cloud,messaging
+ * Since: 3.15
+ * Maven coordinates: org.apache.camel:camel-huaweicloud-frs
+ *
+ * @return the dsl builder
+ */
+ static HwcloudFrsComponentBuilder hwcloudFrs() {
+ return new HwcloudFrsComponentBuilderImpl();
+ }
+
+ /**
+ * Builder for the Huawei Cloud Face Recognition Service component.
+ */
+ interface HwcloudFrsComponentBuilder
+ extends
+ ComponentBuilder<FaceRecognitionComponent> {
+ /**
+ * 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 HwcloudFrsComponentBuilder 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 HwcloudFrsComponentBuilder autowiredEnabled(
+ boolean autowiredEnabled) {
+ doSetProperty("autowiredEnabled", autowiredEnabled);
+ return this;
+ }
+ }
+
+ class HwcloudFrsComponentBuilderImpl
+ extends
+ AbstractComponentBuilder<FaceRecognitionComponent>
+ implements
+ HwcloudFrsComponentBuilder {
+ @Override
+ protected FaceRecognitionComponent buildConcreteComponent() {
+ return new FaceRecognitionComponent();
+ }
+ @Override
+ protected boolean setPropertyOnComponent(
+ Component component,
+ String name,
+ Object value) {
+ switch (name) {
+ case "lazyStartProducer": ((FaceRecognitionComponent)
component).setLazyStartProducer((boolean) value); return true;
+ case "autowiredEnabled": ((FaceRecognitionComponent)
component).setAutowiredEnabled((boolean) value); return true;
+ default: return false;
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/dsl/camel-componentdsl/src/generated/resources/metadata.json
b/dsl/camel-componentdsl/src/generated/resources/metadata.json
index 97d1caa..d4374c9 100644
--- a/dsl/camel-componentdsl/src/generated/resources/metadata.json
+++ b/dsl/camel-componentdsl/src/generated/resources/metadata.json
@@ -3327,6 +3327,28 @@
"producerOnly": true,
"lenientProperties": false
},
+ "HwcloudFrsComponentBuilderFactory": {
+ "kind": "component",
+ "name": "hwcloud-frs",
+ "title": "Huawei Cloud Face Recognition Service",
+ "description": "Face Recognition Service (FRS) is an intelligent service
that uses computers to process, analyze, and understand facial images based on
human facial features.",
+ "deprecated": false,
+ "firstVersion": "3.15.0",
+ "label": "cloud,messaging",
+ "javaType":
"org.apache.camel.component.huaweicloud.frs.FaceRecognitionComponent",
+ "supportLevel": "Preview",
+ "groupId": "org.apache.camel",
+ "artifactId": "camel-huaweicloud-frs",
+ "version": "3.15.0-SNAPSHOT",
+ "scheme": "hwcloud-frs",
+ "extendsScheme": "",
+ "syntax": "hwcloud-frs:operation",
+ "async": false,
+ "api": false,
+ "consumerOnly": false,
+ "producerOnly": true,
+ "lenientProperties": false
+ },
"HwcloudFunctiongraphComponentBuilderFactory": {
"kind": "component",
"name": "hwcloud-functiongraph",
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java
index 00661a9..52e696f 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java
@@ -114,6 +114,7 @@ public interface EndpointBuilderFactory
org.apache.camel.builder.endpoint.dsl.EventHubsEndpointBuilderFactory.EventHubsBuilders,
org.apache.camel.builder.endpoint.dsl.EventbridgeEndpointBuilderFactory.EventbridgeBuilders,
org.apache.camel.builder.endpoint.dsl.ExecEndpointBuilderFactory.ExecBuilders,
+
org.apache.camel.builder.endpoint.dsl.FaceRecognitionEndpointBuilderFactory.FaceRecognitionBuilders,
org.apache.camel.builder.endpoint.dsl.FacebookEndpointBuilderFactory.FacebookBuilders,
org.apache.camel.builder.endpoint.dsl.FhirEndpointBuilderFactory.FhirBuilders,
org.apache.camel.builder.endpoint.dsl.FileEndpointBuilderFactory.FileBuilders,
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java
index ea0834c..5876f9c 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java
@@ -111,6 +111,7 @@ public interface EndpointBuilders
org.apache.camel.builder.endpoint.dsl.EventHubsEndpointBuilderFactory,
org.apache.camel.builder.endpoint.dsl.EventbridgeEndpointBuilderFactory,
org.apache.camel.builder.endpoint.dsl.ExecEndpointBuilderFactory,
+
org.apache.camel.builder.endpoint.dsl.FaceRecognitionEndpointBuilderFactory,
org.apache.camel.builder.endpoint.dsl.FacebookEndpointBuilderFactory,
org.apache.camel.builder.endpoint.dsl.FhirEndpointBuilderFactory,
org.apache.camel.builder.endpoint.dsl.FileEndpointBuilderFactory,
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
index 530608a..ef83e20 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
@@ -6904,6 +6904,55 @@ public class StaticEndpointBuilders {
return
org.apache.camel.builder.endpoint.dsl.DMSEndpointBuilderFactory.endpointBuilder(componentName,
path);
}
/**
+ * Huawei Cloud Face Recognition Service (camel-huaweicloud-frs)
+ * Face Recognition Service (FRS) is an intelligent service that uses
+ * computers to process, analyze, and understand facial images based on
+ * human facial features.
+ *
+ * Category: cloud,messaging
+ * Since: 3.15
+ * Maven coordinates: org.apache.camel:camel-huaweicloud-frs
+ *
+ * Syntax: <code>hwcloud-frs:operation</code>
+ *
+ * Path parameter: operation (required)
+ * Name of Face Recognition operation to perform, including faceDetection,
+ * faceVerification and faceLiveDetection
+ *
+ * @param path operation
+ * @return the dsl builder
+ */
+ public static
org.apache.camel.builder.endpoint.dsl.FaceRecognitionEndpointBuilderFactory.FaceRecognitionEndpointBuilder
hwcloudFrs(
+ String path) {
+ return
org.apache.camel.builder.endpoint.dsl.FaceRecognitionEndpointBuilderFactory.endpointBuilder("hwcloud-frs",
path);
+ }
+ /**
+ * Huawei Cloud Face Recognition Service (camel-huaweicloud-frs)
+ * Face Recognition Service (FRS) is an intelligent service that uses
+ * computers to process, analyze, and understand facial images based on
+ * human facial features.
+ *
+ * Category: cloud,messaging
+ * Since: 3.15
+ * Maven coordinates: org.apache.camel:camel-huaweicloud-frs
+ *
+ * Syntax: <code>hwcloud-frs:operation</code>
+ *
+ * Path parameter: operation (required)
+ * Name of Face Recognition operation to perform, including faceDetection,
+ * faceVerification and faceLiveDetection
+ *
+ * @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.FaceRecognitionEndpointBuilderFactory.FaceRecognitionEndpointBuilder
hwcloudFrs(
+ String componentName,
+ String path) {
+ return
org.apache.camel.builder.endpoint.dsl.FaceRecognitionEndpointBuilderFactory.endpointBuilder(componentName,
path);
+ }
+ /**
* Huawei FunctionGraph (camel-huaweicloud-functiongraph)
* To call serverless functions on Huawei Cloud
*
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FaceRecognitionEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FaceRecognitionEndpointBuilderFactory.java
new file mode 100644
index 0000000..0c5699b
--- /dev/null
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FaceRecognitionEndpointBuilderFactory.java
@@ -0,0 +1,598 @@
+/*
+ * 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 java.util.*;
+import java.util.concurrent.*;
+import java.util.function.*;
+import java.util.stream.*;
+import javax.annotation.Generated;
+import org.apache.camel.builder.EndpointConsumerBuilder;
+import org.apache.camel.builder.EndpointProducerBuilder;
+import org.apache.camel.builder.endpoint.AbstractEndpointBuilder;
+
+/**
+ * Face Recognition Service (FRS) is an intelligent service that uses computers
+ * to process, analyze, and understand facial images based on human facial
+ * features.
+ *
+ * Generated by camel build tools - do NOT edit this file!
+ */
+@Generated("org.apache.camel.maven.packaging.EndpointDslMojo")
+public interface FaceRecognitionEndpointBuilderFactory {
+
+
+ /**
+ * Builder for endpoint for the Huawei Cloud Face Recognition Service
+ * component.
+ */
+ public interface FaceRecognitionEndpointBuilder
+ extends
+ EndpointProducerBuilder {
+ /**
+ * Access key for the cloud user.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Required: true
+ * Group: producer
+ *
+ * @param accessKey the value to set
+ * @return the dsl builder
+ */
+ default FaceRecognitionEndpointBuilder accessKey(String accessKey) {
+ doSetProperty("accessKey", accessKey);
+ return this;
+ }
+ /**
+ * This param is mandatory when the operation is faceLiveDetection,
+ * indicating the action code sequence list. Actions are separated by
+ * commas (,). Currently, the following actions are supported: 1: Shake
+ * the head to the left. 2: Shake the head to the right. 3: Nod the
+ * head. 4: Mouth movement.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param actions the value to set
+ * @return the dsl builder
+ */
+ default FaceRecognitionEndpointBuilder actions(String actions) {
+ doSetProperty("actions", actions);
+ return this;
+ }
+ /**
+ * This param can be used when the operation is faceLiveDetection,
+ * indicating the action time array. The length of the array is the
same
+ * as the number of actions. Each item contains the start time and end
+ * time of the action in the corresponding sequence. The unit is the
+ * milliseconds from the video start time.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param actionTimes the value to set
+ * @return the dsl builder
+ */
+ default FaceRecognitionEndpointBuilder actionTimes(String actionTimes)
{
+ doSetProperty("actionTimes", actionTimes);
+ return this;
+ }
+ /**
+ * This param can be used when operation is faceVerification,
indicating
+ * the Base64 character string converted from the other image. It needs
+ * to be configured if imageBase64 is set. The image size cannot exceed
+ * 10 MB. The image resolution of the narrow sides must be greater than
+ * 15 pixels, and that of the wide sides cannot exceed 4096 pixels. The
+ * supported image formats include JPG, PNG, and BMP.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param anotherImageBase64 the value to set
+ * @return the dsl builder
+ */
+ default FaceRecognitionEndpointBuilder anotherImageBase64(
+ String anotherImageBase64) {
+ doSetProperty("anotherImageBase64", anotherImageBase64);
+ return this;
+ }
+ /**
+ * This param can be used when operation is faceVerification,
indicating
+ * the local file path of the other image. It needs to be configured if
+ * imageFilePath is set. Image size cannot exceed 8 MB, and it is
+ * recommended that the image size be less than 1 MB.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param anotherImageFilePath the value to set
+ * @return the dsl builder
+ */
+ default FaceRecognitionEndpointBuilder anotherImageFilePath(
+ String anotherImageFilePath) {
+ doSetProperty("anotherImageFilePath", anotherImageFilePath);
+ return this;
+ }
+ /**
+ * This param can be used when operation is faceVerification,
indicating
+ * the URL of the other image. It needs to be configured if imageUrl is
+ * set. The options are as follows: 1.HTTP/HTTPS URLs on the public
+ * network 2.OBS URLs. To use OBS data, authorization is required,
+ * including service authorization, temporary authorization, and
+ * anonymous public authorization. For details, see Configuring the
+ * Access Permission of OBS.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param anotherImageUrl the value to set
+ * @return the dsl builder
+ */
+ default FaceRecognitionEndpointBuilder anotherImageUrl(
+ String anotherImageUrl) {
+ doSetProperty("anotherImageUrl", anotherImageUrl);
+ return this;
+ }
+ /**
+ * Fully qualified Face Recognition service url. Carries higher
+ * precedence than region based configuration.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param endpoint the value to set
+ * @return the dsl builder
+ */
+ default FaceRecognitionEndpointBuilder endpoint(String endpoint) {
+ doSetProperty("endpoint", endpoint);
+ return this;
+ }
+ /**
+ * This param can be used when operation is faceDetection or
+ * faceVerification, indicating the Base64 character string converted
+ * from an image. Any one of imageBase64, imageUrl and imageFilePath
+ * needs to be set, and the priority is imageBase64 imageUrl
+ * imageFilePath. The Image size cannot exceed 10 MB. The image
+ * resolution of the narrow sides must be greater than 15 pixels, and
+ * that of the wide sides cannot exceed 4096 pixels. The supported
image
+ * formats include JPG, PNG, and BMP.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param imageBase64 the value to set
+ * @return the dsl builder
+ */
+ default FaceRecognitionEndpointBuilder imageBase64(String imageBase64)
{
+ doSetProperty("imageBase64", imageBase64);
+ return this;
+ }
+ /**
+ * This param can be used when operation is faceDetection or
+ * faceVerification, indicating the local image file path. Any one of
+ * imageBase64, imageUrl and imageFilePath needs to be set, and the
+ * priority is imageBase64 imageUrl imageFilePath. Image size cannot
+ * exceed 8 MB, and it is recommended that the image size be less than
1
+ * MB.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param imageFilePath the value to set
+ * @return the dsl builder
+ */
+ default FaceRecognitionEndpointBuilder imageFilePath(
+ String imageFilePath) {
+ doSetProperty("imageFilePath", imageFilePath);
+ return this;
+ }
+ /**
+ * This param can be used when operation is faceDetection or
+ * faceVerification, indicating the URL of an image. Any one of
+ * imageBase64, imageUrl and imageFilePath needs to be set, and the
+ * priority is imageBase64 imageUrl imageFilePath. The options are as
+ * follows: 1.HTTP/HTTPS URLs on the public network 2.OBS URLs. To use
+ * OBS data, authorization is required, including service
authorization,
+ * temporary authorization, and anonymous public authorization. For
+ * details, see Configuring the Access Permission of OBS.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param imageUrl the value to set
+ * @return the dsl builder
+ */
+ default FaceRecognitionEndpointBuilder imageUrl(String imageUrl) {
+ doSetProperty("imageUrl", imageUrl);
+ 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 FaceRecognitionEndpointBuilder 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 FaceRecognitionEndpointBuilder 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 FaceRecognitionEndpointBuilder 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 FaceRecognitionEndpointBuilder 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 FaceRecognitionEndpointBuilder 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 FaceRecognitionEndpointBuilder 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 FaceRecognitionEndpointBuilder 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 FaceRecognitionEndpointBuilder proxyUser(String proxyUser) {
+ doSetProperty("proxyUser", proxyUser);
+ return this;
+ }
+ /**
+ * Face Recognition service region. Currently only cn-north-1 and
+ * cn-north-4 are supported. 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 FaceRecognitionEndpointBuilder 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 FaceRecognitionEndpointBuilder secretKey(String secretKey) {
+ doSetProperty("secretKey", secretKey);
+ return this;
+ }
+ /**
+ * Configuration object for cloud service authentication.
+ *
+ * The option is a:
+ *
<code>org.apache.camel.component.huaweicloud.common.models.ServiceKeys</code>
type.
+ *
+ * Group: producer
+ *
+ * @param serviceKeys the value to set
+ * @return the dsl builder
+ */
+ default FaceRecognitionEndpointBuilder serviceKeys(
+
org.apache.camel.component.huaweicloud.common.models.ServiceKeys serviceKeys) {
+ doSetProperty("serviceKeys", serviceKeys);
+ return this;
+ }
+ /**
+ * Configuration object for cloud service authentication.
+ *
+ * The option will be converted to a
+ *
<code>org.apache.camel.component.huaweicloud.common.models.ServiceKeys</code>
type.
+ *
+ * Group: producer
+ *
+ * @param serviceKeys the value to set
+ * @return the dsl builder
+ */
+ default FaceRecognitionEndpointBuilder serviceKeys(String serviceKeys)
{
+ doSetProperty("serviceKeys", serviceKeys);
+ return this;
+ }
+ /**
+ * This param can be used when operation is faceLiveDetection,
+ * indicating the Base64 character string converted from a video. Any
+ * one of videoBase64, videoUrl and videoFilePath needs to be set, and
+ * the priority is videoBase64 videoUrl videoFilePath. Requirements are
+ * as follows: 1.The video size after Base64 encoding cannot exceed 8
+ * MB. It is recommended that the video file be compressed to 200 KB to
+ * 2 MB on the client. 2.The video duration must be 1 to 15 seconds.
+ * 3.The recommended frame rate is 10 fps to 30 fps. 4.The
encapsulation
+ * format can be MP4, AVI, FLV, WEBM, ASF, or MOV. 5.The video encoding
+ * format can be H.261, H.263, H.264, HEVC, VC-1, VP8, VP9, or WMV3.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param videoBase64 the value to set
+ * @return the dsl builder
+ */
+ default FaceRecognitionEndpointBuilder videoBase64(String videoBase64)
{
+ doSetProperty("videoBase64", videoBase64);
+ return this;
+ }
+ /**
+ * This param can be used when operation is faceLiveDetection,
+ * indicating the local video file path. Any one of videoBase64,
+ * videoUrl and videoFilePath needs to be set, and the priority is
+ * videoBase64 videoUrl videoFilePath. The video requirements are as
+ * follows: 1.The size of a video file cannot exceed 8 MB. It is
+ * recommended that the video file be compressed to 200 KB to 2 MB on
+ * the client. 2.The video duration must be 1 to 15 seconds. 3.The
+ * recommended frame rate is 10 fps to 30 fps. 4.The encapsulation
+ * format can be MP4, AVI, FLV, WEBM, ASF, or MOV. 5.The video encoding
+ * format can be H.261, H.263, H.264, HEVC, VC-1, VP8, VP9, or WMV3.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param videoFilePath the value to set
+ * @return the dsl builder
+ */
+ default FaceRecognitionEndpointBuilder videoFilePath(
+ String videoFilePath) {
+ doSetProperty("videoFilePath", videoFilePath);
+ return this;
+ }
+ /**
+ * This param can be used when operation is faceLiveDetection,
+ * indicating the URL of a video. Any one of videoBase64, videoUrl and
+ * videoFilePath needs to be set, and the priority is videoBase64
+ * videoUrl videoFilePath. Currently, only the URL of an OBS bucket on
+ * HUAWEI CLOUD is supported and FRS must have the permission to read
+ * data in the OBS bucket. For details about how to enable the read
+ * permission, see Service Authorization. The video requirements are as
+ * follows: 1.The video size after Base64 encoding cannot exceed 8 MB.
+ * 2.The video duration must be 1 to 15 seconds. 3.The recommended
frame
+ * rate is 10 fps to 30 fps. 4.The encapsulation format can be MP4,
AVI,
+ * FLV, WEBM, ASF, or MOV. 5.The video encoding format can be H.261,
+ * H.263, H.264, HEVC, VC-1, VP8, VP9, or WMV3.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param videoUrl the value to set
+ * @return the dsl builder
+ */
+ default FaceRecognitionEndpointBuilder videoUrl(String videoUrl) {
+ doSetProperty("videoUrl", videoUrl);
+ return this;
+ }
+ /**
+ * Ignore SSL verification.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: security
+ *
+ * @param ignoreSslVerification the value to set
+ * @return the dsl builder
+ */
+ default FaceRecognitionEndpointBuilder 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: security
+ *
+ * @param ignoreSslVerification the value to set
+ * @return the dsl builder
+ */
+ default FaceRecognitionEndpointBuilder ignoreSslVerification(
+ String ignoreSslVerification) {
+ doSetProperty("ignoreSslVerification", ignoreSslVerification);
+ return this;
+ }
+ }
+
+ public interface FaceRecognitionBuilders {
+ /**
+ * Huawei Cloud Face Recognition Service (camel-huaweicloud-frs)
+ * Face Recognition Service (FRS) is an intelligent service that uses
+ * computers to process, analyze, and understand facial images based on
+ * human facial features.
+ *
+ * Category: cloud,messaging
+ * Since: 3.15
+ * Maven coordinates: org.apache.camel:camel-huaweicloud-frs
+ *
+ * Syntax: <code>hwcloud-frs:operation</code>
+ *
+ * Path parameter: operation (required)
+ * Name of Face Recognition operation to perform, including
+ * faceDetection, faceVerification and faceLiveDetection
+ *
+ * @param path operation
+ * @return the dsl builder
+ */
+ default FaceRecognitionEndpointBuilder hwcloudFrs(String path) {
+ return
FaceRecognitionEndpointBuilderFactory.endpointBuilder("hwcloud-frs", path);
+ }
+ /**
+ * Huawei Cloud Face Recognition Service (camel-huaweicloud-frs)
+ * Face Recognition Service (FRS) is an intelligent service that uses
+ * computers to process, analyze, and understand facial images based on
+ * human facial features.
+ *
+ * Category: cloud,messaging
+ * Since: 3.15
+ * Maven coordinates: org.apache.camel:camel-huaweicloud-frs
+ *
+ * Syntax: <code>hwcloud-frs:operation</code>
+ *
+ * Path parameter: operation (required)
+ * Name of Face Recognition operation to perform, including
+ * faceDetection, faceVerification and faceLiveDetection
+ *
+ * @param componentName to use a custom component name for the endpoint
+ * instead of the default name
+ * @param path operation
+ * @return the dsl builder
+ */
+ default FaceRecognitionEndpointBuilder hwcloudFrs(
+ String componentName,
+ String path) {
+ return
FaceRecognitionEndpointBuilderFactory.endpointBuilder(componentName, path);
+ }
+ }
+ static FaceRecognitionEndpointBuilder endpointBuilder(
+ String componentName,
+ String path) {
+ class FaceRecognitionEndpointBuilderImpl extends
AbstractEndpointBuilder implements FaceRecognitionEndpointBuilder {
+ public FaceRecognitionEndpointBuilderImpl(String path) {
+ super(componentName, path);
+ }
+ }
+ return new FaceRecognitionEndpointBuilderImpl(path);
+ }
+}
\ No newline at end of file
diff --git
a/dsl/camel-yaml-dsl/camel-yaml-dsl-deserializers/src/generated/java/org/apache/camel/dsl/yaml/deserializers/EndpointProducerDeserializersResolver.java
b/dsl/camel-yaml-dsl/camel-yaml-dsl-deserializers/src/generated/java/org/apache/camel/dsl/yaml/deserializers/EndpointProducerDeserializersResolver.java
index a494a9c..f974c67 100644
---
a/dsl/camel-yaml-dsl/camel-yaml-dsl-deserializers/src/generated/java/org/apache/camel/dsl/yaml/deserializers/EndpointProducerDeserializersResolver.java
+++
b/dsl/camel-yaml-dsl/camel-yaml-dsl-deserializers/src/generated/java/org/apache/camel/dsl/yaml/deserializers/EndpointProducerDeserializersResolver.java
@@ -152,6 +152,7 @@ public final class EndpointProducerDeserializersResolver
implements YamlDeserial
case "http":
case "https":
case "hwcloud-dms":
+ case "hwcloud-frs":
case "hwcloud-functiongraph":
case "hwcloud-iam":
case "hwcloud-imagerecognition":
diff --git
a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/MojoHelper.java
b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/MojoHelper.java
index f4c3811..a5e95b3 100644
---
a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/MojoHelper.java
+++
b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/MojoHelper.java
@@ -86,12 +86,13 @@ public final class MojoHelper {
dir.resolve("camel-vertx-kafka").resolve("camel-vertx-kafka-component"),
dir.resolve("camel-vertx-websocket"));
case "camel-huawei":
- return
Arrays.asList(dir.resolve("camel-huaweicloud-functiongraph"),
- dir.resolve("camel-huaweicloud-smn"),
- dir.resolve("camel-huaweicloud-iam"),
+ return Arrays.asList(dir.resolve("camel-huaweicloud-frs"),
dir.resolve("camel-huaweicloud-dms"),
+ dir.resolve("camel-huaweicloud-functiongraph"),
+ dir.resolve("camel-huaweicloud-iam"),
dir.resolve("camel-huaweicloud-imagerecognition"),
- dir.resolve("camel-huaweicloud-obs"));
+ dir.resolve("camel-huaweicloud-obs"),
+ dir.resolve("camel-huaweicloud-smn"));
case "camel-knative":
return
Collections.singletonList(dir.resolve("camel-knative-component"));
case "camel-groovy-dsl":