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-spring-boot.git
The following commit(s) were added to refs/heads/main by this push:
new f495064d2c8 Regen
f495064d2c8 is described below
commit f495064d2c8a3a355ab3d1ea0b08abe80548fd82
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Jun 15 09:52:39 2023 +0200
Regen
---
.../springboot/catalog/components/aws2-ecs.json | 44 ++++++++++++----------
.../src/main/docs/aws2-ecs.json | 13 +++++++
.../ecs/springboot/ECS2ComponentConfiguration.java | 27 +++++++++++++
3 files changed, 64 insertions(+), 20 deletions(-)
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-ecs.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-ecs.json
index 25a1e955604..96960c4a3c6 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-ecs.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-ecs.json
@@ -28,16 +28,18 @@
"operation": { "index": 3, "kind": "property", "displayName": "Operation",
"group": "producer", "label": "", "required": true, "type": "object",
"javaType": "org.apache.camel.component.aws2.ecs.ECS2Operations", "enum": [
"listClusters", "describeCluster", "createCluster", "deleteCluster" ],
"deprecated": false, "deprecationNote": "", "autowired": false, "secret":
false, "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration [...]
"overrideEndpoint": { "index": 4, "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.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "Set the need for overidding the endpoint. This
option needs to be used in combination wi [...]
"pojoRequest": { "index": 5, "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.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "If we want to use a POJO request as body or
not" },
- "proxyHost": { "index": 6, "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.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "To define a proxy host when instantiating the
ECS client" },
- "proxyPort": { "index": 7, "kind": "property", "displayName": "Proxy
Port", "group": "producer", "label": "", "required": false, "type": "integer",
"javaType": "java.lang.Integer", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "To define a proxy port when instantiating the
ECS client" },
- "proxyProtocol": { "index": 8, "kind": "property", "displayName": "Proxy
Protocol", "group": "producer", "label": "", "required": false, "type":
"object", "javaType": "software.amazon.awssdk.core.Protocol", "enum": [ "HTTP",
"HTTPS" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "HTTPS", "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "To define a proxy protocol when ins [...]
- "region": { "index": 9, "kind": "property", "displayName": "Region",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "The region in which ECS client needs to work.
When using this parameter, the configuration will expect the lowercase name of
[...]
- "trustAllCertificates": { "index": 10, "kind": "property", "displayName":
"Trust All Certificates", "group": "producer", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "If we want to trust all certificates in case
of overriding the endpoint" },
- "uriEndpointOverride": { "index": 11, "kind": "property", "displayName":
"Uri Endpoint Override", "group": "producer", "label": "", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "Set the overriding uri endpoint. This option
needs to be used in combination with overrideEndpo [...]
- "useDefaultCredentialsProvider": { "index": 12, "kind": "property",
"displayName": "Use Default Credentials Provider", "group": "producer",
"label": "", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "Set whether the ECS client should expect to
load credential [...]
- "autowiredEnabled": { "index": 13, "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 [...]
- "accessKey": { "index": 14, "kind": "property", "displayName": "Access
Key", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "Amazon AWS Access Key" },
- "secretKey": { "index": 15, "kind": "property", "displayName": "Secret
Key", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "Amazon AWS Secret Key" }
+ "profileCredentialsName": { "index": 6, "kind": "property", "displayName":
"Profile Credentials Name", "group": "producer", "label": "", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "If using a profile credentials provider this
parameter will set the profile name" },
+ "proxyHost": { "index": 7, "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.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "To define a proxy host when instantiating the
ECS client" },
+ "proxyPort": { "index": 8, "kind": "property", "displayName": "Proxy
Port", "group": "producer", "label": "", "required": false, "type": "integer",
"javaType": "java.lang.Integer", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "To define a proxy port when instantiating the
ECS client" },
+ "proxyProtocol": { "index": 9, "kind": "property", "displayName": "Proxy
Protocol", "group": "producer", "label": "", "required": false, "type":
"object", "javaType": "software.amazon.awssdk.core.Protocol", "enum": [ "HTTP",
"HTTPS" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "HTTPS", "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "To define a proxy protocol when ins [...]
+ "region": { "index": 10, "kind": "property", "displayName": "Region",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "The region in which ECS client needs to work.
When using this parameter, the configuration will expect the lowercase name o
[...]
+ "trustAllCertificates": { "index": 11, "kind": "property", "displayName":
"Trust All Certificates", "group": "producer", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "If we want to trust all certificates in case
of overriding the endpoint" },
+ "uriEndpointOverride": { "index": 12, "kind": "property", "displayName":
"Uri Endpoint Override", "group": "producer", "label": "", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "Set the overriding uri endpoint. This option
needs to be used in combination with overrideEndpo [...]
+ "useDefaultCredentialsProvider": { "index": 13, "kind": "property",
"displayName": "Use Default Credentials Provider", "group": "producer",
"label": "", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "Set whether the ECS client should expect to
load credential [...]
+ "useProfileCredentialsProvider": { "index": 14, "kind": "property",
"displayName": "Use Profile Credentials Provider", "group": "producer",
"label": "", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "Set whether the ECS client should expect to
load credential [...]
+ "autowiredEnabled": { "index": 15, "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 [...]
+ "accessKey": { "index": 16, "kind": "property", "displayName": "Access
Key", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "Amazon AWS Access Key" },
+ "secretKey": { "index": 17, "kind": "property", "displayName": "Secret
Key", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "Amazon AWS Secret Key" }
},
"headers": {
"CamelAwsECSOperation": { "index": 0, "kind": "header", "displayName": "",
"group": "producer", "label": "", "required": false, "javaType": "String",
"deprecated": false, "deprecationNote": "", "autowired": false, "secret":
false, "description": "The operation we want to perform", "constantName":
"org.apache.camel.component.aws2.ecs.ECS2Constants#OPERATION" },
@@ -50,15 +52,17 @@
"operation": { "index": 2, "kind": "parameter", "displayName":
"Operation", "group": "producer", "label": "", "required": true, "type":
"object", "javaType": "org.apache.camel.component.aws2.ecs.ECS2Operations",
"enum": [ "listClusters", "describeCluster", "createCluster", "deleteCluster"
], "deprecated": false, "deprecationNote": "", "autowired": false, "secret":
false, "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuratio [...]
"overrideEndpoint": { "index": 3, "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.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "Set the need for overidding the endpoint. This
option needs to be used in combination w [...]
"pojoRequest": { "index": 4, "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.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "If we want to use a POJO request as body or
not" },
- "proxyHost": { "index": 5, "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.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "To define a proxy host when instantiating the
ECS client" },
- "proxyPort": { "index": 6, "kind": "parameter", "displayName": "Proxy
Port", "group": "producer", "label": "", "required": false, "type": "integer",
"javaType": "java.lang.Integer", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "To define a proxy port when instantiating the
ECS client" },
- "proxyProtocol": { "index": 7, "kind": "parameter", "displayName": "Proxy
Protocol", "group": "producer", "label": "", "required": false, "type":
"object", "javaType": "software.amazon.awssdk.core.Protocol", "enum": [ "HTTP",
"HTTPS" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "HTTPS", "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "To define a proxy protocol when in [...]
- "region": { "index": 8, "kind": "parameter", "displayName": "Region",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "The region in which ECS client needs to work.
When using this parameter, the configuration will expect the lowercase name o
[...]
- "trustAllCertificates": { "index": 9, "kind": "parameter", "displayName":
"Trust All Certificates", "group": "producer", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "If we want to trust all certificates in case
of overriding the endpoint" },
- "uriEndpointOverride": { "index": 10, "kind": "parameter", "displayName":
"Uri Endpoint Override", "group": "producer", "label": "", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "Set the overriding uri endpoint. This option
needs to be used in combination with overrideEndp [...]
- "useDefaultCredentialsProvider": { "index": 11, "kind": "parameter",
"displayName": "Use Default Credentials Provider", "group": "producer",
"label": "", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "Set whether the ECS client should expect to
load credentia [...]
- "lazyStartProducer": { "index": 12, "kind": "parameter", "displayName":
"Lazy Start Producer", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether the producer should be started
lazy (on the first message). By starting lazy you can use this to allow
CamelContext and routes to startup in situations where a produ [...]
- "accessKey": { "index": 13, "kind": "parameter", "displayName": "Access
Key", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "Amazon AWS Access Key" },
- "secretKey": { "index": 14, "kind": "parameter", "displayName": "Secret
Key", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "Amazon AWS Secret Key" }
+ "profileCredentialsName": { "index": 5, "kind": "parameter",
"displayName": "Profile Credentials Name", "group": "producer", "label": "",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "If using a profile credentials provider this
parameter will set the profile name" },
+ "proxyHost": { "index": 6, "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.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "To define a proxy host when instantiating the
ECS client" },
+ "proxyPort": { "index": 7, "kind": "parameter", "displayName": "Proxy
Port", "group": "producer", "label": "", "required": false, "type": "integer",
"javaType": "java.lang.Integer", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "To define a proxy port when instantiating the
ECS client" },
+ "proxyProtocol": { "index": 8, "kind": "parameter", "displayName": "Proxy
Protocol", "group": "producer", "label": "", "required": false, "type":
"object", "javaType": "software.amazon.awssdk.core.Protocol", "enum": [ "HTTP",
"HTTPS" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "HTTPS", "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "To define a proxy protocol when in [...]
+ "region": { "index": 9, "kind": "parameter", "displayName": "Region",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "The region in which ECS client needs to work.
When using this parameter, the configuration will expect the lowercase name o
[...]
+ "trustAllCertificates": { "index": 10, "kind": "parameter", "displayName":
"Trust All Certificates", "group": "producer", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "If we want to trust all certificates in case
of overriding the endpoint" },
+ "uriEndpointOverride": { "index": 11, "kind": "parameter", "displayName":
"Uri Endpoint Override", "group": "producer", "label": "", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "Set the overriding uri endpoint. This option
needs to be used in combination with overrideEndp [...]
+ "useDefaultCredentialsProvider": { "index": 12, "kind": "parameter",
"displayName": "Use Default Credentials Provider", "group": "producer",
"label": "", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "Set whether the ECS client should expect to
load credentia [...]
+ "useProfileCredentialsProvider": { "index": 13, "kind": "parameter",
"displayName": "Use Profile Credentials Provider", "group": "producer",
"label": "", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "Set whether the ECS client should expect to
load credentia [...]
+ "lazyStartProducer": { "index": 14, "kind": "parameter", "displayName":
"Lazy Start Producer", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether the producer should be started
lazy (on the first message). By starting lazy you can use this to allow
CamelContext and routes to startup in situations where a produ [...]
+ "accessKey": { "index": 15, "kind": "parameter", "displayName": "Access
Key", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "Amazon AWS Access Key" },
+ "secretKey": { "index": 16, "kind": "parameter", "displayName": "Secret
Key", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "configurationClass":
"org.apache.camel.component.aws2.ecs.ECS2Configuration", "configurationField":
"configuration", "description": "Amazon AWS Secret Key" }
}
}
diff --git
a/components-starter/camel-aws2-ecs-starter/src/main/docs/aws2-ecs.json
b/components-starter/camel-aws2-ecs-starter/src/main/docs/aws2-ecs.json
index 920e31c8723..808403dd863 100644
--- a/components-starter/camel-aws2-ecs-starter/src/main/docs/aws2-ecs.json
+++ b/components-starter/camel-aws2-ecs-starter/src/main/docs/aws2-ecs.json
@@ -76,6 +76,12 @@
"sourceType":
"org.apache.camel.component.aws2.ecs.springboot.ECS2ComponentConfiguration",
"defaultValue": false
},
+ {
+ "name": "camel.component.aws2-ecs.profile-credentials-name",
+ "type": "java.lang.String",
+ "description": "If using a profile credentials provider this parameter
will set the profile name",
+ "sourceType":
"org.apache.camel.component.aws2.ecs.springboot.ECS2ComponentConfiguration"
+ },
{
"name": "camel.component.aws2-ecs.proxy-host",
"type": "java.lang.String",
@@ -125,6 +131,13 @@
"description": "Set whether the ECS client should expect to load
credentials through a default credentials provider or to expect static
credentials to be passed in.",
"sourceType":
"org.apache.camel.component.aws2.ecs.springboot.ECS2ComponentConfiguration",
"defaultValue": false
+ },
+ {
+ "name": "camel.component.aws2-ecs.use-profile-credentials-provider",
+ "type": "java.lang.Boolean",
+ "description": "Set whether the ECS client should expect to load
credentials through a profile credentials provider.",
+ "sourceType":
"org.apache.camel.component.aws2.ecs.springboot.ECS2ComponentConfiguration",
+ "defaultValue": false
}
],
"hints": []
diff --git
a/components-starter/camel-aws2-ecs-starter/src/main/java/org/apache/camel/component/aws2/ecs/springboot/ECS2ComponentConfiguration.java
b/components-starter/camel-aws2-ecs-starter/src/main/java/org/apache/camel/component/aws2/ecs/springboot/ECS2ComponentConfiguration.java
index 72f150a2e8b..7a1c61577bd 100644
---
a/components-starter/camel-aws2-ecs-starter/src/main/java/org/apache/camel/component/aws2/ecs/springboot/ECS2ComponentConfiguration.java
+++
b/components-starter/camel-aws2-ecs-starter/src/main/java/org/apache/camel/component/aws2/ecs/springboot/ECS2ComponentConfiguration.java
@@ -73,6 +73,11 @@ public class ECS2ComponentConfiguration
* If we want to use a POJO request as body or not
*/
private Boolean pojoRequest = false;
+ /**
+ * If using a profile credentials provider this parameter will set the
+ * profile name
+ */
+ private String profileCredentialsName;
/**
* To define a proxy host when instantiating the ECS client
*/
@@ -106,6 +111,11 @@ public class ECS2ComponentConfiguration
* in.
*/
private Boolean useDefaultCredentialsProvider = false;
+ /**
+ * Set whether the ECS client should expect to load credentials through a
+ * profile credentials provider.
+ */
+ private Boolean useProfileCredentialsProvider = false;
/**
* Whether autowiring is enabled. This is used for automatic autowiring
* options (the option must be marked as autowired) by looking up in the
@@ -172,6 +182,14 @@ public class ECS2ComponentConfiguration
this.pojoRequest = pojoRequest;
}
+ public String getProfileCredentialsName() {
+ return profileCredentialsName;
+ }
+
+ public void setProfileCredentialsName(String profileCredentialsName) {
+ this.profileCredentialsName = profileCredentialsName;
+ }
+
public String getProxyHost() {
return proxyHost;
}
@@ -229,6 +247,15 @@ public class ECS2ComponentConfiguration
this.useDefaultCredentialsProvider = useDefaultCredentialsProvider;
}
+ public Boolean getUseProfileCredentialsProvider() {
+ return useProfileCredentialsProvider;
+ }
+
+ public void setUseProfileCredentialsProvider(
+ Boolean useProfileCredentialsProvider) {
+ this.useProfileCredentialsProvider = useProfileCredentialsProvider;
+ }
+
public Boolean getAutowiredEnabled() {
return autowiredEnabled;
}