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/11/10 09:51:39 UTC

(camel-kamelets) 06/16: Use only camelCase in kamelets yaml - Fhir Kamelets

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

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

commit 4cb62286648e8060f0635176b975085bef223060
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Nov 10 10:17:51 2023 +0100

    Use only camelCase in kamelets yaml - Fhir Kamelets
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/fhir-sink.kamelet.yaml                                   | 8 ++++----
 kamelets/fhir-source.kamelet.yaml                                 | 4 ++--
 .../src/main/resources/kamelets/fhir-sink.kamelet.yaml            | 8 ++++----
 .../src/main/resources/kamelets/fhir-source.kamelet.yaml          | 4 ++--
 4 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/kamelets/fhir-sink.kamelet.yaml b/kamelets/fhir-sink.kamelet.yaml
index 0ca1669d..f215365f 100644
--- a/kamelets/fhir-sink.kamelet.yaml
+++ b/kamelets/fhir-sink.kamelet.yaml
@@ -125,14 +125,14 @@ spec:
               steps:
                 - unmarshal:
                     fhirJson:
-                      fhir-version: "{{fhirVersion}}"
-                      pretty-print: "{{prettyPrint}}"                     
+                      fhirVersion: "{{fhirVersion}}"
+                      prettyPrint: "{{prettyPrint}}"                     
             - simple: "${properties:encoding} =~ 'XML'"
               steps:
                 - unmarshal:
                     fhirXml:
-                      fhir-version: "{{fhirVersion}}"
-                      pretty-print: "{{prettyPrint}}"            
+                      fhirVersion: "{{fhirVersion}}"
+                      prettyPrint: "{{prettyPrint}}"            
       - to: 
           uri: "fhir://{{apiName}}/{{methodName}}"
           parameters: 
diff --git a/kamelets/fhir-source.kamelet.yaml b/kamelets/fhir-source.kamelet.yaml
index af9f1aad..1c8d1cf1 100644
--- a/kamelets/fhir-source.kamelet.yaml
+++ b/kamelets/fhir-source.kamelet.yaml
@@ -100,6 +100,6 @@ spec:
       steps:
       - marshal:
           fhirJson:
-            fhir-version: "{{fhirVersion}}"
-            pretty-print: "{{prettyPrint}}" 
+            fhirVersion: "{{fhirVersion}}"
+            prettyPrint: "{{prettyPrint}}" 
       - to: "kamelet:sink"
diff --git a/library/camel-kamelets/src/main/resources/kamelets/fhir-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/fhir-sink.kamelet.yaml
index 0ca1669d..f215365f 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/fhir-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/fhir-sink.kamelet.yaml
@@ -125,14 +125,14 @@ spec:
               steps:
                 - unmarshal:
                     fhirJson:
-                      fhir-version: "{{fhirVersion}}"
-                      pretty-print: "{{prettyPrint}}"                     
+                      fhirVersion: "{{fhirVersion}}"
+                      prettyPrint: "{{prettyPrint}}"                     
             - simple: "${properties:encoding} =~ 'XML'"
               steps:
                 - unmarshal:
                     fhirXml:
-                      fhir-version: "{{fhirVersion}}"
-                      pretty-print: "{{prettyPrint}}"            
+                      fhirVersion: "{{fhirVersion}}"
+                      prettyPrint: "{{prettyPrint}}"            
       - to: 
           uri: "fhir://{{apiName}}/{{methodName}}"
           parameters: 
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 af9f1aad..1c8d1cf1 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
@@ -100,6 +100,6 @@ spec:
       steps:
       - marshal:
           fhirJson:
-            fhir-version: "{{fhirVersion}}"
-            pretty-print: "{{prettyPrint}}" 
+            fhirVersion: "{{fhirVersion}}"
+            prettyPrint: "{{prettyPrint}}" 
       - to: "kamelet:sink"