This is an automated email from the ASF dual-hosted git repository.
oscerd pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
The following commit(s) were added to refs/heads/main by this push:
new f1c3fa1f1 Regen for commit dd073ecd034a27ddd8146dfb5ef1a4504e1a4060
(#3060)
f1c3fa1f1 is described below
commit f1c3fa1f1408cfa504f5efb2afdaea311977d653
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Sep 24 11:08:58 2026 +0200
Regen for commit dd073ecd034a27ddd8146dfb5ef1a4504e1a4060 (#3060)
Signed-off-by: GitHub <[email protected]>
Co-authored-by: oscerd <[email protected]>
---
.../salesforce-composite-upsert-sink.kamelet.yaml | 42 +++++++++++++++++++---
.../kamelets/salesforce-create-sink.kamelet.yaml | 42 +++++++++++++++++++---
.../kamelets/salesforce-delete-sink.kamelet.yaml | 42 +++++++++++++++++++---
.../kamelets/salesforce-pubsub-source.kamelet.yaml | 42 +++++++++++++++++++---
.../kamelets/salesforce-source.kamelet.yaml | 42 +++++++++++++++++++---
.../kamelets/salesforce-update-sink.kamelet.yaml | 42 +++++++++++++++++++---
6 files changed, 228 insertions(+), 24 deletions(-)
diff --git
a/library/camel-kamelets/src/main/resources/kamelets/salesforce-composite-upsert-sink.kamelet.yaml
b/library/camel-kamelets/src/main/resources/kamelets/salesforce-composite-upsert-sink.kamelet.yaml
index 0f1754b29..8e2cd2460 100644
---
a/library/camel-kamelets/src/main/resources/kamelets/salesforce-composite-upsert-sink.kamelet.yaml
+++
b/library/camel-kamelets/src/main/resources/kamelets/salesforce-composite-upsert-sink.kamelet.yaml
@@ -37,8 +37,6 @@ spec:
- sObjectIdName
- clientId
- clientSecret
- - userName
- - password
type: object
properties:
sObjectName:
@@ -81,6 +79,37 @@ spec:
format: password
x-descriptors:
- urn:camel:group:credentials
+ authenticationType:
+ title: Authentication Type
+ description: Authentication type to use. USERNAME_PASSWORD needs
userName and password, CLIENT_CREDENTIALS needs only the consumer key and
secret, REFRESH_TOKEN needs refreshToken, JWT needs keystore and jwtAudience.
+ type: string
+ default: USERNAME_PASSWORD
+ enum: ["USERNAME_PASSWORD", "CLIENT_CREDENTIALS", "REFRESH_TOKEN",
"JWT"]
+ refreshToken:
+ title: Refresh Token
+ description: Refresh token used by the REFRESH_TOKEN authentication
type.
+ type: string
+ format: password
+ x-descriptors:
+ - urn:camel:group:credentials
+ instanceUrl:
+ title: Instance URL
+ description: Salesforce instance URL, needed when the authentication
response does not carry one.
+ type: string
+ example: "https://myinstance.my.salesforce.com"
+ jwtAudience:
+ title: JWT Audience
+ description: Audience claim for the JWT authentication type, usually
the login URL of the target org.
+ type: string
+ example: "https://login.salesforce.com"
+ keystore:
+ title: Keystore
+ description: >-
+ Reference to a registry bean of type
org.apache.camel.support.jsse.KeyStoreParameters,
+ written as "#bean:myBeanName", holding the certificate that signs
the JWT. Required by
+ the JWT authentication type and ignored by the others.
+ type: string
+ example: "#bean:myKeystore"
types:
in:
mediaType: application/json
@@ -99,9 +128,14 @@ spec:
sObjectIdName: "{{sObjectIdName}}"
clientId: "{{clientId}}"
clientSecret: "{{clientSecret}}"
- userName: "{{userName}}"
- password: "{{password}}"
+ authenticationType: "{{authenticationType}}"
+ userName: "{{?userName}}"
+ password: "{{?password}}"
+ refreshToken: "{{?refreshToken}}"
loginUrl: "{{loginUrl}}"
+ instanceUrl: "{{?instanceUrl}}"
+ jwtAudience: "{{?jwtAudience}}"
+ keystore: "{{?keystore}}"
from:
uri: kamelet:source
steps:
diff --git
a/library/camel-kamelets/src/main/resources/kamelets/salesforce-create-sink.kamelet.yaml
b/library/camel-kamelets/src/main/resources/kamelets/salesforce-create-sink.kamelet.yaml
index ff7f5cc61..87ae92a0d 100644
---
a/library/camel-kamelets/src/main/resources/kamelets/salesforce-create-sink.kamelet.yaml
+++
b/library/camel-kamelets/src/main/resources/kamelets/salesforce-create-sink.kamelet.yaml
@@ -34,8 +34,6 @@ spec:
required:
- clientId
- clientSecret
- - userName
- - password
type: object
properties:
sObjectName:
@@ -74,6 +72,37 @@ spec:
format: password
x-descriptors:
- urn:camel:group:credentials
+ authenticationType:
+ title: Authentication Type
+ description: Authentication type to use. USERNAME_PASSWORD needs
userName and password, CLIENT_CREDENTIALS needs only the consumer key and
secret, REFRESH_TOKEN needs refreshToken, JWT needs keystore and jwtAudience.
+ type: string
+ default: USERNAME_PASSWORD
+ enum: ["USERNAME_PASSWORD", "CLIENT_CREDENTIALS", "REFRESH_TOKEN",
"JWT"]
+ refreshToken:
+ title: Refresh Token
+ description: Refresh token used by the REFRESH_TOKEN authentication
type.
+ type: string
+ format: password
+ x-descriptors:
+ - urn:camel:group:credentials
+ instanceUrl:
+ title: Instance URL
+ description: Salesforce instance URL, needed when the authentication
response does not carry one.
+ type: string
+ example: "https://myinstance.my.salesforce.com"
+ jwtAudience:
+ title: JWT Audience
+ description: Audience claim for the JWT authentication type, usually
the login URL of the target org.
+ type: string
+ example: "https://login.salesforce.com"
+ keystore:
+ title: Keystore
+ description: >-
+ Reference to a registry bean of type
org.apache.camel.support.jsse.KeyStoreParameters,
+ written as "#bean:myBeanName", holding the certificate that signs
the JWT. Required by
+ the JWT authentication type and ignored by the others.
+ type: string
+ example: "#bean:myKeystore"
types:
in:
mediaType: application/json
@@ -87,9 +116,14 @@ spec:
properties:
clientId: "{{clientId}}"
clientSecret: "{{clientSecret}}"
- userName: "{{userName}}"
- password: "{{password}}"
+ authenticationType: "{{authenticationType}}"
+ userName: "{{?userName}}"
+ password: "{{?password}}"
+ refreshToken: "{{?refreshToken}}"
loginUrl: "{{loginUrl}}"
+ instanceUrl: "{{?instanceUrl}}"
+ jwtAudience: "{{?jwtAudience}}"
+ keystore: "{{?keystore}}"
from:
uri: kamelet:source
steps:
diff --git
a/library/camel-kamelets/src/main/resources/kamelets/salesforce-delete-sink.kamelet.yaml
b/library/camel-kamelets/src/main/resources/kamelets/salesforce-delete-sink.kamelet.yaml
index b6b9b23e1..4fb7171e5 100644
---
a/library/camel-kamelets/src/main/resources/kamelets/salesforce-delete-sink.kamelet.yaml
+++
b/library/camel-kamelets/src/main/resources/kamelets/salesforce-delete-sink.kamelet.yaml
@@ -34,8 +34,6 @@ spec:
required:
- clientId
- clientSecret
- - userName
- - password
type: object
properties:
loginUrl:
@@ -69,6 +67,37 @@ spec:
format: password
x-descriptors:
- urn:camel:group:credentials
+ authenticationType:
+ title: Authentication Type
+ description: Authentication type to use. USERNAME_PASSWORD needs
userName and password, CLIENT_CREDENTIALS needs only the consumer key and
secret, REFRESH_TOKEN needs refreshToken, JWT needs keystore and jwtAudience.
+ type: string
+ default: USERNAME_PASSWORD
+ enum: ["USERNAME_PASSWORD", "CLIENT_CREDENTIALS", "REFRESH_TOKEN",
"JWT"]
+ refreshToken:
+ title: Refresh Token
+ description: Refresh token used by the REFRESH_TOKEN authentication
type.
+ type: string
+ format: password
+ x-descriptors:
+ - urn:camel:group:credentials
+ instanceUrl:
+ title: Instance URL
+ description: Salesforce instance URL, needed when the authentication
response does not carry one.
+ type: string
+ example: "https://myinstance.my.salesforce.com"
+ jwtAudience:
+ title: JWT Audience
+ description: Audience claim for the JWT authentication type, usually
the login URL of the target org.
+ type: string
+ example: "https://login.salesforce.com"
+ keystore:
+ title: Keystore
+ description: >-
+ Reference to a registry bean of type
org.apache.camel.support.jsse.KeyStoreParameters,
+ written as "#bean:myBeanName", holding the certificate that signs
the JWT. Required by
+ the JWT authentication type and ignored by the others.
+ type: string
+ example: "#bean:myKeystore"
types:
in:
mediaType: application/json
@@ -92,9 +121,14 @@ spec:
properties:
clientId: "{{clientId}}"
clientSecret: "{{clientSecret}}"
- userName: "{{userName}}"
- password: "{{password}}"
+ authenticationType: "{{authenticationType}}"
+ userName: "{{?userName}}"
+ password: "{{?password}}"
+ refreshToken: "{{?refreshToken}}"
loginUrl: "{{loginUrl}}"
+ instanceUrl: "{{?instanceUrl}}"
+ jwtAudience: "{{?jwtAudience}}"
+ keystore: "{{?keystore}}"
from:
uri: kamelet:source
steps:
diff --git
a/library/camel-kamelets/src/main/resources/kamelets/salesforce-pubsub-source.kamelet.yaml
b/library/camel-kamelets/src/main/resources/kamelets/salesforce-pubsub-source.kamelet.yaml
index fccd1c007..1d417ff82 100644
---
a/library/camel-kamelets/src/main/resources/kamelets/salesforce-pubsub-source.kamelet.yaml
+++
b/library/camel-kamelets/src/main/resources/kamelets/salesforce-pubsub-source.kamelet.yaml
@@ -35,8 +35,6 @@ spec:
- topic
- clientId
- clientSecret
- - userName
- - password
type: object
properties:
topic:
@@ -75,6 +73,37 @@ spec:
format: password
x-descriptors:
- urn:camel:group:credentials
+ authenticationType:
+ title: Authentication Type
+ description: Authentication type to use. USERNAME_PASSWORD needs
userName and password, CLIENT_CREDENTIALS needs only the consumer key and
secret, REFRESH_TOKEN needs refreshToken, JWT needs keystore and jwtAudience.
+ type: string
+ default: USERNAME_PASSWORD
+ enum: ["USERNAME_PASSWORD", "CLIENT_CREDENTIALS", "REFRESH_TOKEN",
"JWT"]
+ refreshToken:
+ title: Refresh Token
+ description: Refresh token used by the REFRESH_TOKEN authentication
type.
+ type: string
+ format: password
+ x-descriptors:
+ - urn:camel:group:credentials
+ instanceUrl:
+ title: Instance URL
+ description: Salesforce instance URL, needed when the authentication
response does not carry one.
+ type: string
+ example: "https://myinstance.my.salesforce.com"
+ jwtAudience:
+ title: JWT Audience
+ description: Audience claim for the JWT authentication type, usually
the login URL of the target org.
+ type: string
+ example: "https://login.salesforce.com"
+ keystore:
+ title: Keystore
+ description: >-
+ Reference to a registry bean of type
org.apache.camel.support.jsse.KeyStoreParameters,
+ written as "#bean:myBeanName", holding the certificate that signs
the JWT. Required by
+ the JWT authentication type and ignored by the others.
+ type: string
+ example: "#bean:myKeystore"
deserializeType:
title: Deserialize Type
description: >-
@@ -114,9 +143,14 @@ spec:
properties:
clientId: "{{clientId}}"
clientSecret: "{{clientSecret}}"
- userName: "{{userName}}"
- password: "{{password}}"
+ authenticationType: "{{authenticationType}}"
+ userName: "{{?userName}}"
+ password: "{{?password}}"
+ refreshToken: "{{?refreshToken}}"
loginUrl: "{{loginUrl}}"
+ instanceUrl: "{{?instanceUrl}}"
+ jwtAudience: "{{?jwtAudience}}"
+ keystore: "{{?keystore}}"
from:
uri: "{{local-salesforce-pubsub}}:pubSubSubscribe:{{topic}}"
parameters:
diff --git
a/library/camel-kamelets/src/main/resources/kamelets/salesforce-source.kamelet.yaml
b/library/camel-kamelets/src/main/resources/kamelets/salesforce-source.kamelet.yaml
index b33677bb9..37a59b6f6 100644
---
a/library/camel-kamelets/src/main/resources/kamelets/salesforce-source.kamelet.yaml
+++
b/library/camel-kamelets/src/main/resources/kamelets/salesforce-source.kamelet.yaml
@@ -36,8 +36,6 @@ spec:
- topicName
- clientId
- clientSecret
- - userName
- - password
type: object
properties:
query:
@@ -87,6 +85,37 @@ spec:
format: password
x-descriptors:
- urn:camel:group:credentials
+ authenticationType:
+ title: Authentication Type
+ description: Authentication type to use. USERNAME_PASSWORD needs
userName and password, CLIENT_CREDENTIALS needs only the consumer key and
secret, REFRESH_TOKEN needs refreshToken, JWT needs keystore and jwtAudience.
+ type: string
+ default: USERNAME_PASSWORD
+ enum: ["USERNAME_PASSWORD", "CLIENT_CREDENTIALS", "REFRESH_TOKEN",
"JWT"]
+ refreshToken:
+ title: Refresh Token
+ description: Refresh token used by the REFRESH_TOKEN authentication
type.
+ type: string
+ format: password
+ x-descriptors:
+ - urn:camel:group:credentials
+ instanceUrl:
+ title: Instance URL
+ description: Salesforce instance URL, needed when the authentication
response does not carry one.
+ type: string
+ example: "https://myinstance.my.salesforce.com"
+ jwtAudience:
+ title: JWT Audience
+ description: Audience claim for the JWT authentication type, usually
the login URL of the target org.
+ type: string
+ example: "https://login.salesforce.com"
+ keystore:
+ title: Keystore
+ description: >-
+ Reference to a registry bean of type
org.apache.camel.support.jsse.KeyStoreParameters,
+ written as "#bean:myBeanName", holding the certificate that signs
the JWT. Required by
+ the JWT authentication type and ignored by the others.
+ type: string
+ example: "#bean:myKeystore"
notifyForOperationCreate:
title: Notify Operation Create
description: Notify for create operation.
@@ -135,9 +164,14 @@ spec:
properties:
clientId: "{{clientId}}"
clientSecret: "{{clientSecret}}"
- userName: "{{userName}}"
- password: "{{password}}"
+ authenticationType: "{{authenticationType}}"
+ userName: "{{?userName}}"
+ password: "{{?password}}"
+ refreshToken: "{{?refreshToken}}"
loginUrl: "{{loginUrl}}"
+ instanceUrl: "{{?instanceUrl}}"
+ jwtAudience: "{{?jwtAudience}}"
+ keystore: "{{?keystore}}"
from:
uri: "{{local-salesforce}}:{{operation}}:{{topicName}}"
parameters:
diff --git
a/library/camel-kamelets/src/main/resources/kamelets/salesforce-update-sink.kamelet.yaml
b/library/camel-kamelets/src/main/resources/kamelets/salesforce-update-sink.kamelet.yaml
index 776d857ef..4e70b330c 100644
---
a/library/camel-kamelets/src/main/resources/kamelets/salesforce-update-sink.kamelet.yaml
+++
b/library/camel-kamelets/src/main/resources/kamelets/salesforce-update-sink.kamelet.yaml
@@ -35,8 +35,6 @@ spec:
required:
- clientId
- clientSecret
- - userName
- - password
type: object
properties:
loginUrl:
@@ -70,6 +68,37 @@ spec:
format: password
x-descriptors:
- urn:camel:group:credentials
+ authenticationType:
+ title: Authentication Type
+ description: Authentication type to use. USERNAME_PASSWORD needs
userName and password, CLIENT_CREDENTIALS needs only the consumer key and
secret, REFRESH_TOKEN needs refreshToken, JWT needs keystore and jwtAudience.
+ type: string
+ default: USERNAME_PASSWORD
+ enum: ["USERNAME_PASSWORD", "CLIENT_CREDENTIALS", "REFRESH_TOKEN",
"JWT"]
+ refreshToken:
+ title: Refresh Token
+ description: Refresh token used by the REFRESH_TOKEN authentication
type.
+ type: string
+ format: password
+ x-descriptors:
+ - urn:camel:group:credentials
+ instanceUrl:
+ title: Instance URL
+ description: Salesforce instance URL, needed when the authentication
response does not carry one.
+ type: string
+ example: "https://myinstance.my.salesforce.com"
+ jwtAudience:
+ title: JWT Audience
+ description: Audience claim for the JWT authentication type, usually
the login URL of the target org.
+ type: string
+ example: "https://login.salesforce.com"
+ keystore:
+ title: Keystore
+ description: >-
+ Reference to a registry bean of type
org.apache.camel.support.jsse.KeyStoreParameters,
+ written as "#bean:myBeanName", holding the certificate that signs
the JWT. Required by
+ the JWT authentication type and ignored by the others.
+ type: string
+ example: "#bean:myKeystore"
types:
in:
mediaType: application/json
@@ -86,9 +115,14 @@ spec:
properties:
clientId: "{{clientId}}"
clientSecret: "{{clientSecret}}"
- userName: "{{userName}}"
- password: "{{password}}"
+ authenticationType: "{{authenticationType}}"
+ userName: "{{?userName}}"
+ password: "{{?password}}"
+ refreshToken: "{{?refreshToken}}"
loginUrl: "{{loginUrl}}"
+ instanceUrl: "{{?instanceUrl}}"
+ jwtAudience: "{{?jwtAudience}}"
+ keystore: "{{?keystore}}"
from:
uri: kamelet:source
steps: