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

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 1253e2d907b8c62cbe00a3d4b72025bf6c96dfdd
Author: Andrea Cosentino <[email protected]>
AuthorDate: Tue Aug 31 15:03:22 2021 +0200

    Camel-AWS-Secrets-Manager: Regen docs and builders
---
 .../camel/component/aws/secretsmanager/aws-secrets-manager.json       | 4 ++--
 .../src/main/docs/aws-secrets-manager-component.adoc                  | 4 ++--
 .../builder/endpoint/dsl/SecretsManagerEndpointBuilderFactory.java    | 1 +
 docs/components/modules/ROOT/pages/aws-secrets-manager-component.adoc | 4 ++--
 4 files changed, 7 insertions(+), 6 deletions(-)

diff --git 
a/components/camel-aws/camel-aws-secrets-manager/src/generated/resources/org/apache/camel/component/aws/secretsmanager/aws-secrets-manager.json
 
b/components/camel-aws/camel-aws-secrets-manager/src/generated/resources/org/apache/camel/component/aws/secretsmanager/aws-secrets-manager.json
index b74c1ca..d1c387e 100644
--- 
a/components/camel-aws/camel-aws-secrets-manager/src/generated/resources/org/apache/camel/component/aws/secretsmanager/aws-secrets-manager.json
+++ 
b/components/camel-aws/camel-aws-secrets-manager/src/generated/resources/org/apache/camel/component/aws/secretsmanager/aws-secrets-manager.json
@@ -25,7 +25,7 @@
     "binaryPayload": { "kind": "property", "displayName": "Binary Payload", 
"group": "producer", "label": "", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws.secretsmanager.SecretsManagerConfiguration", 
"configurationField": "configuration", "description": "Set if the secret is 
binary or not" },
     "configuration": { "kind": "property", "displayName": "Configuration", 
"group": "producer", "label": "", "required": false, "type": "object", 
"javaType": 
"org.apache.camel.component.aws.secretsmanager.SecretsManagerConfiguration", 
"deprecated": false, "autowired": false, "secret": false, "description": 
"Component configuration" },
     "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 [...]
-    "operation": { "kind": "property", "displayName": "Operation", "group": 
"producer", "label": "", "required": true, "type": "object", "javaType": 
"org.apache.camel.component.aws.secretsmanager.SecretsManagerOperations", 
"enum": [ "listSecrets", "createSecret", "getSecret", "describeSecret", 
"deleteSecret", "rotateSecret", "updateSecret", "replicateSecretToRegions" ], 
"deprecated": false, "deprecationNote": "", "autowired": false, "secret": 
false, "configurationClass": "org.apache.came [...]
+    "operation": { "kind": "property", "displayName": "Operation", "group": 
"producer", "label": "", "required": true, "type": "object", "javaType": 
"org.apache.camel.component.aws.secretsmanager.SecretsManagerOperations", 
"enum": [ "listSecrets", "createSecret", "getSecret", "describeSecret", 
"deleteSecret", "rotateSecret", "updateSecret", "restoreSecret", 
"replicateSecretToRegions" ], "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": false, "configurationClass": [...]
     "overrideEndpoint": { "kind": "property", "displayName": "Override 
Endpoint", "group": "producer", "label": "", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws.secretsmanager.SecretsManagerConfiguration", 
"configurationField": "configuration", "description": "Set the need for 
overidding the endpoint. This option needs to be used in combin [...]
     "pojoRequest": { "kind": "property", "displayName": "Pojo Request", 
"group": "producer", "label": "", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws.secretsmanager.SecretsManagerConfiguration", 
"configurationField": "configuration", "description": "If we want to use a POJO 
request as body or not" },
     "proxyHost": { "kind": "property", "displayName": "Proxy Host", "group": 
"producer", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.aws.secretsmanager.SecretsManagerConfiguration", 
"configurationField": "configuration", "description": "To define a proxy host 
when instantiating the Secrets Manager client" },
@@ -44,7 +44,7 @@
     "label": { "kind": "path", "displayName": "Label", "group": "producer", 
"label": "", "required": true, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.aws.secretsmanager.SecretsManagerConfiguration", 
"configurationField": "configuration", "description": "Logical name" },
     "binaryPayload": { "kind": "parameter", "displayName": "Binary Payload", 
"group": "producer", "label": "", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws.secretsmanager.SecretsManagerConfiguration", 
"configurationField": "configuration", "description": "Set if the secret is 
binary or not" },
     "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 [...]
-    "operation": { "kind": "parameter", "displayName": "Operation", "group": 
"producer", "label": "", "required": true, "type": "object", "javaType": 
"org.apache.camel.component.aws.secretsmanager.SecretsManagerOperations", 
"enum": [ "listSecrets", "createSecret", "getSecret", "describeSecret", 
"deleteSecret", "rotateSecret", "updateSecret", "replicateSecretToRegions" ], 
"deprecated": false, "deprecationNote": "", "autowired": false, "secret": 
false, "configurationClass": "org.apache.cam [...]
+    "operation": { "kind": "parameter", "displayName": "Operation", "group": 
"producer", "label": "", "required": true, "type": "object", "javaType": 
"org.apache.camel.component.aws.secretsmanager.SecretsManagerOperations", 
"enum": [ "listSecrets", "createSecret", "getSecret", "describeSecret", 
"deleteSecret", "rotateSecret", "updateSecret", "restoreSecret", 
"replicateSecretToRegions" ], "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": false, "configurationClass" [...]
     "overrideEndpoint": { "kind": "parameter", "displayName": "Override 
Endpoint", "group": "producer", "label": "", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws.secretsmanager.SecretsManagerConfiguration", 
"configurationField": "configuration", "description": "Set the need for 
overidding the endpoint. This option needs to be used in combi [...]
     "pojoRequest": { "kind": "parameter", "displayName": "Pojo Request", 
"group": "producer", "label": "", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws.secretsmanager.SecretsManagerConfiguration", 
"configurationField": "configuration", "description": "If we want to use a POJO 
request as body or not" },
     "proxyHost": { "kind": "parameter", "displayName": "Proxy Host", "group": 
"producer", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.aws.secretsmanager.SecretsManagerConfiguration", 
"configurationField": "configuration", "description": "To define a proxy host 
when instantiating the Secrets Manager client" },
diff --git 
a/components/camel-aws/camel-aws-secrets-manager/src/main/docs/aws-secrets-manager-component.adoc
 
b/components/camel-aws/camel-aws-secrets-manager/src/main/docs/aws-secrets-manager-component.adoc
index 5c63a36..61b2b8f 100644
--- 
a/components/camel-aws/camel-aws-secrets-manager/src/main/docs/aws-secrets-manager-component.adoc
+++ 
b/components/camel-aws/camel-aws-secrets-manager/src/main/docs/aws-secrets-manager-component.adoc
@@ -83,7 +83,7 @@ The AWS Secrets Manager component supports 17 options, which 
are listed below.
 | *binaryPayload* (producer) | Set if the secret is binary or not | false | 
boolean
 | *configuration* (producer) | Component configuration |  | 
SecretsManagerConfiguration
 | *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 [...]
-| *operation* (producer) | *Required* The operation to perform. There are 8 
enums and the value can be one of: listSecrets, createSecret, getSecret, 
describeSecret, deleteSecret, rotateSecret, updateSecret, 
replicateSecretToRegions |  | SecretsManagerOperations
+| *operation* (producer) | *Required* The operation to perform. There are 9 
enums and the value can be one of: listSecrets, createSecret, getSecret, 
describeSecret, deleteSecret, rotateSecret, updateSecret, restoreSecret, 
replicateSecretToRegions |  | SecretsManagerOperations
 | *overrideEndpoint* (producer) | Set the need for overidding the endpoint. 
This option needs to be used in combination with uriEndpointOverride option | 
false | boolean
 | *pojoRequest* (producer) | If we want to use a POJO request as body or not | 
false | boolean
 | *proxyHost* (producer) | To define a proxy host when instantiating the 
Secrets Manager client |  | String
@@ -129,7 +129,7 @@ with the following path and query parameters:
 | Name | Description | Default | Type
 | *binaryPayload* (producer) | Set if the secret is binary or not | 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 [...]
-| *operation* (producer) | *Required* The operation to perform. There are 8 
enums and the value can be one of: listSecrets, createSecret, getSecret, 
describeSecret, deleteSecret, rotateSecret, updateSecret, 
replicateSecretToRegions |  | SecretsManagerOperations
+| *operation* (producer) | *Required* The operation to perform. There are 9 
enums and the value can be one of: listSecrets, createSecret, getSecret, 
describeSecret, deleteSecret, rotateSecret, updateSecret, restoreSecret, 
replicateSecretToRegions |  | SecretsManagerOperations
 | *overrideEndpoint* (producer) | Set the need for overidding the endpoint. 
This option needs to be used in combination with uriEndpointOverride option | 
false | boolean
 | *pojoRequest* (producer) | If we want to use a POJO request as body or not | 
false | boolean
 | *proxyHost* (producer) | To define a proxy host when instantiating the 
Secrets Manager client |  | String
diff --git 
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SecretsManagerEndpointBuilderFactory.java
 
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SecretsManagerEndpointBuilderFactory.java
index 19c6253..cd40938 100644
--- 
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SecretsManagerEndpointBuilderFactory.java
+++ 
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SecretsManagerEndpointBuilderFactory.java
@@ -473,6 +473,7 @@ public interface SecretsManagerEndpointBuilderFactory {
         deleteSecret,
         rotateSecret,
         updateSecret,
+        restoreSecret,
         replicateSecretToRegions;
     }
 
diff --git 
a/docs/components/modules/ROOT/pages/aws-secrets-manager-component.adoc 
b/docs/components/modules/ROOT/pages/aws-secrets-manager-component.adoc
index 92688fd..94ed55b 100644
--- a/docs/components/modules/ROOT/pages/aws-secrets-manager-component.adoc
+++ b/docs/components/modules/ROOT/pages/aws-secrets-manager-component.adoc
@@ -85,7 +85,7 @@ The AWS Secrets Manager component supports 17 options, which 
are listed below.
 | *binaryPayload* (producer) | Set if the secret is binary or not | false | 
boolean
 | *configuration* (producer) | Component configuration |  | 
SecretsManagerConfiguration
 | *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 [...]
-| *operation* (producer) | *Required* The operation to perform. There are 8 
enums and the value can be one of: listSecrets, createSecret, getSecret, 
describeSecret, deleteSecret, rotateSecret, updateSecret, 
replicateSecretToRegions |  | SecretsManagerOperations
+| *operation* (producer) | *Required* The operation to perform. There are 9 
enums and the value can be one of: listSecrets, createSecret, getSecret, 
describeSecret, deleteSecret, rotateSecret, updateSecret, restoreSecret, 
replicateSecretToRegions |  | SecretsManagerOperations
 | *overrideEndpoint* (producer) | Set the need for overidding the endpoint. 
This option needs to be used in combination with uriEndpointOverride option | 
false | boolean
 | *pojoRequest* (producer) | If we want to use a POJO request as body or not | 
false | boolean
 | *proxyHost* (producer) | To define a proxy host when instantiating the 
Secrets Manager client |  | String
@@ -131,7 +131,7 @@ with the following path and query parameters:
 | Name | Description | Default | Type
 | *binaryPayload* (producer) | Set if the secret is binary or not | 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 [...]
-| *operation* (producer) | *Required* The operation to perform. There are 8 
enums and the value can be one of: listSecrets, createSecret, getSecret, 
describeSecret, deleteSecret, rotateSecret, updateSecret, 
replicateSecretToRegions |  | SecretsManagerOperations
+| *operation* (producer) | *Required* The operation to perform. There are 9 
enums and the value can be one of: listSecrets, createSecret, getSecret, 
describeSecret, deleteSecret, rotateSecret, updateSecret, restoreSecret, 
replicateSecretToRegions |  | SecretsManagerOperations
 | *overrideEndpoint* (producer) | Set the need for overidding the endpoint. 
This option needs to be used in combination with uriEndpointOverride option | 
false | boolean
 | *pojoRequest* (producer) | If we want to use a POJO request as body or not | 
false | boolean
 | *proxyHost* (producer) | To define a proxy host when instantiating the 
Secrets Manager client |  | String

Reply via email to