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 43907c7 Bump for next version
43907c7 is described below
commit 43907c799b2eb5609b25c67e96639f9fcc3192df
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri May 10 16:08:26 2024 +0200
Bump for next version
---
jbang/aws-bedrock-ingestion/BedrockPrompt.java | 2 +-
jbang/aws-bedrock-ingestion/README.adoc | 20 ++++++++++----------
jbang/azure-servicebus/README.adoc | 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 +-
10 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/jbang/aws-bedrock-ingestion/BedrockPrompt.java
b/jbang/aws-bedrock-ingestion/BedrockPrompt.java
index 59deb1b..40e546e 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.6.0-SNAPSHOT@pom
+//DEPS org.apache.camel:camel-bom:4.7.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 62ebe5f..64fef58 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.6.0-SNAPSHOT camel@apache/camel run
--properties=application.properties Counter.java BedrockPrompt.java
+$ jbang -Dcamel.jbang.version=4.7.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.6.0-SNAPSHOT camel@apache/camel run
--properties=application.properties *
+$ jbang -Dcamel.jbang.version=4.7.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.6.0-SNAPSHOT (Counter) is
starting
+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.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.6.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.7.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.6.0-SNAPSHOT camel@apache/camel run
--properties=application.properties Counter.java BedrockPrompt.java --console
+$ jbang -Dcamel.jbang.version=4.7.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.6.0-SNAPSHOT camel@apache/camel run
--properties=application.properties aws-bedrock-knowledgebase-session.camel.yaml
+jbang -Dcamel.jbang.version=4.7.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.6.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.7.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.6.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.7.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.6.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.6.0-SNAPSHOT
shutdown
+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
----
=== Cleanup AWS S3 bucket, SQS Queue and EventBridge Rule through Terraform
diff --git a/jbang/azure-servicebus/README.adoc
b/jbang/azure-servicebus/README.adoc
index 84423a1..60bd5d7 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.6.0-SNAPSHOT camel run
timer-to-azure-servicebus.camel.yaml
+$ jbang -Dcamel.jbang.version=4.7.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.6.0-SNAPSHOT camel run
azure-servicebus-to-log.camel.yaml
+$ jbang -Dcamel.jbang.version=4.7.0-SNAPSHOT camel run
azure-servicebus-to-log.camel.yaml
----
diff --git a/jbang/kafka-aws-bedrock/README.adoc
b/jbang/kafka-aws-bedrock/README.adoc
index c85687f..7b56f72 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.6.0-SNAPSHOT camel@apache/camel run
--local-kamelet-dir=<local_path_to_kamelets> kafka-aws-bedrock.camel.yaml
+$ jbang -Dcamel.jbang.version=4.7.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.6.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.7.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 5de5dfb..0b73a6f 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.6.0-SNAPSHOT</version>
+ <version>4.7.0-SNAPSHOT</version>
</parent>
<artifactId>custom</artifactId>
diff --git a/kamelet-main/pom.xml b/kamelet-main/pom.xml
index 4854eb3..5c4a6b6 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.6.0-SNAPSHOT</version>
+ <version>4.7.0-SNAPSHOT</version>
</parent>
<groupId>org.apache.camel.examples</groupId>
<artifactId>camel-kamelet-main-examples</artifactId>
- <version>4.6.0-SNAPSHOT</version>
+ <version>4.7.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Kamelet Main Examples</name>
<description>Kamelet Main Examples</description>
<properties>
- <camel.version>4.6.0-SNAPSHOT</camel.version>
+ <camel.version>4.7.0-SNAPSHOT</camel.version>
</properties>
<modules>
diff --git a/kamelet-main/scan-download/pom.xml
b/kamelet-main/scan-download/pom.xml
index 1bf497f..6370003 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.6.0-SNAPSHOT</version>
+ <version>4.7.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 bc68ec1..8fc8f9f 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.6.0-SNAPSHOT"
+ - "mvn:org.apache.camel.examples:custom:4.7.0-SNAPSHOT"
template:
from:
uri: "timer:beer"
diff --git a/kamelet-main/scan/pom.xml b/kamelet-main/scan/pom.xml
index 25a2a40..7cc3e1e 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.6.0-SNAPSHOT</version>
+ <version>4.7.0-SNAPSHOT</version>
</parent>
<artifactId>scan</artifactId>
diff --git a/kamelet-main/slack-source/pom.xml
b/kamelet-main/slack-source/pom.xml
index 5ef94d2..2a7fda6 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.6.0-SNAPSHOT</version>
+ <version>4.7.0-SNAPSHOT</version>
</parent>
<artifactId>slack-source</artifactId>