Skip to content

Commit

Permalink
chore: use template in favour of flow spec
Browse files Browse the repository at this point in the history
  • Loading branch information
squakez committed Jan 28, 2022
1 parent 208bdb3 commit 2cbe1fd
Show file tree
Hide file tree
Showing 331 changed files with 352 additions and 355 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ spec:
types:
out:
mediaType: text/plain
flow:
template:
from:
uri: timer:tick
parameters:
Expand Down Expand Up @@ -128,7 +128,7 @@ spec:
- camel:telegram
- mvn:org.apache.commons:commons-vfs2:2.7.0
- github:apache/camel-kamelets
flow:
template:
# ...
```

Expand Down
2 changes: 1 addition & 1 deletion kamelets/avro-deserialize-action.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ spec:
- "camel:kamelet"
- "camel:core"
- "camel:jackson-avro"
flow:
template:
from:
uri: kamelet:source
steps:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/avro-serialize-action.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ spec:
- "camel:kamelet"
- "camel:core"
- "camel:jackson-avro"
flow:
template:
from:
uri: kamelet:source
steps:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-cloudwatch-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ spec:
- "camel:core"
- "camel:aws2-cw"
- "camel:kamelet"
flow:
template:
from:
uri: kamelet:source
steps:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-ddb-streams-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ spec:
- "camel:gson"
- "camel:aws2-ddb"
- "camel:kamelet"
flow:
template:
from:
uri: "aws2-ddbstream:{{table}}"
parameters:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-ec2-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ spec:
- "camel:core"
- "camel:aws2-ec2"
- "camel:kamelet"
flow:
template:
from:
uri: kamelet:source
steps:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-kinesis-firehose-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ spec:
dependencies:
- "camel:aws2-kinesis"
- "camel:kamelet"
flow:
template:
from:
uri: kamelet:source
steps:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-kinesis-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ spec:
- "camel:core"
- "camel:aws2-kinesis"
- "camel:kamelet"
flow:
template:
from:
uri: kamelet:source
steps:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-kinesis-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ spec:
- "camel:aws2-kinesis"
- "camel:kamelet"
- "camel:gson"
flow:
template:
from:
uri: aws2-kinesis:{{stream}}
parameters:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-lambda-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ spec:
dependencies:
- "camel:aws2-lambda"
- "camel:kamelet"
flow:
template:
from:
uri: kamelet:source
steps:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-redshift-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ spec:
- "camel:sql"
- "mvn:com.amazon.redshift:redshift-jdbc42:2.1.0.3"
- "mvn:org.apache.commons:commons-dbcp2:2.9.0"
flow:
template:
beans:
- name: dsBean
type: "#class:org.apache.commons.dbcp2.BasicDataSource"
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-redshift-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ spec:
- "camel:sql"
- "mvn:com.amazon.redshift:redshift-jdbc42:2.1.0.3"
- "mvn:org.apache.commons:commons-dbcp2:2.9.0"
flow:
template:
beans:
- name: dsBean
type: "#class:org.apache.commons.dbcp2.BasicDataSource"
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-s3-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ spec:
- "camel:core"
- "camel:aws2-s3"
- "camel:kamelet"
flow:
template:
from:
uri: "kamelet:source"
steps:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-s3-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ spec:
dependencies:
- "camel:aws2-s3"
- "camel:kamelet"
flow:
template:
from:
uri: "aws2-s3:{{bucketNameOrArn}}"
parameters:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-s3-streaming-upload-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ spec:
dependencies:
- "camel:aws2-s3"
- "camel:kamelet"
flow:
template:
from:
uri: "kamelet:source"
steps:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-secrets-manager-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ spec:
- "camel:core"
- "camel:aws-secrets-manager"
- "camel:kamelet"
flow:
template:
from:
uri: "kamelet:source"
steps:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-ses-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ spec:
- "camel:core"
- "camel:aws2-ses"
- "camel:kamelet"
flow:
template:
from:
uri: "kamelet:source"
steps:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-sns-fifo-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ spec:
- "camel:aws2-sns"
- "camel:core"
- "camel:kamelet"
flow:
template:
from:
uri: kamelet:source
steps:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-sns-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ spec:
- "camel:core"
- "camel:aws2-sns"
- "camel:kamelet"
flow:
template:
from:
uri: kamelet:source
steps:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-sqs-batch-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ spec:
dependencies:
- "camel:aws2-sqs"
- "camel:kamelet"
flow:
template:
from:
uri: kamelet:source
steps:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-sqs-fifo-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ spec:
- "camel:aws2-sqs"
- "camel:core"
- "camel:kamelet"
flow:
template:
from:
uri: kamelet:source
steps:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-sqs-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ spec:
dependencies:
- "camel:aws2-sqs"
- "camel:kamelet"
flow:
template:
from:
uri: kamelet:source
steps:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-sqs-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ spec:
dependencies:
- "camel:aws2-sqs"
- "camel:kamelet"
flow:
template:
from:
uri: "aws2-sqs:{{queueNameOrArn}}"
parameters:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-translate-action.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ spec:
- "camel:dns"
- "camel:kamelet"
- "camel:aws2-translate"
flow:
template:
from:
uri: "kamelet:source"
steps:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/azure-cosmosdb-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ spec:
- "camel:azure-cosmosdb"
- "camel:kamelet"
- "camel:jackson"
flow:
template:
from:
uri: "azure-cosmosdb:{{databaseName}}/{{containerName}}"
parameters:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/azure-eventhubs-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ spec:
- "mvn:com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.11.3"
- "camel:azure-eventhubs"
- "camel:kamelet"
flow:
template:
from:
uri: "kamelet:source"
steps:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/azure-eventhubs-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ spec:
- "camel:azure-eventhubs"
- "camel:kamelet"
- "camel:jackson"
flow:
template:
from:
uri: 'azure-eventhubs://{{namespaceName}}/{{eventhubName}}'
parameters:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/azure-storage-blob-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ spec:
- "camel:core"
- "camel:azure-storage-blob"
- "camel:kamelet"
flow:
template:
from:
uri: "kamelet:source"
steps:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/azure-storage-blob-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ spec:
- "camel:core"
- "camel:jsonpath"
- "camel:timer"
flow:
template:
from:
uri: "timer:azure-storage-blob-stream"
parameters:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/azure-storage-queue-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ spec:
- "camel:core"
- "camel:azure-storage-queue"
- "camel:kamelet"
flow:
template:
from:
uri: "kamelet:source"
steps:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/azure-storage-queue-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ spec:
dependencies:
- "camel:azure-storage-queue"
- "camel:kamelet"
flow:
template:
from:
uri: "azure-storage-queue://{{accountName}}/{{queueName}}"
parameters:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/bitcoin-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ spec:
- "camel:kamelet"
- "camel:jackson"
- "camel:timer"
flow:
template:
from:
uri: "timer:update"
parameters:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/caffeine-action.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ spec:
- "camel:core"
- "camel:caffeine"
- "camel:kamelet"
flow:
template:
from:
uri: "kamelet:source"
steps:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/cassandra-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ spec:
- "camel:jackson"
- "camel:kamelet"
- "camel:cassandraql"
flow:
template:
from:
uri: "kamelet:source"
steps:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/cassandra-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ spec:
- "camel:jackson"
- "camel:kamelet"
- "camel:cassandraql"
flow:
template:
from:
uri: "cql://{{connectionHost}}:{{connectionPort}}/{{keyspace}}"
parameters:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/chuck-norris-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ spec:
- "camel:timer"
- "camel:http"
- "camel:jsonpath"
flow:
template:
from:
uri: "timer:chuck"
parameters:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/chunk-template-action.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ spec:
dependencies:
- "camel:chunk"
- "camel:kamelet"
flow:
template:
from:
uri: "kamelet:source"
steps:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/couchbase-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ spec:
dependencies:
- "camel:couchbase"
- "camel:kamelet"
flow:
template:
from:
uri: "kamelet:source"
steps:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/cron-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ spec:
- "camel:core"
- "camel:cron"
- "camel:kamelet"
flow:
template:
from:
uri: "cron:tick"
parameters:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/delay-action.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
dependencies:
- "camel:core"
- "camel:kamelet"
flow:
template:
from:
uri: "kamelet:source"
steps:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/dns-dig-action.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ spec:
- "camel:core"
- "camel:dns"
- "camel:kamelet"
flow:
template:
from:
uri: "kamelet:source"
steps:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/dns-ip-action.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ spec:
- "camel:core"
- "camel:dns"
- "camel:kamelet"
flow:
template:
from:
uri: "kamelet:source"
steps:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/dns-lookup-action.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ spec:
- "camel:jackson"
- "camel:dns"
- "camel:kamelet"
flow:
template:
from:
uri: "kamelet:source"
steps:
Expand Down
Loading

0 comments on commit 2cbe1fd

Please sign in to comment.