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 2024/09/26 12:24:38 UTC
(camel-kamelets) branch main updated: Removed it-tests folder and related infra (#2218)
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
The following commit(s) were added to refs/heads/main by this push:
new e5ab1f86 Removed it-tests folder and related infra (#2218)
e5ab1f86 is described below
commit e5ab1f864fe9692b4e5dfe5769409e95781cc6f0
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Sep 26 14:24:33 2024 +0200
Removed it-tests folder and related infra (#2218)
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
infra/aws-s3/Readme.md | 58 ---------
infra/aws-s3/ansible/aws-s3-removal.yaml | 9 --
infra/aws-s3/ansible/aws-s3.yaml | 12 --
infra/aws-s3/cloudformation/aws-s3.yaml | 12 --
infra/aws-s3/terraform/main.tf | 7 --
infra/aws-sqs/Readme.md | 58 ---------
infra/aws-sqs/ansible/aws-sqs-removal.yaml | 10 --
infra/aws-sqs/ansible/aws-sqs.yaml | 10 --
infra/aws-sqs/cloudformation/aws-sqs.yaml | 11 --
infra/aws-sqs/terraform/main.tf | 7 --
it-tests/Makefile | 96 ---------------
it-tests/README.md | 14 ---
.../aws-kinesis-firehose/sink/terraform/main.tf | 86 --------------
.../sink/timer-aws-kinesis-firehose-it-test.sh | 37 ------
.../sink/timer-aws-kinesis-firehose.yaml | 29 -----
it-tests/aws/aws-kinesis/sink/terraform/main.tf | 56 ---------
.../aws-kinesis/sink/timer-aws-kinesis-it-test.sh | 37 ------
.../aws/aws-kinesis/sink/timer-aws-kinesis.yaml | 29 -----
.../aws-kinesis/source/aws-kinesis-log-it-test.sh | 45 -------
.../aws/aws-kinesis/source/aws-kinesis-log.yaml | 29 -----
it-tests/aws/aws-kinesis/source/example-file.txt | 1 -
it-tests/aws/aws-kinesis/source/terraform/main.tf | 56 ---------
it-tests/aws/aws-s3-cdc/source/aws-keys.properties | 2 -
.../aws-s3-cdc/source/aws-s3-cdc-log-it-test.sh | 45 -------
it-tests/aws/aws-s3-cdc/source/aws-s3-cdc-log.yaml | 29 -----
it-tests/aws/aws-s3-cdc/source/example-file.txt | 1 -
it-tests/aws/aws-s3-cdc/source/terraform/main.tf | 130 ---------------------
it-tests/aws/aws-s3/sink/terraform/main.tf | 52 ---------
it-tests/aws/aws-s3/sink/timer-aws-s3-it-test.sh | 37 ------
it-tests/aws/aws-s3/sink/timer-aws-s3.yaml | 29 -----
it-tests/aws/aws-s3/source/aws-s3-log-it-test.sh | 45 -------
it-tests/aws/aws-s3/source/aws-s3-log.yaml | 29 -----
it-tests/aws/aws-s3/source/example-file.txt | 1 -
it-tests/aws/aws-s3/source/terraform/main.tf | 51 --------
it-tests/aws/aws-sns/sink/terraform/main.tf | 51 --------
it-tests/aws/aws-sns/sink/timer-aws-sns-it-test.sh | 37 ------
it-tests/aws/aws-sns/sink/timer-aws-sns.yaml | 29 -----
it-tests/aws/aws-sqs-fifo/sink/terraform/main.tf | 53 ---------
.../sink/timer-aws-sqs-fifo-it-test.sh | 37 ------
.../aws/aws-sqs-fifo/sink/timer-aws-sqs-fifo.yaml | 29 -----
it-tests/aws/aws-sqs/sink/terraform/main.tf | 51 --------
it-tests/aws/aws-sqs/sink/timer-aws-sqs-it-test.sh | 37 ------
it-tests/aws/aws-sqs/sink/timer-aws-sqs.yaml | 29 -----
it-tests/aws/aws-sqs/source/aws-sqs-log-it-test.sh | 47 --------
it-tests/aws/aws-sqs/source/aws-sqs-log.yaml | 29 -----
it-tests/aws/aws-sqs/source/example-file.txt | 1 -
it-tests/aws/aws-sqs/source/terraform/main.tf | 50 --------
.../azure-storage-blob/sink/terraform/main.tf | 52 ---------
.../sink/timer-azure-storage-blob-it-test.sh | 44 -------
.../sink/timer-azure-storage-blob.yaml | 28 -----
.../source/azure-storage-blob-log-it-test.sh | 50 --------
.../source/azure-storage-blob-log.yaml | 29 -----
.../azure-storage-blob/source/example-file.txt | 1 -
.../azure-storage-blob/source/terraform/main.tf | 52 ---------
it-tests/misc/scp/sink/timer-scp-it-test.sh | 36 ------
it-tests/misc/scp/sink/timer-scp.yaml | 30 -----
it-tests/misc/sftp/sink/timer-sftp-it-test.sh | 36 ------
it-tests/misc/sftp/sink/timer-sftp.yaml | 31 -----
it-tests/misc/sftp/source/sftp-log-it-test.sh | 43 -------
it-tests/misc/sftp/source/sftp-log.yaml | 32 -----
it-tests/scripts/results.sh | 17 ---
61 files changed, 2121 deletions(-)
diff --git a/infra/aws-s3/Readme.md b/infra/aws-s3/Readme.md
deleted file mode 100644
index 21a161a6..00000000
--- a/infra/aws-s3/Readme.md
+++ /dev/null
@@ -1,58 +0,0 @@
-# Apache Camel Kamelets - AWS S3 Commodity Configuration files
-
-In this directory you'll find:
-
-- Ansible
-- Terraform
-- Cloudformation
-
-Configuration files, to be used for creating your infra for using AWS S3 Kamelets.
-
-This will create an S3 Bucket with basic functionalities.
-
-## Ansible
-
-The command to create the infra is:
-
-```bash
-$ ansible-playbook -v ansible/aws-s3.yaml --extra-vars bucket_name=<bucket-name>
-```
-
-Once completed do:
-
-```bash
-$ ansible-playbook -v ansible/aws-s3-removal.yaml --extra-vars bucket_name=<bucket-name>
-```
-
-## Terraform
-
-The command to create the infra is:
-
-```bash
-$ cd terraform/
-$ terraform init
-$ terraform apply -var="bucket_name=<bucket-name>"
-```
-
-Once completed do:
-
-```bash
-$ cd terraform/
-$ terraform destroy
-```
-
-## Cloudformation
-
-The command to create the infra is:
-
-```bash
-$ aws cloudformation deploy --template-file cloudformation/aws-s3.yaml --stack-name my-new-stack --parameter-overrides BucketName=<bucket-name>
-```
-
-Once completed do:
-
-```bash
-$ aws cloudformation delete-stack --stack-name my-new-stack
-```
-
-
diff --git a/infra/aws-s3/ansible/aws-s3-removal.yaml b/infra/aws-s3/ansible/aws-s3-removal.yaml
deleted file mode 100644
index b88bea0f..00000000
--- a/infra/aws-s3/ansible/aws-s3-removal.yaml
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- name: Remove AWS S3 Bucket
- hosts: localhost
- tasks:
- - name: Remove bucket
- amazon.aws.s3_bucket:
- name: "{{ bucket_name }}"
- state: absent
- register: removed_bucket
diff --git a/infra/aws-s3/ansible/aws-s3.yaml b/infra/aws-s3/ansible/aws-s3.yaml
deleted file mode 100644
index 2700147e..00000000
--- a/infra/aws-s3/ansible/aws-s3.yaml
+++ /dev/null
@@ -1,12 +0,0 @@
----
-- name: Create AWS S3 Bucket
- hosts: localhost
- vars:
- encryption_type: "AES256"
- tasks:
- - name: Create bucket without JSON policy
- amazon.aws.s3_bucket:
- name: "{{ bucket_name }}"
- state: present
- encryption: "{{ encryption_type }}"
- register: created_bucket
diff --git a/infra/aws-s3/cloudformation/aws-s3.yaml b/infra/aws-s3/cloudformation/aws-s3.yaml
deleted file mode 100644
index cc1cda13..00000000
--- a/infra/aws-s3/cloudformation/aws-s3.yaml
+++ /dev/null
@@ -1,12 +0,0 @@
-Parameters:
- BucketName:
- Type: String
- Description: The bucket name.
-
-Resources:
- S3Bucket:
- Type: 'AWS::S3::Bucket'
- DeletionPolicy: Retain
- Properties:
- BucketName:
- Ref: BucketName
diff --git a/infra/aws-s3/terraform/main.tf b/infra/aws-s3/terraform/main.tf
deleted file mode 100644
index 9068e175..00000000
--- a/infra/aws-s3/terraform/main.tf
+++ /dev/null
@@ -1,7 +0,0 @@
-variable "bucket_name" {
- type = string
-}
-
-resource "aws_s3_bucket" "example" {
- bucket = var.bucket_name
-}
diff --git a/infra/aws-sqs/Readme.md b/infra/aws-sqs/Readme.md
deleted file mode 100644
index b05c6d57..00000000
--- a/infra/aws-sqs/Readme.md
+++ /dev/null
@@ -1,58 +0,0 @@
-# Apache Camel Kamelets - AWS SQS Commodity Configuration files
-
-In this directory you'll find:
-
-- Ansible
-- Terraform
-- Cloudformation
-
-Configuration files, to be used for creating your infra for using AWS S3 Kamelets.
-
-This will create an SQS Queue with basic functionalities.
-
-## Ansible
-
-The command to create the infra is:
-
-```bash
-ansible-playbook -v ansible/aws-sqs.yaml --extra-vars queue_name=<queue_name> --extra-vars region=<region>
-```
-
-Once completed do:
-
-```bash
-ansible-playbook -v ansible/aws-sqs-removal.yaml --extra-vars queue_name=<queue_name> --extra-vars region=<region>
-```
-
-## Terraform
-
-The command to create the infra is:
-
-```bash
-$ cd terraform/
-$ terraform init
-$ terraform apply -var="queue_name=<queue-name>"
-```
-
-Once completed do:
-
-```bash
-$ cd terraform/
-$ terraform destroy
-```
-
-## Cloudformation
-
-The command to create the infra is:
-
-```bash
-$ aws cloudformation deploy --template-file cloudformation/aws-sqs.yaml --stack-name my-new-stack --parameter-overrides QueueName=<queue-name>
-```
-
-Once completed do:
-
-```bash
-$ aws cloudformation delete-stack --stack-name my-new-stack
-```
-
-
diff --git a/infra/aws-sqs/ansible/aws-sqs-removal.yaml b/infra/aws-sqs/ansible/aws-sqs-removal.yaml
deleted file mode 100644
index a3359876..00000000
--- a/infra/aws-sqs/ansible/aws-sqs-removal.yaml
+++ /dev/null
@@ -1,10 +0,0 @@
----
-- name: Remove AWS SQS Queue
- hosts: localhost
- tasks:
- - name: Remove SQS Queue
- community.aws.sqs_queue:
- name: "{{ queue_name }}"
- state: absent
- region: "{{ region }}"
- register: removed_queue
diff --git a/infra/aws-sqs/ansible/aws-sqs.yaml b/infra/aws-sqs/ansible/aws-sqs.yaml
deleted file mode 100644
index 1dd3b5bb..00000000
--- a/infra/aws-sqs/ansible/aws-sqs.yaml
+++ /dev/null
@@ -1,10 +0,0 @@
----
-- name: Create AWS SQS Queue
- hosts: localhost
- tasks:
- - name: Create SQS Queue
- community.aws.sqs_queue:
- name: "{{ queue_name }}"
- state: present
- region: "{{ region }}"
- register: created_queue
diff --git a/infra/aws-sqs/cloudformation/aws-sqs.yaml b/infra/aws-sqs/cloudformation/aws-sqs.yaml
deleted file mode 100644
index afb32387..00000000
--- a/infra/aws-sqs/cloudformation/aws-sqs.yaml
+++ /dev/null
@@ -1,11 +0,0 @@
-Parameters:
- QueueName:
- Type: String
- Description: The queue name.
-
-Resources:
- SQSQueue:
- Type: 'AWS::SQS::Queue'
- Properties:
- QueueName:
- Ref: QueueName
diff --git a/infra/aws-sqs/terraform/main.tf b/infra/aws-sqs/terraform/main.tf
deleted file mode 100644
index 425bf5d1..00000000
--- a/infra/aws-sqs/terraform/main.tf
+++ /dev/null
@@ -1,7 +0,0 @@
-variable "queue_name" {
- type = string
-}
-
-resource "aws_sqs_queue" "example" {
- name = var.queue_name
-}
diff --git a/it-tests/Makefile b/it-tests/Makefile
deleted file mode 100644
index 5017f22c..00000000
--- a/it-tests/Makefile
+++ /dev/null
@@ -1,96 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-all:
- mkdir -p tests
- cd aws/aws-s3/source/ && \
- ./aws-s3-log-it-test.sh $(camel-version)
- cd aws/aws-s3/sink/ && \
- ./timer-aws-s3-it-test.sh $(camel-version)
- cd aws/aws-kinesis/source/ && \
- ./aws-kinesis-log-it-test.sh $(camel-version)
- cd aws/aws-kinesis/sink/ && \
- ./timer-aws-kinesis-it-test.sh $(camel-version)
- cd aws/aws-sqs/source/ && \
- ./aws-sqs-log-it-test.sh $(camel-version)
- cd aws/aws-sqs/sink/ && \
- ./timer-aws-sqs-it-test.sh $(camel-version)
- cd aws/aws-sqs-fifo/sink/ && \
- ./timer-aws-sqs-fifo-it-test.sh $(camel-version)
- cd aws/aws-sns/sink/ && \
- ./timer-aws-sns-it-test.sh $(camel-version)
- cd aws/aws-kinesis-firehose/sink/ && \
- ./timer-aws-kinesis-firehose-it-test.sh $(camel-version)
- cd misc/sftp/source/ && \
- ./sftp-log-it-test.sh $(camel-version)
- cd misc/sftp/sink/ && \
- ./timer-sftp-it-test.sh $(camel-version)
- cd misc/scp/sink/ && \
- ./timer-scp-it-test.sh $(camel-version)
- cd azure/azure-storage-blob/source/ && \
- ./azure-storage-blob-log-it-test.sh $(camel-version)
- cd azure/azure-storage-blob/sink/ && \
- ./timer-azure-storage-blob-it-test.sh $(camel-version)
- ./scripts/results.sh
- rm -rf tests
-aws:
- mkdir -p tests
- cd aws/aws-s3/source/ && \
- ./aws-s3-log-it-test.sh $(camel-version)
- cd aws/aws-s3/sink/ && \
- ./timer-aws-s3-it-test.sh $(camel-version)
- cd aws/aws-kinesis/source/ && \
- ./aws-kinesis-log-it-test.sh $(camel-version)
- cd aws/aws-kinesis/sink/ && \
- ./timer-aws-kinesis-it-test.sh $(camel-version)
- cd aws/aws-sqs/source/ && \
- ./aws-sqs-log-it-test.sh $(camel-version)
- cd aws/aws-sqs/sink/ && \
- ./timer-aws-sqs-it-test.sh $(camel-version)
- cd aws/aws-sqs-fifo/sink/ && \
- ./timer-aws-sqs-fifo-it-test.sh $(camel-version)
- cd aws/aws-sns/sink/ && \
- ./timer-aws-sns-it-test.sh $(camel-version)
- cd aws/aws-kinesis-firehose/sink/ && \
- ./timer-aws-kinesis-firehose-it-test.sh $(camel-version)
- ./scripts/results.sh
- rm -rf tests
-azure:
- mkdir -p tests
- cd azure/azure-storage-blob/source/ && \
- ./azure-storage-blob-log-it-test.sh $(camel-version)
- cd azure/azure-storage-blob/sink/ && \
- ./timer-azure-storage-blob-it-test.sh $(camel-version)
- ./scripts/results.sh
- rm -rf tests
-misc:
- mkdir -p tests
- cd misc/sftp/source/ && \
- ./sftp-log-it-test.sh $(camel-version)
- cd misc/sftp/sink/ && \
- ./timer-sftp-it-test.sh $(camel-version)
- cd misc/scp/sink/ && \
- ./timer-scp-it-test.sh $(camel-version)
- ./scripts/results.sh
- rm -rf tests
-
-cdc:
- mkdir -p tests
- cd aws/aws-s3-cdc/source/ && \
- ./aws-s3-cdc-log-it-test.sh $(camel-version)
- ./scripts/results.sh
- rm -rf tests
-
-.PHONY: all aws azure misc cdc clean
diff --git a/it-tests/README.md b/it-tests/README.md
deleted file mode 100644
index 3d053d2d..00000000
--- a/it-tests/README.md
+++ /dev/null
@@ -1,14 +0,0 @@
-# Kamelets IT Tests
-
-This folder contains a suite of it-tests for Camel-Kamelets
-
-You'll need:
-- Terraform installed
-- AWS CLI
-- Camel-JBang
-
-Once everything is set you'll just need to run
-
-```console
- make tests camel-version=3.20.0-SNAPSHOT or 3.19.0
-```
diff --git a/it-tests/aws/aws-kinesis-firehose/sink/terraform/main.tf b/it-tests/aws/aws-kinesis-firehose/sink/terraform/main.tf
deleted file mode 100644
index 5b8a1405..00000000
--- a/it-tests/aws/aws-kinesis-firehose/sink/terraform/main.tf
+++ /dev/null
@@ -1,86 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-terraform {
- required_providers {
- aws = {
- source = "hashicorp/aws"
- version = "~> 3.27"
- }
- }
-
- required_version = ">= 0.14.9"
-}
-
-provider "aws" {
- profile = "default"
- region = "eu-west-1"
-}
-
-variable "kinesis_delivery_stream_name" {
- type = string
- default = "kinesis-camel-test-123"
-}
-
-resource "aws_kinesis_firehose_delivery_stream" "extended_s3_stream" {
- name = var.kinesis_delivery_stream_name
- destination = "extended_s3"
-
- extended_s3_configuration {
- role_arn = aws_iam_role.firehose_role.arn
- bucket_arn = aws_s3_bucket.bucket.arn
- }
-}
-
-variable "s3_bucket_delivery_stream_name" {
- type = string
- default = "s3-camel-test-123"
-}
-
-
-resource "aws_s3_bucket" "bucket" {
- bucket = var.s3_bucket_delivery_stream_name
-}
-
-resource "aws_iam_role" "firehose_role" {
- name = "firehose_test_role"
-
- assume_role_policy = <<EOF
-{
- "Version": "2012-10-17",
- "Statement": [
- {
- "Action": "sts:AssumeRole",
- "Principal": {
- "Service": "firehose.amazonaws.com"
- },
- "Effect": "Allow",
- "Sid": ""
- }
- ]
-}
-EOF
-}
-
-output "Kinesis-firehose-dist-stream" {
- value = aws_kinesis_firehose_delivery_stream.extended_s3_stream.arn
- description = "The Kinesis Stream ARN"
-}
-output "S3-Bucket" {
- value = aws_s3_bucket.bucket.id
- description = "The S3 Bucket"
-}
diff --git a/it-tests/aws/aws-kinesis-firehose/sink/timer-aws-kinesis-firehose-it-test.sh b/it-tests/aws/aws-kinesis-firehose/sink/timer-aws-kinesis-firehose-it-test.sh
deleted file mode 100755
index c21b8c99..00000000
--- a/it-tests/aws/aws-kinesis-firehose/sink/timer-aws-kinesis-firehose-it-test.sh
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-if [ $# -ne 1 ]; then
- echo $0: usage: timer-aws-kinesis-firehose-it-test.sh camel-version
- exit 1
-fi
-
-camel_version=$1
-
-cd terraform/
-terraform init
-terraform apply -auto-approve
-cd ../
-
-jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel run timer-aws-kinesis-firehose.yaml &
-
-sleep 10
-
-variable=`jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel get | tail -n +2`
-success=`echo $variable | cut -d' ' -f11`
-fail=`echo $variable | cut -d' ' -f12`
-if [[ $success == 5 && $fail == 0 ]]
-then
- mkdir -p ../../../tests/
- echo "Test Successful" > ../../../tests/timer-aws-kinesis-firehose-it-test.result ;
-else
- mkdir -p ../../../tests/
- echo "Test failed" > ../../../tests/timer-aws-kinesis-firehose-it-test.result ;
-fi
-
-jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel stop timer-aws-kinesis-firehose
-
-cd terraform/
-terraform destroy -auto-approve
-cd ../
-
-cat ../../../tests/timer-aws-kinesis-firehose-it-test.result
diff --git a/it-tests/aws/aws-kinesis-firehose/sink/timer-aws-kinesis-firehose.yaml b/it-tests/aws/aws-kinesis-firehose/sink/timer-aws-kinesis-firehose.yaml
deleted file mode 100644
index 288f9f2b..00000000
--- a/it-tests/aws/aws-kinesis-firehose/sink/timer-aws-kinesis-firehose.yaml
+++ /dev/null
@@ -1,29 +0,0 @@
-## ---------------------------------------------------------------------------
-## Licensed to the Apache Software Foundation (ASF) under one or more
-## contributor license agreements. See the NOTICE file distributed with
-## this work for additional information regarding copyright ownership.
-## The ASF licenses this file to You under the Apache License, Version 2.0
-## (the "License"); you may not use this file except in compliance with
-## the License. You may obtain a copy of the License at
-##
-## http://www.apache.org/licenses/LICENSE-2.0
-##
-## Unless required by applicable law or agreed to in writing, software
-## distributed under the License is distributed on an "AS IS" BASIS,
-## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-## See the License for the specific language governing permissions and
-## limitations under the License.
-## ---------------------------------------------------------------------------
-
-- route:
- from:
- uri: "timer://foo?delay=0&fixedRate=true&period=1000&repeatCount=5"
- steps:
- - set-body:
- constant: "test"
- - to:
- uri: "kamelet:aws-kinesis-firehose-sink"
- parameters:
- streamName: "kinesis-camel-test-123"
- useDefaultCredentialsProvider: true
- region: "eu-west-1"
diff --git a/it-tests/aws/aws-kinesis/sink/terraform/main.tf b/it-tests/aws/aws-kinesis/sink/terraform/main.tf
deleted file mode 100644
index 12a8e204..00000000
--- a/it-tests/aws/aws-kinesis/sink/terraform/main.tf
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-terraform {
- required_providers {
- aws = {
- source = "hashicorp/aws"
- version = "~> 3.27"
- }
- }
-
- required_version = ">= 0.14.9"
-}
-
-provider "aws" {
- profile = "default"
- region = "eu-west-1"
-}
-
-variable "kinesis_stream_name" {
- type = string
- default = "s3-camel-test-123"
-}
-
-
-data "aws_caller_identity" "current" {}
-
-# Create a new Kinesis Stream
-resource "aws_kinesis_stream" "MyKinesisStream" {
- name = var.kinesis_stream_name
- shard_count = 1
-
- stream_mode_details {
- stream_mode = "PROVISIONED"
- }
-}
-
-output "Kinesis-stream" {
- value = aws_kinesis_stream.MyKinesisStream.id
- description = "The Kinesis Stream"
-}
-
diff --git a/it-tests/aws/aws-kinesis/sink/timer-aws-kinesis-it-test.sh b/it-tests/aws/aws-kinesis/sink/timer-aws-kinesis-it-test.sh
deleted file mode 100755
index 3137dd3b..00000000
--- a/it-tests/aws/aws-kinesis/sink/timer-aws-kinesis-it-test.sh
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-if [ $# -ne 1 ]; then
- echo $0: usage: timer-aws-kinesis-it-test.sh camel-version
- exit 1
-fi
-
-camel_version=$1
-
-cd terraform/
-terraform init
-terraform apply -auto-approve
-cd ../
-
-jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel run timer-aws-kinesis.yaml &
-
-sleep 10
-
-variable=`jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel get | tail -n +2`
-success=`echo $variable | cut -d' ' -f11`
-fail=`echo $variable | cut -d' ' -f12`
-if [[ $success == 5 && $fail == 0 ]]
-then
- mkdir -p ../../../tests/
- echo "Test Successful" > ../../../tests/timer-aws-kinesis-it-test.result ;
-else
- mkdir -p ../../../tests/
- echo "Test failed" > ../../../tests/timer-aws-kinesis-it-test.result ;
-fi
-
-jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel stop timer-aws-kinesis
-
-cd terraform/
-terraform destroy -auto-approve
-cd ../
-
-cat ../../../tests/timer-aws-kinesis-it-test.result
diff --git a/it-tests/aws/aws-kinesis/sink/timer-aws-kinesis.yaml b/it-tests/aws/aws-kinesis/sink/timer-aws-kinesis.yaml
deleted file mode 100644
index 148d0058..00000000
--- a/it-tests/aws/aws-kinesis/sink/timer-aws-kinesis.yaml
+++ /dev/null
@@ -1,29 +0,0 @@
-## ---------------------------------------------------------------------------
-## Licensed to the Apache Software Foundation (ASF) under one or more
-## contributor license agreements. See the NOTICE file distributed with
-## this work for additional information regarding copyright ownership.
-## The ASF licenses this file to You under the Apache License, Version 2.0
-## (the "License"); you may not use this file except in compliance with
-## the License. You may obtain a copy of the License at
-##
-## http://www.apache.org/licenses/LICENSE-2.0
-##
-## Unless required by applicable law or agreed to in writing, software
-## distributed under the License is distributed on an "AS IS" BASIS,
-## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-## See the License for the specific language governing permissions and
-## limitations under the License.
-## ---------------------------------------------------------------------------
-
-- route:
- from:
- uri: "timer://foo?delay=0&fixedRate=true&period=1000&repeatCount=5"
- steps:
- - set-body:
- constant: "test"
- - to:
- uri: "kamelet:aws-kinesis-sink"
- parameters:
- stream: "s3-camel-test-123"
- useDefaultCredentialsProvider: true
- region: "eu-west-1"
diff --git a/it-tests/aws/aws-kinesis/source/aws-kinesis-log-it-test.sh b/it-tests/aws/aws-kinesis/source/aws-kinesis-log-it-test.sh
deleted file mode 100755
index f8a4a529..00000000
--- a/it-tests/aws/aws-kinesis/source/aws-kinesis-log-it-test.sh
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/bash
-
-if [ $# -ne 1 ]; then
- echo $0: usage: aws-kinesis-log-it-test.sh camel-version
- exit 1
-fi
-
-camel_version=$1
-
-cd terraform/
-terraform init
-terraform apply -auto-approve
-cd ../
-
-jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel run aws-kinesis-log.yaml &
-
-sleep 5
-
-aws kinesis put-record --stream-name s3-camel-test-123 --data test --partition-key 1
-aws kinesis put-record --stream-name s3-camel-test-123 --data test --partition-key 1
-aws kinesis put-record --stream-name s3-camel-test-123 --data test --partition-key 1
-aws kinesis put-record --stream-name s3-camel-test-123 --data test --partition-key 1
-aws kinesis put-record --stream-name s3-camel-test-123 --data test --partition-key 1
-
-sleep 5
-
-variable=`jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel get | tail -n +2`
-success=`echo $variable | cut -d' ' -f11`
-fail=`echo $variable | cut -d' ' -f12`
-if [[ $success == 5 && $fail == 0 ]]
-then
- mkdir -p ../../../tests/
- echo "Test Successful" > ../../../tests/aws-kinesis-log-it-test.result;
-else
- mkdir -p ../../../tests/
- echo "Test failed" > ../../../tests/aws-kinesis-log-it-test.result;
-fi
-
-jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel stop aws-kinesis-log
-
-cd terraform/
-terraform destroy -auto-approve
-cd ../
-
-cat ../../../tests/aws-kinesis-log-it-test.result
diff --git a/it-tests/aws/aws-kinesis/source/aws-kinesis-log.yaml b/it-tests/aws/aws-kinesis/source/aws-kinesis-log.yaml
deleted file mode 100644
index b32ee65b..00000000
--- a/it-tests/aws/aws-kinesis/source/aws-kinesis-log.yaml
+++ /dev/null
@@ -1,29 +0,0 @@
-## ---------------------------------------------------------------------------
-## Licensed to the Apache Software Foundation (ASF) under one or more
-## contributor license agreements. See the NOTICE file distributed with
-## this work for additional information regarding copyright ownership.
-## The ASF licenses this file to You under the Apache License, Version 2.0
-## (the "License"); you may not use this file except in compliance with
-## the License. You may obtain a copy of the License at
-##
-## http://www.apache.org/licenses/LICENSE-2.0
-##
-## Unless required by applicable law or agreed to in writing, software
-## distributed under the License is distributed on an "AS IS" BASIS,
-## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-## See the License for the specific language governing permissions and
-## limitations under the License.
-## ---------------------------------------------------------------------------
-
-- route:
- from:
- uri: "kamelet:aws-kinesis-source"
- parameters:
- stream: "s3-camel-test-123"
- useDefaultCredentialsProvider: true
- region: "eu-west-1"
- steps:
- - to:
- uri: "kamelet:log-sink"
- parameters:
- showStreams: false
diff --git a/it-tests/aws/aws-kinesis/source/example-file.txt b/it-tests/aws/aws-kinesis/source/example-file.txt
deleted file mode 100644
index 9daeafb9..00000000
--- a/it-tests/aws/aws-kinesis/source/example-file.txt
+++ /dev/null
@@ -1 +0,0 @@
-test
diff --git a/it-tests/aws/aws-kinesis/source/terraform/main.tf b/it-tests/aws/aws-kinesis/source/terraform/main.tf
deleted file mode 100644
index 12a8e204..00000000
--- a/it-tests/aws/aws-kinesis/source/terraform/main.tf
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-terraform {
- required_providers {
- aws = {
- source = "hashicorp/aws"
- version = "~> 3.27"
- }
- }
-
- required_version = ">= 0.14.9"
-}
-
-provider "aws" {
- profile = "default"
- region = "eu-west-1"
-}
-
-variable "kinesis_stream_name" {
- type = string
- default = "s3-camel-test-123"
-}
-
-
-data "aws_caller_identity" "current" {}
-
-# Create a new Kinesis Stream
-resource "aws_kinesis_stream" "MyKinesisStream" {
- name = var.kinesis_stream_name
- shard_count = 1
-
- stream_mode_details {
- stream_mode = "PROVISIONED"
- }
-}
-
-output "Kinesis-stream" {
- value = aws_kinesis_stream.MyKinesisStream.id
- description = "The Kinesis Stream"
-}
-
diff --git a/it-tests/aws/aws-s3-cdc/source/aws-keys.properties b/it-tests/aws/aws-s3-cdc/source/aws-keys.properties
deleted file mode 100644
index 56709101..00000000
--- a/it-tests/aws/aws-s3-cdc/source/aws-keys.properties
+++ /dev/null
@@ -1,2 +0,0 @@
-camel.kamelet.aws-s3-cdc-source.accessKey = <access_key>
-camel.kamelet.aws-s3-cdc-source.secretKey = <secret_key>
diff --git a/it-tests/aws/aws-s3-cdc/source/aws-s3-cdc-log-it-test.sh b/it-tests/aws/aws-s3-cdc/source/aws-s3-cdc-log-it-test.sh
deleted file mode 100755
index 8daa81c6..00000000
--- a/it-tests/aws/aws-s3-cdc/source/aws-s3-cdc-log-it-test.sh
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/bash
-
-if [ $# -ne 1 ]; then
- echo $0: usage: aws-s3-cdc-log-it-test.sh camel-version
- exit 1
-fi
-
-camel_version=$1
-
-cd terraform/
-terraform init
-terraform apply -auto-approve
-cd ../
-
-jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel run --local-kamelet-dir=../../../../kamelets/ --properties=aws-keys.properties aws-s3-cdc-log.yaml &
-
-sleep 5
-
-aws s3api put-object --bucket s3-camel-test-123 --key example-file-uploaded-1.txt --body example-file.txt --region eu-west-1
-aws s3api put-object --bucket s3-camel-test-123 --key example-file-uploaded-2.txt --body example-file.txt --region eu-west-1
-aws s3api put-object --bucket s3-camel-test-123 --key example-file-uploaded-3.txt --body example-file.txt --region eu-west-1
-aws s3api put-object --bucket s3-camel-test-123 --key example-file-uploaded-4.txt --body example-file.txt --region eu-west-1
-aws s3api put-object --bucket s3-camel-test-123 --key example-file-uploaded-5.txt --body example-file.txt --region eu-west-1
-
-sleep 20
-
-variable=`jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel get | tail -n +2`
-success=`echo $variable | cut -d' ' -f11`
-fail=`echo $variable | cut -d' ' -f12`
-if [[ $success == 5 && $fail == 0 ]]
-then
- mkdir -p ../../../tests/
- echo "Test Successful" > ../../../tests/aws-s3-cdc-log-it-test.result;
-else
- mkdir -p ../../../tests/
- echo "Test failed" > ../../../tests/aws-s3-cdc-log-it-test.result;
-fi
-
-jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel stop aws-s3-cdc-log
-
-cd terraform/
-terraform destroy -auto-approve
-cd ../
-
-cat ../../../tests/aws-s3-cdc-log-it-test.result
diff --git a/it-tests/aws/aws-s3-cdc/source/aws-s3-cdc-log.yaml b/it-tests/aws/aws-s3-cdc/source/aws-s3-cdc-log.yaml
deleted file mode 100644
index 7ed4ff01..00000000
--- a/it-tests/aws/aws-s3-cdc/source/aws-s3-cdc-log.yaml
+++ /dev/null
@@ -1,29 +0,0 @@
-## ---------------------------------------------------------------------------
-## Licensed to the Apache Software Foundation (ASF) under one or more
-## contributor license agreements. See the NOTICE file distributed with
-## this work for additional information regarding copyright ownership.
-## The ASF licenses this file to You under the Apache License, Version 2.0
-## (the "License"); you may not use this file except in compliance with
-## the License. You may obtain a copy of the License at
-##
-## http://www.apache.org/licenses/LICENSE-2.0
-##
-## Unless required by applicable law or agreed to in writing, software
-## distributed under the License is distributed on an "AS IS" BASIS,
-## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-## See the License for the specific language governing permissions and
-## limitations under the License.
-## ---------------------------------------------------------------------------
-
-- route:
- from:
- uri: "kamelet:aws-s3-cdc-source"
- parameters:
- queueNameOrArn: "sqs-camel-test-123"
- region: "eu-west-1"
- getObject: true
- steps:
- - to:
- uri: "kamelet:log-sink"
- parameters:
- showStreams: true
diff --git a/it-tests/aws/aws-s3-cdc/source/example-file.txt b/it-tests/aws/aws-s3-cdc/source/example-file.txt
deleted file mode 100644
index 9daeafb9..00000000
--- a/it-tests/aws/aws-s3-cdc/source/example-file.txt
+++ /dev/null
@@ -1 +0,0 @@
-test
diff --git a/it-tests/aws/aws-s3-cdc/source/terraform/main.tf b/it-tests/aws/aws-s3-cdc/source/terraform/main.tf
deleted file mode 100644
index 252c981d..00000000
--- a/it-tests/aws/aws-s3-cdc/source/terraform/main.tf
+++ /dev/null
@@ -1,130 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-terraform {
- required_providers {
- aws = {
- source = "hashicorp/aws"
- version = "~> 3.27"
- }
- }
-
- required_version = ">= 0.14.9"
-}
-
-provider "aws" {
- profile = "default"
- region = "eu-west-1"
-}
-
-variable "s3_bucket_name" {
- type = string
- default = "s3-camel-test-123"
-}
-
-variable "sqs_queue_name" {
- type = string
- default = "sqs-camel-test-123"
-}
-
-
-data "aws_caller_identity" "current" {}
-
-# Create a new S3 bucket
-resource "aws_s3_bucket" "MyS3Bucket" {
- bucket = var.s3_bucket_name
- force_destroy = true
-}
-
-# Send notifications to EventBridge for all events in the bucket
-resource "aws_s3_bucket_notification" "MyS3BucketNotification" {
- bucket = aws_s3_bucket.MyS3Bucket.id
- eventbridge = true
-}
-
-# Create an EventBridge rule
-resource "aws_cloudwatch_event_rule" "MyEventRule" {
- description = "Object create events on bucket s3://${aws_s3_bucket.MyS3Bucket.id}"
- event_pattern = <<EOF
-{
- "source": [
- "aws.s3"
- ],
- "detail": {
- "bucket": {
- "name": ["${aws_s3_bucket.MyS3Bucket.id}"]
- }
- }
-}
-EOF
-}
-
-# Set the SNS topic as a target of the EventBridge rule
-resource "aws_cloudwatch_event_target" "MyEventRuleTarget" {
- rule = aws_cloudwatch_event_rule.MyEventRule.name
- arn = aws_sqs_queue.sqs-queue.arn
-}
-
-# Create a new SQS queue
-resource "aws_sqs_queue" "sqs-queue" {
- name = var.sqs_queue_name
-}
-
-# Allow EventBridge to publish to the SQS queue
-resource "aws_sqs_queue_policy" "MySQSQueuePolicy" {
- queue_url = aws_sqs_queue.sqs-queue.id
- policy = <<POLICY
-{
- "Version": "2012-10-17",
- "Statement": [
- {
- "Sid": "AWSEventsPermission",
- "Effect": "Allow",
- "Principal": {
- "Service": "events.amazonaws.com"
- },
- "Action": "sqs:SendMessage",
- "Resource": "${aws_sqs_queue.sqs-queue.arn}",
- "Condition": {
- "ArnEquals": {
- "aws:SourceArn": "${aws_cloudwatch_event_rule.MyEventRule.arn}"
- }
- }
- }
- ]
-}
-POLICY
-}
-
-# Display the EventBridge rule, S3 bucket and SQS queue
-output "EventBridge-Rule-Name" {
- value = aws_cloudwatch_event_rule.MyEventRule.name
- description = "The EventBridge Rule Name"
-}
-output "S3-Bucket" {
- value = aws_s3_bucket.MyS3Bucket.id
- description = "The S3 Bucket"
-}
-output "SQS-Queue-Name" {
- value = aws_sqs_queue.sqs-queue.name
- description = "The SQS Queue Name"
-}
-output "SQS-Queue-ARN" {
- value = aws_sqs_queue.sqs-queue.arn
- description = "The SQS Queue Arn"
-}
-
diff --git a/it-tests/aws/aws-s3/sink/terraform/main.tf b/it-tests/aws/aws-s3/sink/terraform/main.tf
deleted file mode 100644
index e015dbff..00000000
--- a/it-tests/aws/aws-s3/sink/terraform/main.tf
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-terraform {
- required_providers {
- aws = {
- source = "hashicorp/aws"
- version = "~> 3.27"
- }
- }
-
- required_version = ">= 0.14.9"
-}
-
-provider "aws" {
- profile = "default"
- region = "eu-west-1"
-}
-
-variable "s3_bucket_name" {
- type = string
- default = "s3-camel-test-123"
-}
-
-
-data "aws_caller_identity" "current" {}
-
-# Create a new S3 bucket
-resource "aws_s3_bucket" "MyS3Bucket" {
- bucket = var.s3_bucket_name
- force_destroy = true
-}
-
-output "S3-Bucket" {
- value = aws_s3_bucket.MyS3Bucket.id
- description = "The S3 Bucket"
-}
-
diff --git a/it-tests/aws/aws-s3/sink/timer-aws-s3-it-test.sh b/it-tests/aws/aws-s3/sink/timer-aws-s3-it-test.sh
deleted file mode 100755
index c34a1813..00000000
--- a/it-tests/aws/aws-s3/sink/timer-aws-s3-it-test.sh
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-if [ $# -ne 1 ]; then
- echo $0: usage: timer-aws-s3-it-test.sh camel-version
- exit 1
-fi
-
-camel_version=$1
-
-cd terraform/
-terraform init
-terraform apply -auto-approve
-cd ../
-
-jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel run timer-aws-s3.yaml &
-
-sleep 10
-
-variable=`jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel get | tail -n +2`
-success=`echo $variable | cut -d' ' -f11`
-fail=`echo $variable | cut -d' ' -f12`
-if [[ $success == 5 && $fail == 0 ]]
-then
- mkdir -p ../../../tests/
- echo "Test Successful" > ../../../tests/timer-aws-s3-it-test.result ;
-else
- mkdir -p ../../../tests/
- echo "Test failed" > ../../../tests/timer-aws-s3-it-test.result ;
-fi
-
-jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel stop timer-aws-s3
-
-cd terraform/
-terraform destroy -auto-approve
-cd ../
-
-cat ../../../tests/timer-aws-s3-it-test.result
diff --git a/it-tests/aws/aws-s3/sink/timer-aws-s3.yaml b/it-tests/aws/aws-s3/sink/timer-aws-s3.yaml
deleted file mode 100644
index 322f0925..00000000
--- a/it-tests/aws/aws-s3/sink/timer-aws-s3.yaml
+++ /dev/null
@@ -1,29 +0,0 @@
-## ---------------------------------------------------------------------------
-## Licensed to the Apache Software Foundation (ASF) under one or more
-## contributor license agreements. See the NOTICE file distributed with
-## this work for additional information regarding copyright ownership.
-## The ASF licenses this file to You under the Apache License, Version 2.0
-## (the "License"); you may not use this file except in compliance with
-## the License. You may obtain a copy of the License at
-##
-## http://www.apache.org/licenses/LICENSE-2.0
-##
-## Unless required by applicable law or agreed to in writing, software
-## distributed under the License is distributed on an "AS IS" BASIS,
-## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-## See the License for the specific language governing permissions and
-## limitations under the License.
-## ---------------------------------------------------------------------------
-
-- route:
- from:
- uri: "timer://foo?delay=0&fixedRate=true&period=1000&repeatCount=5"
- steps:
- - set-body:
- constant: "test"
- - to:
- uri: "kamelet:aws-s3-sink"
- parameters:
- bucketNameOrArn: "s3-camel-test-123"
- useDefaultCredentialsProvider: true
- region: "eu-west-1"
diff --git a/it-tests/aws/aws-s3/source/aws-s3-log-it-test.sh b/it-tests/aws/aws-s3/source/aws-s3-log-it-test.sh
deleted file mode 100755
index 4819d480..00000000
--- a/it-tests/aws/aws-s3/source/aws-s3-log-it-test.sh
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/bash
-
-if [ $# -ne 1 ]; then
- echo $0: usage: aws-s3-log-it-test.sh camel-version
- exit 1
-fi
-
-camel_version=$1
-
-cd terraform/
-terraform init
-terraform apply -auto-approve
-cd ../
-
-jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel run aws-s3-log.yaml &
-
-sleep 5
-
-aws s3api put-object --bucket s3-camel-test-123 --key example-file-uploaded-1.txt --body example-file.txt --region eu-west-1
-aws s3api put-object --bucket s3-camel-test-123 --key example-file-uploaded-2.txt --body example-file.txt --region eu-west-1
-aws s3api put-object --bucket s3-camel-test-123 --key example-file-uploaded-3.txt --body example-file.txt --region eu-west-1
-aws s3api put-object --bucket s3-camel-test-123 --key example-file-uploaded-4.txt --body example-file.txt --region eu-west-1
-aws s3api put-object --bucket s3-camel-test-123 --key example-file-uploaded-5.txt --body example-file.txt --region eu-west-1
-
-sleep 5
-
-variable=`jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel get | tail -n +2`
-success=`echo $variable | cut -d' ' -f11`
-fail=`echo $variable | cut -d' ' -f12`
-if [[ $success == 5 && $fail == 0 ]]
-then
- mkdir -p ../../../tests/
- echo "Test Successful" > ../../../tests/aws-s3-log-it-test.result;
-else
- mkdir -p ../../../tests/
- echo "Test failed" > ../../../tests/aws-s3-log-it-test.result;
-fi
-
-jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel stop aws-s3-log
-
-cd terraform/
-terraform destroy -auto-approve
-cd ../
-
-cat ../../../tests/aws-s3-log-it-test.result
diff --git a/it-tests/aws/aws-s3/source/aws-s3-log.yaml b/it-tests/aws/aws-s3/source/aws-s3-log.yaml
deleted file mode 100644
index aad66953..00000000
--- a/it-tests/aws/aws-s3/source/aws-s3-log.yaml
+++ /dev/null
@@ -1,29 +0,0 @@
-## ---------------------------------------------------------------------------
-## Licensed to the Apache Software Foundation (ASF) under one or more
-## contributor license agreements. See the NOTICE file distributed with
-## this work for additional information regarding copyright ownership.
-## The ASF licenses this file to You under the Apache License, Version 2.0
-## (the "License"); you may not use this file except in compliance with
-## the License. You may obtain a copy of the License at
-##
-## http://www.apache.org/licenses/LICENSE-2.0
-##
-## Unless required by applicable law or agreed to in writing, software
-## distributed under the License is distributed on an "AS IS" BASIS,
-## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-## See the License for the specific language governing permissions and
-## limitations under the License.
-## ---------------------------------------------------------------------------
-
-- route:
- from:
- uri: "kamelet:aws-s3-source"
- parameters:
- bucketNameOrArn: "s3-camel-test-123"
- useDefaultCredentialsProvider: true
- region: "eu-west-1"
- steps:
- - to:
- uri: "kamelet:log-sink"
- parameters:
- showStreams: true
diff --git a/it-tests/aws/aws-s3/source/example-file.txt b/it-tests/aws/aws-s3/source/example-file.txt
deleted file mode 100644
index 9daeafb9..00000000
--- a/it-tests/aws/aws-s3/source/example-file.txt
+++ /dev/null
@@ -1 +0,0 @@
-test
diff --git a/it-tests/aws/aws-s3/source/terraform/main.tf b/it-tests/aws/aws-s3/source/terraform/main.tf
deleted file mode 100644
index bf5d91a8..00000000
--- a/it-tests/aws/aws-s3/source/terraform/main.tf
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-terraform {
- required_providers {
- aws = {
- source = "hashicorp/aws"
- version = "~> 3.27"
- }
- }
-
- required_version = ">= 0.14.9"
-}
-
-provider "aws" {
- profile = "default"
- region = "eu-west-1"
-}
-
-variable "s3_bucket_name" {
- type = string
- default = "s3-camel-test-123"
-}
-
-
-data "aws_caller_identity" "current" {}
-
-# Create a new S3 bucket
-resource "aws_s3_bucket" "MyS3Bucket" {
- bucket = var.s3_bucket_name
-}
-
-output "S3-Bucket" {
- value = aws_s3_bucket.MyS3Bucket.id
- description = "The S3 Bucket"
-}
-
diff --git a/it-tests/aws/aws-sns/sink/terraform/main.tf b/it-tests/aws/aws-sns/sink/terraform/main.tf
deleted file mode 100644
index ccfa8365..00000000
--- a/it-tests/aws/aws-sns/sink/terraform/main.tf
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-terraform {
- required_providers {
- aws = {
- source = "hashicorp/aws"
- version = "~> 3.27"
- }
- }
-
- required_version = ">= 0.14.9"
-}
-
-provider "aws" {
- profile = "default"
- region = "eu-west-1"
-}
-
-variable "sns_topic_name" {
- type = string
- default = "s3-camel-test-123"
-}
-
-
-data "aws_caller_identity" "current" {}
-
-# Create a new SNS TOPIC
-resource "aws_sns_topic" "MySNSTopic" {
- name = var.sns_topic_name
-}
-
-output "SNS-topic" {
- value = aws_sns_topic.MySNSTopic.id
- description = "The SQS Queue"
-}
-
diff --git a/it-tests/aws/aws-sns/sink/timer-aws-sns-it-test.sh b/it-tests/aws/aws-sns/sink/timer-aws-sns-it-test.sh
deleted file mode 100755
index ce56cc5f..00000000
--- a/it-tests/aws/aws-sns/sink/timer-aws-sns-it-test.sh
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-if [ $# -ne 1 ]; then
- echo $0: usage: timer-aws-sns-it-test.sh camel-version
- exit 1
-fi
-
-camel_version=$1
-
-cd terraform/
-terraform init
-terraform apply -auto-approve
-cd ../
-
-jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel run timer-aws-sns.yaml &
-
-sleep 10
-
-variable=`jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel get | tail -n +2`
-success=`echo $variable | cut -d' ' -f11`
-fail=`echo $variable | cut -d' ' -f12`
-if [[ $success == 5 && $fail == 0 ]]
-then
- mkdir -p ../../../tests/
- echo "Test Successful" > ../../../tests/timer-aws-sns-it-test.result ;
-else
- mkdir -p ../../../tests/
- echo "Test failed" > ../../../tests/timer-aws-sns-it-test.result ;
-fi
-
-jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel stop timer-aws-sns
-
-cd terraform/
-terraform destroy -auto-approve
-cd ../
-
-cat ../../../tests/timer-aws-sns-it-test.result
diff --git a/it-tests/aws/aws-sns/sink/timer-aws-sns.yaml b/it-tests/aws/aws-sns/sink/timer-aws-sns.yaml
deleted file mode 100644
index 338e1021..00000000
--- a/it-tests/aws/aws-sns/sink/timer-aws-sns.yaml
+++ /dev/null
@@ -1,29 +0,0 @@
-## ---------------------------------------------------------------------------
-## Licensed to the Apache Software Foundation (ASF) under one or more
-## contributor license agreements. See the NOTICE file distributed with
-## this work for additional information regarding copyright ownership.
-## The ASF licenses this file to You under the Apache License, Version 2.0
-## (the "License"); you may not use this file except in compliance with
-## the License. You may obtain a copy of the License at
-##
-## http://www.apache.org/licenses/LICENSE-2.0
-##
-## Unless required by applicable law or agreed to in writing, software
-## distributed under the License is distributed on an "AS IS" BASIS,
-## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-## See the License for the specific language governing permissions and
-## limitations under the License.
-## ---------------------------------------------------------------------------
-
-- route:
- from:
- uri: "timer://foo?delay=0&fixedRate=true&period=1000&repeatCount=5"
- steps:
- - set-body:
- constant: "test"
- - to:
- uri: "kamelet:aws-sns-sink"
- parameters:
- topicNameOrArn: "s3-camel-test-123"
- useDefaultCredentialsProvider: true
- region: "eu-west-1"
diff --git a/it-tests/aws/aws-sqs-fifo/sink/terraform/main.tf b/it-tests/aws/aws-sqs-fifo/sink/terraform/main.tf
deleted file mode 100644
index d81c7e2a..00000000
--- a/it-tests/aws/aws-sqs-fifo/sink/terraform/main.tf
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-terraform {
- required_providers {
- aws = {
- source = "hashicorp/aws"
- version = "~> 3.27"
- }
- }
-
- required_version = ">= 0.14.9"
-}
-
-provider "aws" {
- profile = "default"
- region = "eu-west-1"
-}
-
-variable "sqs_queue_name" {
- type = string
- default = "s3-camel-test-123.fifo"
-}
-
-
-data "aws_caller_identity" "current" {}
-
-# Create a new SQS Queue
-resource "aws_sqs_queue" "MySQSQueue" {
- name = var.sqs_queue_name
- fifo_queue = true
- content_based_deduplication = true
-}
-
-output "SQS-Queue" {
- value = aws_sqs_queue.MySQSQueue.id
- description = "The SQS Queue"
-}
-
diff --git a/it-tests/aws/aws-sqs-fifo/sink/timer-aws-sqs-fifo-it-test.sh b/it-tests/aws/aws-sqs-fifo/sink/timer-aws-sqs-fifo-it-test.sh
deleted file mode 100755
index 5072675f..00000000
--- a/it-tests/aws/aws-sqs-fifo/sink/timer-aws-sqs-fifo-it-test.sh
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-if [ $# -ne 1 ]; then
- echo $0: usage: timer-aws-sqs-fifo-it-test.sh camel-version
- exit 1
-fi
-
-camel_version=$1
-
-cd terraform/
-terraform init
-terraform apply -auto-approve
-cd ../
-
-jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel run timer-aws-sqs-fifo.yaml &
-
-sleep 10
-
-variable=`jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel get | tail -n +2`
-success=`echo $variable | cut -d' ' -f11`
-fail=`echo $variable | cut -d' ' -f12`
-if [[ $success == 5 && $fail == 0 ]]
-then
- mkdir -p ../../../tests/
- echo "Test Successful" > ../../../tests/timer-aws-sqs-fifo-it-test.result ;
-else
- mkdir -p ../../../tests/
- echo "Test failed" > ../../../tests/timer-aws-sqs-fifo-it-test.result ;
-fi
-
-jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel stop timer-aws-sqs-fifo
-
-cd terraform/
-terraform destroy -auto-approve
-cd ../
-
-cat ../../../tests/timer-aws-sqs-fifo-it-test.result
diff --git a/it-tests/aws/aws-sqs-fifo/sink/timer-aws-sqs-fifo.yaml b/it-tests/aws/aws-sqs-fifo/sink/timer-aws-sqs-fifo.yaml
deleted file mode 100644
index 54c40cb2..00000000
--- a/it-tests/aws/aws-sqs-fifo/sink/timer-aws-sqs-fifo.yaml
+++ /dev/null
@@ -1,29 +0,0 @@
-## ---------------------------------------------------------------------------
-## Licensed to the Apache Software Foundation (ASF) under one or more
-## contributor license agreements. See the NOTICE file distributed with
-## this work for additional information regarding copyright ownership.
-## The ASF licenses this file to You under the Apache License, Version 2.0
-## (the "License"); you may not use this file except in compliance with
-## the License. You may obtain a copy of the License at
-##
-## http://www.apache.org/licenses/LICENSE-2.0
-##
-## Unless required by applicable law or agreed to in writing, software
-## distributed under the License is distributed on an "AS IS" BASIS,
-## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-## See the License for the specific language governing permissions and
-## limitations under the License.
-## ---------------------------------------------------------------------------
-
-- route:
- from:
- uri: "timer://foo?delay=0&fixedRate=true&period=1000&repeatCount=5"
- steps:
- - set-body:
- constant: "test"
- - to:
- uri: "kamelet:aws-sqs-fifo-sink"
- parameters:
- queueNameOrArn: "s3-camel-test-123.fifo"
- useDefaultCredentialsProvider: true
- region: "eu-west-1"
diff --git a/it-tests/aws/aws-sqs/sink/terraform/main.tf b/it-tests/aws/aws-sqs/sink/terraform/main.tf
deleted file mode 100644
index 312d9f73..00000000
--- a/it-tests/aws/aws-sqs/sink/terraform/main.tf
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-terraform {
- required_providers {
- aws = {
- source = "hashicorp/aws"
- version = "~> 3.27"
- }
- }
-
- required_version = ">= 0.14.9"
-}
-
-provider "aws" {
- profile = "default"
- region = "eu-west-1"
-}
-
-variable "sqs_queue_name" {
- type = string
- default = "s3-camel-test-123"
-}
-
-
-data "aws_caller_identity" "current" {}
-
-# Create a new SQS Queue
-resource "aws_sqs_queue" "MySQSQueue" {
- name = var.sqs_queue_name
-}
-
-output "SQS-Queue" {
- value = aws_sqs_queue.MySQSQueue.id
- description = "The SQS Queue"
-}
-
diff --git a/it-tests/aws/aws-sqs/sink/timer-aws-sqs-it-test.sh b/it-tests/aws/aws-sqs/sink/timer-aws-sqs-it-test.sh
deleted file mode 100755
index 042e3ab7..00000000
--- a/it-tests/aws/aws-sqs/sink/timer-aws-sqs-it-test.sh
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-if [ $# -ne 1 ]; then
- echo $0: usage: timer-aws-sqs-it-test.sh camel-version
- exit 1
-fi
-
-camel_version=$1
-
-cd terraform/
-terraform init
-terraform apply -auto-approve
-cd ../
-
-jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel run timer-aws-sqs.yaml &
-
-sleep 10
-
-variable=`jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel get | tail -n +2`
-success=`echo $variable | cut -d' ' -f11`
-fail=`echo $variable | cut -d' ' -f12`
-if [[ $success == 5 && $fail == 0 ]]
-then
- mkdir -p ../../../tests/
- echo "Test Successful" > ../../../tests/timer-aws-sqs-it-test.result ;
-else
- mkdir -p ../../../tests/
- echo "Test failed" > ../../../tests/timer-aws-sqs-it-test.result ;
-fi
-
-jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel stop timer-aws-sqs
-
-cd terraform/
-terraform destroy -auto-approve
-cd ../
-
-cat ../../../tests/timer-aws-sqs-it-test.result
diff --git a/it-tests/aws/aws-sqs/sink/timer-aws-sqs.yaml b/it-tests/aws/aws-sqs/sink/timer-aws-sqs.yaml
deleted file mode 100644
index b3d09341..00000000
--- a/it-tests/aws/aws-sqs/sink/timer-aws-sqs.yaml
+++ /dev/null
@@ -1,29 +0,0 @@
-## ---------------------------------------------------------------------------
-## Licensed to the Apache Software Foundation (ASF) under one or more
-## contributor license agreements. See the NOTICE file distributed with
-## this work for additional information regarding copyright ownership.
-## The ASF licenses this file to You under the Apache License, Version 2.0
-## (the "License"); you may not use this file except in compliance with
-## the License. You may obtain a copy of the License at
-##
-## http://www.apache.org/licenses/LICENSE-2.0
-##
-## Unless required by applicable law or agreed to in writing, software
-## distributed under the License is distributed on an "AS IS" BASIS,
-## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-## See the License for the specific language governing permissions and
-## limitations under the License.
-## ---------------------------------------------------------------------------
-
-- route:
- from:
- uri: "timer://foo?delay=0&fixedRate=true&period=1000&repeatCount=5"
- steps:
- - set-body:
- constant: "test"
- - to:
- uri: "kamelet:aws-sqs-sink"
- parameters:
- queueNameOrArn: "s3-camel-test-123"
- useDefaultCredentialsProvider: true
- region: "eu-west-1"
diff --git a/it-tests/aws/aws-sqs/source/aws-sqs-log-it-test.sh b/it-tests/aws/aws-sqs/source/aws-sqs-log-it-test.sh
deleted file mode 100755
index 3b925640..00000000
--- a/it-tests/aws/aws-sqs/source/aws-sqs-log-it-test.sh
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/bash
-
-if [ $# -ne 1 ]; then
- echo $0: usage: aws-sqs-log-it-test.sh camel-version
- exit 1
-fi
-
-camel_version=$1
-
-cd terraform/
-terraform init
-terraform apply -auto-approve
-cd ../
-
-queue_url=`aws sqs get-queue-url --queue-name s3-camel-test-123 --region eu-west-1 | jq -r '.QueueUrl'`
-
-jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel run aws-sqs-log.yaml &
-
-sleep 5
-
-aws sqs send-message --queue-url $queue_url --message-body "Test"
-aws sqs send-message --queue-url $queue_url --message-body "Test"
-aws sqs send-message --queue-url $queue_url --message-body "Test"
-aws sqs send-message --queue-url $queue_url --message-body "Test"
-aws sqs send-message --queue-url $queue_url --message-body "Test"
-
-sleep 5
-
-variable=`jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel get | tail -n +2`
-success=`echo $variable | cut -d' ' -f11`
-fail=`echo $variable | cut -d' ' -f12`
-if [[ $success == 5 && $fail == 0 ]]
-then
- mkdir -p ../../../tests/
- echo "Test Successful" > ../../../tests/aws-sqs-log-it-test.result;
-else
- mkdir -p ../../../tests/
- echo "Test failed" > ../../../tests/aws-sqs-log-it-test.result;
-fi
-
-jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel stop aws-sqs-log
-
-cd terraform/
-terraform destroy -auto-approve
-cd ../
-
-cat ../../../tests/aws-sqs-log-it-test.result
diff --git a/it-tests/aws/aws-sqs/source/aws-sqs-log.yaml b/it-tests/aws/aws-sqs/source/aws-sqs-log.yaml
deleted file mode 100644
index fcda5eb8..00000000
--- a/it-tests/aws/aws-sqs/source/aws-sqs-log.yaml
+++ /dev/null
@@ -1,29 +0,0 @@
-## ---------------------------------------------------------------------------
-## Licensed to the Apache Software Foundation (ASF) under one or more
-## contributor license agreements. See the NOTICE file distributed with
-## this work for additional information regarding copyright ownership.
-## The ASF licenses this file to You under the Apache License, Version 2.0
-## (the "License"); you may not use this file except in compliance with
-## the License. You may obtain a copy of the License at
-##
-## http://www.apache.org/licenses/LICENSE-2.0
-##
-## Unless required by applicable law or agreed to in writing, software
-## distributed under the License is distributed on an "AS IS" BASIS,
-## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-## See the License for the specific language governing permissions and
-## limitations under the License.
-## ---------------------------------------------------------------------------
-
-- route:
- from:
- uri: "kamelet:aws-sqs-source"
- parameters:
- queueNameOrArn: "s3-camel-test-123"
- useDefaultCredentialsProvider: true
- region: "eu-west-1"
- steps:
- - to:
- uri: "kamelet:log-sink"
- parameters:
- showStreams: true
diff --git a/it-tests/aws/aws-sqs/source/example-file.txt b/it-tests/aws/aws-sqs/source/example-file.txt
deleted file mode 100644
index 9daeafb9..00000000
--- a/it-tests/aws/aws-sqs/source/example-file.txt
+++ /dev/null
@@ -1 +0,0 @@
-test
diff --git a/it-tests/aws/aws-sqs/source/terraform/main.tf b/it-tests/aws/aws-sqs/source/terraform/main.tf
deleted file mode 100644
index 4c02458d..00000000
--- a/it-tests/aws/aws-sqs/source/terraform/main.tf
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-terraform {
- required_providers {
- aws = {
- source = "hashicorp/aws"
- version = "~> 3.27"
- }
- }
-
- required_version = ">= 0.14.9"
-}
-
-provider "aws" {
- profile = "default"
- region = "eu-west-1"
-}
-
-variable "sqs_queue_name" {
- type = string
- default = "s3-camel-test-123"
-}
-
-
-data "aws_caller_identity" "current" {}
-
-# Create a new SQS Queue
-resource "aws_sqs_queue" "MySQSQueue" {
- name = var.sqs_queue_name
-}
-
-output "SQS-Queue" {
- value = aws_sqs_queue.MySQSQueue.id
- description = "The SQS Queue"
-}
diff --git a/it-tests/azure/azure-storage-blob/sink/terraform/main.tf b/it-tests/azure/azure-storage-blob/sink/terraform/main.tf
deleted file mode 100644
index 319b107a..00000000
--- a/it-tests/azure/azure-storage-blob/sink/terraform/main.tf
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-# We strongly recommend using the required_providers block to set the
-# Azure Provider source and version being used
-terraform {
- required_providers {
- azurerm = {
- source = "hashicorp/azurerm"
- version = "=3.0.0"
- }
- }
-}
-
-# Configure the Microsoft Azure Provider
-provider "azurerm" {
- features {}
-}
-
-resource "azurerm_resource_group" "kamelets" {
- name = "kamelets-resources"
- location = "West Europe"
-}
-
-resource "azurerm_storage_account" "kamelets" {
- name = "kameletsaccount"
- resource_group_name = azurerm_resource_group.kamelets.name
- location = azurerm_resource_group.kamelets.location
- account_tier = "Standard"
- account_replication_type = "LRS"
-}
-
-resource "azurerm_storage_container" "camelkamelets" {
- name = "kamelets"
- storage_account_name = azurerm_storage_account.kamelets.name
- container_access_type = "private"
-}
-
diff --git a/it-tests/azure/azure-storage-blob/sink/timer-azure-storage-blob-it-test.sh b/it-tests/azure/azure-storage-blob/sink/timer-azure-storage-blob-it-test.sh
deleted file mode 100755
index 16a2b922..00000000
--- a/it-tests/azure/azure-storage-blob/sink/timer-azure-storage-blob-it-test.sh
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/bash
-
-if [ $# -ne 1 ]; then
- echo $0: usage: timer-azure-storage-blob-it-test.sh camel-version
- exit 1
-fi
-
-camel_version=$1
-
-cd terraform/
-terraform init
-terraform apply -auto-approve
-cd ../
-
-sleep 10
-
-accountKey=`az storage account keys list -n kameletsaccount | jq -r ' .[0] | .value'`
-az storage account keys list -n kameletsaccount | echo "camel.kamelet.azure-storage-blob-sink.accessKey = $accountKey" > azure-keys.properties
-
-jbang run --fresh -Dcamel.jbang.version=$camel_version camel@apache/camel run --properties=azure-keys.properties timer-azure-storage-blob.yaml &
-
-sleep 30
-
-variable=`jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel get integration timer-azure-storage-blob | tail -n +2`
-success=`echo $variable | cut -d' ' -f11`
-fail=`echo $variable | cut -d' ' -f12`
-if [[ $success == 5 && $fail == 0 ]]
-then
- mkdir -p ../../../tests/
- echo "Test Successful" > ../../../tests/timer-azure-storage-blob-it-test.result ;
-else
- mkdir -p ../../../tests/
- echo "Test failed" > ../../../tests/timer-azure-storage-blob-it-test.result ;
-fi
-
-jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel stop timer-azure-storage-blob
-
-cd terraform/
-terraform destroy -auto-approve
-cd ../
-
-rm -rf azure-keys.properties
-
-cat ../../../tests/timer-azure-storage-blob-it-test.result
diff --git a/it-tests/azure/azure-storage-blob/sink/timer-azure-storage-blob.yaml b/it-tests/azure/azure-storage-blob/sink/timer-azure-storage-blob.yaml
deleted file mode 100644
index 12de526a..00000000
--- a/it-tests/azure/azure-storage-blob/sink/timer-azure-storage-blob.yaml
+++ /dev/null
@@ -1,28 +0,0 @@
-## ---------------------------------------------------------------------------
-## Licensed to the Apache Software Foundation (ASF) under one or more
-## contributor license agreements. See the NOTICE file distributed with
-## this work for additional information regarding copyright ownership.
-## The ASF licenses this file to You under the Apache License, Version 2.0
-## (the "License"); you may not use this file except in compliance with
-## the License. You may obtain a copy of the License at
-##
-## http://www.apache.org/licenses/LICENSE-2.0
-##
-## Unless required by applicable law or agreed to in writing, software
-## distributed under the License is distributed on an "AS IS" BASIS,
-## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-## See the License for the specific language governing permissions and
-## limitations under the License.
-## ---------------------------------------------------------------------------
-
-- route:
- from:
- uri: "timer://foo?delay=0&fixedRate=true&period=1000&repeatCount=5"
- steps:
- - set-body:
- constant: "test"
- - to:
- uri: "kamelet:azure-storage-blob-sink"
- parameters:
- accountName: "kameletsaccount"
- containerName: "kamelets"
diff --git a/it-tests/azure/azure-storage-blob/source/azure-storage-blob-log-it-test.sh b/it-tests/azure/azure-storage-blob/source/azure-storage-blob-log-it-test.sh
deleted file mode 100755
index e00fc064..00000000
--- a/it-tests/azure/azure-storage-blob/source/azure-storage-blob-log-it-test.sh
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/bash
-
-if [ $# -ne 1 ]; then
- echo $0: usage: azure-storage-blob-log-it-test.sh camel-version
- exit 1
-fi
-
-camel_version=$1
-
-cd terraform/
-terraform init
-terraform apply -auto-approve
-cd ../
-
-accountKey=`az storage account keys list -n kameletsaccount | jq -r ' .[0] | .value'`
-az storage account keys list -n kameletsaccount | echo "camel.kamelet.azure-storage-blob-source.accessKey = $accountKey" > azure-keys.properties
-
-jbang run --fresh -Dcamel.jbang.version=$camel_version camel@apache/camel run --properties=azure-keys.properties azure-storage-blob-log.yaml &
-
-sleep 5
-
-az storage blob upload --account-name kameletsaccount --container-name kamelets --name example-file-uploaded1.txt --file example-file.txt --account-key $accountKey
-az storage blob upload --account-name kameletsaccount --container-name kamelets --name example-file-uploaded2.txt --file example-file.txt --account-key $accountKey
-az storage blob upload --account-name kameletsaccount --container-name kamelets --name example-file-uploaded3.txt --file example-file.txt --account-key $accountKey
-az storage blob upload --account-name kameletsaccount --container-name kamelets --name example-file-uploaded4.txt --file example-file.txt --account-key $accountKey
-az storage blob upload --account-name kameletsaccount --container-name kamelets --name example-file-uploaded5.txt --file example-file.txt --account-key $accountKey
-
-sleep 5
-
-variable=`jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel get | tail -n +2`
-success=`echo $variable | cut -d' ' -f11`
-fail=`echo $variable | cut -d' ' -f12`
-if [[ $success == 5 && $fail == 0 ]]
-then
- mkdir -p ../../../tests/
- echo "Test Successful" > ../../../tests/azure-storage-blob-log-it-test.result;
-else
- mkdir -p ../../../tests/
- echo "Test failed" > ../../../tests/azure-storage-blob-log-it-test.result;
-fi
-
-jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel stop azure-storage-blob-log
-
-cd terraform/
-terraform destroy -auto-approve
-cd ../
-
-rm -rf azure-keys.properties
-
-cat ../../../tests/azure-storage-blob-log-it-test.result
diff --git a/it-tests/azure/azure-storage-blob/source/azure-storage-blob-log.yaml b/it-tests/azure/azure-storage-blob/source/azure-storage-blob-log.yaml
deleted file mode 100644
index af7b1b7e..00000000
--- a/it-tests/azure/azure-storage-blob/source/azure-storage-blob-log.yaml
+++ /dev/null
@@ -1,29 +0,0 @@
-## ---------------------------------------------------------------------------
-## Licensed to the Apache Software Foundation (ASF) under one or more
-## contributor license agreements. See the NOTICE file distributed with
-## this work for additional information regarding copyright ownership.
-## The ASF licenses this file to You under the Apache License, Version 2.0
-## (the "License"); you may not use this file except in compliance with
-## the License. You may obtain a copy of the License at
-##
-## http://www.apache.org/licenses/LICENSE-2.0
-##
-## Unless required by applicable law or agreed to in writing, software
-## distributed under the License is distributed on an "AS IS" BASIS,
-## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-## See the License for the specific language governing permissions and
-## limitations under the License.
-## ---------------------------------------------------------------------------
-
-- route:
- from:
- uri: "kamelet:azure-storage-blob-source"
- parameters:
- accountName: "kameletsaccount"
- containerName: "kamelets"
- delay: 15000
- steps:
- - to:
- uri: "kamelet:log-sink"
- parameters:
- showStreams: true
diff --git a/it-tests/azure/azure-storage-blob/source/example-file.txt b/it-tests/azure/azure-storage-blob/source/example-file.txt
deleted file mode 100644
index 9daeafb9..00000000
--- a/it-tests/azure/azure-storage-blob/source/example-file.txt
+++ /dev/null
@@ -1 +0,0 @@
-test
diff --git a/it-tests/azure/azure-storage-blob/source/terraform/main.tf b/it-tests/azure/azure-storage-blob/source/terraform/main.tf
deleted file mode 100644
index 319b107a..00000000
--- a/it-tests/azure/azure-storage-blob/source/terraform/main.tf
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-# We strongly recommend using the required_providers block to set the
-# Azure Provider source and version being used
-terraform {
- required_providers {
- azurerm = {
- source = "hashicorp/azurerm"
- version = "=3.0.0"
- }
- }
-}
-
-# Configure the Microsoft Azure Provider
-provider "azurerm" {
- features {}
-}
-
-resource "azurerm_resource_group" "kamelets" {
- name = "kamelets-resources"
- location = "West Europe"
-}
-
-resource "azurerm_storage_account" "kamelets" {
- name = "kameletsaccount"
- resource_group_name = azurerm_resource_group.kamelets.name
- location = azurerm_resource_group.kamelets.location
- account_tier = "Standard"
- account_replication_type = "LRS"
-}
-
-resource "azurerm_storage_container" "camelkamelets" {
- name = "kamelets"
- storage_account_name = azurerm_storage_account.kamelets.name
- container_access_type = "private"
-}
-
diff --git a/it-tests/misc/scp/sink/timer-scp-it-test.sh b/it-tests/misc/scp/sink/timer-scp-it-test.sh
deleted file mode 100755
index c1788173..00000000
--- a/it-tests/misc/scp/sink/timer-scp-it-test.sh
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/bash
-
-if [ $# -ne 1 ]; then
- echo $0: usage: timer-scp-it-test.sh camel-version
- exit 1
-fi
-
-camel_version=$1
-
-docker pull rastasheep/ubuntu-sshd:14.04
-docker run -d -P --name test_sshd -p 32768:22 rastasheep/ubuntu-sshd:14.04
-
-sleep 5
-
-jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel run --local-kamelet-dir=../../../../kamelets/ timer-scp.yaml &
-
-sleep 10
-
-variable=`jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel get | tail -n +2`
-success=`echo $variable | cut -d' ' -f11`
-fail=`echo $variable | cut -d' ' -f12`
-if [[ $success == 5 && $fail == 0 ]]
-then
- mkdir -p ../../../tests/
- echo "Test Successful" > ../../../tests/timer-scp-it-test.result ;
-else
- mkdir -p ../../../tests/
- echo "Test failed" > ../../../tests/timer-scp-it-test.result ;
-fi
-
-jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel stop timer-scp
-
-docker stop test_sshd
-docker rm test_sshd
-
-cat ../../../tests/timer-scp-it-test.result
diff --git a/it-tests/misc/scp/sink/timer-scp.yaml b/it-tests/misc/scp/sink/timer-scp.yaml
deleted file mode 100644
index 03bc1fbf..00000000
--- a/it-tests/misc/scp/sink/timer-scp.yaml
+++ /dev/null
@@ -1,30 +0,0 @@
-## ---------------------------------------------------------------------------
-## Licensed to the Apache Software Foundation (ASF) under one or more
-## contributor license agreements. See the NOTICE file distributed with
-## this work for additional information regarding copyright ownership.
-## The ASF licenses this file to You under the Apache License, Version 2.0
-## (the "License"); you may not use this file except in compliance with
-## the License. You may obtain a copy of the License at
-##
-## http://www.apache.org/licenses/LICENSE-2.0
-##
-## Unless required by applicable law or agreed to in writing, software
-## distributed under the License is distributed on an "AS IS" BASIS,
-## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-## See the License for the specific language governing permissions and
-## limitations under the License.
-## ---------------------------------------------------------------------------
-
-- route:
- from:
- uri: "timer://foo?delay=0&fixedRate=true&period=1000&repeatCount=5"
- steps:
- - set-body:
- constant: "test"
- - to:
- uri: "kamelet:scp-sink"
- parameters:
- username: root
- password: root
- serverName: localhost
- serverPort: 32768
diff --git a/it-tests/misc/sftp/sink/timer-sftp-it-test.sh b/it-tests/misc/sftp/sink/timer-sftp-it-test.sh
deleted file mode 100755
index 096761e9..00000000
--- a/it-tests/misc/sftp/sink/timer-sftp-it-test.sh
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/bash
-
-if [ $# -ne 1 ]; then
- echo $0: usage: timer-sftp-it-test.sh camel-version
- exit 1
-fi
-
-camel_version=$1
-
-docker pull emberstack/sftp
-docker run -p 24:22 --name sftp -d emberstack/sftp
-
-sleep 5
-
-jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel run --local-kamelet-dir=../../../../kamelets/ timer-sftp.yaml &
-
-sleep 10
-
-variable=`jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel get | tail -n +2`
-success=`echo $variable | cut -d' ' -f11`
-fail=`echo $variable | cut -d' ' -f12`
-if [[ $success == 5 && $fail == 0 ]]
-then
- mkdir -p ../../../tests/
- echo "Test Successful" > ../../../tests/timer-sftp-it-test.result ;
-else
- mkdir -p ../../../tests/
- echo "Test failed" > ../../../tests/timer-sftp-it-test.result ;
-fi
-
-jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel stop timer-sftp
-
-docker stop sftp
-docker rm sftp
-
-cat ../../../tests/timer-sftp-it-test.result
diff --git a/it-tests/misc/sftp/sink/timer-sftp.yaml b/it-tests/misc/sftp/sink/timer-sftp.yaml
deleted file mode 100644
index 4a6e9fee..00000000
--- a/it-tests/misc/sftp/sink/timer-sftp.yaml
+++ /dev/null
@@ -1,31 +0,0 @@
-## ---------------------------------------------------------------------------
-## Licensed to the Apache Software Foundation (ASF) under one or more
-## contributor license agreements. See the NOTICE file distributed with
-## this work for additional information regarding copyright ownership.
-## The ASF licenses this file to You under the Apache License, Version 2.0
-## (the "License"); you may not use this file except in compliance with
-## the License. You may obtain a copy of the License at
-##
-## http://www.apache.org/licenses/LICENSE-2.0
-##
-## Unless required by applicable law or agreed to in writing, software
-## distributed under the License is distributed on an "AS IS" BASIS,
-## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-## See the License for the specific language governing permissions and
-## limitations under the License.
-## ---------------------------------------------------------------------------
-
-- route:
- from:
- uri: "timer://foo?delay=0&fixedRate=true&period=1000&repeatCount=5"
- steps:
- - set-body:
- constant: "test"
- - to:
- uri: "kamelet:sftp-sink"
- parameters:
- username: demo
- password: demo
- connectionHost: localhost
- connectionPort: 24
- directoryName: demos/
diff --git a/it-tests/misc/sftp/source/sftp-log-it-test.sh b/it-tests/misc/sftp/source/sftp-log-it-test.sh
deleted file mode 100755
index e69eaca3..00000000
--- a/it-tests/misc/sftp/source/sftp-log-it-test.sh
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/bash
-
-if [ $# -ne 1 ]; then
- echo $0: usage: sftp-log-it-test.sh camel-version
- exit 1
-fi
-
-camel_version=$1
-
-docker pull emberstack/sftp
-docker run -p 24:22 --name sftp -d emberstack/sftp
-sftpid=`docker ps -aqf "name=sftp"`
-
-jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel run --local-kamelet-dir=../../../../kamelets/ sftp-log.yaml &
-
-sleep 10
-
-docker exec -it $sftpid bash -c "echo 'Ciao' >> /home/demo/sftp/demos/file1.txt"
-docker exec -it $sftpid bash -c "echo 'Ciao' >> /home/demo/sftp/demos/file2.txt"
-docker exec -it $sftpid bash -c "echo 'Ciao' >> /home/demo/sftp/demos/file3.txt"
-docker exec -it $sftpid bash -c "echo 'Ciao' >> /home/demo/sftp/demos/file4.txt"
-docker exec -it $sftpid bash -c "echo 'Ciao' >> /home/demo/sftp/demos/file5.txt"
-
-sleep 10
-
-variable=`jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel get | tail -n +2`
-success=`echo $variable | cut -d' ' -f11`
-fail=`echo $variable | cut -d' ' -f12`
-if [[ $success == 5 && $fail == 0 ]]
-then
- mkdir -p ../../../tests/
- echo "Test Successful" > ../../../tests/sftp-log-it-test.result;
-else
- mkdir -p ../../../tests/
- echo "Test failed" > ../../../tests/sftp-log-it-test.result;
-fi
-
-jbang run -Dcamel.jbang.version=$camel_version camel@apache/camel stop sftp-log
-
-docker stop sftp
-docker rm sftp
-
-cat ../../../tests/sftp-log-it-test.result
diff --git a/it-tests/misc/sftp/source/sftp-log.yaml b/it-tests/misc/sftp/source/sftp-log.yaml
deleted file mode 100644
index 41603770..00000000
--- a/it-tests/misc/sftp/source/sftp-log.yaml
+++ /dev/null
@@ -1,32 +0,0 @@
-## ---------------------------------------------------------------------------
-## Licensed to the Apache Software Foundation (ASF) under one or more
-## contributor license agreements. See the NOTICE file distributed with
-## this work for additional information regarding copyright ownership.
-## The ASF licenses this file to You under the Apache License, Version 2.0
-## (the "License"); you may not use this file except in compliance with
-## the License. You may obtain a copy of the License at
-##
-## http://www.apache.org/licenses/LICENSE-2.0
-##
-## Unless required by applicable law or agreed to in writing, software
-## distributed under the License is distributed on an "AS IS" BASIS,
-## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-## See the License for the specific language governing permissions and
-## limitations under the License.
-## ---------------------------------------------------------------------------
-
-- route:
- from:
- uri: "kamelet:sftp-source"
- parameters:
- username: demo
- password: demo
- connectionHost: localhost
- connectionPort: 24
- directoryName: demos/
- recursive: true
- steps:
- - to:
- uri: "kamelet:log-sink"
- parameters:
- showStreams: false
diff --git a/it-tests/scripts/results.sh b/it-tests/scripts/results.sh
deleted file mode 100755
index 6add40e8..00000000
--- a/it-tests/scripts/results.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-#!/bin/bash
-for f in tests/*.result ; do FILENAME=`basename ${f%%.*}`; echo ${FILENAME} -- $(cat ${f}); done