This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch 0.7.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
The following commit(s) were added to refs/heads/0.7.x by this push:
new e51a9e2 Fix test for camel-kamelets-catalog: We don't use flow
anymore, but template in spec
e51a9e2 is described below
commit e51a9e24789bdc9bbd45132b4a4b10ec53142751
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 90af2ae..b5b8846 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: