You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2023/02/09 13:08:43 UTC

[camel-kamelets] 12/16: Convert all the parameters with multiple possible values to enum - Salesforce Source

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch final-enum-3.20.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 596c6f2e47392bd912e7a5f5bedde72881b4074b
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 9 14:01:39 2023 +0100

    Convert all the parameters with multiple possible values to enum - Salesforce Source
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../src/main/resources/kamelets/salesforce-source.kamelet.yaml         | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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 44c319ca..446b5eb6 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
@@ -57,9 +57,10 @@ spec:
         default: https://login.salesforce.com
       notifyForFields:
         title: Notify For Fields
-        description: Notify for fields. Possible values are ALL, REFERENCED, SELECT, or WHERE.
+        description: Notify for fields.
         type: string
         default: ALL
+        enum: [ "ALL", "REFERENCED", "SELECT", "WHERE"]
       clientId:
         title: Consumer Key
         description: The Salesforce application consumer key.