Skip to content

Commit

Permalink
Add AWS CloudTrail Source Kamelet
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
  • Loading branch information
oscerd committed Oct 21, 2022
1 parent b6a6a86 commit 88d452e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package org.apache.camel.kamelets.catalog.model;

public enum KameletPrefixSchemeEnum {
aws_cloudtrail("aws-cloudtrail","aws-cloudtrail"),
aws_cloudwatch("aws-cloudwatch","aws2-cw"),
aws_ddb("aws-ddb","aws2-ddb"),
aws_ddb_streams("aws-ddb","aws2-ddbstream"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ void testSupportedHeaders() throws Exception {
assertEquals(18, headersSource.size());
List<ComponentModel.EndpointHeaderModel> headersSink = catalog.getKameletSupportedHeaders("aws-s3-sink");
assertEquals(25, headersSink.size());
List<ComponentModel.EndpointHeaderModel> headersCloudtrailSource = catalog.getKameletSupportedHeaders("aws-cloudtrail-source");
assertEquals(0, headersCloudtrailSource.size());
List<ComponentModel.EndpointHeaderModel> headersRedshiftSource = catalog.getKameletSupportedHeaders("aws-redshift-source");
assertEquals(0, headersRedshiftSource.size());
List<ComponentModel.EndpointHeaderModel> headerNotExistent = catalog.getKameletSupportedHeaders("aws-not-exists");
Expand Down

0 comments on commit 88d452e

Please sign in to comment.