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

[camel-kamelets] branch main updated (6faf2e03 -> 751c0744)

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

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


    from 6faf2e03 Updated CHANGELOG.md
     new 68ca6225 chore(deps): Update to YAKS 0.15.1
     new 31973927 fix(aws2-ddb): Fix AWS2 DDB sink Kamelet
     new 583ab6bd chore(test): Fix AWS2 S3 YAKS tests
     new 7c2047e8 fix: Typo in data-type-action.kamelet
     new 751c0744 chore(test): Run YAKS tests with Camel 4.0.0

The 5 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:
 .github/workflows/yaks-tests.yaml                                     | 4 ++--
 kamelets/aws-ddb-sink.kamelet.yaml                                    | 2 +-
 kamelets/data-type-action.kamelet.yaml                                | 2 +-
 .../src/main/resources/kamelets/aws-ddb-sink.kamelet.yaml             | 2 +-
 .../src/main/resources/kamelets/data-type-action.kamelet.yaml         | 2 +-
 test/aws-s3/amazonS3Client.groovy                                     | 2 +-
 test/insert-field-action/yaks-config.yaml                             | 4 ++--
 7 files changed, 9 insertions(+), 9 deletions(-)


[camel-kamelets] 02/05: fix(aws2-ddb): Fix AWS2 DDB sink Kamelet

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

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

commit 319739272304d99c7a410c04b4e90b8df988d32d
Author: Christoph Deppisch <cd...@redhat.com>
AuthorDate: Wed Aug 23 10:30:57 2023 +0200

    fix(aws2-ddb): Fix AWS2 DDB sink Kamelet
    
    Use proper application-json input data type format
---
 kamelets/aws-ddb-sink.kamelet.yaml                                      | 2 +-
 .../src/main/resources/kamelets/aws-ddb-sink.kamelet.yaml               | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kamelets/aws-ddb-sink.kamelet.yaml b/kamelets/aws-ddb-sink.kamelet.yaml
index e3a7696d..e781bff7 100644
--- a/kamelets/aws-ddb-sink.kamelet.yaml
+++ b/kamelets/aws-ddb-sink.kamelet.yaml
@@ -121,7 +121,7 @@ spec:
         type: "#class:org.apache.camel.kamelets.utils.format.DataTypeProcessor"
         properties:
           scheme: 'aws2-ddb'
-          format: 'json'
+          format: 'application-json'
           registry: '#bean:{{dataTypeRegistry}}'
     from:
       uri: "kamelet:source"
diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-ddb-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-ddb-sink.kamelet.yaml
index e3a7696d..e781bff7 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-ddb-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-ddb-sink.kamelet.yaml
@@ -121,7 +121,7 @@ spec:
         type: "#class:org.apache.camel.kamelets.utils.format.DataTypeProcessor"
         properties:
           scheme: 'aws2-ddb'
-          format: 'json'
+          format: 'application-json'
           registry: '#bean:{{dataTypeRegistry}}'
     from:
       uri: "kamelet:source"


[camel-kamelets] 01/05: chore(deps): Update to YAKS 0.15.1

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

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

commit 68ca622594619ecfb209b511adda9c5ae7b4bc1a
Author: Christoph Deppisch <cd...@redhat.com>
AuthorDate: Fri May 26 10:45:41 2023 +0200

    chore(deps): Update to YAKS 0.15.1
    
    - Need to set KAMELET_API_VERSION as YAKS now by default uses v1
---
 .github/workflows/yaks-tests.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/yaks-tests.yaml b/.github/workflows/yaks-tests.yaml
index 1994831a..45993413 100644
--- a/.github/workflows/yaks-tests.yaml
+++ b/.github/workflows/yaks-tests.yaml
@@ -41,8 +41,8 @@ concurrency:
   cancel-in-progress: true
 
 env:
-  YAKS_VERSION: 0.14.2
-  YAKS_RUN_OPTIONS: "--timeout=15m --local -e YAKS_CAMELK_MAX_ATTEMPTS=10 -e YAKS_JBANG_CAMEL_VERSION=4.0.0-M1 -e YAKS_JBANG_KAMELETS_LOCAL_DIR=../../../kamelets"
+  YAKS_VERSION: 0.15.1
+  YAKS_RUN_OPTIONS: "--timeout=15m --local -e YAKS_CAMELK_MAX_ATTEMPTS=10 -e YAKS_JBANG_CAMEL_VERSION=4.0.0-M1 -e YAKS_JBANG_KAMELETS_LOCAL_DIR=../../../kamelets -e YAKS_CAMELK_KAMELET_API_VERSION=v1alpha1"
 
 jobs:
   test:


[camel-kamelets] 03/05: chore(test): Fix AWS2 S3 YAKS tests

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

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

commit 583ab6bd40cc572e306b3a83e15e0e463cdbc288
Author: Christoph Deppisch <cd...@redhat.com>
AuthorDate: Wed Aug 23 10:33:22 2023 +0200

    chore(test): Fix AWS2 S3 YAKS tests
    
    - Force path style access to AWS S3 buckets by using localhost IP address
    - Required as YAKS 0.15.x still uses Camel 3.20.x
