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/08 10:21:58 UTC

[camel-kamelets] branch main updated (75c3813d -> 5da1aac8)

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

acosentino pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git


    from 75c3813d Convert all the parameters with multiple possible values to enum - Cassandra Source
     new 56ea6a21 Convert all the parameters with multiple possible values to enum - Fhir Source
     new 5da1aac8 Convert all the parameters with multiple possible values to enum - Fhir Source

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 kamelets/fhir-source.kamelet.yaml                                   | 6 ++++--
 .../src/main/resources/kamelets/fhir-source.kamelet.yaml            | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)


[camel-kamelets] 02/02: Convert all the parameters with multiple possible values to enum - Fhir Source

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 5da1aac860aa29c2d15f4bb2fc609c48cb7e8e30
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Feb 8 11:16:01 2023 +0100

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

diff --git a/library/camel-kamelets/src/main/resources/kamelets/fhir-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/fhir-source.kamelet.yaml
index fccc1210..3b8b1325 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/fhir-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/fhir-source.kamelet.yaml
@@ -48,14 +48,16 @@ spec:
         default: "/Patient"
       encoding:
         title: Encoding
-        description: Encoding to use for all request. Possible values are JSON and XML
+        description: Encoding to use for all request. 
         type: string
         default: "JSON"
+        enum: ["JSON", "XML"]
       fhirVersion:
         title: Fhir Version
-        description: The FHIR Version to use. There are 6 enums and the value can be one of DSTU2, DSTU2_HL7ORG, DSTU2_1, DSTU3, R4, R5
+        description: The FHIR Version to use.
         type: string
         default: "R4"
+        enum: ["DSTU2", "DSTU2_HL7ORG", "DSTU2_1", "DSTU3", "R4", "R5"]
       username:
         title: Username
         description: The username to access the Fhir server


[camel-kamelets] 01/02: Convert all the parameters with multiple possible values to enum - Fhir Source

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 56ea6a21842e02fc389b4f35dd7f474331960c0a
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Feb 8 11:13:28 2023 +0100

    Convert all the parameters with multiple possible values to enum - Fhir Source
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/fhir-source.kamelet.yaml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/kamelets/fhir-source.kamelet.yaml b/kamelets/fhir-source.kamelet.yaml
index fccc1210..3b8b1325 100644
--- a/kamelets/fhir-source.kamelet.yaml
+++ b/kamelets/fhir-source.kamelet.yaml
@@ -48,14 +48,16 @@ spec:
         default: "/Patient"
       encoding:
         title: Encoding
-        description: Encoding to use for all request. Possible values are JSON and XML
+        description: Encoding to use for all request. 
         type: string
         default: "JSON"
+        enum: ["JSON", "XML"]
       fhirVersion:
         title: Fhir Version
-        description: The FHIR Version to use. There are 6 enums and the value can be one of DSTU2, DSTU2_HL7ORG, DSTU2_1, DSTU3, R4, R5
+        description: The FHIR Version to use.
         type: string
         default: "R4"
+        enum: ["DSTU2", "DSTU2_HL7ORG", "DSTU2_1", "DSTU3", "R4", "R5"]
       username:
         title: Username
         description: The username to access the Fhir server