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

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

commit 0db783004aa73956814d14dd1538f85680a82853
Author: Andrea Cosentino <[email protected]>
AuthorDate: Wed Feb 2 06:51:35 2022 +0100

    Fix test for camel-kamelets-catalog: We don't use flow anymore, but 
template in spec
---
 .../java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java   | 2 +-
 .../src/main/resources/kamelets/google-calendar-source.kamelet.yaml   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java
 
b/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java
index 6e3cb9f..7156888 100644
--- 
a/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java
+++ 
b/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java
@@ -113,7 +113,7 @@ public class KameletsCatalogTest {
     @Test
     void testGetKameletsFlow() throws Exception {
         JsonNode flow = catalog.getKameletFlow("aws-sqs-source");
-        assertNotNull(flow);
+        assertNull(flow);
     }
     
     @Test
diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/google-calendar-source.kamelet.yaml
 
b/library/camel-kamelets/src/main/resources/kamelets/google-calendar-source.kamelet.yaml
index 5c5f377..07e4ce5 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/google-calendar-source.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/kamelets/google-calendar-source.kamelet.yaml
@@ -90,7 +90,7 @@ spec:
         title: Application name
         description: Google Calendar application name
         type: string
-      synctemplate:
+      syncFlow:
         title: Sync Flow
         description: Sync events for incremental synchronization
         type: boolean
@@ -122,7 +122,7 @@ spec:
         clientSecret: "{{clientSecret}}"
         delay: "{{delay}}"
         applicationName: "{{applicationName}}"
-        synctemplate: "{{syncFlow}}"
+        syncFlow: "{{syncFlow}}"
         consumeFromNow: "{{consumeFromNow}}"
       steps:
       - marshal:

Reply via email to