You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2022/08/08 17:51:41 UTC
[camel] branch main updated: Regen for commit 28c7d570791a478ef56ed728bed8d6c300a466af (#8133)
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.git
The following commit(s) were added to refs/heads/main by this push:
new d69ab923a45 Regen for commit 28c7d570791a478ef56ed728bed8d6c300a466af (#8133)
d69ab923a45 is described below
commit d69ab923a4533e50ee75fc224a4db250519b637f
Author: github-actions[bot] <41...@users.noreply.github.com>
AuthorDate: Mon Aug 8 19:51:37 2022 +0200
Regen for commit 28c7d570791a478ef56ed728bed8d6c300a466af (#8133)
Signed-off-by: GitHub <no...@github.com>
Co-authored-by: orpiske <or...@users.noreply.github.com>
---
.../salesforce/SalesforceComponentVerifierExtension.java | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceComponentVerifierExtension.java b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceComponentVerifierExtension.java
index fe872230a2a..e96367c84cf 100644
--- a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceComponentVerifierExtension.java
+++ b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceComponentVerifierExtension.java
@@ -54,11 +54,14 @@ public class SalesforceComponentVerifierExtension extends DefaultComponentVerifi
ResultBuilder builder = ResultBuilder.withStatusAndScope(Result.Status.OK, Scope.PARAMETERS)
.errors(ResultErrorHelper
.requiresAny(parameters,
- OptionsGroup.withName(AuthenticationType.USERNAME_PASSWORD).options("operationName", "clientId", "clientSecret",
+ OptionsGroup.withName(AuthenticationType.USERNAME_PASSWORD).options("operationName", "clientId",
+ "clientSecret",
"userName", "password", "!refreshToken", "!keystore"),
- OptionsGroup.withName(AuthenticationType.REFRESH_TOKEN).options("operationName", "clientId", "clientSecret",
+ OptionsGroup.withName(AuthenticationType.REFRESH_TOKEN).options("operationName", "clientId",
+ "clientSecret",
"refreshToken", "!password", "!keystore"),
- OptionsGroup.withName(AuthenticationType.JWT).options("operationName", "clientId", "userName", "keystore",
+ OptionsGroup.withName(AuthenticationType.JWT).options("operationName", "clientId", "userName",
+ "keystore",
"!password", "!refreshToken")));
// Validate using the catalog