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 03fcf9a3c86 Regen
03fcf9a3c86 is described below
commit 03fcf9a3c86f949fd26f5ce5d70683fc33d1b023
Author: Claus Ibsen <[email protected]>
AuthorDate: Mon Feb 5 13:06:43 2024 +0100
Regen
---
.../catalog/components/aws-secrets-manager.json | 12 ++--
.../springboot/catalog/components/aws2-athena.json | 12 ++--
.../springboot/catalog/components/aws2-cw.json | 16 +++--
.../springboot/catalog/components/aws2-ec2.json | 76 ++++++++++++----------
.../springboot/catalog/languages/datasonnet.json | 7 +-
.../src/main/docs/aws-secrets-manager.json | 13 ++++
.../SecretsManagerComponentConfiguration.java | 26 ++++++++
.../src/main/docs/aws2-athena.json | 13 ++++
.../springboot/Athena2ComponentConfiguration.java | 26 ++++++++
.../src/main/docs/aws2-cw.json | 13 ++++
.../cw/springboot/Cw2ComponentConfiguration.java | 26 ++++++++
.../src/main/docs/aws2-ec2.json | 13 ++++
.../springboot/AWS2EC2ComponentConfiguration.java | 74 ++++++++++++++-------
.../src/main/docs/datasonnet.json | 18 +++++
.../DatasonnetLanguageConfiguration.java | 36 ++++++++++
tooling/camel-spring-boot-dependencies/pom.xml | 62 +++++++++---------
16 files changed, 336 insertions(+), 107 deletions(-)
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws-secrets-manager.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws-secrets-manager.json
index 69b57b88e04..d61e3097860 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws-secrets-manager.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws-secrets-manager.json
@@ -42,8 +42,10 @@
"proxyProtocol": { "index": 16, "kind": "property", "displayName": "Proxy
Protocol", "group": "proxy", "label": "proxy", "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.aws.secretsmanager.SecretsManagerConfiguration",
"configurationField": "configuration", "description": "To define a [...]
"accessKey": { "index": 17, "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.aws.secretsmanager.SecretsManagerConfiguration",
"configurationField": "configuration", "description": "Amazon AWS Access Key" },
"secretKey": { "index": 18, "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.aws.secretsmanager.SecretsManagerConfiguration",
"configurationField": "configuration", "description": "Amazon AWS Secret Key" },
- "trustAllCertificates": { "index": 19, "kind": "property", "displayName":
"Trust All Certificates", "group": "security", "label": "security", "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 trust all
certificates in case of ov [...]
- "useDefaultCredentialsProvider": { "index": 20, "kind": "property",
"displayName": "Use Default Credentials Provider", "group": "security",
"label": "security", "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 whether the
Translate clien [...]
+ "sessionToken": { "index": 19, "kind": "property", "displayName": "Session
Token", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "configurationClass":
"org.apache.camel.component.aws.secretsmanager.SecretsManagerConfiguration",
"configurationField": "configuration", "description": "Amazon AWS Session Token
used when the user needs to assume a IAM role" },
+ "trustAllCertificates": { "index": 20, "kind": "property", "displayName":
"Trust All Certificates", "group": "security", "label": "security", "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 trust all
certificates in case of ov [...]
+ "useDefaultCredentialsProvider": { "index": 21, "kind": "property",
"displayName": "Use Default Credentials Provider", "group": "security",
"label": "security", "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 whether the
Translate clien [...]
+ "useSessionCredentials": { "index": 22, "kind": "property", "displayName":
"Use Session Credentials", "group": "security", "label": "security",
"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 whether the Secrets
Manager client should ex [...]
},
"headers": {
"CamelAwsSecretsManagerOperation": { "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.aws.secretsmanager.SecretsManagerConstants#OPERATION"
},
@@ -72,7 +74,9 @@
"proxyProtocol": { "index": 13, "kind": "parameter", "displayName": "Proxy
Protocol", "group": "proxy", "label": "proxy", "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.aws.secretsmanager.SecretsManagerConfiguration",
"configurationField": "configuration", "description": "To define a [...]
"accessKey": { "index": 14, "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.aws.secretsmanager.SecretsManagerConfiguration",
"configurationField": "configuration", "description": "Amazon AWS Access Key" },
"secretKey": { "index": 15, "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.aws.secretsmanager.SecretsManagerConfiguration",
"configurationField": "configuration", "description": "Amazon AWS Secret Key" },
- "trustAllCertificates": { "index": 16, "kind": "parameter", "displayName":
"Trust All Certificates", "group": "security", "label": "security", "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 trust all
certificates in case of o [...]
- "useDefaultCredentialsProvider": { "index": 17, "kind": "parameter",
"displayName": "Use Default Credentials Provider", "group": "security",
"label": "security", "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 whether the
Translate clie [...]
+ "sessionToken": { "index": 16, "kind": "parameter", "displayName":
"Session Token", "group": "security", "label": "security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": true, "configurationClass":
"org.apache.camel.component.aws.secretsmanager.SecretsManagerConfiguration",
"configurationField": "configuration", "description": "Amazon AWS Session Token
used when the user needs to assume a IAM role" },
+ "trustAllCertificates": { "index": 17, "kind": "parameter", "displayName":
"Trust All Certificates", "group": "security", "label": "security", "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 trust all
certificates in case of o [...]
+ "useDefaultCredentialsProvider": { "index": 18, "kind": "parameter",
"displayName": "Use Default Credentials Provider", "group": "security",
"label": "security", "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 whether the
Translate clie [...]
+ "useSessionCredentials": { "index": 19, "kind": "parameter",
"displayName": "Use Session Credentials", "group": "security", "label":
"security", "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 whether the Secrets
Manager client should e [...]
}
}
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-athena.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-athena.json
index 107c71e0ccb..372fb76b849 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-athena.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-athena.json
@@ -55,8 +55,10 @@
"kmsKey": { "index": 29, "kind": "property", "displayName": "Kms Key",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.aws2.athena.Athena2Configuration",
"configurationField": "configuration", "description": "For SSE-KMS and CSE-KMS,
this is the KMS key ARN or ID." },
"profileCredentialsName": { "index": 30, "kind": "property",
"displayName": "Profile Credentials Name", "group": "security", "label":
"security", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.aws2.athena.Athena2Configuration",
"configurationField": "configuration", "description": "If using a profile
credentials provider this parameter will set the profile [...]
"secretKey": { "index": 31, "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.athena.Athena2Configuration",
"configurationField": "configuration", "description": "Amazon AWS Secret Key."
},
- "useDefaultCredentialsProvider": { "index": 32, "kind": "property",
"displayName": "Use Default Credentials Provider", "group": "security",
"label": "security", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.athena.Athena2Configuration",
"configurationField": "configuration", "description": "Set whether the Athena
client should expect t [...]
- "useProfileCredentialsProvider": { "index": 33, "kind": "property",
"displayName": "Use Profile Credentials Provider", "group": "security",
"label": "security", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.athena.Athena2Configuration",
"configurationField": "configuration", "description": "Set whether the Athena
client should expect t [...]
+ "sessionToken": { "index": 32, "kind": "property", "displayName": "Session
Token", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "configurationClass":
"org.apache.camel.component.aws2.athena.Athena2Configuration",
"configurationField": "configuration", "description": "Amazon AWS Session Token
used when the user needs to assume a IAM role" },
+ "useDefaultCredentialsProvider": { "index": 33, "kind": "property",
"displayName": "Use Default Credentials Provider", "group": "security",
"label": "security", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.athena.Athena2Configuration",
"configurationField": "configuration", "description": "Set whether the Athena
client should expect t [...]
+ "useProfileCredentialsProvider": { "index": 34, "kind": "property",
"displayName": "Use Profile Credentials Provider", "group": "security",
"label": "security", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.athena.Athena2Configuration",
"configurationField": "configuration", "description": "Set whether the Athena
client should expect t [...]
+ "useSessionCredentials": { "index": 35, "kind": "property", "displayName":
"Use Session Credentials", "group": "security", "label": "security",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"configurationClass":
"org.apache.camel.component.aws2.athena.Athena2Configuration",
"configurationField": "configuration", "description": "Set whether the Athena
client should expect to use Session Cre [...]
},
"headers": {
"CamelAwsAthenaOperation": { "index": 0, "kind": "header", "displayName":
"", "group": "all", "label": "all", "required": false, "javaType":
"org.apache.camel.component.aws2.athena.Athena2Operations", "enum": [
"getQueryExecution", "getQueryResults", "listQueryExecutions",
"startQueryExecution" ], "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "defaultValue": "startQueryExecution",
"description": "The operation to perform. Permitted values are getQue [...]
@@ -112,7 +114,9 @@
"kmsKey": { "index": 26, "kind": "parameter", "displayName": "Kms Key",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.aws2.athena.Athena2Configuration",
"configurationField": "configuration", "description": "For SSE-KMS and CSE-KMS,
this is the KMS key ARN or ID." },
"profileCredentialsName": { "index": 27, "kind": "parameter",
"displayName": "Profile Credentials Name", "group": "security", "label":
"security", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.aws2.athena.Athena2Configuration",
"configurationField": "configuration", "description": "If using a profile
credentials provider this parameter will set the profil [...]
"secretKey": { "index": 28, "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.athena.Athena2Configuration",
"configurationField": "configuration", "description": "Amazon AWS Secret Key."
},
- "useDefaultCredentialsProvider": { "index": 29, "kind": "parameter",
"displayName": "Use Default Credentials Provider", "group": "security",
"label": "security", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.athena.Athena2Configuration",
"configurationField": "configuration", "description": "Set whether the Athena
client should expect [...]
- "useProfileCredentialsProvider": { "index": 30, "kind": "parameter",
"displayName": "Use Profile Credentials Provider", "group": "security",
"label": "security", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.athena.Athena2Configuration",
"configurationField": "configuration", "description": "Set whether the Athena
client should expect [...]
+ "sessionToken": { "index": 29, "kind": "parameter", "displayName":
"Session Token", "group": "security", "label": "security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": true, "configurationClass":
"org.apache.camel.component.aws2.athena.Athena2Configuration",
"configurationField": "configuration", "description": "Amazon AWS Session Token
used when the user needs to assume a IAM role" },
+ "useDefaultCredentialsProvider": { "index": 30, "kind": "parameter",
"displayName": "Use Default Credentials Provider", "group": "security",
"label": "security", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.athena.Athena2Configuration",
"configurationField": "configuration", "description": "Set whether the Athena
client should expect [...]
+ "useProfileCredentialsProvider": { "index": 31, "kind": "parameter",
"displayName": "Use Profile Credentials Provider", "group": "security",
"label": "security", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.athena.Athena2Configuration",
"configurationField": "configuration", "description": "Set whether the Athena
client should expect [...]
+ "useSessionCredentials": { "index": 32, "kind": "parameter",
"displayName": "Use Session Credentials", "group": "security", "label":
"security", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "configurationClass":
"org.apache.camel.component.aws2.athena.Athena2Configuration",
"configurationField": "configuration", "description": "Set whether the Athena
client should expect to use Session Cr [...]
}
}
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-cw.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-cw.json
index cdc6c385412..928b80896e9 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-cw.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-cw.json
@@ -42,9 +42,11 @@
"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.cw.Cw2Configuration", "configurationField":
"configuration", "description": "Amazon AWS Access Key" },
"profileCredentialsName": { "index": 17, "kind": "property",
"displayName": "Profile Credentials Name", "group": "security", "label":
"security", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.aws2.cw.Cw2Configuration",
"configurationField": "configuration", "description": "If using a profile
credentials provider this parameter will set the profile name" },
"secretKey": { "index": 18, "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.cw.Cw2Configuration", "configurationField":
"configuration", "description": "Amazon AWS Secret Key" },
- "trustAllCertificates": { "index": 19, "kind": "property", "displayName":
"Trust All Certificates", "group": "security", "label": "security", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false,
"configurationClass": "org.apache.camel.component.aws2.cw.Cw2Configuration",
"configurationField": "configuration", "description": "If we want to trust all
certificates in case of overriding the endpoint" },
- "useDefaultCredentialsProvider": { "index": 20, "kind": "property",
"displayName": "Use Default Credentials Provider", "group": "security",
"label": "security", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.cw.Cw2Configuration", "configurationField":
"configuration", "description": "Set whether the S3 client should expect to
load crede [...]
- "useProfileCredentialsProvider": { "index": 21, "kind": "property",
"displayName": "Use Profile Credentials Provider", "group": "security",
"label": "security", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.cw.Cw2Configuration", "configurationField":
"configuration", "description": "Set whether the Cloudwatch client should
expect to lo [...]
+ "sessionToken": { "index": 19, "kind": "property", "displayName": "Session
Token", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "configurationClass":
"org.apache.camel.component.aws2.cw.Cw2Configuration", "configurationField":
"configuration", "description": "Amazon AWS Session Token used when the user
needs to assume a IAM role" },
+ "trustAllCertificates": { "index": 20, "kind": "property", "displayName":
"Trust All Certificates", "group": "security", "label": "security", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false,
"configurationClass": "org.apache.camel.component.aws2.cw.Cw2Configuration",
"configurationField": "configuration", "description": "If we want to trust all
certificates in case of overriding the endpoint" },
+ "useDefaultCredentialsProvider": { "index": 21, "kind": "property",
"displayName": "Use Default Credentials Provider", "group": "security",
"label": "security", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.cw.Cw2Configuration", "configurationField":
"configuration", "description": "Set whether the S3 client should expect to
load crede [...]
+ "useProfileCredentialsProvider": { "index": 22, "kind": "property",
"displayName": "Use Profile Credentials Provider", "group": "security",
"label": "security", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.cw.Cw2Configuration", "configurationField":
"configuration", "description": "Set whether the Cloudwatch client should
expect to lo [...]
+ "useSessionCredentials": { "index": 23, "kind": "property", "displayName":
"Use Session Credentials", "group": "security", "label": "security",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"configurationClass": "org.apache.camel.component.aws2.cw.Cw2Configuration",
"configurationField": "configuration", "description": "Set whether the
CloudWatch client should expect to use Session Credent [...]
},
"headers": {
"CamelAwsCwMetricNamespace": { "index": 0, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "The Amazon CW metric namespace.",
"constantName":
"org.apache.camel.component.aws2.cw.Cw2Constants#METRIC_NAMESPACE" },
@@ -73,8 +75,10 @@
"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.cw.Cw2Configuration", "configurationField":
"configuration", "description": "Amazon AWS Access Key" },
"profileCredentialsName": { "index": 14, "kind": "parameter",
"displayName": "Profile Credentials Name", "group": "security", "label":
"security", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.aws2.cw.Cw2Configuration",
"configurationField": "configuration", "description": "If using a profile
credentials provider this parameter will set the profile name" },
"secretKey": { "index": 15, "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.cw.Cw2Configuration", "configurationField":
"configuration", "description": "Amazon AWS Secret Key" },
- "trustAllCertificates": { "index": 16, "kind": "parameter", "displayName":
"Trust All Certificates", "group": "security", "label": "security", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false,
"configurationClass": "org.apache.camel.component.aws2.cw.Cw2Configuration",
"configurationField": "configuration", "description": "If we want to trust all
certificates in case of overriding the endpoint" },
- "useDefaultCredentialsProvider": { "index": 17, "kind": "parameter",
"displayName": "Use Default Credentials Provider", "group": "security",
"label": "security", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.cw.Cw2Configuration", "configurationField":
"configuration", "description": "Set whether the S3 client should expect to
load cred [...]
- "useProfileCredentialsProvider": { "index": 18, "kind": "parameter",
"displayName": "Use Profile Credentials Provider", "group": "security",
"label": "security", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.cw.Cw2Configuration", "configurationField":
"configuration", "description": "Set whether the Cloudwatch client should
expect to l [...]
+ "sessionToken": { "index": 16, "kind": "parameter", "displayName":
"Session Token", "group": "security", "label": "security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": true, "configurationClass":
"org.apache.camel.component.aws2.cw.Cw2Configuration", "configurationField":
"configuration", "description": "Amazon AWS Session Token used when the user
needs to assume a IAM role" },
+ "trustAllCertificates": { "index": 17, "kind": "parameter", "displayName":
"Trust All Certificates", "group": "security", "label": "security", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false,
"configurationClass": "org.apache.camel.component.aws2.cw.Cw2Configuration",
"configurationField": "configuration", "description": "If we want to trust all
certificates in case of overriding the endpoint" },
+ "useDefaultCredentialsProvider": { "index": 18, "kind": "parameter",
"displayName": "Use Default Credentials Provider", "group": "security",
"label": "security", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.cw.Cw2Configuration", "configurationField":
"configuration", "description": "Set whether the S3 client should expect to
load cred [...]
+ "useProfileCredentialsProvider": { "index": 19, "kind": "parameter",
"displayName": "Use Profile Credentials Provider", "group": "security",
"label": "security", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.cw.Cw2Configuration", "configurationField":
"configuration", "description": "Set whether the Cloudwatch client should
expect to l [...]
+ "useSessionCredentials": { "index": 20, "kind": "parameter",
"displayName": "Use Session Credentials", "group": "security", "label":
"security", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "configurationClass":
"org.apache.camel.component.aws2.cw.Cw2Configuration", "configurationField":
"configuration", "description": "Set whether the CloudWatch client should
expect to use Session Creden [...]
}
}
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-ec2.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-ec2.json
index 6e76a04c266..a1fd4c6d339 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-ec2.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-ec2.json
@@ -23,26 +23,28 @@
"remote": true
},
"componentProperties": {
- "accessKey": { "index": 0, "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": { "index": 1, "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 AmazonEC2Clie [...]
- "configuration": { "index": 2, "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": { "index": 3, "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 [...]
- "operation": { "index": 4, "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, "deprecationNo [...]
- "overrideEndpoint": { "index": 5, "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.ec2.AWS2EC2Configuration",
"configurationField": "configuration", "description": "Set the need for
overidding the endpoint. This option needs to be used in combination [...]
- "pojoRequest": { "index": 6, "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.ec2.AWS2EC2Configuration",
"configurationField": "configuration", "description": "If we want to use a POJO
request as body or not" },
- "region": { "index": 7, "kind": "property", "displayName": "Region",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "enum": [ "ap-south-2", "ap-south-1",
"eu-south-1", "eu-south-2", "us-gov-east-1", "me-central-1", "il-central-1",
"ca-central-1", "eu-central-1", "us-iso-west-1", "eu-central-2", "us-west-1",
"us-west-2", "af-south-1", "eu-north-1", "eu-west-3", "eu-west-2", "eu-west-1",
"ap-northeast-3", "ap-northeast-2", "ap-nor [...]
- "secretKey": { "index": 8, "kind": "property", "displayName": "Secret
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 Secret Key" },
- "uriEndpointOverride": { "index": 9, "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.ec2.AWS2EC2Configuration",
"configurationField": "configuration", "description": "Set the overriding uri
endpoint. This option needs to be used in combination with overrideEnd [...]
- "autowiredEnabled": { "index": 10, "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 [...]
- "healthCheckConsumerEnabled": { "index": 11, "kind": "property",
"displayName": "Health Check Consumer Enabled", "group": "health", "label":
"health", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Used for enabling or disabling all consumer based health checks
from this component" },
- "healthCheckProducerEnabled": { "index": 12, "kind": "property",
"displayName": "Health Check Producer Enabled", "group": "health", "label":
"health", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Used for enabling or disabling all producer based health checks
from this component. Notice: Camel has by default disabled all producer based
health-checks. You can turn on produce [...]
- "proxyHost": { "index": 13, "kind": "property", "displayName": "Proxy
Host", "group": "proxy", "label": "producer,proxy", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.ec2.AWS2EC2Configuration",
"configurationField": "configuration", "description": "To define a proxy host
when instantiating the EC2 client" },
- "proxyPort": { "index": 14, "kind": "property", "displayName": "Proxy
Port", "group": "proxy", "label": "producer,proxy", "required": false, "type":
"integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.ec2.AWS2EC2Configuration",
"configurationField": "configuration", "description": "To define a proxy port
when instantiating the EC2 client" },
- "proxyProtocol": { "index": 15, "kind": "property", "displayName": "Proxy
Protocol", "group": "proxy", "label": "producer,proxy", "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.ec2.AWS2EC2Configuration",
"configurationField": "configuration", "description": "To define a proxy pr
[...]
- "profileCredentialsName": { "index": 16, "kind": "property",
"displayName": "Profile Credentials Name", "group": "security", "label":
"security", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.aws2.ec2.AWS2EC2Configuration",
"configurationField": "configuration", "description": "If using a profile
credentials provider this parameter will set the profile name" },
- "trustAllCertificates": { "index": 17, "kind": "property", "displayName":
"Trust All Certificates", "group": "security", "label": "security", "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 trust all
certificates in case of overriding the endp [...]
- "useDefaultCredentialsProvider": { "index": 18, "kind": "property",
"displayName": "Use Default Credentials Provider", "group": "security",
"label": "security", "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": "Set whether the EC2
client should expect to load [...]
- "useProfileCredentialsProvider": { "index": 19, "kind": "property",
"displayName": "Use Profile Credentials Provider", "group": "security",
"label": "security", "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": "Set whether the EC2
client should expect to load [...]
+ "amazonEc2Client": { "index": 0, "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 AmazonEC2Clie [...]
+ "configuration": { "index": 1, "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": { "index": 2, "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 [...]
+ "operation": { "index": 3, "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, "deprecationNo [...]
+ "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.ec2.AWS2EC2Configuration",
"configurationField": "configuration", "description": "Set the need for
overidding the endpoint. This option needs to be used in combination [...]
+ "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.ec2.AWS2EC2Configuration",
"configurationField": "configuration", "description": "If we want to use a POJO
request as body or not" },
+ "region": { "index": 6, "kind": "property", "displayName": "Region",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "enum": [ "ap-south-2", "ap-south-1",
"eu-south-1", "eu-south-2", "us-gov-east-1", "me-central-1", "il-central-1",
"ca-central-1", "eu-central-1", "us-iso-west-1", "eu-central-2", "us-west-1",
"us-west-2", "af-south-1", "eu-north-1", "eu-west-3", "eu-west-2", "eu-west-1",
"ap-northeast-3", "ap-northeast-2", "ap-nor [...]
+ "uriEndpointOverride": { "index": 7, "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.ec2.AWS2EC2Configuration",
"configurationField": "configuration", "description": "Set the overriding uri
endpoint. This option needs to be used in combination with overrideEnd [...]
+ "autowiredEnabled": { "index": 8, "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 t [...]
+ "healthCheckConsumerEnabled": { "index": 9, "kind": "property",
"displayName": "Health Check Consumer Enabled", "group": "health", "label":
"health", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Used for enabling or disabling all consumer based health checks
from this component" },
+ "healthCheckProducerEnabled": { "index": 10, "kind": "property",
"displayName": "Health Check Producer Enabled", "group": "health", "label":
"health", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Used for enabling or disabling all producer based health checks
from this component. Notice: Camel has by default disabled all producer based
health-checks. You can turn on produce [...]
+ "proxyHost": { "index": 11, "kind": "property", "displayName": "Proxy
Host", "group": "proxy", "label": "producer,proxy", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.ec2.AWS2EC2Configuration",
"configurationField": "configuration", "description": "To define a proxy host
when instantiating the EC2 client" },
+ "proxyPort": { "index": 12, "kind": "property", "displayName": "Proxy
Port", "group": "proxy", "label": "producer,proxy", "required": false, "type":
"integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.ec2.AWS2EC2Configuration",
"configurationField": "configuration", "description": "To define a proxy port
when instantiating the EC2 client" },
+ "proxyProtocol": { "index": 13, "kind": "property", "displayName": "Proxy
Protocol", "group": "proxy", "label": "producer,proxy", "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.ec2.AWS2EC2Configuration",
"configurationField": "configuration", "description": "To define a proxy pr
[...]
+ "accessKey": { "index": 14, "kind": "property", "displayName": "Access
Key", "group": "security", "label": "producer,security", "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" },
+ "profileCredentialsName": { "index": 15, "kind": "property",
"displayName": "Profile Credentials Name", "group": "security", "label":
"security", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.aws2.ec2.AWS2EC2Configuration",
"configurationField": "configuration", "description": "If using a profile
credentials provider this parameter will set the profile name" },
+ "secretKey": { "index": 16, "kind": "property", "displayName": "Secret
Key", "group": "security", "label": "producer,security", "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 Secret Key" },
+ "sessionToken": { "index": 17, "kind": "property", "displayName": "Session
Token", "group": "security", "label": "producer,security", "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 Session Token
used when the user needs to assume a IAM role" },
+ "trustAllCertificates": { "index": 18, "kind": "property", "displayName":
"Trust All Certificates", "group": "security", "label": "security", "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 trust all
certificates in case of overriding the endp [...]
+ "useDefaultCredentialsProvider": { "index": 19, "kind": "property",
"displayName": "Use Default Credentials Provider", "group": "security",
"label": "security", "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": "Set whether the EC2
client should expect to load [...]
+ "useProfileCredentialsProvider": { "index": 20, "kind": "property",
"displayName": "Use Profile Credentials Provider", "group": "security",
"label": "security", "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": "Set whether the EC2
client should expect to load [...]
+ "useSessionCredentials": { "index": 21, "kind": "property", "displayName":
"Use Session Credentials", "group": "security", "label": "security",
"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": "Set whether the EC2
client should expect to use Session Credentia [...]
},
"headers": {
"CamelAwsEC2ImageId": { "index": 0, "kind": "header", "displayName": "",
"group": "producer", "label": "", "required": false, "javaType": "String",
"deprecated": false, "deprecationNote": "", "autowired": false, "secret":
false, "description": "An image ID of the AWS marketplace", "constantName":
"org.apache.camel.component.aws2.ec2.AWS2EC2Constants#IMAGE_ID" },
@@ -63,21 +65,23 @@
},
"properties": {
"label": { "index": 0, "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" },
- "accessKey": { "index": 1, "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": { "index": 2, "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 AmazonEC2Cli [...]
- "operation": { "index": 3, "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, "deprecationN [...]
- "overrideEndpoint": { "index": 4, "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.ec2.AWS2EC2Configuration",
"configurationField": "configuration", "description": "Set the need for
overidding the endpoint. This option needs to be used in combinatio [...]
- "pojoRequest": { "index": 5, "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" },
- "region": { "index": 6, "kind": "parameter", "displayName": "Region",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "enum": [ "ap-south-2", "ap-south-1",
"eu-south-1", "eu-south-2", "us-gov-east-1", "me-central-1", "il-central-1",
"ca-central-1", "eu-central-1", "us-iso-west-1", "eu-central-2", "us-west-1",
"us-west-2", "af-south-1", "eu-north-1", "eu-west-3", "eu-west-2", "eu-west-1",
"ap-northeast-3", "ap-northeast-2", "ap-no [...]
- "secretKey": { "index": 7, "kind": "parameter", "displayName": "Secret
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 Secret Key" },
- "uriEndpointOverride": { "index": 8, "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.ec2.AWS2EC2Configuration",
"configurationField": "configuration", "description": "Set the overriding uri
endpoint. This option needs to be used in combination with overrideEn [...]
- "lazyStartProducer": { "index": 9, "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 produc [...]
- "proxyHost": { "index": 10, "kind": "parameter", "displayName": "Proxy
Host", "group": "proxy", "label": "producer,proxy", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.ec2.AWS2EC2Configuration",
"configurationField": "configuration", "description": "To define a proxy host
when instantiating the EC2 client" },
- "proxyPort": { "index": 11, "kind": "parameter", "displayName": "Proxy
Port", "group": "proxy", "label": "producer,proxy", "required": false, "type":
"integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.ec2.AWS2EC2Configuration",
"configurationField": "configuration", "description": "To define a proxy port
when instantiating the EC2 client" },
- "proxyProtocol": { "index": 12, "kind": "parameter", "displayName": "Proxy
Protocol", "group": "proxy", "label": "producer,proxy", "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.ec2.AWS2EC2Configuration",
"configurationField": "configuration", "description": "To define a proxy p [...]
- "profileCredentialsName": { "index": 13, "kind": "parameter",
"displayName": "Profile Credentials Name", "group": "security", "label":
"security", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.aws2.ec2.AWS2EC2Configuration",
"configurationField": "configuration", "description": "If using a profile
credentials provider this parameter will set the profile name" },
- "trustAllCertificates": { "index": 14, "kind": "parameter", "displayName":
"Trust All Certificates", "group": "security", "label": "security", "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 trust all
certificates in case of overriding the end [...]
- "useDefaultCredentialsProvider": { "index": 15, "kind": "parameter",
"displayName": "Use Default Credentials Provider", "group": "security",
"label": "security", "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": "Set whether the EC2
client should expect to loa [...]
- "useProfileCredentialsProvider": { "index": 16, "kind": "parameter",
"displayName": "Use Profile Credentials Provider", "group": "security",
"label": "security", "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": "Set whether the EC2
client should expect to loa [...]
+ "amazonEc2Client": { "index": 1, "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 AmazonEC2Cli [...]
+ "operation": { "index": 2, "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, "deprecationN [...]
+ "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.ec2.AWS2EC2Configuration",
"configurationField": "configuration", "description": "Set the need for
overidding the endpoint. This option needs to be used in combinatio [...]
+ "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.ec2.AWS2EC2Configuration",
"configurationField": "configuration", "description": "If we want to use a POJO
request as body or not" },
+ "region": { "index": 5, "kind": "parameter", "displayName": "Region",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "enum": [ "ap-south-2", "ap-south-1",
"eu-south-1", "eu-south-2", "us-gov-east-1", "me-central-1", "il-central-1",
"ca-central-1", "eu-central-1", "us-iso-west-1", "eu-central-2", "us-west-1",
"us-west-2", "af-south-1", "eu-north-1", "eu-west-3", "eu-west-2", "eu-west-1",
"ap-northeast-3", "ap-northeast-2", "ap-no [...]
+ "uriEndpointOverride": { "index": 6, "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.ec2.AWS2EC2Configuration",
"configurationField": "configuration", "description": "Set the overriding uri
endpoint. This option needs to be used in combination with overrideEn [...]
+ "lazyStartProducer": { "index": 7, "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 produc [...]
+ "proxyHost": { "index": 8, "kind": "parameter", "displayName": "Proxy
Host", "group": "proxy", "label": "producer,proxy", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.ec2.AWS2EC2Configuration",
"configurationField": "configuration", "description": "To define a proxy host
when instantiating the EC2 client" },
+ "proxyPort": { "index": 9, "kind": "parameter", "displayName": "Proxy
Port", "group": "proxy", "label": "producer,proxy", "required": false, "type":
"integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.ec2.AWS2EC2Configuration",
"configurationField": "configuration", "description": "To define a proxy port
when instantiating the EC2 client" },
+ "proxyProtocol": { "index": 10, "kind": "parameter", "displayName": "Proxy
Protocol", "group": "proxy", "label": "producer,proxy", "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.ec2.AWS2EC2Configuration",
"configurationField": "configuration", "description": "To define a proxy p [...]
+ "accessKey": { "index": 11, "kind": "parameter", "displayName": "Access
Key", "group": "security", "label": "producer,security", "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" },
+ "profileCredentialsName": { "index": 12, "kind": "parameter",
"displayName": "Profile Credentials Name", "group": "security", "label":
"security", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.aws2.ec2.AWS2EC2Configuration",
"configurationField": "configuration", "description": "If using a profile
credentials provider this parameter will set the profile name" },
+ "secretKey": { "index": 13, "kind": "parameter", "displayName": "Secret
Key", "group": "security", "label": "producer,security", "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 Secret Key" },
+ "sessionToken": { "index": 14, "kind": "parameter", "displayName":
"Session Token", "group": "security", "label": "producer,security", "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 Session Token
used when the user needs to assume a IAM role" },
+ "trustAllCertificates": { "index": 15, "kind": "parameter", "displayName":
"Trust All Certificates", "group": "security", "label": "security", "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 trust all
certificates in case of overriding the end [...]
+ "useDefaultCredentialsProvider": { "index": 16, "kind": "parameter",
"displayName": "Use Default Credentials Provider", "group": "security",
"label": "security", "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": "Set whether the EC2
client should expect to loa [...]
+ "useProfileCredentialsProvider": { "index": 17, "kind": "parameter",
"displayName": "Use Profile Credentials Provider", "group": "security",
"label": "security", "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": "Set whether the EC2
client should expect to loa [...]
+ "useSessionCredentials": { "index": 18, "kind": "parameter",
"displayName": "Use Session Credentials", "group": "security", "label":
"security", "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": "Set whether the EC2
client should expect to use Session Credenti [...]
}
}
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/datasonnet.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/datasonnet.json
index e3e4d2b8232..69388a6d106 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/datasonnet.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/datasonnet.json
@@ -20,7 +20,10 @@
"expression": { "index": 1, "kind": "value", "displayName": "Expression",
"required": true, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
expression value in your chosen language syntax" },
"bodyMediaType": { "index": 2, "kind": "attribute", "displayName": "Body
Media Type", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "The String representation of the message's body MediaType" },
"outputMediaType": { "index": 3, "kind": "attribute", "displayName":
"Output Media Type", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "The String representation of the MediaType to output" },
- "resultType": { "index": 4, "kind": "attribute", "displayName": "Result
Type", "required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
the class of the result type (type from output)" },
- "trim": { "index": 5, "kind": "attribute", "displayName": "Trim", "label":
"advanced", "required": false, "type": "boolean", "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": true, "description": "Whether to trim the value to remove
leading and trailing whitespaces and line breaks" }
+ "variableName": { "index": 4, "kind": "attribute", "displayName":
"Variable Name", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Name of variable to use as input, instead of the message body"
},
+ "headerName": { "index": 5, "kind": "attribute", "displayName": "Header
Name", "label": "advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Name of header to use as input, instead of the message body" },
+ "propertyName": { "index": 6, "kind": "attribute", "displayName":
"Property Name", "label": "advanced", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Name of property to use as input, instead of
the message body." },
+ "resultType": { "index": 7, "kind": "attribute", "displayName": "Result
Type", "required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
the class of the result type (type from output)" },
+ "trim": { "index": 8, "kind": "attribute", "displayName": "Trim", "label":
"advanced", "required": false, "type": "boolean", "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": true, "description": "Whether to trim the value to remove
leading and trailing whitespaces and line breaks" }
}
}
diff --git
a/components-starter/camel-aws-secrets-manager-starter/src/main/docs/aws-secrets-manager.json
b/components-starter/camel-aws-secrets-manager-starter/src/main/docs/aws-secrets-manager.json
index 012b6219a7c..8c6cd5464a5 100644
---
a/components-starter/camel-aws-secrets-manager-starter/src/main/docs/aws-secrets-manager.json
+++
b/components-starter/camel-aws-secrets-manager-starter/src/main/docs/aws-secrets-manager.json
@@ -133,6 +133,12 @@
"description": "To use a existing configured AWS Secrets Manager as
client. The option is a
software.amazon.awssdk.services.secretsmanager.SecretsManagerClient type.",
"sourceType":
"org.apache.camel.component.aws.secretsmanager.springboot.SecretsManagerComponentConfiguration"
},
+ {
+ "name": "camel.component.aws-secrets-manager.session-token",
+ "type": "java.lang.String",
+ "description": "Amazon AWS Session Token used when the user needs to
assume a IAM role",
+ "sourceType":
"org.apache.camel.component.aws.secretsmanager.springboot.SecretsManagerComponentConfiguration"
+ },
{
"name": "camel.component.aws-secrets-manager.trust-all-certificates",
"type": "java.lang.Boolean",
@@ -159,6 +165,13 @@
"description": "Set whether the Secrets Manager client should expect to
load credentials through a profile credentials provider.",
"sourceType":
"org.apache.camel.component.aws.secretsmanager.springboot.SecretsManagerComponentConfiguration",
"defaultValue": false
+ },
+ {
+ "name": "camel.component.aws-secrets-manager.use-session-credentials",
+ "type": "java.lang.Boolean",
+ "description": "Set whether the Secrets Manager client should expect to
use Session Credentials. This is useful in situation in which the user needs to
assume a IAM role for doing operations in Secrets Manager.",
+ "sourceType":
"org.apache.camel.component.aws.secretsmanager.springboot.SecretsManagerComponentConfiguration",
+ "defaultValue": false
}
],
"hints": []
diff --git
a/components-starter/camel-aws-secrets-manager-starter/src/main/java/org/apache/camel/component/aws/secretsmanager/springboot/SecretsManagerComponentConfiguration.java
b/components-starter/camel-aws-secrets-manager-starter/src/main/java/org/apache/camel/component/aws/secretsmanager/springboot/SecretsManagerComponentConfiguration.java
index 52a69f7415f..168f1b00f48 100644
---
a/components-starter/camel-aws-secrets-manager-starter/src/main/java/org/apache/camel/component/aws/secretsmanager/springboot/SecretsManagerComponentConfiguration.java
+++
b/components-starter/camel-aws-secrets-manager-starter/src/main/java/org/apache/camel/component/aws/secretsmanager/springboot/SecretsManagerComponentConfiguration.java
@@ -141,6 +141,10 @@ public class SecretsManagerComponentConfiguration
* Amazon AWS Secret Key
*/
private String secretKey;
+ /**
+ * Amazon AWS Session Token used when the user needs to assume a IAM role
+ */
+ private String sessionToken;
/**
* If we want to trust all certificates in case of overriding the endpoint
*/
@@ -151,6 +155,12 @@ public class SecretsManagerComponentConfiguration
* be passed in.
*/
private Boolean useDefaultCredentialsProvider = false;
+ /**
+ * Set whether the Secrets Manager client should expect to use Session
+ * Credentials. This is useful in situation in which the user needs to
+ * assume a IAM role for doing operations in Secrets Manager.
+ */
+ private Boolean useSessionCredentials = false;
public Boolean getBinaryPayload() {
return binaryPayload;
@@ -306,6 +316,14 @@ public class SecretsManagerComponentConfiguration
this.secretKey = secretKey;
}
+ public String getSessionToken() {
+ return sessionToken;
+ }
+
+ public void setSessionToken(String sessionToken) {
+ this.sessionToken = sessionToken;
+ }
+
public Boolean getTrustAllCertificates() {
return trustAllCertificates;
}
@@ -322,4 +340,12 @@ public class SecretsManagerComponentConfiguration
Boolean useDefaultCredentialsProvider) {
this.useDefaultCredentialsProvider = useDefaultCredentialsProvider;
}
+
+ public Boolean getUseSessionCredentials() {
+ return useSessionCredentials;
+ }
+
+ public void setUseSessionCredentials(Boolean useSessionCredentials) {
+ this.useSessionCredentials = useSessionCredentials;
+ }
}
\ No newline at end of file
diff --git
a/components-starter/camel-aws2-athena-starter/src/main/docs/aws2-athena.json
b/components-starter/camel-aws2-athena-starter/src/main/docs/aws2-athena.json
index 4b74dfc1abc..4cb66dc5b52 100644
---
a/components-starter/camel-aws2-athena-starter/src/main/docs/aws2-athena.json
+++
b/components-starter/camel-aws2-athena-starter/src/main/docs/aws2-athena.json
@@ -214,6 +214,12 @@
"description": "Amazon AWS Secret Key.",
"sourceType":
"org.apache.camel.component.aws2.athena.springboot.Athena2ComponentConfiguration"
},
+ {
+ "name": "camel.component.aws2-athena.session-token",
+ "type": "java.lang.String",
+ "description": "Amazon AWS Session Token used when the user needs to
assume a IAM role",
+ "sourceType":
"org.apache.camel.component.aws2.athena.springboot.Athena2ComponentConfiguration"
+ },
{
"name": "camel.component.aws2-athena.use-default-credentials-provider",
"type": "java.lang.Boolean",
@@ -228,6 +234,13 @@
"sourceType":
"org.apache.camel.component.aws2.athena.springboot.Athena2ComponentConfiguration",
"defaultValue": false
},
+ {
+ "name": "camel.component.aws2-athena.use-session-credentials",
+ "type": "java.lang.Boolean",
+ "description": "Set whether the Athena client should expect to use
Session Credentials. This is useful in situation in which the user needs to
assume a IAM role for doing operations in Athena.",
+ "sourceType":
"org.apache.camel.component.aws2.athena.springboot.Athena2ComponentConfiguration",
+ "defaultValue": false
+ },
{
"name": "camel.component.aws2-athena.wait-timeout",
"type": "java.lang.Long",
diff --git
a/components-starter/camel-aws2-athena-starter/src/main/java/org/apache/camel/component/aws2/athena/springboot/Athena2ComponentConfiguration.java
b/components-starter/camel-aws2-athena-starter/src/main/java/org/apache/camel/component/aws2/athena/springboot/Athena2ComponentConfiguration.java
index 56036571ff8..bb5cb1efb1d 100644
---
a/components-starter/camel-aws2-athena-starter/src/main/java/org/apache/camel/component/aws2/athena/springboot/Athena2ComponentConfiguration.java
+++
b/components-starter/camel-aws2-athena-starter/src/main/java/org/apache/camel/component/aws2/athena/springboot/Athena2ComponentConfiguration.java
@@ -221,6 +221,10 @@ public class Athena2ComponentConfiguration
* Amazon AWS Secret Key.
*/
private String secretKey;
+ /**
+ * Amazon AWS Session Token used when the user needs to assume a IAM role
+ */
+ private String sessionToken;
/**
* Set whether the Athena client should expect to load credentials through
a
* default credentials provider or to expect static credentials to be
passed
@@ -232,6 +236,12 @@ public class Athena2ComponentConfiguration
* profile credentials provider.
*/
private Boolean useProfileCredentialsProvider = false;
+ /**
+ * Set whether the Athena client should expect to use Session Credentials.
+ * This is useful in situation in which the user needs to assume a IAM role
+ * for doing operations in Athena.
+ */
+ private Boolean useSessionCredentials = false;
public Athena2Configuration getConfiguration() {
return configuration;
@@ -489,6 +499,14 @@ public class Athena2ComponentConfiguration
this.secretKey = secretKey;
}
+ public String getSessionToken() {
+ return sessionToken;
+ }
+
+ public void setSessionToken(String sessionToken) {
+ this.sessionToken = sessionToken;
+ }
+
public Boolean getUseDefaultCredentialsProvider() {
return useDefaultCredentialsProvider;
}
@@ -506,4 +524,12 @@ public class Athena2ComponentConfiguration
Boolean useProfileCredentialsProvider) {
this.useProfileCredentialsProvider = useProfileCredentialsProvider;
}
+
+ public Boolean getUseSessionCredentials() {
+ return useSessionCredentials;
+ }
+
+ public void setUseSessionCredentials(Boolean useSessionCredentials) {
+ this.useSessionCredentials = useSessionCredentials;
+ }
}
\ No newline at end of file
diff --git
a/components-starter/camel-aws2-cw-starter/src/main/docs/aws2-cw.json
b/components-starter/camel-aws2-cw-starter/src/main/docs/aws2-cw.json
index 00ce47c39a7..0250c5b7046 100644
--- a/components-starter/camel-aws2-cw-starter/src/main/docs/aws2-cw.json
+++ b/components-starter/camel-aws2-cw-starter/src/main/docs/aws2-cw.json
@@ -119,6 +119,12 @@
"description": "Amazon AWS Secret Key",
"sourceType":
"org.apache.camel.component.aws2.cw.springboot.Cw2ComponentConfiguration"
},
+ {
+ "name": "camel.component.aws2-cw.session-token",
+ "type": "java.lang.String",
+ "description": "Amazon AWS Session Token used when the user needs to
assume a IAM role",
+ "sourceType":
"org.apache.camel.component.aws2.cw.springboot.Cw2ComponentConfiguration"
+ },
{
"name": "camel.component.aws2-cw.timestamp",
"type": "java.time.Instant",
@@ -158,6 +164,13 @@
"sourceType":
"org.apache.camel.component.aws2.cw.springboot.Cw2ComponentConfiguration",
"defaultValue": false
},
+ {
+ "name": "camel.component.aws2-cw.use-session-credentials",
+ "type": "java.lang.Boolean",
+ "description": "Set whether the CloudWatch client should expect to use
Session Credentials. This is useful in situation in which the user needs to
assume a IAM role for doing operations in CloudWatch.",
+ "sourceType":
"org.apache.camel.component.aws2.cw.springboot.Cw2ComponentConfiguration",
+ "defaultValue": false
+ },
{
"name": "camel.component.aws2-cw.value",
"type": "java.lang.Double",
diff --git
a/components-starter/camel-aws2-cw-starter/src/main/java/org/apache/camel/component/aws2/cw/springboot/Cw2ComponentConfiguration.java
b/components-starter/camel-aws2-cw-starter/src/main/java/org/apache/camel/component/aws2/cw/springboot/Cw2ComponentConfiguration.java
index f654166715b..4e87a0e5cb4 100644
---
a/components-starter/camel-aws2-cw-starter/src/main/java/org/apache/camel/component/aws2/cw/springboot/Cw2ComponentConfiguration.java
+++
b/components-starter/camel-aws2-cw-starter/src/main/java/org/apache/camel/component/aws2/cw/springboot/Cw2ComponentConfiguration.java
@@ -138,6 +138,10 @@ public class Cw2ComponentConfiguration
* Amazon AWS Secret Key
*/
private String secretKey;
+ /**
+ * Amazon AWS Session Token used when the user needs to assume a IAM role
+ */
+ private String sessionToken;
/**
* If we want to trust all certificates in case of overriding the endpoint
*/
@@ -153,6 +157,12 @@ public class Cw2ComponentConfiguration
* through a profile credentials provider.
*/
private Boolean useProfileCredentialsProvider = false;
+ /**
+ * Set whether the CloudWatch client should expect to use Session
+ * Credentials. This is useful in situation in which the user needs to
+ * assume a IAM role for doing operations in CloudWatch.
+ */
+ private Boolean useSessionCredentials = false;
public Cw2Configuration getConfiguration() {
return configuration;
@@ -306,6 +316,14 @@ public class Cw2ComponentConfiguration
this.secretKey = secretKey;
}
+ public String getSessionToken() {
+ return sessionToken;
+ }
+
+ public void setSessionToken(String sessionToken) {
+ this.sessionToken = sessionToken;
+ }
+
public Boolean getTrustAllCertificates() {
return trustAllCertificates;
}
@@ -331,4 +349,12 @@ public class Cw2ComponentConfiguration
Boolean useProfileCredentialsProvider) {
this.useProfileCredentialsProvider = useProfileCredentialsProvider;
}
+
+ public Boolean getUseSessionCredentials() {
+ return useSessionCredentials;
+ }
+
+ public void setUseSessionCredentials(Boolean useSessionCredentials) {
+ this.useSessionCredentials = useSessionCredentials;
+ }
}
\ No newline at end of file
diff --git
a/components-starter/camel-aws2-ec2-starter/src/main/docs/aws2-ec2.json
b/components-starter/camel-aws2-ec2-starter/src/main/docs/aws2-ec2.json
index 0621b6854d4..12d8ac30e84 100644
--- a/components-starter/camel-aws2-ec2-starter/src/main/docs/aws2-ec2.json
+++ b/components-starter/camel-aws2-ec2-starter/src/main/docs/aws2-ec2.json
@@ -126,6 +126,12 @@
"description": "Amazon AWS Secret Key",
"sourceType":
"org.apache.camel.component.aws2.ec2.springboot.AWS2EC2ComponentConfiguration"
},
+ {
+ "name": "camel.component.aws2-ec2.session-token",
+ "type": "java.lang.String",
+ "description": "Amazon AWS Session Token used when the user needs to
assume a IAM role",
+ "sourceType":
"org.apache.camel.component.aws2.ec2.springboot.AWS2EC2ComponentConfiguration"
+ },
{
"name": "camel.component.aws2-ec2.trust-all-certificates",
"type": "java.lang.Boolean",
@@ -152,6 +158,13 @@
"description": "Set whether the EC2 client should expect to load
credentials through a profile credentials provider.",
"sourceType":
"org.apache.camel.component.aws2.ec2.springboot.AWS2EC2ComponentConfiguration",
"defaultValue": false
+ },
+ {
+ "name": "camel.component.aws2-ec2.use-session-credentials",
+ "type": "java.lang.Boolean",
+ "description": "Set whether the EC2 client should expect to use Session
Credentials. This is useful in situation in which the user needs to assume a
IAM role for doing operations in EC2.",
+ "sourceType":
"org.apache.camel.component.aws2.ec2.springboot.AWS2EC2ComponentConfiguration",
+ "defaultValue": false
}
],
"hints": []
diff --git
a/components-starter/camel-aws2-ec2-starter/src/main/java/org/apache/camel/component/aws2/ec2/springboot/AWS2EC2ComponentConfiguration.java
b/components-starter/camel-aws2-ec2-starter/src/main/java/org/apache/camel/component/aws2/ec2/springboot/AWS2EC2ComponentConfiguration.java
index a150940e864..2ee9a5d2b85 100644
---
a/components-starter/camel-aws2-ec2-starter/src/main/java/org/apache/camel/component/aws2/ec2/springboot/AWS2EC2ComponentConfiguration.java
+++
b/components-starter/camel-aws2-ec2-starter/src/main/java/org/apache/camel/component/aws2/ec2/springboot/AWS2EC2ComponentConfiguration.java
@@ -39,10 +39,6 @@ public class AWS2EC2ComponentConfiguration
* enabled by default.
*/
private Boolean enabled;
- /**
- * Amazon AWS Access Key
- */
- private String accessKey;
/**
* To use a existing configured AmazonEC2Client as client. The option is a
* software.amazon.awssdk.services.ec2.Ec2Client type.
@@ -86,10 +82,6 @@ public class AWS2EC2ComponentConfiguration
* example ap-east-1) You'll need to use the name Region.EU_WEST_1.id()
*/
private String region;
- /**
- * Amazon AWS Secret Key
- */
- private String secretKey;
/**
* Set the overriding uri endpoint. This option needs to be used in
* combination with overrideEndpoint option
@@ -128,11 +120,23 @@ public class AWS2EC2ComponentConfiguration
* To define a proxy protocol when instantiating the EC2 client
*/
private Protocol proxyProtocol = Protocol.HTTPS;
+ /**
+ * Amazon AWS Access Key
+ */
+ private String accessKey;
/**
* If using a profile credentials provider this parameter will set the
* profile name
*/
private String profileCredentialsName;
+ /**
+ * Amazon AWS Secret Key
+ */
+ private String secretKey;
+ /**
+ * Amazon AWS Session Token used when the user needs to assume a IAM role
+ */
+ private String sessionToken;
/**
* If we want to trust all certificates in case of overriding the endpoint
*/
@@ -148,14 +152,12 @@ public class AWS2EC2ComponentConfiguration
* profile credentials provider.
*/
private Boolean useProfileCredentialsProvider = false;
-
- public String getAccessKey() {
- return accessKey;
- }
-
- public void setAccessKey(String accessKey) {
- this.accessKey = accessKey;
- }
+ /**
+ * Set whether the EC2 client should expect to use Session Credentials.
This
+ * is useful in situation in which the user needs to assume a IAM role for
+ * doing operations in EC2.
+ */
+ private Boolean useSessionCredentials = false;
public Ec2Client getAmazonEc2Client() {
return amazonEc2Client;
@@ -213,14 +215,6 @@ public class AWS2EC2ComponentConfiguration
this.region = region;
}
- public String getSecretKey() {
- return secretKey;
- }
-
- public void setSecretKey(String secretKey) {
- this.secretKey = secretKey;
- }
-
public String getUriEndpointOverride() {
return uriEndpointOverride;
}
@@ -277,6 +271,14 @@ public class AWS2EC2ComponentConfiguration
this.proxyProtocol = proxyProtocol;
}
+ public String getAccessKey() {
+ return accessKey;
+ }
+
+ public void setAccessKey(String accessKey) {
+ this.accessKey = accessKey;
+ }
+
public String getProfileCredentialsName() {
return profileCredentialsName;
}
@@ -285,6 +287,22 @@ public class AWS2EC2ComponentConfiguration
this.profileCredentialsName = profileCredentialsName;
}
+ public String getSecretKey() {
+ return secretKey;
+ }
+
+ public void setSecretKey(String secretKey) {
+ this.secretKey = secretKey;
+ }
+
+ public String getSessionToken() {
+ return sessionToken;
+ }
+
+ public void setSessionToken(String sessionToken) {
+ this.sessionToken = sessionToken;
+ }
+
public Boolean getTrustAllCertificates() {
return trustAllCertificates;
}
@@ -310,4 +328,12 @@ public class AWS2EC2ComponentConfiguration
Boolean useProfileCredentialsProvider) {
this.useProfileCredentialsProvider = useProfileCredentialsProvider;
}
+
+ public Boolean getUseSessionCredentials() {
+ return useSessionCredentials;
+ }
+
+ public void setUseSessionCredentials(Boolean useSessionCredentials) {
+ this.useSessionCredentials = useSessionCredentials;
+ }
}
\ No newline at end of file
diff --git
a/components-starter/camel-datasonnet-starter/src/main/docs/datasonnet.json
b/components-starter/camel-datasonnet-starter/src/main/docs/datasonnet.json
index 0e068afaa9c..947c017a27b 100644
--- a/components-starter/camel-datasonnet-starter/src/main/docs/datasonnet.json
+++ b/components-starter/camel-datasonnet-starter/src/main/docs/datasonnet.json
@@ -30,18 +30,36 @@
"description": "Whether to enable auto configuration of the datasonnet
language. This is enabled by default.",
"sourceType":
"org.apache.camel.language.datasonnet.springboot.DatasonnetLanguageConfiguration"
},
+ {
+ "name": "camel.language.datasonnet.header-name",
+ "type": "java.lang.String",
+ "description": "Name of header to use as input, instead of the message
body",
+ "sourceType":
"org.apache.camel.language.datasonnet.springboot.DatasonnetLanguageConfiguration"
+ },
{
"name": "camel.language.datasonnet.output-media-type",
"type": "java.lang.String",
"description": "The String representation of the MediaType to output",
"sourceType":
"org.apache.camel.language.datasonnet.springboot.DatasonnetLanguageConfiguration"
},
+ {
+ "name": "camel.language.datasonnet.property-name",
+ "type": "java.lang.String",
+ "description": "Name of property to use as input, instead of the message
body.",
+ "sourceType":
"org.apache.camel.language.datasonnet.springboot.DatasonnetLanguageConfiguration"
+ },
{
"name": "camel.language.datasonnet.trim",
"type": "java.lang.Boolean",
"description": "Whether to trim the value to remove leading and trailing
whitespaces and line breaks",
"sourceType":
"org.apache.camel.language.datasonnet.springboot.DatasonnetLanguageConfiguration",
"defaultValue": true
+ },
+ {
+ "name": "camel.language.datasonnet.variable-name",
+ "type": "java.lang.String",
+ "description": "Name of variable to use as input, instead of the message
body",
+ "sourceType":
"org.apache.camel.language.datasonnet.springboot.DatasonnetLanguageConfiguration"
}
],
"hints": []
diff --git
a/components-starter/camel-datasonnet-starter/src/main/java/org/apache/camel/language/datasonnet/springboot/DatasonnetLanguageConfiguration.java
b/components-starter/camel-datasonnet-starter/src/main/java/org/apache/camel/language/datasonnet/springboot/DatasonnetLanguageConfiguration.java
index 2de63f3a305..7ddf1919dfe 100644
---
a/components-starter/camel-datasonnet-starter/src/main/java/org/apache/camel/language/datasonnet/springboot/DatasonnetLanguageConfiguration.java
+++
b/components-starter/camel-datasonnet-starter/src/main/java/org/apache/camel/language/datasonnet/springboot/DatasonnetLanguageConfiguration.java
@@ -42,6 +42,18 @@ public class DatasonnetLanguageConfiguration
* The String representation of the MediaType to output
*/
private String outputMediaType;
+ /**
+ * Name of variable to use as input, instead of the message body
+ */
+ private String variableName;
+ /**
+ * Name of header to use as input, instead of the message body
+ */
+ private String headerName;
+ /**
+ * Name of property to use as input, instead of the message body.
+ */
+ private String propertyName;
/**
* Whether to trim the value to remove leading and trailing whitespaces and
* line breaks
@@ -64,6 +76,30 @@ public class DatasonnetLanguageConfiguration
this.outputMediaType = outputMediaType;
}
+ public String getVariableName() {
+ return variableName;
+ }
+
+ public void setVariableName(String variableName) {
+ this.variableName = variableName;
+ }
+
+ public String getHeaderName() {
+ return headerName;
+ }
+
+ public void setHeaderName(String headerName) {
+ this.headerName = headerName;
+ }
+
+ public String getPropertyName() {
+ return propertyName;
+ }
+
+ public void setPropertyName(String propertyName) {
+ this.propertyName = propertyName;
+ }
+
public Boolean getTrim() {
return trim;
}
diff --git a/tooling/camel-spring-boot-dependencies/pom.xml
b/tooling/camel-spring-boot-dependencies/pom.xml
index 0b869e38ac9..797df8585ed 100644
--- a/tooling/camel-spring-boot-dependencies/pom.xml
+++ b/tooling/camel-spring-boot-dependencies/pom.xml
@@ -54,157 +54,157 @@
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-all</artifactId>
- <version>1.61.0</version>
+ <version>1.61.1</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-alts</artifactId>
- <version>1.61.0</version>
+ <version>1.61.1</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-android</artifactId>
- <version>1.61.0</version>
+ <version>1.61.1</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-api</artifactId>
- <version>1.61.0</version>
+ <version>1.61.1</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-auth</artifactId>
- <version>1.61.0</version>
+ <version>1.61.1</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-benchmarks</artifactId>
- <version>1.61.0</version>
+ <version>1.61.1</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-binder</artifactId>
- <version>1.61.0</version>
+ <version>1.61.1</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-census</artifactId>
- <version>1.61.0</version>
+ <version>1.61.1</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-context</artifactId>
- <version>1.61.0</version>
+ <version>1.61.1</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-core</artifactId>
- <version>1.61.0</version>
+ <version>1.61.1</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-cronet</artifactId>
- <version>1.61.0</version>
+ <version>1.61.1</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-gcp-observability</artifactId>
- <version>1.61.0</version>
+ <version>1.61.1</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-googleapis</artifactId>
- <version>1.61.0</version>
+ <version>1.61.1</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-grpclb</artifactId>
- <version>1.61.0</version>
+ <version>1.61.1</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-inprocess</artifactId>
- <version>1.61.0</version>
+ <version>1.61.1</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-interop-testing</artifactId>
- <version>1.61.0</version>
+ <version>1.61.1</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-netty</artifactId>
- <version>1.61.0</version>
+ <version>1.61.1</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-netty-shaded</artifactId>
- <version>1.61.0</version>
+ <version>1.61.1</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-okhttp</artifactId>
- <version>1.61.0</version>
+ <version>1.61.1</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-protobuf</artifactId>
- <version>1.61.0</version>
+ <version>1.61.1</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-protobuf-lite</artifactId>
- <version>1.61.0</version>
+ <version>1.61.1</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-rls</artifactId>
- <version>1.61.0</version>
+ <version>1.61.1</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-services</artifactId>
- <version>1.61.0</version>
+ <version>1.61.1</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-servlet</artifactId>
- <version>1.61.0</version>
+ <version>1.61.1</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-servlet-jakarta</artifactId>
- <version>1.61.0</version>
+ <version>1.61.1</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-stub</artifactId>
- <version>1.61.0</version>
+ <version>1.61.1</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-testing</artifactId>
- <version>1.61.0</version>
+ <version>1.61.1</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-testing-proto</artifactId>
- <version>1.61.0</version>
+ <version>1.61.1</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-util</artifactId>
- <version>1.61.0</version>
+ <version>1.61.1</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-xds</artifactId>
- <version>1.61.0</version>
+ <version>1.61.1</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>protoc-gen-grpc-java</artifactId>
- <version>1.61.0</version>
+ <version>1.61.1</version>
<type>pom</type>
</dependency>
<dependency>