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

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

commit 7e21c8b53bac61fa304098dc962698c0dfe65b0c
Author: Andrea Cosentino <[email protected]>
AuthorDate: Fri Nov 13 14:43:37 2020 +0100

    CAMEL-15836 - Camel-AWS2-EC2: enable autowire on the Ec2 client, regen 
catalog
---
 .../resources/org/apache/camel/catalog/components/aws2-ec2.json     | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-ec2.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-ec2.json
index a91d641..10b3133 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-ec2.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-ec2.json
@@ -22,9 +22,8 @@
     "lenientProperties": false
   },
   "componentProperties": {
-    "autoDiscoverClient": { "kind": "property", "displayName": "Auto Discover 
Client", "group": "common", "label": "common", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "configurationClass": 
"org.apache.camel.component.aws2.ec2.AWS2EC2Configuration", 
"configurationField": "configuration", "description": "Setting the 
autoDiscoverClient mechanism, if true, the component will look for a client i 
[...]
     "accessKey": { "kind": "property", "displayName": "Access Key", "group": 
"producer", "label": "producer", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "configurationClass": 
"org.apache.camel.component.aws2.ec2.AWS2EC2Configuration", 
"configurationField": "configuration", "description": "Amazon AWS Access Key" },
-    "amazonEc2Client": { "kind": "property", "displayName": "Amazon Ec2 
Client", "group": "producer", "label": "producer", "required": false, "type": 
"object", "javaType": "software.amazon.awssdk.services.ec2.Ec2Client", 
"deprecated": false, "autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.aws2.ec2.AWS2EC2Configuration", 
"configurationField": "configuration", "description": "To use a existing 
configured AmazonEC2Client as client" },
+    "amazonEc2Client": { "kind": "property", "displayName": "Amazon Ec2 
Client", "group": "producer", "label": "producer", "required": false, "type": 
"object", "javaType": "software.amazon.awssdk.services.ec2.Ec2Client", 
"deprecated": false, "deprecationNote": "", "autowired": true, "secret": false, 
"configurationClass": 
"org.apache.camel.component.aws2.ec2.AWS2EC2Configuration", 
"configurationField": "configuration", "description": "To use a existing 
configured AmazonEC2Client as client" },
     "configuration": { "kind": "property", "displayName": "Configuration", 
"group": "producer", "label": "", "required": false, "type": "object", 
"javaType": "org.apache.camel.component.aws2.ec2.AWS2EC2Configuration", 
"deprecated": false, "autowired": false, "secret": false, "description": "The 
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": "producer", "required": true, "type": "object", 
"javaType": "org.apache.camel.component.aws2.ec2.AWS2EC2Operations", "enum": [ 
"createAndRunInstances", "startInstances", "stopInstances", 
"terminateInstances", "describeInstances", "describeInstancesStatus", 
"rebootInstances", "monitorInstances", "unmonitorInstances", "createTags", 
"deleteTags" ], "deprecated": false, "deprecationNote": "", "au [...]
@@ -39,9 +38,8 @@
   },
   "properties": {
     "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.aws2.ec2.AWS2EC2Configuration", 
"configurationField": "configuration", "description": "Logical name" },
-    "autoDiscoverClient": { "kind": "parameter", "displayName": "Auto Discover 
Client", "group": "common", "label": "common", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "configurationClass": 
"org.apache.camel.component.aws2.ec2.AWS2EC2Configuration", 
"configurationField": "configuration", "description": "Setting the 
autoDiscoverClient mechanism, if true, the component will look for a client  
[...]
     "accessKey": { "kind": "parameter", "displayName": "Access Key", "group": 
"producer", "label": "producer", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "configurationClass": 
"org.apache.camel.component.aws2.ec2.AWS2EC2Configuration", 
"configurationField": "configuration", "description": "Amazon AWS Access Key" },
-    "amazonEc2Client": { "kind": "parameter", "displayName": "Amazon Ec2 
Client", "group": "producer", "label": "producer", "required": false, "type": 
"object", "javaType": "software.amazon.awssdk.services.ec2.Ec2Client", 
"deprecated": false, "autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.aws2.ec2.AWS2EC2Configuration", 
"configurationField": "configuration", "description": "To use a existing 
configured AmazonEC2Client as client" },
+    "amazonEc2Client": { "kind": "parameter", "displayName": "Amazon Ec2 
Client", "group": "producer", "label": "producer", "required": false, "type": 
"object", "javaType": "software.amazon.awssdk.services.ec2.Ec2Client", 
"deprecated": false, "deprecationNote": "", "autowired": true, "secret": false, 
"configurationClass": 
"org.apache.camel.component.aws2.ec2.AWS2EC2Configuration", 
"configurationField": "configuration", "description": "To use a existing 
configured AmazonEC2Client as client" },
     "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": "producer", "required": true, "type": "object", 
"javaType": "org.apache.camel.component.aws2.ec2.AWS2EC2Operations", "enum": [ 
"createAndRunInstances", "startInstances", "stopInstances", 
"terminateInstances", "describeInstances", "describeInstancesStatus", 
"rebootInstances", "monitorInstances", "unmonitorInstances", "createTags", 
"deleteTags" ], "deprecated": false, "deprecationNote": "", "a [...]
     "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.aws2.ec2.AWS2EC2Configuration", 
"configurationField": "configuration", "description": "If we want to use a POJO 
request as body or not" },

Reply via email to