---
 test/aws-s3/amazonS3Client.groovy         | 2 +-
 test/insert-field-action/yaks-config.yaml | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/aws-s3/amazonS3Client.groovy b/test/aws-s3/amazonS3Client.groovy
index e0d21074..7e31c675 100644
--- a/test/aws-s3/amazonS3Client.groovy
+++ b/test/aws-s3/amazonS3Client.groovy
@@ -22,7 +22,7 @@ import software.amazon.awssdk.services.s3.S3Client
 
 S3Client s3 = S3Client
         .builder()
-        .endpointOverride(URI.create("${YAKS_TESTCONTAINERS_LOCALSTACK_S3_LOCAL_URL}"))
+        .endpointOverride(URI.create("${YAKS_TESTCONTAINERS_LOCALSTACK_S3_LOCAL_URL}".replace('localhost', '127.0.0.1')))
         .credentialsProvider(StaticCredentialsProvider.create(
                 AwsBasicCredentials.create(
                         "${YAKS_TESTCONTAINERS_LOCALSTACK_ACCESS_KEY}",
diff --git a/test/insert-field-action/yaks-config.yaml b/test/insert-field-action/yaks-config.yaml
index fd4059a5..5aa3f73d 100644
--- a/test/insert-field-action/yaks-config.yaml
+++ b/test/insert-field-action/yaks-config.yaml
@@ -24,14 +24,14 @@ config:
         value: false
       - name: YAKS_KUBERNETES_AUTO_REMOVE_RESOURCES
         value: false
+      - name: YAKS_JBANG_CAMEL_DUMP_INTEGRATION_OUTPUT
+        value: true
     settings:
       loggers:
         - name: INTEGRATION_STATUS
           level: INFO
         - name: INTEGRATION_LOGS
           level: INFO
-        - name: YAKS_JBANG_CAMEL_DUMP_INTEGRATION_OUTPUT
-          value: true
     resources:
       - insert-field-action-binding.yaml
   dump:


[camel-kamelets] 04/05: fix: Typo in data-type-action.kamelet

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

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

commit 7c2047e837372f56c2a955350657deb2468aca51
Author: Christoph Deppisch <cd...@redhat.com>
AuthorDate: Tue May 2 10:04:46 2023 +0200

    fix: Typo in data-type-action.kamelet
---
 kamelets/data-type-action.kamelet.yaml                                  | 2 +-
 .../src/main/resources/kamelets/data-type-action.kamelet.yaml           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kamelets/data-type-action.kamelet.yaml b/kamelets/data-type-action.kamelet.yaml
index 10b670ab..84685131 100644
--- a/kamelets/data-type-action.kamelet.yaml
+++ b/kamelets/data-type-action.kamelet.yaml
@@ -44,7 +44,7 @@ spec:
         example: "camel"
       format:
         title: Data Type Format
-        description: Defines the data type that will be applied by this action. The Kameelet catalog supports different data types and performs automatic message conversion according to the given type.
+        description: Defines the data type that will be applied by this action. The Kamelet catalog supports different data types and performs automatic message conversion according to the given type.
         type: string
   dependencies:
     - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.0.0-SNAPSHOT"
diff --git a/library/camel-kamelets/src/main/resources/kamelets/data-type-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/data-type-action.kamelet.yaml
index 10b670ab..84685131 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/data-type-action.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/data-type-action.kamelet.yaml
@@ -44,7 +44,7 @@ spec:
         example: "camel"
       format:
         title: Data Type Format
-        description: Defines the data type that will be applied by this action. The Kameelet catalog supports different data types and performs automatic message conversion according to the given type.
+        description: Defines the data type that will be applied by this action. The Kamelet catalog supports different data types and performs automatic message conversion according to the given type.
         type: string
   dependencies:
     - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.0.0-SNAPSHOT"


[camel-kamelets] 05/05: chore(test): Run YAKS tests with Camel 4.0.0

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

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

commit 751c07441f5ec715e7aaa514bb5ef4bfa73ce384
Author: Christoph Deppisch <cd...@redhat.com>
AuthorDate: Wed Aug 23 10:58:17 2023 +0200

    chore(test): Run YAKS tests with Camel 4.0.0
---
 .github/workflows/yaks-tests.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/yaks-tests.yaml b/.github/workflows/yaks-tests.yaml
index 45993413..627d5821 100644
--- a/.github/workflows/yaks-tests.yaml
+++ b/.github/workflows/yaks-tests.yaml
@@ -42,7 +42,7 @@ concurrency:
 
 env:
   YAKS_VERSION: 0.15.1
-  YAKS_RUN_OPTIONS: "--timeout=15m --local -e YAKS_CAMELK_MAX_ATTEMPTS=10 -e YAKS_JBANG_CAMEL_VERSION=4.0.0-M1 -e YAKS_JBANG_KAMELETS_LOCAL_DIR=../../../kamelets -e YAKS_CAMELK_KAMELET_API_VERSION=v1alpha1"
+  YAKS_RUN_OPTIONS: "--timeout=15m --local -e YAKS_CAMELK_MAX_ATTEMPTS=10 -e YAKS_JBANG_CAMEL_VERSION=4.0.0 -e YAKS_JBANG_KAMELETS_LOCAL_DIR=../../../kamelets -e YAKS_CAMELK_KAMELET_API_VERSION=v1alpha1"
 
 jobs:
   test: