You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/04/26 11:40:04 UTC

[jira] [Commented] (CAMEL-11203) Verifier should support exclusion of properties in option groups

    [ https://issues.apache.org/jira/browse/CAMEL-11203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15984628#comment-15984628 ] 

ASF GitHub Bot commented on CAMEL-11203:
----------------------------------------

GitHub user zregvart opened a pull request:

    https://github.com/apache/camel/pull/1661

    CAMEL-11203 Verifier should support exclusion of properties in option groups

    This adds an exclusion modifier to the parameter given in an option
    group. If the parameter name is preceded with `!` then it should not be
    present when evaluating if the group is valid.
    
    @lburgazzoli @rhuss would you mind taking a look?

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zregvart/camel CAMEL-11203

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/1661.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1661
    
----
commit 8ad57b9eaca2b91e0513afb987dd0986d56c97ca
Author: Zoran Regvart <zr...@apache.org>
Date:   2017-04-26T11:38:42Z

    CAMEL-11203 Verifier should support exclusion o...
    
    ...f properties in option groups
    
    This adds an exclusion modifier to the parameter given in an option
    group. If the parameter name is preceded with `!` then it should not be
    present when evaluating if the group is valid.

----


> Verifier should support exclusion of properties in option groups
> ----------------------------------------------------------------
>
>                 Key: CAMEL-11203
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11203
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.19.0
>            Reporter: Zoran Regvart
>            Assignee: Zoran Regvart
>            Priority: Minor
>
> When validation of Salesforce component properties is done there are three option groups that can be used to specify the way the component authenticates against Salesforce.
> The user needs to provide options that satisfy only one of the combination of properties in order for the component to auto determine the authentication method it needs to perform.
> So specifying username/password along with refresh token is invalid as this implies both username/password authentication flow and refresh token authentication flow.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)