This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets-examples.git
The following commit(s) were added to refs/heads/main by this push: new 2a64fc7 Bump for next version 2a64fc7 is described below commit 2a64fc7572c31ee21711e1375f6ac30fbed3ea5c Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Thu Aug 8 18:53:13 2024 +0200 Bump for next version --- jbang/aws-bedrock-ingestion/BedrockPrompt.java | 2 +- jbang/aws-bedrock-ingestion/README.adoc | 20 ++++++++++---------- jbang/aws-kinesis-log/README.adoc | 6 +++--- jbang/azure-servicebus/README.adoc | 4 ++-- ...ecured-apicurio-registry-json-source.kamelet.yaml | 4 ++-- jbang/kafka-aws-bedrock/README.adoc | 4 ++-- kamelet-main/custom/pom.xml | 2 +- kamelet-main/pom.xml | 6 +++--- kamelet-main/scan-download/pom.xml | 2 +- .../kamelets/custom-beer-source.kamelet.yaml | 2 +- kamelet-main/scan/pom.xml | 2 +- kamelet-main/slack-source/pom.xml | 2 +- 12 files changed, 28 insertions(+), 28 deletions(-) diff --git a/jbang/aws-bedrock-ingestion/BedrockPrompt.java b/jbang/aws-bedrock-ingestion/BedrockPrompt.java index 40e546e..8062f57 100644 --- a/jbang/aws-bedrock-ingestion/BedrockPrompt.java +++ b/jbang/aws-bedrock-ingestion/BedrockPrompt.java @@ -15,7 +15,7 @@ * limitations under the License. */ -//DEPS org.apache.camel:camel-bom:4.7.0-SNAPSHOT@pom +//DEPS org.apache.camel:camel-bom:4.8.0-SNAPSHOT@pom //DEPS org.apache.camel:camel-aws-bedrock //DEPS org.apache.camel:camel-endpointdsl //DEPS org.apache.camel:camel-rest diff --git a/jbang/aws-bedrock-ingestion/README.adoc b/jbang/aws-bedrock-ingestion/README.adoc index 64fef58..5beb025 100644 --- a/jbang/aws-bedrock-ingestion/README.adoc +++ b/jbang/aws-bedrock-ingestion/README.adoc @@ -63,21 +63,21 @@ Then you can run this example using: [source,sh] ---- -$ jbang -Dcamel.jbang.version=4.7.0-SNAPSHOT camel@apache/camel run --properties=application.properties Counter.java BedrockPrompt.java +$ jbang -Dcamel.jbang.version=4.8.0-SNAPSHOT camel@apache/camel run --properties=application.properties Counter.java BedrockPrompt.java ---- Or run it even shorter: [source,sh] ---- -$ jbang -Dcamel.jbang.version=4.7.0-SNAPSHOT camel@apache/camel run --properties=application.properties * +$ jbang -Dcamel.jbang.version=4.8.0-SNAPSHOT camel@apache/camel run --properties=application.properties * ---- Once started you should see the following log [source,sh] ---- -2024-04-03 10:01:19.794 INFO 23749 --- [ main] el.impl.engine.AbstractCamelContext : Apache Camel 4.7.0-SNAPSHOT (Counter) is starting +2024-04-03 10:01:19.794 INFO 23749 --- [ main] el.impl.engine.AbstractCamelContext : Apache Camel 4.8.0-SNAPSHOT (Counter) is starting 2024-04-03 10:01:19.984 INFO 23749 --- [ main] .core.spi.resolver.ResolverProvider : Using the default address resolver as the dns resolver could not be loaded 2024-04-03 10:01:20.110 INFO 23749 --- [ntloop-thread-0] .http.vertx.VertxPlatformHttpServer : Vert.x HttpServer started on 0.0.0.0:8080 2024-04-03 10:01:20.231 INFO 23749 --- [ main] g.apache.camel.main.BaseMainSupport : Property-placeholders summary @@ -88,7 +88,7 @@ Once started you should see the following log 2024-04-03 10:01:20.263 INFO 23749 --- [ main] el.impl.engine.AbstractCamelContext : Started route1 (aws2-sqs://arn:arnsqs) 2024-04-03 10:01:20.263 INFO 23749 --- [ main] el.impl.engine.AbstractCamelContext : Started route2 (rest://get:/bedrock:/prompt) 2024-04-03 10:01:20.263 INFO 23749 --- [ main] el.impl.engine.AbstractCamelContext : Started route3 (rest://get:/bedrock:/ingestion_status/%7Bid%7D) -2024-04-03 10:01:20.263 INFO 23749 --- [ main] el.impl.engine.AbstractCamelContext : Apache Camel 4.7.0-SNAPSHOT (Counter) started in 469ms (build:0ms init:0ms start:469ms) +2024-04-03 10:01:20.263 INFO 23749 --- [ main] el.impl.engine.AbstractCamelContext : Apache Camel 4.8.0-SNAPSHOT (Counter) started in 469ms (build:0ms init:0ms start:469ms) 2024-04-03 10:01:20.266 INFO 23749 --- [ main] t.platform.http.main.MainHttpServer : HTTP endpoints summary 2024-04-03 10:01:20.268 INFO 23749 --- [ main] t.platform.http.main.MainHttpServer : http://0.0.0.0:8080/bedrock/ingestion_status/{id} (GET) 2024-04-03 10:01:20.268 INFO 23749 --- [ main] t.platform.http.main.MainHttpServer : http://0.0.0.0:8080/bedrock/prompt (GET) @@ -100,7 +100,7 @@ You can enable the developer console via `--console` flag as show: [source,sh] ---- -$ jbang -Dcamel.jbang.version=4.7.0-SNAPSHOT camel@apache/camel run --properties=application.properties Counter.java BedrockPrompt.java --console +$ jbang -Dcamel.jbang.version=4.8.0-SNAPSHOT camel@apache/camel run --properties=application.properties Counter.java BedrockPrompt.java --console ---- Then you can browse: http://localhost:8080/q/dev to introspect the running Camel Application. @@ -178,7 +178,7 @@ You can run [source,sh] ---- -jbang -Dcamel.jbang.version=4.7.0-SNAPSHOT camel@apache/camel run --properties=application.properties aws-bedrock-knowledgebase-session.camel.yaml +jbang -Dcamel.jbang.version=4.8.0-SNAPSHOT camel@apache/camel run --properties=application.properties aws-bedrock-knowledgebase-session.camel.yaml ---- This will give the following output @@ -187,7 +187,7 @@ This will give the following output ---- 2024-04-04 12:53:31.341 INFO 47329 --- [ main] el.impl.engine.AbstractCamelContext : Routes startup (total:1 started:1 kamelets:3) 2024-04-04 12:53:31.341 INFO 47329 --- [ main] el.impl.engine.AbstractCamelContext : Started route1 (kamelet://timer-source) -2024-04-04 12:53:31.341 INFO 47329 --- [ main] el.impl.engine.AbstractCamelContext : Apache Camel 4.7.0-SNAPSHOT (aws-bedrock-knowledgebase-session) started in 501ms (build:0ms init:0ms start:501ms) +2024-04-04 12:53:31.341 INFO 47329 --- [ main] el.impl.engine.AbstractCamelContext : Apache Camel 4.8.0-SNAPSHOT (aws-bedrock-knowledgebase-session) started in 501ms (build:0ms init:0ms start:501ms) 2024-04-04 12:53:32.350 INFO 47329 --- [ - timer://tick] knowledgebase-session.camel.yaml:27 : New Request to Knowledge Base What is the average natural gas price between 1998 and 1999? 2024-04-04 12:53:35.620 INFO 47329 --- [ - timer://tick] log-sink : Exchange[ExchangePattern: InOnly, Headers: {CamelAwsBedrockAgentRuntimeCitations=[Citation(GeneratedResponsePart=GeneratedResponsePart(TextResponsePart=*** Sensitive Data Redacted ***), RetrievedReferences=[RetrievedReference(Content=*** Sensitive Data Redacted ***, Location=*** Sensitive Data Redacted ***, Metadata=*** Sensitive Data Redacted ***)])], CamelAwsBedrockAgentRuntimeSessionId=dd18 [...] 2024-04-04 12:53:35.621 INFO 47329 --- [ - timer://tick] knowledgebase-session.camel.yaml:39 : SessionId is dd187271-cff8-4730-a6a7-42136120eac7 @@ -203,11 +203,11 @@ This will give the following output 2024-04-04 12:53:47.805 INFO 47329 --- [ - timer://tick] knowledgebase-session.camel.yaml:27 : New Request to Knowledge Base What is the average natural gas price between 2018 and 2017? 2024-04-04 12:53:51.479 INFO 47329 --- [ - timer://tick] log-sink : Exchange[ExchangePattern: InOnly, Headers: {CamelAwsBedrockAgentRuntimeCitations=[Citation(GeneratedResponsePart=GeneratedResponsePart(TextResponsePart=*** Sensitive Data Redacted ***), RetrievedReferences=[RetrievedReference(Content=*** Sensitive Data Redacted ***, Location=*** Sensitive Data Redacted ***, Metadata=*** Sensitive Data Redacted ***)])], CamelAwsBedrockAgentRuntimeSessionId=dd18 [...] 2024-04-04 12:53:51.481 INFO 47329 --- [ - timer://tick] knowledgebase-session.camel.yaml:39 : SessionId is dd187271-cff8-4730-a6a7-42136120eac7 -^C2024-04-04 12:54:01.296 INFO 47329 --- [ main] el.impl.engine.AbstractCamelContext : Apache Camel 4.7.0-SNAPSHOT (aws-bedrock-knowledgebase-session) is shutting down (timeout:10s) +^C2024-04-04 12:54:01.296 INFO 47329 --- [ main] el.impl.engine.AbstractCamelContext : Apache Camel 4.8.0-SNAPSHOT (aws-bedrock-knowledgebase-session) is shutting down (timeout:10s) 2024-04-04 12:54:01.307 INFO 47329 --- [ main] el.impl.engine.AbstractCamelContext : Routes stopped (total:1 stopped:1 kamelets:3) 2024-04-04 12:54:01.307 INFO 47329 --- [ main] el.impl.engine.AbstractCamelContext : Stopped route1 (kamelet://timer-source) -2024-04-04 12:54:01.313 INFO 47329 --- [ main] el.impl.engine.AbstractCamelContext : Apache Camel 4.7.0-SNAPSHOT (aws-bedrock-knowledgebase-session) shutdown in 17ms (uptime:30s) -2024-04-04 12:54:01.314 INFO 47329 --- [ main] org.apache.camel.main.MainSupport : Apache Camel (JBang) 4.7.0-SNAPSHOT shutdown +2024-04-04 12:54:01.313 INFO 47329 --- [ main] el.impl.engine.AbstractCamelContext : Apache Camel 4.8.0-SNAPSHOT (aws-bedrock-knowledgebase-session) shutdown in 17ms (uptime:30s) +2024-04-04 12:54:01.314 INFO 47329 --- [ main] org.apache.camel.main.MainSupport : Apache Camel (JBang) 4.8.0-SNAPSHOT shutdown ---- === Cleanup AWS S3 bucket, SQS Queue and EventBridge Rule through Terraform diff --git a/jbang/aws-kinesis-log/README.adoc b/jbang/aws-kinesis-log/README.adoc index cda229a..89b554a 100644 --- a/jbang/aws-kinesis-log/README.adoc +++ b/jbang/aws-kinesis-log/README.adoc @@ -36,7 +36,7 @@ Then you can run this example using: [source,sh] ---- -$ jbang -Dcamel.jbang.version=4.7.0-SNAPSHOT camel@apache/camel run --local-kamelet-dir=/home/oscerd/workspace/apache-camel/camel-kamelets/kamelets aws-kinesis-kcl-log.yaml +$ jbang -Dcamel.jbang.version=4.8.0-SNAPSHOT camel@apache/camel run --local-kamelet-dir=/home/oscerd/workspace/apache-camel/camel-kamelets/kamelets aws-kinesis-kcl-log.yaml ---- This will start the KCL consumer: @@ -45,7 +45,7 @@ This will start the KCL consumer: ---- 2024-06-27 09:19:47.063 INFO 14007 --- [ main] e.camel.impl.engine.AbstractCamelContext : Routes startup (total:1 started:1 kamelets:2) 2024-06-27 09:19:47.064 INFO 14007 --- [ main] e.camel.impl.engine.AbstractCamelContext : Started route1 (kamelet://aws-kinesis-source) -2024-06-27 09:19:47.064 INFO 14007 --- [ main] e.camel.impl.engine.AbstractCamelContext : Apache Camel 4.7.0-SNAPSHOT (aws-kinesis-kcl-log) started in 1s425ms (build:0ms init:0ms start:1s425ms) +2024-06-27 09:19:47.064 INFO 14007 --- [ main] e.camel.impl.engine.AbstractCamelContext : Apache Camel 4.8.0-SNAPSHOT (aws-kinesis-kcl-log) started in 1s425ms (build:0ms init:0ms start:1s425ms) 2024-06-27 09:19:47.080 INFO 14007 --- [nesis-kamelets]] are.amazon.kinesis.coordinator.Scheduler : Initial state: [StreamConfig(streamIdentifier=kinesis-kamelets, initialPositionInStreamExtended=InitialPositionInStreamExtended(position=LATEST, timestamp=null), consumerArn=null)] 2024-06-27 09:19:47.118 INFO 14007 --- [nesis-kamelets]] leases.dynamodb.DynamoDBLeaseCoordinator : With failover time 10000 ms and epsilon 25 ms, LeaseCoordinator will renew leases every 3308 ms, takeleases every 20050 ms, process maximum of 2147483647 leases and steal 1 lease(s) at a time. 2024-06-27 09:19:47.127 INFO 14007 --- [nesis-kamelets]] leases.dynamodb.DynamoDBLeaseCoordinator : With failover time 10000 ms and epsilon 25 ms, LeaseCoordinator will renew leases every 3308 ms, takeleases every 20050 ms, process maximum of 2147483647 leases and steal 1 lease(s) at a time. @@ -106,7 +106,7 @@ In a different terminal run the producer with the following command [source,sh] ---- -$ jbang -Dcamel.jbang.version=4.7.0-SNAPSHOT camel@apache/camel run --local-kamelet-dir=/home/oscerd/workspace/apache-camel/camel-kamelets/kamelets timer-aws-kinesis.camel.yaml +$ jbang -Dcamel.jbang.version=4.8.0-SNAPSHOT camel@apache/camel run --local-kamelet-dir=/home/oscerd/workspace/apache-camel/camel-kamelets/kamelets timer-aws-kinesis.camel.yaml ---- This will send 10 records to kinesis-kamelets stream diff --git a/jbang/azure-servicebus/README.adoc b/jbang/azure-servicebus/README.adoc index 60bd5d7..f47ef06 100644 --- a/jbang/azure-servicebus/README.adoc +++ b/jbang/azure-servicebus/README.adoc @@ -64,7 +64,7 @@ Then you can run this producer example using: [source,sh] ---- -$ jbang -Dcamel.jbang.version=4.7.0-SNAPSHOT camel run timer-to-azure-servicebus.camel.yaml +$ jbang -Dcamel.jbang.version=4.8.0-SNAPSHOT camel run timer-to-azure-servicebus.camel.yaml ---- === How to run the consumer @@ -73,7 +73,7 @@ Then you can run this consumer example using: [source,sh] ---- -$ jbang -Dcamel.jbang.version=4.7.0-SNAPSHOT camel run azure-servicebus-to-log.camel.yaml +$ jbang -Dcamel.jbang.version=4.8.0-SNAPSHOT camel run azure-servicebus-to-log.camel.yaml ---- diff --git a/jbang/kafka-apicurio-secured-json-schema-registry/kafka-not-secured-apicurio-registry-json-source.kamelet.yaml b/jbang/kafka-apicurio-secured-json-schema-registry/kafka-not-secured-apicurio-registry-json-source.kamelet.yaml index ac4b6cf..5bb01bc 100644 --- a/jbang/kafka-apicurio-secured-json-schema-registry/kafka-not-secured-apicurio-registry-json-source.kamelet.yaml +++ b/jbang/kafka-apicurio-secured-json-schema-registry/kafka-not-secured-apicurio-registry-json-source.kamelet.yaml @@ -20,7 +20,7 @@ metadata: name: kafka-not-secured-apicurio-registry-json-source annotations: camel.apache.org/kamelet.support.level: "Preview" - camel.apache.org/catalog.version: "4.7.0-SNAPSHOT" + camel.apache.org/catalog.version: "4.8.0-SNAPSHOT" camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOS4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCA1MDAgNTAwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MD [...] camel.apache.org/provider: "Apache Software Foundation" camel.apache.org/kamelet.group: "Kafka" @@ -147,7 +147,7 @@ spec: type: boolean default: false dependencies: - - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.7.0-SNAPSHOT" + - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.8.0-SNAPSHOT" - "camel:kafka" - "camel:core" - "camel:kamelet" diff --git a/jbang/kafka-aws-bedrock/README.adoc b/jbang/kafka-aws-bedrock/README.adoc index 7b56f72..0590e18 100644 --- a/jbang/kafka-aws-bedrock/README.adoc +++ b/jbang/kafka-aws-bedrock/README.adoc @@ -63,7 +63,7 @@ Then you can run this example using: [source,sh] ---- -$ jbang -Dcamel.jbang.version=4.7.0-SNAPSHOT camel@apache/camel run --local-kamelet-dir=<local_path_to_kamelets> kafka-aws-bedrock.camel.yaml +$ jbang -Dcamel.jbang.version=4.8.0-SNAPSHOT camel@apache/camel run --local-kamelet-dir=<local_path_to_kamelets> kafka-aws-bedrock.camel.yaml ---- @@ -75,7 +75,7 @@ In the log you should see the consumer: ---- 2024-03-07 06:50:53.517 INFO 11498 --- [ main] el.impl.engine.AbstractCamelContext : Routes startup (total:1 started:1 kamelets:2) 2024-03-07 06:50:53.517 INFO 11498 --- [ main] el.impl.engine.AbstractCamelContext : Started route1 (kamelet://kafka-not-secured-source) -2024-03-07 06:50:53.517 INFO 11498 --- [ main] el.impl.engine.AbstractCamelContext : Apache Camel 4.7.0-SNAPSHOT (kafka-aws-bedrock) started in 817ms (build:0ms init:0ms start:817ms) +2024-03-07 06:50:53.517 INFO 11498 --- [ main] el.impl.engine.AbstractCamelContext : Apache Camel 4.8.0-SNAPSHOT (kafka-aws-bedrock) started in 817ms (build:0ms init:0ms start:817ms) 2024-03-07 06:50:53.621 INFO 11498 --- [[bedrock-topic]] he.kafka.common.utils.AppInfoParser : Kafka version: 3.6.1 2024-03-07 06:50:53.622 INFO 11498 --- [[bedrock-topic]] he.kafka.common.utils.AppInfoParser : Kafka commitId: 5e3c2b738d253ff5 2024-03-07 06:50:53.622 INFO 11498 --- [[bedrock-topic]] he.kafka.common.utils.AppInfoParser : Kafka startTimeMs: 1709790653615 diff --git a/kamelet-main/custom/pom.xml b/kamelet-main/custom/pom.xml index 0b73a6f..4d2d86c 100644 --- a/kamelet-main/custom/pom.xml +++ b/kamelet-main/custom/pom.xml @@ -25,7 +25,7 @@ <parent> <groupId>org.apache.camel.examples</groupId> <artifactId>camel-kamelet-main-examples</artifactId> - <version>4.7.0-SNAPSHOT</version> + <version>4.8.0-SNAPSHOT</version> </parent> <artifactId>custom</artifactId> diff --git a/kamelet-main/pom.xml b/kamelet-main/pom.xml index 5c4a6b6..adac618 100644 --- a/kamelet-main/pom.xml +++ b/kamelet-main/pom.xml @@ -23,19 +23,19 @@ <parent> <groupId>org.apache.camel</groupId> <artifactId>camel-dependencies</artifactId> - <version>4.7.0-SNAPSHOT</version> + <version>4.8.0-SNAPSHOT</version> </parent> <groupId>org.apache.camel.examples</groupId> <artifactId>camel-kamelet-main-examples</artifactId> - <version>4.7.0-SNAPSHOT</version> + <version>4.8.0-SNAPSHOT</version> <packaging>pom</packaging> <name>Kamelet Main Examples</name> <description>Kamelet Main Examples</description> <properties> - <camel.version>4.7.0-SNAPSHOT</camel.version> + <camel.version>4.8.0-SNAPSHOT</camel.version> </properties> <modules> diff --git a/kamelet-main/scan-download/pom.xml b/kamelet-main/scan-download/pom.xml index 6370003..e0188bc 100644 --- a/kamelet-main/scan-download/pom.xml +++ b/kamelet-main/scan-download/pom.xml @@ -25,7 +25,7 @@ <parent> <groupId>org.apache.camel.examples</groupId> <artifactId>camel-kamelet-main-examples</artifactId> - <version>4.7.0-SNAPSHOT</version> + <version>4.8.0-SNAPSHOT</version> </parent> <artifactId>scan-download</artifactId> diff --git a/kamelet-main/scan-download/src/main/resources/kamelets/custom-beer-source.kamelet.yaml b/kamelet-main/scan-download/src/main/resources/kamelets/custom-beer-source.kamelet.yaml index 8fc8f9f..5e4520c 100644 --- a/kamelet-main/scan-download/src/main/resources/kamelets/custom-beer-source.kamelet.yaml +++ b/kamelet-main/scan-download/src/main/resources/kamelets/custom-beer-source.kamelet.yaml @@ -28,7 +28,7 @@ spec: - "camel:timer" - "camel:http" - "camel:kamelet" - - "mvn:org.apache.camel.examples:custom:4.7.0-SNAPSHOT" + - "mvn:org.apache.camel.examples:custom:4.8.0-SNAPSHOT" template: from: uri: "timer:beer" diff --git a/kamelet-main/scan/pom.xml b/kamelet-main/scan/pom.xml index 7cc3e1e..9d25aee 100644 --- a/kamelet-main/scan/pom.xml +++ b/kamelet-main/scan/pom.xml @@ -25,7 +25,7 @@ <parent> <groupId>org.apache.camel.examples</groupId> <artifactId>camel-kamelet-main-examples</artifactId> - <version>4.7.0-SNAPSHOT</version> + <version>4.8.0-SNAPSHOT</version> </parent> <artifactId>scan</artifactId> diff --git a/kamelet-main/slack-source/pom.xml b/kamelet-main/slack-source/pom.xml index 2a7fda6..2b21054 100644 --- a/kamelet-main/slack-source/pom.xml +++ b/kamelet-main/slack-source/pom.xml @@ -25,7 +25,7 @@ <parent> <groupId>org.apache.camel.examples</groupId> <artifactId>camel-kamelet-main-examples</artifactId> - <version>4.7.0-SNAPSHOT</version> + <version>4.8.0-SNAPSHOT</version> </parent> <artifactId>slack-source</artifactId>