[camel] branch main updated: Fix camel-knative endpoint for events (#7818)

2022-06-17 Thread davsclaus
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.git


The following commit(s) were added to refs/heads/main by this push:
 new 1b742901e91 Fix camel-knative endpoint for events (#7818)
1b742901e91 is described below

commit 1b742901e9116d7ce373c99eca9b88998f9c9e1a
Author: Claudio Miranda 
AuthorDate: Sat Jun 18 02:57:58 2022 -0300

Fix camel-knative endpoint for events (#7818)

* Only use the configuration name when endpoint.kind=sink
* Log a debug message when using a "default" knative resource name
* Set a "default" name when there is no name
---
 .../camel/component/knative/KnativeEndpoint.java   | 19 +++--
 .../component/knative/KnativeComponentTest.java| 28 +-
 .../src/test/resources/environment.json| 33 ++
 .../src/test/resources/environment_classic.json| 33 ++
 4 files changed, 109 insertions(+), 4 deletions(-)

diff --git 
a/components/camel-knative/camel-knative-component/src/main/java/org/apache/camel/component/knative/KnativeEndpoint.java
 
b/components/camel-knative/camel-knative-component/src/main/java/org/apache/camel/component/knative/KnativeEndpoint.java
index 5413075840c..f0f49a275be 100644
--- 
a/components/camel-knative/camel-knative-component/src/main/java/org/apache/camel/component/knative/KnativeEndpoint.java
+++ 
b/components/camel-knative/camel-knative-component/src/main/java/org/apache/camel/component/knative/KnativeEndpoint.java
@@ -42,6 +42,8 @@ import org.apache.camel.spi.UriPath;
 import org.apache.camel.support.DefaultEndpoint;
 import org.apache.camel.support.PropertyBindingSupport;
 import org.apache.camel.util.ObjectHelper;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 /**
  * Send and receive events from Knative.
@@ -53,13 +55,17 @@ import org.apache.camel.util.ObjectHelper;
  category = Category.CLOUD)
 public class KnativeEndpoint extends DefaultEndpoint {
 
+private static final Logger LOG = 
LoggerFactory.getLogger(KnativeEndpoint.class);
+
 private final CloudEvent cloudEvent;
 private final CloudEventProcessor cloudEventProcessor;
 
 @UriPath(description = "The Knative resource type")
 private final Knative.Type type;
+
 @UriPath(description = "The identifier of the Knative resource")
 private final String typeId;
+
 @UriParam
 private KnativeConfiguration configuration;
 
@@ -162,14 +168,21 @@ public class KnativeEndpoint extends DefaultEndpoint {
 
 KnativeResource lookupServiceDefinition(Knative.EndpointKind endpointKind) 
{
 final String resourceName;
-if (type == Knative.Type.event && configuration.getName() != null) {
+if (type == Knative.Type.event && configuration.getName() != null && 
endpointKind.equals(Knative.EndpointKind.sink)) {
 resourceName = configuration.getName();
-} else {
+} else if (configuration.getTypeId() != null) {
 resourceName = configuration.getTypeId();
+} else {
+// in case there is no name in the configuration or type
+resourceName = "default";
 }
 
 KnativeResource resource = lookupServiceDefinition(resourceName, 
endpointKind)
-.or(() -> lookupServiceDefinition("default", endpointKind))
+.or(() -> {
+LOG.debug("Knative resource \"{}\" of type \"{}\" not 
found, trying the default named: \"default\"",
+resourceName, type);
+return lookupServiceDefinition("default", endpointKind);
+})
 .orElseThrow(() -> new IllegalArgumentException(
 String.format("Unable to find a resource definition 
for %s/%s/%s", type, endpointKind, resourceName)));
 
diff --git 
a/components/camel-knative/camel-knative-component/src/test/java/org/apache/camel/component/knative/KnativeComponentTest.java
 
b/components/camel-knative/camel-knative-component/src/test/java/org/apache/camel/component/knative/KnativeComponentTest.java
index 0d5892f551a..a1074ad2788 100644
--- 
a/components/camel-knative/camel-knative-component/src/test/java/org/apache/camel/component/knative/KnativeComponentTest.java
+++ 
b/components/camel-knative/camel-knative-component/src/test/java/org/apache/camel/component/knative/KnativeComponentTest.java
@@ -61,9 +61,10 @@ public class KnativeComponentTest {
 void testLoadEnvironment(String resource) throws Exception {
 KnativeEnvironment env = mandatoryLoadFromResource(context, resource);
 
-assertThat(env.stream()).hasSize(3);
+assertThat(env.stream()).hasSize(6);
 assertThat(env.stream()).anyMatch(s -> s.getType() == 
Knative.Type.channel);
 assertThat(env.stream()).anyMatch(s -> s.getType() == 
Knative.Type.endpoint);
+

[GitHub] [camel] davsclaus merged pull request #7818: Fix camel-knative endpoint for events

2022-06-17 Thread GitBox


davsclaus merged PR #7818:
URL: https://github.com/apache/camel/pull/7818


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-kafka-connector] github-actions[bot] closed pull request #1380: [Github Actions] Periodic Sync Camel-kafka-connector main Branch

2022-06-17 Thread GitBox


github-actions[bot] closed pull request #1380: [Github Actions] Periodic Sync 
Camel-kafka-connector main Branch
URL: https://github.com/apache/camel-kafka-connector/pull/1380


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel-kafka-connector] branch automatic-periodic-sync updated (710478eac -> d7c3d42af)

2022-06-17 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch automatic-periodic-sync
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git


omit 710478eac [create-pull-request] automated change

This update removed existing revisions from the reference, leaving the
reference pointing at a previous point in the repository history.

 * -- * -- N   refs/heads/automatic-periodic-sync (d7c3d42af)
\
 O -- O -- O   (710478eac)

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

No new revisions were added by this update.

Summary of changes:
 .../awscloudwatchsink/CamelAwscloudwatchsinkSinkConnector.java | 3 ++-
 .../awscloudwatchsink/CamelAwscloudwatchsinkSinkConnectorConfig.java   | 3 ++-
 .../awscloudwatchsink/CamelAwscloudwatchsinkSinkTask.java  | 3 ++-
 .../camel/kafkaconnector/awsddbsink/CamelAwsddbsinkSinkConnector.java  | 3 ++-
 .../kafkaconnector/awsddbsink/CamelAwsddbsinkSinkConnectorConfig.java  | 3 ++-
 .../camel/kafkaconnector/awsddbsink/CamelAwsddbsinkSinkTask.java   | 3 ++-
 .../awsddbstreamssource/CamelAwsddbstreamssourceSourceConnector.java   | 3 ++-
 .../CamelAwsddbstreamssourceSourceConnectorConfig.java | 3 ++-
 .../awsddbstreamssource/CamelAwsddbstreamssourceSourceTask.java| 3 ++-
 .../camel/kafkaconnector/awsec2sink/CamelAwsec2sinkSinkConnector.java  | 3 ++-
 .../kafkaconnector/awsec2sink/CamelAwsec2sinkSinkConnectorConfig.java  | 3 ++-
 .../camel/kafkaconnector/awsec2sink/CamelAwsec2sinkSinkTask.java   | 3 ++-
 .../CamelAwskinesisfirehosesinkSinkConnector.java  | 3 ++-
 .../CamelAwskinesisfirehosesinkSinkConnectorConfig.java| 3 ++-
 .../awskinesisfirehosesink/CamelAwskinesisfirehosesinkSinkTask.java| 3 ++-
 .../awskinesissink/CamelAwskinesissinkSinkConnector.java   | 3 ++-
 .../awskinesissink/CamelAwskinesissinkSinkConnectorConfig.java | 3 ++-
 .../kafkaconnector/awskinesissink/CamelAwskinesissinkSinkTask.java | 3 ++-
 .../awskinesissource/CamelAwskinesissourceSourceConnector.java | 3 ++-
 .../awskinesissource/CamelAwskinesissourceSourceConnectorConfig.java   | 3 ++-
 .../awskinesissource/CamelAwskinesissourceSourceTask.java  | 3 ++-
 .../kafkaconnector/awslambdasink/CamelAwslambdasinkSinkConnector.java  | 3 ++-
 .../awslambdasink/CamelAwslambdasinkSinkConnectorConfig.java   | 3 ++-
 .../camel/kafkaconnector/awslambdasink/CamelAwslambdasinkSinkTask.java | 3 ++-
 .../awsredshiftsink/CamelAwsredshiftsinkSinkConnector.java | 3 ++-
 .../awsredshiftsink/CamelAwsredshiftsinkSinkConnectorConfig.java   | 3 ++-
 .../kafkaconnector/awsredshiftsink/CamelAwsredshiftsinkSinkTask.java   | 3 ++-
 .../awsredshiftsource/CamelAwsredshiftsourceSourceConnector.java   | 3 ++-
 .../awsredshiftsource/CamelAwsredshiftsourceSourceConnectorConfig.java | 3 ++-
 .../awsredshiftsource/CamelAwsredshiftsourceSourceTask.java| 3 ++-
 .../camel/kafkaconnector/awss3sink/CamelAwss3sinkSinkConnector.java| 3 ++-
 .../kafkaconnector/awss3sink/CamelAwss3sinkSinkConnectorConfig.java| 3 ++-
 .../apache/camel/kafkaconnector/awss3sink/CamelAwss3sinkSinkTask.java  | 3 ++-
 .../kafkaconnector/awss3source/CamelAwss3sourceSourceConnector.java| 3 ++-
 .../awss3source/CamelAwss3sourceSourceConnectorConfig.java | 3 ++-
 .../camel/kafkaconnector/awss3source/CamelAwss3sourceSourceTask.java   | 3 ++-
 .../CamelAwss3streaminguploadsinkSinkConnector.java| 3 ++-
 .../CamelAwss3streaminguploadsinkSinkConnectorConfig.java  | 3 ++-
 .../CamelAwss3streaminguploadsinkSinkTask.java | 3 ++-
 .../awssecretsmanagersink/CamelAwssecretsmanagersinkSinkConnector.java | 3 ++-
 .../CamelAwssecretsmanagersinkSinkConnectorConfig.java | 3 ++-
 .../awssecretsmanagersink/CamelAwssecretsmanagersinkSinkTask.java  | 3 ++-
 .../camel/kafkaconnector/awssessink/CamelAwssessinkSinkConnector.java  | 3 ++-
 .../kafkaconnector/awssessink/CamelAwssessinkSinkConnectorConfig.java  | 3 ++-
 .../camel/kafkaconnector/awssessink/CamelAwssessinkSinkTask.java   | 3 ++-
 .../awssnsfifosink/CamelAwssnsfifosinkSinkConnector.java   | 3 ++-
 .../awssnsfifosink/CamelAwssnsfifosinkSinkConnectorConfig.java | 3 ++-
 .../kafkaconnector/awssnsfifosink/CamelAwssnsfifosinkSinkTask.java | 3 ++-
 .../camel/kafkaconnector/awssnssink/CamelAwssnssinkSinkConnector.java  | 3 ++-
 .../kafkaconnector/awssnssink/CamelAwssnssinkSinkConnectorConfig.java  | 3 ++-
 .../camel/kafkaconnector/awssnssink/CamelAwssnssinkSinkTask.java   | 3 ++-
 .../awssqsbatchsink/CamelAwssqsbatchsinkSinkConnector.java | 3 ++-
 .../awssqsbatchsink/CamelAwssqsbatchsinkSinkConnectorConfig.java   | 3 ++-
 

[camel-quarkus] branch main updated: Updated CHANGELOG.md

2022-06-17 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


The following commit(s) were added to refs/heads/main by this push:
 new 13a3c592cb Updated CHANGELOG.md
13a3c592cb is described below

commit 13a3c592cbf58ad4ed9ee660a915a33b911fedef
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sat Jun 18 03:36:23 2022 +

Updated CHANGELOG.md
---
 CHANGELOG.md | 138 +++
 1 file changed, 73 insertions(+), 65 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2086ca2f99..b52bb51df8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,74 +2,12 @@
 
 ## [Unreleased](https://github.com/apache/camel-quarkus/tree/HEAD)
 
-[Full Changelog](https://github.com/apache/camel-quarkus/compare/2.9.0...HEAD)
-
-**Implemented enhancements:**
-
-- Auto discover routes created as LambdaEndpointRouteBuilder 
[\#3837](https://github.com/apache/camel-quarkus/issues/3837)
-
-**Fixed bugs:**
-
-- \[Quarkus 2.10.0\] Unable to build native image with XML JAXB extension 
[\#3838](https://github.com/apache/camel-quarkus/issues/3838)
-- \[Quarkus 2.10.0\] `ElasticsearchRestTest.testElasticsearchDeleteIndex` test 
failue [\#3831](https://github.com/apache/camel-quarkus/issues/3831)
-- Duplicate JMSMessageIDs in camel-quarkus-activemq 
[\#3807](https://github.com/apache/camel-quarkus/issues/3807)
-- Registry lookup for overridden `DefaultBean` types does not work 
[\#3797](https://github.com/apache/camel-quarkus/issues/3797)
-- Slack integration tests fail with the real Slack service 
[\#3781](https://github.com/apache/camel-quarkus/issues/3781)
-- KeyStoreParameters is not in reflection list on Salesforce component. 
[\#3754](https://github.com/apache/camel-quarkus/issues/3754)
-
-**Closed issues:**
-
-- aws2-s3 downloadLink test does not work with the real AWS account 
[\#3829](https://github.com/apache/camel-quarkus/issues/3829)
-- Unable to find a JDBC driver corresponding to the database kind 
'postgresql', when camel-quarkus-quartz dependency added 
[\#3823](https://github.com/apache/camel-quarkus/issues/3823)
-- foundation-grouped tests seems to be flaky since upgrade to camel 3.17.0 
[\#3819](https://github.com/apache/camel-quarkus/issues/3819)
-- Create platform-http-security with Keycloak example 
[\#3805](https://github.com/apache/camel-quarkus/issues/3805)
-- Changes in health endpoint with camel from Quarkus version 2.7.5 to version 
\>=2.8.0 [\#3799](https://github.com/apache/camel-quarkus/issues/3799)
-- Intermittent failure of `ConverterTest.testConverterGetStatistics` 
[\#3798](https://github.com/apache/camel-quarkus/issues/3798)
-- Improve camel-quarkus-velocity test coverage 
[\#3790](https://github.com/apache/camel-quarkus/issues/3790)
-- net.openhft:affinity included in flattened BOM only on Mac 
[\#3788](https://github.com/apache/camel-quarkus/issues/3788)
-- Switch from OpenTracing to OpenTelemetry in observability example 
[\#3784](https://github.com/apache/camel-quarkus/issues/3784)
-- Support camel-debug component 
[\#3775](https://github.com/apache/camel-quarkus/issues/3775)
-- \[Camel 3.17.0\] openApi oneOf, allOf and anyOf with annotation @Schema 
[\#3774](https://github.com/apache/camel-quarkus/issues/3774)
-- \[Camel 3.17.0\] Restore `jakarta-mail-version` placeholder in 
`jakarta.mail.version` property 
[\#3771](https://github.com/apache/camel-quarkus/issues/3771)
-- Intermittent failure of FHIR integration tests `SocketTimeoutException` 
[\#3746](https://github.com/apache/camel-quarkus/issues/3746)
-- URL to the Kafka brokers must be configured with the brokers option in 
native mode \(continued\) 
[\#3742](https://github.com/apache/camel-quarkus/issues/3742)
-- \[Camel 3.17.0\] Property placeholder resolution is broken 
[\#3739](https://github.com/apache/camel-quarkus/issues/3739)
-- Use WireMock for xchange tests 
[\#3724](https://github.com/apache/camel-quarkus/issues/3724)
-- \[Camel 3.17.0\] Switch FTP / JSCH extensions to `com.github.mwiede:jsch` 
[\#3711](https://github.com/apache/camel-quarkus/issues/3711)
-- Gracefully handle `AnnotationInstance` being null in 
`InjectionPointsProcessor.syntheticBeans` 
[\#3703](https://github.com/apache/camel-quarkus/issues/3703)
-- Remove deprecated extensions 
[\#3698](https://github.com/apache/camel-quarkus/issues/3698)
-- Split camel-quarkus-integration-test-compression into separate zipfile, lzf 
and zip-deflater tests 
[\#3689](https://github.com/apache/camel-quarkus/issues/3689)
-- Create an Azure Key Vault Extension 
[\#3688](https://github.com/apache/camel-quarkus/issues/3688)
-- \[Camel 3.17.0\] Bean introspection is broken 
[\#3682](https://github.com/apache/camel-quarkus/issues/3682)
-- cassandraql: itests failing on quarkus-platform 
[\#3621](https://github.com/apache/camel-quarkus/issues/3621)
-- 

[camel-k] branch main updated: Updated CHANGELOG.md

2022-06-17 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/main by this push:
 new 6b3109dbd Updated CHANGELOG.md
6b3109dbd is described below

commit 6b3109dbdac72435d3badde58a3f34a2a0d05182
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sat Jun 18 03:34:12 2022 +

Updated CHANGELOG.md
---
 CHANGELOG.md | 1 -
 1 file changed, 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 17a7b74aa..538bfb9c6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,7 +7,6 @@
 **Closed issues:**
 
 - kamel local run support --build-property ? 
[\#3356](https://github.com/apache/camel-k/issues/3356)
-- Kamel install error [\#3348](https://github.com/apache/camel-k/issues/3348)
 - E2E repeated failure [\#3315](https://github.com/apache/camel-k/issues/3315)
 - Integrations, IntegrationKits, IntegrationPlatforms are not owned by 
Namespaces [\#3311](https://github.com/apache/camel-k/issues/3311)
 - Helm Chart for camel-k 1.9.2 is invalid 
[\#3300](https://github.com/apache/camel-k/issues/3300)



[GitHub] [camel-quarkus] github-actions[bot] commented on issue #2926: [CI] - Quarkus Main Branch Build Failure

2022-06-17 Thread GitBox


github-actions[bot] commented on issue #2926:
URL: https://github.com/apache/camel-quarkus/issues/2926#issuecomment-1159346478

   The 
[quarkus-main](https://github.com/apache/camel-quarkus/tree/quarkus-main) 
branch build has failed:
   
   * Build ID: 2518963420-786-ce6a6967-032b-4044-b47e-e5def0517c5b
   * Camel Quarkus Commit: b0650d57fde7d261c44a41e14c6d0ad226e3e230
   
   * Quarkus Main Commit: Unknown
   * Link to build: 
https://github.com/apache/camel-quarkus/actions/runs/2518963420


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] github-actions[bot] commented on pull request #7818: Fix camel-knative endpoint for events

2022-06-17 Thread GitBox


github-actions[bot] commented on PR #7818:
URL: https://github.com/apache/camel/pull/7818#issuecomment-1159310075

   :x: Finished component verification: **1 component(s) test failed** out of 1 
component(s) tested


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] github-actions[bot] commented on pull request #7818: Fix camel-knative endpoint for events

2022-06-17 Thread GitBox


github-actions[bot] commented on PR #7818:
URL: https://github.com/apache/camel/pull/7818#issuecomment-1159297064

   :warning: This PR changes Camel components and will be tested automatically.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] claudio4j opened a new pull request, #7818: Fix camel-knative endpoint for events

2022-06-17 Thread GitBox


claudio4j opened a new pull request, #7818:
URL: https://github.com/apache/camel/pull/7818

   * Only use the configuration name when endpoint.kind=sink
   * Log a debug message when using a "default" knative resource name
   * Set a "default" name when there is no name
   * [camel k PR #3373](https://github.com/apache/camel-k/pull/3373) depends on 
this fix


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-k] claudio4j opened a new pull request, #3373: fix(knative): Make knative broker name configurable

2022-06-17 Thread GitBox


claudio4j opened a new pull request, #3373:
URL: https://github.com/apache/camel-k/pull/3373

   https://github.com/apache/camel-k/issues/2864
   
   * Add e2e knative tests
   * Change the kamelet-binding-broker yaks test to use a custom broker name
   
   **Release Note**
   ```release-note
   Make knative broker name configurable
   ```
   
   * WIP: This PR requires a fix in camel-knative (to be submitted). This is 
for an early review.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel-examples] branch main updated: CAMEL-18132: add test scope dependency for github resource resolution

2022-06-17 Thread klease
This is an automated email from the ASF dual-hosted git repository.

klease pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-examples.git


The following commit(s) were added to refs/heads/main by this push:
 new 20ef48cd CAMEL-18132: add test scope dependency for github resource 
resolution
20ef48cd is described below

commit 20ef48cdf2e95876852994f53cfaf906a7a59332
Author: klease 
AuthorDate: Fri Jun 17 23:03:28 2022 +0200

CAMEL-18132: add test scope dependency for github resource resolution
---
 examples/kamelet-main/pom.xml | 5 +
 1 file changed, 5 insertions(+)

diff --git a/examples/kamelet-main/pom.xml b/examples/kamelet-main/pom.xml
index c2982455..4d5dca53 100644
--- a/examples/kamelet-main/pom.xml
+++ b/examples/kamelet-main/pom.xml
@@ -98,6 +98,11 @@
 camel-http
 test
 
+
+org.apache.camel
+camel-resourceresolver-github
+test
+
 
 
 



[camel] branch regen_bot updated (62fb557c3d9 -> ac520668392)

2022-06-17 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch regen_bot
in repository https://gitbox.apache.org/repos/asf/camel.git


omit 62fb557c3d9 CAMEL-18201 Enhance CamelTestSupport to turn off context 
stopping (#7813)

This update removed existing revisions from the reference, leaving the
reference pointing at a previous point in the repository history.

 * -- * -- N   refs/heads/regen_bot (ac520668392)
\
 O -- O -- O   (62fb557c3d9)

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

No new revisions were added by this update.

Summary of changes:
 .../apache/camel/test/junit5/CamelTestSupport.java |   4 +-
 .../CamelTestSupporOneContextForAllTest.java   | 129 -
 2 files changed, 2 insertions(+), 131 deletions(-)
 delete mode 100644 
components/camel-test/camel-test-junit5/src/test/java/org/apache/camel/test/junit5/CamelTestSupporOneContextForAllTest.java



[camel] branch regen_bot updated (6ce0c91e28f -> 62fb557c3d9)

2022-06-17 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch regen_bot
in repository https://gitbox.apache.org/repos/asf/camel.git


omit 6ce0c91e28f Regen for commit 75a75ca47b0fbea3ef61a7a774b003b9f9800e20
 add ac520668392 Regen for commit 75a75ca47b0fbea3ef61a7a774b003b9f9800e20 
(#7817)
 add 62fb557c3d9 CAMEL-18201 Enhance CamelTestSupport to turn off context 
stopping (#7813)

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (6ce0c91e28f)
\
 N -- N -- N   refs/heads/regen_bot (62fb557c3d9)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

No new revisions were added by this update.

Summary of changes:
 .../apache/camel/test/junit5/CamelTestSupport.java |  4 +-
 .../CamelTestSupporOneContextForAllTest.java}  | 95 --
 2 files changed, 56 insertions(+), 43 deletions(-)
 copy 
components/camel-test/{camel-test/src/test/java/org/apache/camel/test/patterns/CreateCamelContextPerTestFalseTest.java
 => 
camel-test-junit5/src/test/java/org/apache/camel/test/junit5/CamelTestSupporOneContextForAllTest.java}
 (55%)



[camel-karaf] branch main updated: Regen

2022-06-17 Thread davsclaus
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-karaf.git


The following commit(s) were added to refs/heads/main by this push:
 new 6a1e2a09 Regen
6a1e2a09 is described below

commit 6a1e2a09b63517215807f29816ca073e2f525b92
Author: Claus Ibsen 
AuthorDate: Fri Jun 17 22:36:07 2022 +0200

Regen
---
 .../src/main/resources/org/apache/camel/catalog/karaf/languages/jq.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/languages/jq.json
 
b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/languages/jq.json
index 3051e61b..a6d6bab6 100644
--- 
a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/languages/jq.json
+++ 
b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/languages/jq.json
@@ -18,7 +18,7 @@
   "properties": {
 "expression": { "kind": "value", "displayName": "Expression", "required": 
true, "type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "description": "The expression value in 
your chosen language syntax" },
 "resultType": { "kind": "attribute", "displayName": "Result Type", 
"required": false, "type": "string", "javaType": "java.lang.String", 
"deprecated": false, "autowired": false, "secret": false, "description": "Sets 
the class of the result type (type from output)" },
-"headerName": { "kind": "attribute", "displayName": "Header Name", 
"label": "advanced", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Name of header to use as input, instead of the message body" },
+"headerName": { "kind": "attribute", "displayName": "Header Name", 
"label": "advanced", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Name of header to use as input, instead of the message body It 
has as higher precedent than the propertyName if both are set." },
 "trim": { "kind": "attribute", "displayName": "Trim", "label": "advanced", 
"required": false, "type": "boolean", "javaType": "java.lang.Boolean", 
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true, 
"description": "Whether to trim the value to remove leading and trailing 
whitespaces and line breaks" },
 "id": { "kind": "attribute", "displayName": "Id", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "description": "Sets the id of this node" }
   }



[camel-spring-boot] branch main updated: Regen

2022-06-17 Thread davsclaus
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-spring-boot.git


The following commit(s) were added to refs/heads/main by this push:
 new 77b6216e89a Regen
77b6216e89a is described below

commit 77b6216e89a0b84533586065f3e48035fd4ed55e
Author: Claus Ibsen 
AuthorDate: Fri Jun 17 22:33:18 2022 +0200

Regen
---
 .../resources/org/apache/camel/springboot/catalog/languages/jq.json| 2 +-
 components-starter/camel-jq-starter/src/main/docs/jq.json  | 2 +-
 .../apache/camel/language/jq/springboot/JqLanguageConfiguration.java   | 3 ++-
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/jq.json
 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/jq.json
index 42b23e51f17..76c72f380cb 100644
--- 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/jq.json
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/jq.json
@@ -18,7 +18,7 @@
   "properties": {
 "expression": { "kind": "value", "displayName": "Expression", "required": 
true, "type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "description": "The expression value in 
your chosen language syntax" },
 "resultType": { "kind": "attribute", "displayName": "Result Type", 
"required": false, "type": "string", "javaType": "java.lang.String", 
"deprecated": false, "autowired": false, "secret": false, "description": "Sets 
the class of the result type (type from output)" },
-"headerName": { "kind": "attribute", "displayName": "Header Name", 
"label": "advanced", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Name of header to use as input, instead of the message body" },
+"headerName": { "kind": "attribute", "displayName": "Header Name", 
"label": "advanced", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Name of header to use as input, instead of the message body It 
has as higher precedent than the propertyName if both are set." },
 "trim": { "kind": "attribute", "displayName": "Trim", "label": "advanced", 
"required": false, "type": "boolean", "javaType": "java.lang.Boolean", 
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true, 
"description": "Whether to trim the value to remove leading and trailing 
whitespaces and line breaks" },
 "id": { "kind": "attribute", "displayName": "Id", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "description": "Sets the id of this node" }
   }
diff --git a/components-starter/camel-jq-starter/src/main/docs/jq.json 
b/components-starter/camel-jq-starter/src/main/docs/jq.json
index 51d238e4817..3df2cc6ba14 100644
--- a/components-starter/camel-jq-starter/src/main/docs/jq.json
+++ b/components-starter/camel-jq-starter/src/main/docs/jq.json
@@ -27,7 +27,7 @@
 {
   "name": "camel.language.jq.header-name",
   "type": "java.lang.String",
-  "description": "Name of header to use as input, instead of the message 
body",
+  "description": "Name of header to use as input, instead of the message 
body It has as higher precedent than the propertyName if both are set.",
   "sourceType": 
"org.apache.camel.language.jq.springboot.JqLanguageConfiguration"
 },
 {
diff --git 
a/components-starter/camel-jq-starter/src/main/java/org/apache/camel/language/jq/springboot/JqLanguageConfiguration.java
 
b/components-starter/camel-jq-starter/src/main/java/org/apache/camel/language/jq/springboot/JqLanguageConfiguration.java
index 7b26ec01106..55fb50b3f63 100644
--- 
a/components-starter/camel-jq-starter/src/main/java/org/apache/camel/language/jq/springboot/JqLanguageConfiguration.java
+++ 
b/components-starter/camel-jq-starter/src/main/java/org/apache/camel/language/jq/springboot/JqLanguageConfiguration.java
@@ -37,7 +37,8 @@ public class JqLanguageConfiguration
  */
 private Boolean enabled;
 /**
- * Name of header to use as input, instead of the message body
+ * Name of header to use as input, instead of the message body It has as
+ * higher precedent than the propertyName if both are set.
  */
 private String headerName;
 /**



[camel-karavan] branch main updated: mavend 0.8.0 (#377)

2022-06-17 Thread marat
This is an automated email from the ASF dual-hosted git repository.

marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git


The following commit(s) were added to refs/heads/main by this push:
 new 65d9fe4  mavend 0.8.0 (#377)
65d9fe4 is described below

commit 65d9fe4090cb254494356492923467c04c9c1ead
Author: Marat Gubaidullin 
AuthorDate: Fri Jun 17 16:23:19 2022 -0400

mavend 0.8.0 (#377)
---
 karavan-builder/Dockerfile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/karavan-builder/Dockerfile b/karavan-builder/Dockerfile
index b41be01..426237e 100644
--- a/karavan-builder/Dockerfile
+++ b/karavan-builder/Dockerfile
@@ -4,12 +4,12 @@ FROM jbangdev/jbang-action:0.95.0
 RUN jbang trust add -o --fresh --quiet 
https://github.com/apache/camel/blob/HEAD/dsl/camel-jbang/camel-jbang-main/dist/CamelJBang.java
 
 # Add Maven Daemon
-ADD 
https://github.com/mvndaemon/mvnd/releases/download/0.7.1/mvnd-0.7.1-linux-amd64.zip
 .
+ADD 
https://dist.apache.org/repos/dist/release/maven/mvnd/0.8.0/maven-mvnd-0.8.0-linux-amd64.zip
 .
 
 RUN mkdir /opt/mvnd && \
 apt-get update -y && apt-get install unzip git -y && apt-get clean && \

-unzip mvnd-0.7.1-linux-amd64.zip && \   
-mv mvnd-0.7.1-linux-amd64/* /opt/mvnd  
+unzip maven-mvnd-0.8.0-linux-amd64.zip && \   
+mv mvnd-0.8.0-linux-amd64/* /opt/mvnd  
 
 WORKDIR /scripts
 ENTRYPOINT ["entrypoint", "-Dcamel.jbang.version=3.18.0-SNAPSHOT", 
"camel@apache/camel"]
\ No newline at end of file



[GitHub] [camel-karavan] mgubaidullin merged pull request #377: mavend 0.8.0

2022-06-17 Thread GitBox


mgubaidullin merged PR #377:
URL: https://github.com/apache/camel-karavan/pull/377


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-karavan] davsclaus commented on a diff in pull request #375: Tekton first try

2022-06-17 Thread GitBox


davsclaus commented on code in PR #375:
URL: https://github.com/apache/camel-karavan/pull/375#discussion_r900477515


##
karavan-builder/Dockerfile:
##
@@ -0,0 +1,15 @@
+FROM jbangdev/jbang-action
+
+# Add Camel-JBang
+RUN jbang trust add -o --fresh --quiet 
https://github.com/apache/camel/blob/HEAD/dsl/camel-jbang/camel-jbang-main/dist/CamelJBang.java
+
+# Add Maven Daemon
+ADD 
https://github.com/mvndaemon/mvnd/releases/download/0.7.1/mvnd-0.7.1-linux-amd64.zip
 .

Review Comment:
   There is a newer mvnd you can download from ASF
   https://dist.apache.org/repos/dist/release/maven/mvnd/0.8.0/
   
   They changed something in their release procedure so its no longer on github
   https://github.com/apache/maven-mvnd/issues/623



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-karavan] mgubaidullin commented on a diff in pull request #375: Tekton first try

2022-06-17 Thread GitBox


mgubaidullin commented on code in PR #375:
URL: https://github.com/apache/camel-karavan/pull/375#discussion_r900472860


##
karavan-builder/openshift/karavan-builder-pvc.yaml:
##
@@ -0,0 +1,23 @@
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+  name: karavan-m2-cache
+spec:
+  resources:
+requests:
+  storage: 10Gi
+  volumeMode: Filesystem
+  accessModes:
+- ReadWriteOnce
+---
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+  name: karavan-jbang-cache
+spec:
+  resources:
+requests:
+  storage: 10Gi

Review Comment:
   I fixed it for 1Gi
   However, this is only for demo purposes. Later we'll create an operator for 
karavan where this be a configurable parameter.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel-karavan] branch main updated: Update karavan-builder-pvc.yaml

2022-06-17 Thread marat
This is an automated email from the ASF dual-hosted git repository.

marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git


The following commit(s) were added to refs/heads/main by this push:
 new 8e1afbb  Update karavan-builder-pvc.yaml
8e1afbb is described below

commit 8e1afbb3e7f896bf89bcc77611ed4c9701dc7ff0
Author: Marat Gubaidullin 
AuthorDate: Fri Jun 17 16:06:20 2022 -0400

Update karavan-builder-pvc.yaml
---
 karavan-builder/openshift/karavan-builder-pvc.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/karavan-builder/openshift/karavan-builder-pvc.yaml 
b/karavan-builder/openshift/karavan-builder-pvc.yaml
index 6c1e772..0175f93 100644
--- a/karavan-builder/openshift/karavan-builder-pvc.yaml
+++ b/karavan-builder/openshift/karavan-builder-pvc.yaml
@@ -17,7 +17,7 @@ metadata:
 spec:
   resources:
 requests:
-  storage: 10Gi
+  storage: 1Gi
   volumeMode: Filesystem
   accessModes:
 - ReadWriteOnce



[GitHub] [camel-karavan] davsclaus commented on a diff in pull request #375: Tekton first try

2022-06-17 Thread GitBox


davsclaus commented on code in PR #375:
URL: https://github.com/apache/camel-karavan/pull/375#discussion_r900470887


##
karavan-builder/openshift/karavan-builder-pvc.yaml:
##
@@ -0,0 +1,23 @@
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+  name: karavan-m2-cache
+spec:
+  resources:
+requests:
+  storage: 10Gi
+  volumeMode: Filesystem
+  accessModes:
+- ReadWriteOnce
+---
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+  name: karavan-jbang-cache
+spec:
+  resources:
+requests:
+  storage: 10Gi

Review Comment:
   I do not think jbang cache needs as much space as m2 because we only have a 
fixed set of JARs for jbang - eg the dynamic download is done by camel and not 
jbang so we do not use it cache - only to bootstrap camel-jbang itself and the 
basic of camel



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel] branch main updated: CAMEL-18201 Enhance CamelTestSupport to turn off context stopping (#7813)

2022-06-17 Thread davsclaus
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.git


The following commit(s) were added to refs/heads/main by this push:
 new 62fb557c3d9 CAMEL-18201 Enhance CamelTestSupport to turn off context 
stopping (#7813)
62fb557c3d9 is described below

commit 62fb557c3d95df0264ffd69ec8c050b761048120
Author: JiriOndrusek 
AuthorDate: Fri Jun 17 21:58:18 2022 +0200

CAMEL-18201 Enhance CamelTestSupport to turn off context stopping (#7813)
---
 .../apache/camel/test/junit5/CamelTestSupport.java |   4 +-
 .../CamelTestSupporOneContextForAllTest.java   | 129 +
 2 files changed, 131 insertions(+), 2 deletions(-)

diff --git 
a/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/CamelTestSupport.java
 
b/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/CamelTestSupport.java
index dfb8014f5a7..d3a13c8236f 100644
--- 
a/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/CamelTestSupport.java
+++ 
b/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/CamelTestSupport.java
@@ -413,7 +413,7 @@ public abstract class CamelTestSupport
 }
 }
 
-private void doSetUp() throws Exception {
+protected void doSetUp() throws Exception {
 LOG.debug("setUp test");
 // jmx is enabled if we have configured to use it, or if dump route
 // coverage is enabled (it requires JMX)
@@ -706,7 +706,7 @@ public abstract class CamelTestSupport
 doStopCamelContext(context, camelContextService);
 }
 
-private static void doStopCamelContext(CamelContext context, Service 
camelContextService) {
+protected void doStopCamelContext(CamelContext context, Service 
camelContextService) {
 if (camelContextService != null) {
 if (camelContextService == threadService.get()) {
 threadService.remove();
diff --git 
a/components/camel-test/camel-test-junit5/src/test/java/org/apache/camel/test/junit5/CamelTestSupporOneContextForAllTest.java
 
b/components/camel-test/camel-test-junit5/src/test/java/org/apache/camel/test/junit5/CamelTestSupporOneContextForAllTest.java
new file mode 100644
index 000..3f8c0ffdbe0
--- /dev/null
+++ 
b/components/camel-test/camel-test-junit5/src/test/java/org/apache/camel/test/junit5/CamelTestSupporOneContextForAllTest.java
@@ -0,0 +1,129 @@
+/*
+ * 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.
+ */
+package org.apache.camel.test.junit5;
+
+import org.apache.camel.CamelContext;
+import org.apache.camel.EndpointInject;
+import org.apache.camel.Produce;
+import org.apache.camel.ProducerTemplate;
+import org.apache.camel.RoutesBuilder;
+import org.apache.camel.Service;
+import org.apache.camel.builder.RouteBuilder;
+import org.apache.camel.component.mock.MockEndpoint;
+import org.apache.camel.impl.DefaultCamelContext;
+import org.apache.camel.spi.Registry;
+import org.apache.camel.support.DefaultRegistry;
+import org.apache.camel.test.junit5.patterns.CreateCamelContextPerTestTrueTest;
+import org.junit.jupiter.api.Order;
+import org.junit.jupiter.api.Test;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+public class CamelTestSupporOneContextForAllTest extends CamelTestSupport {
+
+private static final Logger LOG = 
LoggerFactory.getLogger(CreateCamelContextPerTestTrueTest.class);
+
+private static final CamelContext CUSTOM_CONTEXT;
+
+static {
+CUSTOM_CONTEXT = new MockContext();
+}
+
+@EndpointInject("mock:result")
+protected MockEndpoint resultEndpoint;
+
+@Produce("direct:start")
+protected ProducerTemplate template;
+
+@Override
+protected CamelContext createCamelContext() throws Exception {
+return CUSTOM_CONTEXT;
+}
+
+@Override
+protected void doStopCamelContext(CamelContext context, Service 
camelContextService) {
+//don't stop
+}
+
+@Override
+protected void doSetUp() throws Exception {
+if (context == null) {
+super.doSetUp();
+}
+}
+
+@Test
+@Order(1)
+public void 

[GitHub] [camel] davsclaus merged pull request #7813: CAMEL-18201 Enhance CamelTestSupport to turn off context stopping

2022-06-17 Thread GitBox


davsclaus merged PR #7813:
URL: https://github.com/apache/camel/pull/7813


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel] branch main updated: Regen for commit 75a75ca47b0fbea3ef61a7a774b003b9f9800e20 (#7817)

2022-06-17 Thread davsclaus
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.git


The following commit(s) were added to refs/heads/main by this push:
 new ac520668392 Regen for commit 75a75ca47b0fbea3ef61a7a774b003b9f9800e20 
(#7817)
ac520668392 is described below

commit ac520668392f47c9cf6bc24a9f8855ab2fd89bb4
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Jun 17 21:58:05 2022 +0200

Regen for commit 75a75ca47b0fbea3ef61a7a774b003b9f9800e20 (#7817)

Signed-off-by: GitHub 

Co-authored-by: orpiske 
---
 .../src/generated/resources/org/apache/camel/catalog/languages/jq.json | 2 +-
 .../src/generated/resources/org/apache/camel/catalog/models/jq.json| 2 +-
 .../resources/org/apache/camel/catalog/schemas/camel-spring.xsd| 3 ++-
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/languages/jq.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/languages/jq.json
index 3051e61bbd6..a6d6bab62f2 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/languages/jq.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/languages/jq.json
@@ -18,7 +18,7 @@
   "properties": {
 "expression": { "kind": "value", "displayName": "Expression", "required": 
true, "type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "description": "The expression value in 
your chosen language syntax" },
 "resultType": { "kind": "attribute", "displayName": "Result Type", 
"required": false, "type": "string", "javaType": "java.lang.String", 
"deprecated": false, "autowired": false, "secret": false, "description": "Sets 
the class of the result type (type from output)" },
-"headerName": { "kind": "attribute", "displayName": "Header Name", 
"label": "advanced", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Name of header to use as input, instead of the message body" },
+"headerName": { "kind": "attribute", "displayName": "Header Name", 
"label": "advanced", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Name of header to use as input, instead of the message body It 
has as higher precedent than the propertyName if both are set." },
 "trim": { "kind": "attribute", "displayName": "Trim", "label": "advanced", 
"required": false, "type": "boolean", "javaType": "java.lang.Boolean", 
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true, 
"description": "Whether to trim the value to remove leading and trailing 
whitespaces and line breaks" },
 "id": { "kind": "attribute", "displayName": "Id", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "description": "Sets the id of this node" }
   }
diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/jq.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/jq.json
index 5f7ff9a0664..4d69c75867a 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/jq.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/jq.json
@@ -15,7 +15,7 @@
   "properties": {
 "expression": { "kind": "value", "displayName": "Expression", "required": 
true, "type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "description": "The expression value in 
your chosen language syntax" },
 "resultType": { "kind": "attribute", "displayName": "Result Type", 
"required": false, "type": "string", "javaType": "java.lang.String", 
"deprecated": false, "autowired": false, "secret": false, "description": "Sets 
the class of the result type (type from output)" },
-"headerName": { "kind": "attribute", "displayName": "Header Name", 
"label": "advanced", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Name of header to use as input, instead of the message body" },
+"headerName": { "kind": "attribute", "displayName": "Header Name", 
"label": "advanced", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Name of header to use as input, instead of the message body It 
has as higher precedent than the propertyName if both are set." },
 "trim": { "kind": "attribute", "displayName": "Trim", "label": "advanced", 
"required": false, "type": 

[GitHub] [camel] davsclaus merged pull request #7817: Generated sources regen

2022-06-17 Thread GitBox


davsclaus merged PR #7817:
URL: https://github.com/apache/camel/pull/7817


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel-karavan] branch main updated: publish docker (#376)

2022-06-17 Thread marat
This is an automated email from the ASF dual-hosted git repository.

marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git


The following commit(s) were added to refs/heads/main by this push:
 new e2c72cd  publish docker (#376)
e2c72cd is described below

commit e2c72cd9d70bd0546d1f99400c4c101f1500886c
Author: Marat Gubaidullin 
AuthorDate: Fri Jun 17 15:56:11 2022 -0400

publish docker (#376)
---
 .github/workflows/builder.yml  | 35 ++
 karavan-builder/Dockerfile |  2 +-
 .../openshift/karavan-builder-task.yaml| 17 +++
 3 files changed, 47 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml
new file mode 100644
index 000..a382111
--- /dev/null
+++ b/.github/workflows/builder.yml
@@ -0,0 +1,35 @@
+name: Build and Push Builder Image
+
+on:
+  push:
+branches: [ main ]
+  workflow_dispatch:
+
+env:
+  REGISTRY: ghcr.io
+  IMAGE_NAME: ${{ github.repository }}-builder
+  TAG: 0.0.16
+
+jobs:
+  build:
+
+runs-on: ubuntu-latest
+
+steps:
+  - name: Checkout repository
+uses: actions/checkout@v2
+
+  - name: Log in to the Container registry
+uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
+with:
+  registry: ${{ env.REGISTRY }}
+  username: ${{ github.actor }}
+  password: ${{ secrets.GITHUB_TOKEN }}
+
+  - name: Build and push Docker image
+uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
+with:
+  context: .
+  file: karavan-builder/Dockerfile
+  push: true
+  tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}
diff --git a/karavan-builder/Dockerfile b/karavan-builder/Dockerfile
index 388f5b6..b41be01 100644
--- a/karavan-builder/Dockerfile
+++ b/karavan-builder/Dockerfile
@@ -1,4 +1,4 @@
-FROM jbangdev/jbang-action
+FROM jbangdev/jbang-action:0.95.0
 
 # Add Camel-JBang
 RUN jbang trust add -o --fresh --quiet 
https://github.com/apache/camel/blob/HEAD/dsl/camel-jbang/camel-jbang-main/dist/CamelJBang.java
diff --git a/karavan-builder/openshift/karavan-builder-task.yaml 
b/karavan-builder/openshift/karavan-builder-task.yaml
index 28346bf..f574a6e 100644
--- a/karavan-builder/openshift/karavan-builder-task.yaml
+++ b/karavan-builder/openshift/karavan-builder-task.yaml
@@ -19,11 +19,12 @@ spec:
   CHECKOUT_DIR="/scripts"
 
   git clone --depth 1 --branch main $(inputs.params.git) 
${CHECKOUT_DIR}
-
+  
   cd ${CHECKOUT_DIR}/$(inputs.params.project) 
 
   entrypoint -Dcamel.jbang.version=3.18.0-SNAPSHOT camel@apache/camel 
export
   
+  export LAST_COMMIT=$(git rev-parse --short HEAD)
   export TOKEN=$(cat 
/var/run/secrets/kubernetes.io/serviceaccount/token)
   /opt/mvnd/bin/mvnd package \
 -Dquarkus.container-image.build=true \
@@ -31,15 +32,13 @@ spec:
 -Dquarkus.container-image.insecure=true \
 -Dquarkus.container-image.username=sa \
 -Dquarkus.container-image.password=${TOKEN} \
+
-Dquarkus.container-image.registry=image-registry.openshift-image-registry.svc:5000
 \
+-Dquarkus.container-image.builder=jib \
 -Dquarkus.kubernetes-client.master-url=kubernetes.default.svc \
 -Dquarkus.kubernetes-client.token=${TOKEN} \
--Dquarkus.openshift.deployment-kind=Deployment \
 -Dquarkus.kubernetes.deploy=true \
-
-Dquarkus.container-image.registry=image-registry.openshift-image-registry.svc:5000
 \
--Dquarkus.container-image.builder=jib \
 -Dquarkus.openshift.route.expose=true
-  image: 'entropy1/camel-karavan-builder:3.18.0-SNAPSHOT'
-  resources: {}
+  image: 'ghcr.io/apache/camel-karavan-builder:0.0.16'
   volumeMounts:
 - mountPath: /root/.m2
   name: m2-cache
@@ -51,6 +50,12 @@ spec:
 secretKeyRef:
   name: karavan-git-secret
   key: token
+- name: rollout
+  image: >-
+image-registry.openshift-image-registry.svc:5000/openshift/cli:latest
+  script: |
+#!/usr/bin/env bash
+oc rollout latest dc/$(inputs.params.project) 
   volumes:
 - name: m2-cache
   persistentVolumeClaim:



[GitHub] [camel-karavan] mgubaidullin merged pull request #376: publish docker

2022-06-17 Thread GitBox


mgubaidullin merged PR #376:
URL: https://github.com/apache/camel-karavan/pull/376


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel-karavan] branch main updated: Tekton first try (#375)

2022-06-17 Thread marat
This is an automated email from the ASF dual-hosted git repository.

marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git


The following commit(s) were added to refs/heads/main by this push:
 new 92e6a11  Tekton first try (#375)
92e6a11 is described below

commit 92e6a11569bab91ca50182945e0b5b6031c3c958
Author: Marat Gubaidullin 
AuthorDate: Fri Jun 17 14:56:55 2022 -0400

Tekton first try (#375)
---
 karavan-builder/Dockerfile |  15 +++
 karavan-builder/README.md  |   4 +
 .../openshift/karavan-builder-pipeline.yaml|  24 
 karavan-builder/openshift/karavan-builder-pvc.yaml |  23 
 karavan-builder/openshift/karavan-builder-sa.yaml  |  12 ++
 .../openshift/karavan-builder-task.yaml|  60 ++
 karavan-builder/openshift/karavan-git-secret.yaml  |   7 ++
 karavan-builder/openshift/kustomization.yaml   |   9 ++
 karavan-demo/hello-world/application.properties|  11 ++
 .../hello-world/hello-world.yaml   |   1 +
 karavan-docker/Dockerfile  |  22 
 karavan-docker/README.md   |   9 --
 karavan-docker/demo/application.properties |   2 -
 karavan-docker/postman/CustomProcessor.java|  11 --
 karavan-docker/postman/application.properties  |   8 --
 karavan-docker/postman/docker-compose.yaml |  64 --
 karavan-docker/postman/postgres_db.sql |   6 -
 karavan-docker/postman/postman.yaml| 133 -
 karavan-docker/postman/start.sh|   7 --
 19 files changed, 166 insertions(+), 262 deletions(-)

diff --git a/karavan-builder/Dockerfile b/karavan-builder/Dockerfile
new file mode 100644
index 000..388f5b6
--- /dev/null
+++ b/karavan-builder/Dockerfile
@@ -0,0 +1,15 @@
+FROM jbangdev/jbang-action
+
+# Add Camel-JBang
+RUN jbang trust add -o --fresh --quiet 
https://github.com/apache/camel/blob/HEAD/dsl/camel-jbang/camel-jbang-main/dist/CamelJBang.java
+
+# Add Maven Daemon
+ADD 
https://github.com/mvndaemon/mvnd/releases/download/0.7.1/mvnd-0.7.1-linux-amd64.zip
 .
+
+RUN mkdir /opt/mvnd && \
+apt-get update -y && apt-get install unzip git -y && apt-get clean && \

+unzip mvnd-0.7.1-linux-amd64.zip && \   
+mv mvnd-0.7.1-linux-amd64/* /opt/mvnd  
+
+WORKDIR /scripts
+ENTRYPOINT ["entrypoint", "-Dcamel.jbang.version=3.18.0-SNAPSHOT", 
"camel@apache/camel"]
\ No newline at end of file
diff --git a/karavan-builder/README.md b/karavan-builder/README.md
new file mode 100644
index 000..b782152
--- /dev/null
+++ b/karavan-builder/README.md
@@ -0,0 +1,4 @@
+### Build docker image
+```
+docker build -t apache/camel-karavan-builder .
+```
diff --git a/karavan-builder/openshift/karavan-builder-pipeline.yaml 
b/karavan-builder/openshift/karavan-builder-pipeline.yaml
new file mode 100644
index 000..c28c4b3
--- /dev/null
+++ b/karavan-builder/openshift/karavan-builder-pipeline.yaml
@@ -0,0 +1,24 @@
+apiVersion: tekton.dev/v1beta1
+kind: Pipeline
+metadata:
+  name: karavan-pipeline
+spec:
+  params:
+- name: GIT_REPO
+  type: string
+- name: PROJECT_NAME
+  type: string
+  tasks:
+- name: karavan-build-deploy
+  params:
+- name: runtime
+  value: quarkus
+- name: gav
+  value: 'com.acme:demo:1.0.0'
+- name: project
+  value: $(params.PROJECT_NAME)
+- name: git
+  value: $(params.GIT_REPO)
+  taskRef:
+kind: Task
+name: karavan-builder
diff --git a/karavan-builder/openshift/karavan-builder-pvc.yaml 
b/karavan-builder/openshift/karavan-builder-pvc.yaml
new file mode 100644
index 000..6c1e772
--- /dev/null
+++ b/karavan-builder/openshift/karavan-builder-pvc.yaml
@@ -0,0 +1,23 @@
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+  name: karavan-m2-cache
+spec:
+  resources:
+requests:
+  storage: 10Gi
+  volumeMode: Filesystem
+  accessModes:
+- ReadWriteOnce
+---
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+  name: karavan-jbang-cache
+spec:
+  resources:
+requests:
+  storage: 10Gi
+  volumeMode: Filesystem
+  accessModes:
+- ReadWriteOnce
diff --git a/karavan-builder/openshift/karavan-builder-sa.yaml 
b/karavan-builder/openshift/karavan-builder-sa.yaml
new file mode 100644
index 000..91935b6
--- /dev/null
+++ b/karavan-builder/openshift/karavan-builder-sa.yaml
@@ -0,0 +1,12 @@
+kind: RoleBinding
+apiVersion: rbac.authorization.k8s.io/v1
+metadata:
+  name: karavan-builder
+subjects:
+  - kind: ServiceAccount
+name: pipeline
+namespace: karavan
+roleRef:
+  apiGroup: rbac.authorization.k8s.io
+  kind: ClusterRole
+  name: 'edit'
\ No newline at end of file
diff --git a/karavan-builder/openshift/karavan-builder-task.yaml 
b/karavan-builder/openshift/karavan-builder-task.yaml
new 

[GitHub] [camel-karavan] mgubaidullin merged pull request #375: Tekton first try

2022-06-17 Thread GitBox


mgubaidullin merged PR #375:
URL: https://github.com/apache/camel-karavan/pull/375


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-k] ammachado commented on pull request #3369: Enable parsing pod template as a modeline.

2022-06-17 Thread GitBox


ammachado commented on PR #3369:
URL: https://github.com/apache/camel-k/pull/3369#issuecomment-1159136930

   > Thanks. Anything backported to 1.8 should be backported to 1.9 as well.
   
   This one is already on 1.9.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-quarkus] aldettinger commented on pull request #3855: Next is 2.11.0

2022-06-17 Thread GitBox


aldettinger commented on PR #3855:
URL: https://github.com/apache/camel-quarkus/pull/3855#issuecomment-1159048717

   @zhfeng Many thanks for handling the release. The first time could seems a 
bit challenging.
   I think this PR reports errors because you would need to run:
   ```
   mvn clean install -DskipTests
   ```
   If I'm right, it would update some file that could be committed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-kamelets] essobedo opened a new pull request, #947: Remove the corrupted embedded png images in jms-ibm-mq logo

2022-06-17 Thread GitBox


essobedo opened a new pull request, #947:
URL: https://github.com/apache/camel-kamelets/pull/947

   ## Motivation
   
   While working on 
https://github.com/camel-tooling/camel-idea-plugin/issues/713, I realized that 
some logos could not be loaded properly by Apache Batik. In case of jms-ibm-mq 
it is due to the fact that it contains corrupted embedded png images.
   
   ## Modifications:
   
   * Remove the embedded images


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel-kamelets] 01/01: Remove the corrupted embedded png images in jms-ibm-mq logo

2022-06-17 Thread nfilotto
This is an automated email from the ASF dual-hosted git repository.

nfilotto pushed a commit to branch fix-svg-embedded-png-in-jms-ibm-mq
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 073cb6c0986f28a315b11ab3d2adaf8959fe3a82
Author: Nicolas Filotto 
AuthorDate: Fri Jun 17 18:03:37 2022 +0200

Remove the corrupted embedded png images in jms-ibm-mq logo
---
 kamelets/jms-ibm-mq-sink.kamelet.yaml   | 2 +-
 kamelets/jms-ibm-mq-source.kamelet.yaml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kamelets/jms-ibm-mq-sink.kamelet.yaml 
b/kamelets/jms-ibm-mq-sink.kamelet.yaml
index 1d899d08..637a9d42 100644
--- a/kamelets/jms-ibm-mq-sink.kamelet.yaml
+++ b/kamelets/jms-ibm-mq-sink.kamelet.yaml
@@ -19,7 +19,7 @@ kind: Kamelet
 metadata:
   name: jms-ibm-mq-sink
   annotations:
-camel.apache.org/kamelet.icon: 
"data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgNTczLjA4IDU3Ni45NyI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiNmZmY7fS5jbHMtMntmaWxsOiM1YTc3YjU7fS5jbHMtM3tmaWxsOiNhZmJlZTA7fS5jbHMtNHtjbGlwLXBhdGg6dXJsKCNjbGlwLXBhdGgpO30uY2xzLTV7Y2xpcC1wYXRoOnVybCgjY2xpcC1wYXRoLTIpO308L3N0eWxlPjxjbGlwUGF0aCBpZD0iY2xpcC1wYXRoIj48cG
 [...]
+camel.apache.org/kamelet.icon: 
"data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgogICAgIHZpZXdCb3g9IjAgMCA1NzMuMDggNTc2Ljk3Ij4KICAgIDxkZWZzPgogICAgICAgIDxzdHlsZT4KICAgICAgICAgICAgLmNscy0xe2ZpbGw6I2ZmZjt9LmNscy0ye2ZpbGw6IzVhNzdiNTt9LmNscy0ze2ZpbGw6I2FmYmVlMDt9LmNscy00e2NsaXAtcGF0aDp1cmwoI2NsaXAtcGF0aCk7fS5jbHMtNXtjbGlwLXBhdGg6dXJsKCNjbGlwLXBhdGgtMik7fQogIC
 [...]
 camel.apache.org/kamelet.support.level: "Preview"
 camel.apache.org/provider: "Apache Software Foundation"
 camel.apache.org/catalog.version: "main-SNAPSHOT"
diff --git a/kamelets/jms-ibm-mq-source.kamelet.yaml 
b/kamelets/jms-ibm-mq-source.kamelet.yaml
index 7de7cba4..def3c8c8 100644
--- a/kamelets/jms-ibm-mq-source.kamelet.yaml
+++ b/kamelets/jms-ibm-mq-source.kamelet.yaml
@@ -19,7 +19,7 @@ kind: Kamelet
 metadata:
   name: jms-ibm-mq-source
   annotations:
-camel.apache.org/kamelet.icon: 
"data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgNTczLjA4IDU3Ni45NyI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiNmZmY7fS5jbHMtMntmaWxsOiM1YTc3YjU7fS5jbHMtM3tmaWxsOiNhZmJlZTA7fS5jbHMtNHtjbGlwLXBhdGg6dXJsKCNjbGlwLXBhdGgpO30uY2xzLTV7Y2xpcC1wYXRoOnVybCgjY2xpcC1wYXRoLTIpO308L3N0eWxlPjxjbGlwUGF0aCBpZD0iY2xpcC1wYXRoIj48cG
 [...]
+camel.apache.org/kamelet.icon: 
"data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgogICAgIHZpZXdCb3g9IjAgMCA1NzMuMDggNTc2Ljk3Ij4KICAgIDxkZWZzPgogICAgICAgIDxzdHlsZT4KICAgICAgICAgICAgLmNscy0xe2ZpbGw6I2ZmZjt9LmNscy0ye2ZpbGw6IzVhNzdiNTt9LmNscy0ze2ZpbGw6I2FmYmVlMDt9LmNscy00e2NsaXAtcGF0aDp1cmwoI2NsaXAtcGF0aCk7fS5jbHMtNXtjbGlwLXBhdGg6dXJsKCNjbGlwLXBhdGgtMik7fQogIC
 [...]
 camel.apache.org/kamelet.support.level: "Preview"
 camel.apache.org/provider: "Apache Software Foundation"
 camel.apache.org/catalog.version: "main-SNAPSHOT"



[camel-kamelets] branch fix-svg-embedded-png-in-jms-ibm-mq created (now 073cb6c0)

2022-06-17 Thread nfilotto
This is an automated email from the ASF dual-hosted git repository.

nfilotto pushed a change to branch fix-svg-embedded-png-in-jms-ibm-mq
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git


  at 073cb6c0 Remove the corrupted embedded png images in jms-ibm-mq logo

This branch includes the following new commits:

 new 073cb6c0 Remove the corrupted embedded png images in jms-ibm-mq logo

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.




[GitHub] [camel] github-actions[bot] commented on pull request #7813: CAMEL-18201 Enhance CamelTestSupport to turn off context stopping

2022-06-17 Thread GitBox


github-actions[bot] commented on PR #7813:
URL: https://github.com/apache/camel/pull/7813#issuecomment-1158974883

   :heavy_check_mark: Finished component verification: 0 component(s) test 
failed out of **15 component(s) tested**


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel] branch regen_bot updated (95c4bcff6e3 -> 6ce0c91e28f)

2022-06-17 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch regen_bot
in repository https://gitbox.apache.org/repos/asf/camel.git


 discard 95c4bcff6e3 Regen for commit 31c59ab989b477f05a4ed5f8f844786ec6cfb403
 add 72af230f652 CAMEL-18128: use a single constant for commonly addressing 
the resume strategy
 add 26086db62a3 CAMEL-18128: delay the initialization of the 
producer/consumer
 add e8896bc3ab4 CAMEL-18128: allow determining the desirable resume cache 
fill policy
 add 75a75ca47b0 CAMEL-18128: provide a way for integrations to configure 
specific details for the resume strategy
 add 6ce0c91e28f Regen for commit 75a75ca47b0fbea3ef61a7a774b003b9f9800e20

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (95c4bcff6e3)
\
 N -- N -- N   refs/heads/regen_bot (6ce0c91e28f)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

No new revisions were added by this update.

Summary of changes:
 .../kafka/KafkaResumeStrategyConfiguration.java|  61 +++
 .../KafkaResumeStrategyConfigurationBuilder.java   | 187 +
 .../resume/kafka/MultiNodeKafkaResumeStrategy.java |  52 ++
 .../kafka/SingleNodeKafkaResumeStrategy.java   | 128 --
 .../java/org/apache/camel/resume/Cacheable.java|  24 +++
 .../org/apache/camel/resume/ResumeStrategy.java|   1 +
 ...Aware.java => ResumeStrategyConfiguration.java} |  22 ++-
 ...ava => ResumeStrategyConfigurationBuilder.java} |  21 ++-
 .../org/apache/camel/reifier/ResumableReifier.java |   2 +-
 .../BasicResumeStrategyConfigurationBuilder.java   |  41 +
 10 files changed, 381 insertions(+), 158 deletions(-)
 create mode 100644 
components/camel-kafka/src/main/java/org/apache/camel/processor/resume/kafka/KafkaResumeStrategyConfiguration.java
 create mode 100644 
components/camel-kafka/src/main/java/org/apache/camel/processor/resume/kafka/KafkaResumeStrategyConfigurationBuilder.java
 copy 
core/camel-api/src/main/java/org/apache/camel/resume/{ConsumerListenerAware.java
 => ResumeStrategyConfiguration.java} (57%)
 copy 
core/camel-api/src/main/java/org/apache/camel/resume/{ConsumerListenerAware.java
 => ResumeStrategyConfigurationBuilder.java} (53%)
 create mode 100644 
core/camel-support/src/main/java/org/apache/camel/support/resume/BasicResumeStrategyConfigurationBuilder.java



[GitHub] [camel-kamelets] essobedo opened a new pull request, #946: Fix the shadow declaration in the logo of bigquery Kamelet

2022-06-17 Thread GitBox


essobedo opened a new pull request, #946:
URL: https://github.com/apache/camel-kamelets/pull/946

   ## Motivation
   
   While working on 
https://github.com/camel-tooling/camel-idea-plugin/issues/713, I realized that 
some logos could not be loaded properly by Apache Batik. In case of bigquery 
Kamelet it is due to a bad reference in the shadow declaration.
   
   ## Modifications:
   
   * Remove the bad reference from the shadow declaration.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel-kamelets] branch fix-svg-shadow-in-bigquery created (now e5d519ed)

2022-06-17 Thread nfilotto
This is an automated email from the ASF dual-hosted git repository.

nfilotto pushed a change to branch fix-svg-shadow-in-bigquery
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git


  at e5d519ed Fix the shadow declaration in the logo of bigquery Kamelet

This branch includes the following new commits:

 new e5d519ed Fix the shadow declaration in the logo of bigquery Kamelet

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.




[camel-kamelets] 01/01: Fix the shadow declaration in the logo of bigquery Kamelet

2022-06-17 Thread nfilotto
This is an automated email from the ASF dual-hosted git repository.

nfilotto pushed a commit to branch fix-svg-shadow-in-bigquery
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit e5d519ed24735fb79ac5ba6cf33aab6605b87991
Author: Nicolas Filotto 
AuthorDate: Fri Jun 17 17:10:09 2022 +0200

Fix the shadow declaration in the logo of bigquery Kamelet
---
 kamelets/google-bigquery-sink.kamelet.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kamelets/google-bigquery-sink.kamelet.yaml 
b/kamelets/google-bigquery-sink.kamelet.yaml
index e57a39ec..5a1a6620 100644
--- a/kamelets/google-bigquery-sink.kamelet.yaml
+++ b/kamelets/google-bigquery-sink.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
   annotations:
 camel.apache.org/kamelet.support.level: "Preview"
 camel.apache.org/catalog.version: "main-SNAPSHOT"
-camel.apache.org/kamelet.icon: 
"data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjI1MDAiIHdpZHRoPSIyNTAwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9Ii0xLjYzMzIzNTQzMzMyODI1NiA3LjAzMjYwOTMzMDMxNTY1NjUgMTMxLjI2NTc0NjgyNDE2ODc2IDExNC42MzQzOTA2Njk2ODQzNSI+PGxpbmVhckdyYWRpZW50IGlkPSJhIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjY0IiB4Mj0iNjQiIHkxPSI3LjAzNCIgeTI9IjEyMC43ODkiPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iIzQzODdmZCIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iIzQ2ODNlYS
 [...]
+camel.apache.org/kamelet.icon: 
"data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjI1MDAiIHdpZHRoPSIyNTAwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgICAgdmlld0JveD0iLTEuNjMzMjM1NDMzMzI4MjU2IDcuMDMyNjA5MzMwMzE1NjU2NSAxMzEuMjY1NzQ2ODI0MTY4NzYgMTE0LjYzNDM5MDY2OTY4NDM1IiB2ZXJzaW9uPSIxLjAiPgogICAgPGxpbmVhckdyYWRpZW50IGlkPSJhIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjY0IiB4Mj0iNjQiIHkxPSI3LjAzNCIgeTI9IjEyMC43ODkiPgogICAgICAgIDxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iIzQzODdmZCIvPgogIC
 [...]
 camel.apache.org/provider: "Apache Software Foundation"
 camel.apache.org/kamelet.group: "Google Big Query"
   labels:



[camel] branch regen_bot updated (1ca150e832b -> 95c4bcff6e3)

2022-06-17 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch regen_bot
in repository https://gitbox.apache.org/repos/asf/camel.git


 discard 1ca150e832b Regen for commit 9840bfde4e5fd0849ec025a5b0e68be003b51d4b
 add 5e59604f9da Upgrade to JDK11 for CI Daily Deploy job
 add 31c59ab989b CAMEL-18151: camel-jbang - Export should be a single 
command making it easier to use from ci/cd
 add 95c4bcff6e3 Regen for commit 31c59ab989b477f05a4ed5f8f844786ec6cfb403

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (1ca150e832b)
\
 N -- N -- N   refs/heads/regen_bot (95c4bcff6e3)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

No new revisions were added by this update.

Summary of changes:
 Jenkinsfile.deploy   | 2 +-
 .../main/java/org/apache/camel/dsl/jbang/core/commands/Export.java   | 5 +
 2 files changed, 6 insertions(+), 1 deletion(-)



[GitHub] [camel-quarkus] jamesnetherton opened a new issue, #3856: Bean introspection on `@Singleton` scoped beans does not work

2022-06-17 Thread GitBox


jamesnetherton opened a new issue, #3856:
URL: https://github.com/apache/camel-quarkus/issues/3856

   Seems #3682 is only partially fixed. The following example does not work and 
fails with:
   
   ```
   org.apache.camel.component.bean.AmbiguousMethodCallException
   ```
   
   ```java
   @Singleton
   @Named("greeting")
   public class GreetingBean {
   public String greet() {
   return "Hello World!";
   }
   }
   
   public class Routes extends RouteBuilder {
   @Override
   public void configure() {
   from("timer:greet?period=1s")
   .bean("greeting", "greet");
   }
   }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-k-examples] KuthumiPepple commented on pull request #54: Regroup examples

2022-06-17 Thread GitBox


KuthumiPepple commented on PR #54:
URL: https://github.com/apache/camel-k-examples/pull/54#issuecomment-1158941895

   Ok then.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel] branch regen_bot updated (e880d0a75ca -> 1ca150e832b)

2022-06-17 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch regen_bot
in repository https://gitbox.apache.org/repos/asf/camel.git


omit e880d0a75ca Regen for commit 9f0b55d3c54816e7d13126c33ae2b5f8571d9c63
 add 6903b1338b2 CAMEL-18151: camel-jbang - Export to support maven 
wrappers out of the box
 add 9840bfde4e5 CAMEL-18151: camel-jbang - Export should be a single 
command making it easier to use from ci/cd
 add 1ca150e832b Regen for commit 9840bfde4e5fd0849ec025a5b0e68be003b51d4b

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (e880d0a75ca)
\
 N -- N -- N   refs/heads/regen_bot (1ca150e832b)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

No new revisions were added by this update.

Summary of changes:
 docs/user-manual/modules/ROOT/pages/camel-jbang.adoc  | 15 ---
 .../org/apache/camel/dsl/jbang/core/commands/Export.java  |  4 ++--
 .../camel/dsl/jbang/core/commands/ExportBaseCommand.java  |  2 +-
 3 files changed, 3 insertions(+), 18 deletions(-)



[camel] 04/04: CAMEL-18128: provide a way for integrations to configure specific details for the resume strategy

2022-06-17 Thread orpiske
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 75a75ca47b0fbea3ef61a7a774b003b9f9800e20
Author: Otavio Rodolfo Piske 
AuthorDate: Fri Jun 17 15:01:45 2022 +0200

CAMEL-18128: provide a way for integrations to configure specific details 
for the resume strategy
---
 .../kafka/KafkaResumeStrategyConfiguration.java|  61 +++
 .../KafkaResumeStrategyConfigurationBuilder.java   | 187 +
 .../resume/kafka/MultiNodeKafkaResumeStrategy.java |  52 ++
 .../kafka/SingleNodeKafkaResumeStrategy.java   | 124 +++---
 .../camel/resume/ResumeStrategyConfiguration.java  |  43 +
 .../resume/ResumeStrategyConfigurationBuilder.java |  42 +
 .../BasicResumeStrategyConfigurationBuilder.java   |  41 +
 7 files changed, 404 insertions(+), 146 deletions(-)

diff --git 
a/components/camel-kafka/src/main/java/org/apache/camel/processor/resume/kafka/KafkaResumeStrategyConfiguration.java
 
b/components/camel-kafka/src/main/java/org/apache/camel/processor/resume/kafka/KafkaResumeStrategyConfiguration.java
new file mode 100644
index 000..2e314079223
--- /dev/null
+++ 
b/components/camel-kafka/src/main/java/org/apache/camel/processor/resume/kafka/KafkaResumeStrategyConfiguration.java
@@ -0,0 +1,61 @@
+/*
+ * 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.
+ */
+
+package org.apache.camel.processor.resume.kafka;
+
+import java.util.Properties;
+
+import org.apache.camel.resume.ResumeStrategyConfiguration;
+
+/**
+ * A configuration suitable for using with the {@link KafkaResumeStrategy} and 
any of its implementations
+ */
+public class KafkaResumeStrategyConfiguration extends 
ResumeStrategyConfiguration {
+private Properties producerProperties;
+private Properties consumerProperties;
+private String topic;
+
+public Properties getProducerProperties() {
+return producerProperties;
+}
+
+void setProducerProperties(Properties producerProperties) {
+assert producerProperties != null;
+
+this.producerProperties = producerProperties;
+}
+
+public Properties getConsumerProperties() {
+return consumerProperties;
+}
+
+void setConsumerProperties(Properties consumerProperties) {
+assert consumerProperties != null;
+
+this.consumerProperties = consumerProperties;
+}
+
+public String getTopic() {
+return topic;
+}
+
+void setTopic(String topic) {
+assert topic != null;
+
+this.topic = topic;
+}
+}
diff --git 
a/components/camel-kafka/src/main/java/org/apache/camel/processor/resume/kafka/KafkaResumeStrategyConfigurationBuilder.java
 
b/components/camel-kafka/src/main/java/org/apache/camel/processor/resume/kafka/KafkaResumeStrategyConfigurationBuilder.java
new file mode 100644
index 000..150936148d0
--- /dev/null
+++ 
b/components/camel-kafka/src/main/java/org/apache/camel/processor/resume/kafka/KafkaResumeStrategyConfigurationBuilder.java
@@ -0,0 +1,187 @@
+/*
+ * 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.
+ */
+
+package org.apache.camel.processor.resume.kafka;
+
+import java.util.Properties;
+import java.util.UUID;
+
+import org.apache.camel.resume.Cacheable;
+import org.apache.camel.support.resume.BasicResumeStrategyConfigurationBuilder;
+import org.apache.camel.util.ObjectHelper;
+import org.apache.camel.util.StringHelper;

[camel] branch main updated (31c59ab989b -> 75a75ca47b0)

2022-06-17 Thread orpiske
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


from 31c59ab989b CAMEL-18151: camel-jbang - Export should be a single 
command making it easier to use from ci/cd
 new 72af230f652 CAMEL-18128: use a single constant for commonly addressing 
the resume strategy
 new 26086db62a3 CAMEL-18128: delay the initialization of the 
producer/consumer
 new e8896bc3ab4 CAMEL-18128: allow determining the desirable resume cache 
fill policy
 new 75a75ca47b0 CAMEL-18128: provide a way for integrations to configure 
specific details for the resume strategy

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../kafka/KafkaResumeStrategyConfiguration.java|  61 +++
 .../KafkaResumeStrategyConfigurationBuilder.java   | 187 +
 .../resume/kafka/MultiNodeKafkaResumeStrategy.java |  52 ++
 .../kafka/SingleNodeKafkaResumeStrategy.java   | 128 --
 .../java/org/apache/camel/resume/Cacheable.java|  24 +++
 .../org/apache/camel/resume/ResumeStrategy.java|   1 +
 ...Aware.java => ResumeStrategyConfiguration.java} |  22 ++-
 ...ava => ResumeStrategyConfigurationBuilder.java} |  21 ++-
 .../org/apache/camel/reifier/ResumableReifier.java |   2 +-
 .../BasicResumeStrategyConfigurationBuilder.java   |  41 +
 10 files changed, 381 insertions(+), 158 deletions(-)
 create mode 100644 
components/camel-kafka/src/main/java/org/apache/camel/processor/resume/kafka/KafkaResumeStrategyConfiguration.java
 create mode 100644 
components/camel-kafka/src/main/java/org/apache/camel/processor/resume/kafka/KafkaResumeStrategyConfigurationBuilder.java
 copy 
core/camel-api/src/main/java/org/apache/camel/resume/{ConsumerListenerAware.java
 => ResumeStrategyConfiguration.java} (57%)
 copy 
core/camel-api/src/main/java/org/apache/camel/resume/{ConsumerListenerAware.java
 => ResumeStrategyConfigurationBuilder.java} (53%)
 create mode 100644 
core/camel-support/src/main/java/org/apache/camel/support/resume/BasicResumeStrategyConfigurationBuilder.java



[camel] 03/04: CAMEL-18128: allow determining the desirable resume cache fill policy

2022-06-17 Thread orpiske
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit e8896bc3ab473086efd504d52542414b03a67b01
Author: Otavio Rodolfo Piske 
AuthorDate: Thu Jun 16 17:26:26 2022 +0200

CAMEL-18128: allow determining the desirable resume cache fill policy
---
 .../kafka/SingleNodeKafkaResumeStrategy.java   | 10 +
 .../java/org/apache/camel/resume/Cacheable.java| 24 ++
 2 files changed, 34 insertions(+)

diff --git 
a/components/camel-kafka/src/main/java/org/apache/camel/processor/resume/kafka/SingleNodeKafkaResumeStrategy.java
 
b/components/camel-kafka/src/main/java/org/apache/camel/processor/resume/kafka/SingleNodeKafkaResumeStrategy.java
index 71d8ad26781..4de3f0acc7a 100644
--- 
a/components/camel-kafka/src/main/java/org/apache/camel/processor/resume/kafka/SingleNodeKafkaResumeStrategy.java
+++ 
b/components/camel-kafka/src/main/java/org/apache/camel/processor/resume/kafka/SingleNodeKafkaResumeStrategy.java
@@ -199,6 +199,16 @@ public class SingleNodeKafkaResumeStrategy implements Kafka
  * @throws Exception
  */
 public void loadCache() throws Exception {
+if (adapter instanceof Cacheable) {
+Cacheable cacheable = (Cacheable) adapter;
+
+if (cacheable.getFillPolicy() == Cacheable.FillPolicy.MAXIMIZING) {
+
consumerConfig.setProperty(ConsumerConfig.AUTO_OFFSET_RESET_CONFIG, "earliest");
+} else {
+
consumerConfig.setProperty(ConsumerConfig.AUTO_OFFSET_RESET_CONFIG, "latest");
+}
+}
+
 createConsumer();
 
 subscribe();
diff --git 
a/core/camel-api/src/main/java/org/apache/camel/resume/Cacheable.java 
b/core/camel-api/src/main/java/org/apache/camel/resume/Cacheable.java
index 157d3689fe0..e11337c4464 100644
--- a/core/camel-api/src/main/java/org/apache/camel/resume/Cacheable.java
+++ b/core/camel-api/src/main/java/org/apache/camel/resume/Cacheable.java
@@ -24,6 +24,21 @@ import org.apache.camel.resume.cache.ResumeCache;
  */
 public interface Cacheable {
 
+/**
+ * The cache fill policy can be used to determine how this cache should be 
filled with data.
+ */
+enum FillPolicy {
+/**
+ * With MAXIMIZING, entities try to maximize cache usage and fill it 
with as much data as possible
+ */
+MAXIMIZING,
+
+/**
+ * With MINIMIZING, entities should fill it with as little data as 
reasonable.
+ */
+MINIMIZING,
+}
+
 /**
  * Adds an offset key and value to the cache
  * 
@@ -46,4 +61,13 @@ public interface Cacheable {
  * @return A resume cache instance
  */
 ResumeCache getCache();
+
+/**
+ * Gets the {@Link FillPolicy} for this cache instance
+ *
+ * @return the fill policy set for this instance FillPolicy.MAXIMIZING
+ */
+default FillPolicy getFillPolicy() {
+return FillPolicy.MAXIMIZING;
+}
 }



[camel] 01/04: CAMEL-18128: use a single constant for commonly addressing the resume strategy

2022-06-17 Thread orpiske
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 72af230f652dd0cd4d24f6502d143367f52879fa
Author: Otavio Rodolfo Piske 
AuthorDate: Thu Jun 16 16:56:11 2022 +0200

CAMEL-18128: use a single constant for commonly addressing the resume 
strategy
---
 .../camel-api/src/main/java/org/apache/camel/resume/ResumeStrategy.java | 1 +
 .../src/main/java/org/apache/camel/reifier/ResumableReifier.java| 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/core/camel-api/src/main/java/org/apache/camel/resume/ResumeStrategy.java 
b/core/camel-api/src/main/java/org/apache/camel/resume/ResumeStrategy.java
index 0c30dab50bf..26039f712de 100644
--- a/core/camel-api/src/main/java/org/apache/camel/resume/ResumeStrategy.java
+++ b/core/camel-api/src/main/java/org/apache/camel/resume/ResumeStrategy.java
@@ -24,6 +24,7 @@ import org.apache.camel.Service;
  * processing records.
  */
 public interface ResumeStrategy extends Service {
+String DEFAULT_NAME = "resumeStrategy";
 
 /**
  * Sets an adapter for resuming operations with this strategy
diff --git 
a/core/camel-core-reifier/src/main/java/org/apache/camel/reifier/ResumableReifier.java
 
b/core/camel-core-reifier/src/main/java/org/apache/camel/reifier/ResumableReifier.java
index be76af8c7ae..7c08bde948c 100644
--- 
a/core/camel-core-reifier/src/main/java/org/apache/camel/reifier/ResumableReifier.java
+++ 
b/core/camel-core-reifier/src/main/java/org/apache/camel/reifier/ResumableReifier.java
@@ -36,7 +36,7 @@ public class ResumableReifier extends 
ProcessorReifier {
 Processor childProcessor = createChildProcessor(false);
 
 ResumeStrategy resumeStrategy = resolveResumeStrategy();
-ObjectHelper.notNull(resumeStrategy, "resumeStrategy", definition);
+ObjectHelper.notNull(resumeStrategy, ResumeStrategy.DEFAULT_NAME, 
definition);
 
 route.setResumeStrategy(resumeStrategy);
 LoggingLevel loggingLevel = resolveLoggingLevel();



[camel] 02/04: CAMEL-18128: delay the initialization of the producer/consumer

2022-06-17 Thread orpiske
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 26086db62a3667f19cfbe34f0acdec25790bcc90
Author: Otavio Rodolfo Piske 
AuthorDate: Thu Jun 16 17:02:32 2022 +0200

CAMEL-18128: delay the initialization of the producer/consumer

This should allow certain parameters of the the client classes to be
adjusted according to the adapter
---
 .../resume/kafka/SingleNodeKafkaResumeStrategy.java  | 16 
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git 
a/components/camel-kafka/src/main/java/org/apache/camel/processor/resume/kafka/SingleNodeKafkaResumeStrategy.java
 
b/components/camel-kafka/src/main/java/org/apache/camel/processor/resume/kafka/SingleNodeKafkaResumeStrategy.java
index 206293826f7..71d8ad26781 100644
--- 
a/components/camel-kafka/src/main/java/org/apache/camel/processor/resume/kafka/SingleNodeKafkaResumeStrategy.java
+++ 
b/components/camel-kafka/src/main/java/org/apache/camel/processor/resume/kafka/SingleNodeKafkaResumeStrategy.java
@@ -178,6 +178,8 @@ public class SingleNodeKafkaResumeStrategy implements Kafka
 
 @Override
 public void updateLastOffset(T offset) throws Exception {
+createProducer();
+
 OffsetKey key = offset.getOffsetKey();
 Offset offsetValue = offset.getLastOffset();
 
@@ -197,6 +199,8 @@ public class SingleNodeKafkaResumeStrategy implements Kafka
  * @throws Exception
  */
 public void loadCache() throws Exception {
+createConsumer();
+
 subscribe();
 
 LOG.debug("Loading records from topic {}", topic);
@@ -391,17 +395,21 @@ public class SingleNodeKafkaResumeStrategy implements Kafka
 
 @Override
 public void init() {
-
 LOG.debug("Initializing the Kafka resume strategy");
-if (consumer == null) {
-consumer = new KafkaConsumer<>(consumerConfig);
-}
+}
 
+private void createProducer() {
 if (producer == null) {
 producer = new KafkaProducer<>(producerConfig);
 }
 }
 
+private void createConsumer() {
+if (consumer == null) {
+consumer = new KafkaConsumer<>(consumerConfig);
+}
+}
+
 @Override
 public void stop() {
 LOG.info("Closing the Kafka producer");



[GitHub] [camel] orpiske merged pull request #7815: CAMEL-18128: initial implementation

2022-06-17 Thread GitBox


orpiske merged PR #7815:
URL: https://github.com/apache/camel/pull/7815


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] github-actions[bot] commented on pull request #7815: CAMEL-18128: initial implementation

2022-06-17 Thread GitBox


github-actions[bot] commented on PR #7815:
URL: https://github.com/apache/camel/pull/7815#issuecomment-1158912082

   :heavy_check_mark: Finished component verification: 0 component(s) test 
failed out of **1 component(s) tested**


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] github-actions[bot] commented on pull request #7815: CAMEL-18128: initial implementation

2022-06-17 Thread GitBox


github-actions[bot] commented on PR #7815:
URL: https://github.com/apache/camel/pull/7815#issuecomment-1158911832

   :heavy_check_mark: Finished component verification: 0 component(s) test 
failed out of **1 component(s) tested**


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] JiriOndrusek commented on pull request #7813: CAMEL-18201 Enhance CamelTestSupport to turn off context stopping

2022-06-17 Thread GitBox


JiriOndrusek commented on PR #7813:
URL: https://github.com/apache/camel/pull/7813#issuecomment-1158911709

   I've found the reason in 
https://github.com/apache/camel/actions/runs/2515347416
   
   ```
   [ERROR] Failed to execute goal 
net.revelc.code.formatter:formatter-maven-plugin:2.17.1:validate (validate) on 
project camel-test-junit5: File 
'/home/runner/work/camel/camel/components/camel-test/camel-test-junit5/src/test/java/org/apache/camel/test/junit5/CamelTestSupporOneContextForAllTest.java'
 has not been previously formatted.  Please format file and commit before 
running validation! -> [Help 1]
   ```
   I'fixed by running `mvn process-resources -Pformat`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel] branch regen_bot updated (d386679ead9 -> e880d0a75ca)

2022-06-17 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch regen_bot
in repository https://gitbox.apache.org/repos/asf/camel.git


from d386679ead9 CAMEL-18151: camel-jbang - Export to support maven wrappers
 add 8acabeb25e1 CAMEL-18203: Upgrade to Kotlin 1.7.0
 add 9f0b55d3c54 camel-jq: add an option to retrieve the payload to process 
from an exchange property
 add e880d0a75ca Regen for commit 9f0b55d3c54816e7d13126c33ae2b5f8571d9c63

No new revisions were added by this update.

Summary of changes:
 camel-dependencies/pom.xml |  2 +-
 .../org/apache/camel/catalog/languages/jq.json |  2 +-
 .../org/apache/camel/catalog/models/jq.json|  2 +-
 .../apache/camel/catalog/schemas/camel-spring.xsd  |  3 +-
 .../resources/org/apache/camel/language/jq/jq.json |  2 +-
 .../org/apache/camel/language/jq/JqExpression.java | 65 +-
 .../org/apache/camel/language/jq/JqLanguage.java   | 11 
 ...a => JqExpressionFromHeaderOrPropertyTest.java} | 48 +++-
 .../language/jq/JqExpressionFromHeaderTest.java| 38 +
 ...Test.java => JqExpressionFromPropertyTest.java} | 18 +++---
 .../language/jq/JqExpressionHeaderFnTest.java  |  8 +--
 .../language/jq/JqExpressionPropertyFnTest.java|  6 +-
 .../camel/language/jq/JqExpressionSimpleTest.java  |  7 +--
 .../apache/camel/language/jq/JqTestSupport.java| 15 +
 ...n.java => NoSuchHeaderOrPropertyException.java} | 38 -
 .../org/apache/camel/model/language/jq.json|  2 +-
 .../org/apache/camel/builder/ExpressionClause.java | 47 
 .../camel/builder/ExpressionClauseSupport.java | 52 ++---
 .../apache/camel/model/language/JqExpression.java  | 17 ++
 .../reifier/language/JqExpressionReifier.java  |  3 +-
 .../java/org/apache/camel/xml/in/ModelParser.java  |  8 ++-
 parent/pom.xml |  2 +-
 22 files changed, 291 insertions(+), 105 deletions(-)
 copy 
components/camel-jq/src/test/java/org/apache/camel/language/jq/{JqExpressionFromHeaderTest.java
 => JqExpressionFromHeaderOrPropertyTest.java} (56%)
 copy 
components/camel-jq/src/test/java/org/apache/camel/language/jq/{JqExpressionFromHeaderTest.java
 => JqExpressionFromPropertyTest.java} (77%)
 copy 
core/camel-api/src/main/java/org/apache/camel/{NoSuchPropertyException.java => 
NoSuchHeaderOrPropertyException.java} (55%)



[GitHub] [camel-karavan] apupier opened a new issue, #374: [VS Code Server] Long time to load Karavan UI

2022-06-17 Thread GitBox


apupier opened a new issue, #374:
URL: https://github.com/apache/camel-karavan/issues/374

   Locally, on my destop it is taking few seconds.
   On internal instance of Red Hat OpenShift Dev Spaces, it is taking more than 
a minute. (would be nice to test in GitHub Codespaces to compare)
   
   I profiled it with Chrome Devtools, profile file is available to Red Hatters 
only: 
https://drive.google.com/file/d/1n2tk6Vmx0pNv0gJYAG_cA3X4Q1BIINok/view?usp=sharing
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] github-actions[bot] opened a new pull request, #7817: Generated sources regen

2022-06-17 Thread GitBox


github-actions[bot] opened a new pull request, #7817:
URL: https://github.com/apache/camel/pull/7817

   Regen bot :robot: found some uncommitted changes after running build on 
:camel: main.
   Please do not delete `regen_bot` branch after merge/rebase.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel] branch main updated: CAMEL-18151: camel-jbang - Export should be a single command making it easier to use from ci/cd

2022-06-17 Thread davsclaus
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.git


The following commit(s) were added to refs/heads/main by this push:
 new 31c59ab989b CAMEL-18151: camel-jbang - Export should be a single 
command making it easier to use from ci/cd
31c59ab989b is described below

commit 31c59ab989b477f05a4ed5f8f844786ec6cfb403
Author: Claus Ibsen 
AuthorDate: Fri Jun 17 16:01:37 2022 +0200

CAMEL-18151: camel-jbang - Export should be a single command making it 
easier to use from ci/cd
---
 .../main/java/org/apache/camel/dsl/jbang/core/commands/Export.java   | 5 +
 1 file changed, 5 insertions(+)

diff --git 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Export.java
 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Export.java
index 3217300d9ce..6c489739ccc 100644
--- 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Export.java
+++ 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Export.java
@@ -43,6 +43,11 @@ class Export extends ExportBaseCommand {
 if (this.gav == null) {
 this.gav = prop.getProperty("camel.jbang.gav");
 }
+// allow configuring versions from profile
+this.javaVersion = prop.getProperty("camel.jbang.javaVersion", 
this.javaVersion);
+this.kameletsVersion = 
prop.getProperty("camel.jbang.kameletsVersion", this.kameletsVersion);
+this.quarkusVersion = 
prop.getProperty("camel.jbang.quarkusVersion", this.quarkusVersion);
+this.springBootVersion = 
prop.getProperty("camel.jbang.springBootVersion", this.springBootVersion);
 }
 
 if (runtime == null) {



[GitHub] [camel-kamelets] essobedo opened a new pull request, #945: Fix the svg version in the logo of mysql Kamelets

2022-06-17 Thread GitBox


essobedo opened a new pull request, #945:
URL: https://github.com/apache/camel-kamelets/pull/945

   ## Motivation
   
   While working on 
https://github.com/camel-tooling/camel-idea-plugin/issues/713, I realized that 
some logo could not be loaded properly by Apache Batik, in case of mysql 
Kamelets it is due to the fact that the version of SVG has been set to `1` 
while the expected format is `1.0`.
   
   ## Modifications:
   
   * Set the SVG version to `1.0`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-quarkus] zhfeng opened a new pull request, #3855: Next is 2.11.0

2022-06-17 Thread GitBox


zhfeng opened a new pull request, #3855:
URL: https://github.com/apache/camel-quarkus/pull/3855

   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel-kamelets] branch fix-svg-version-in-mysql created (now c3e806e6)

2022-06-17 Thread nfilotto
This is an automated email from the ASF dual-hosted git repository.

nfilotto pushed a change to branch fix-svg-version-in-mysql
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git


  at c3e806e6 Fix the svg version in the logo of mysql Kamelets

This branch includes the following new commits:

 new c3e806e6 Fix the svg version in the logo of mysql Kamelets

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.




[camel-kamelets] 01/01: Fix the svg version in the logo of mysql Kamelets

2022-06-17 Thread nfilotto
This is an automated email from the ASF dual-hosted git repository.

nfilotto pushed a commit to branch fix-svg-version-in-mysql
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit c3e806e6c4da3280f4b83902f23f7d7cbb6d2678
Author: Nicolas Filotto 
AuthorDate: Fri Jun 17 15:57:14 2022 +0200

Fix the svg version in the logo of mysql Kamelets
---
 kamelets/mysql-sink.kamelet.yaml   | 2 +-
 kamelets/mysql-source.kamelet.yaml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kamelets/mysql-sink.kamelet.yaml b/kamelets/mysql-sink.kamelet.yaml
index 53ceee57..d8f09869 100644
--- a/kamelets/mysql-sink.kamelet.yaml
+++ b/kamelets/mysql-sink.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
   annotations:
 camel.apache.org/kamelet.support.level: "Preview"
 camel.apache.org/catalog.version: "main-SNAPSHOT"
-camel.apache.org/kamelet.icon: 
"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgdmVyc2lvbj0iMSI+CiA8cmVjdCBmaWxsPSIjMjY1NTdjIiB3aWR0aD0iMjgiIGhlaWdodD0iMjgiIHg9Ii0zMCIgeT0iLTMwIiByeD0iMS40IiByeT0iMS40IiB0cmFuc2Zvcm09Im1hdHJpeCgwLC0xLC0xLDAsMCwwKSIvPgogPHBhdGggb3BhY2l0eT0iLjIiIGQ9Im04LjAyNTQgOC4wMDAxYy0wLjc4MjUtMC4wMTY2LTEuMTQ5NCAwLjUyNDQtMC45ODgzIDEuNDU3IDAuMDUyIDAuMzAwNiAwLjMxNTIgMC43Mjk5IDAuODgyOCAxLjQ0MTkgMC42MzEyMiAwLj
 [...]
+camel.apache.org/kamelet.icon: 
"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgdmVyc2lvbj0iMS4wIj4KIDxyZWN0IGZpbGw9IiMyNjU1N2MiIHdpZHRoPSIyOCIgaGVpZ2h0PSIyOCIgeD0iLTMwIiB5PSItMzAiIHJ4PSIxLjQiIHJ5PSIxLjQiIHRyYW5zZm9ybT0ibWF0cml4KDAsLTEsLTEsMCwwLDApIi8+CiA8cGF0aCBvcGFjaXR5PSIuMiIgZD0ibTguMDI1NCA4LjAwMDFjLTAuNzgyNS0wLjAxNjYtMS4xNDk0IDAuNTI0NC0wLjk4ODMgMS40NTcgMC4wNTIgMC4zMDA2IDAuMzE1MiAwLjcyOTkgMC44ODI4IDEuNDQxOSAwLjYzMTIyID
 [...]
 camel.apache.org/provider: "Apache Software Foundation"
 camel.apache.org/kamelet.group: "SQL"
   labels:
diff --git a/kamelets/mysql-source.kamelet.yaml 
b/kamelets/mysql-source.kamelet.yaml
index 09098a42..0bca216b 100644
--- a/kamelets/mysql-source.kamelet.yaml
+++ b/kamelets/mysql-source.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
   annotations:
 camel.apache.org/kamelet.support.level: "Preview"
 camel.apache.org/catalog.version: "main-SNAPSHOT"
-camel.apache.org/kamelet.icon: 
"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgdmVyc2lvbj0iMSI+CiA8cmVjdCBmaWxsPSIjMjY1NTdjIiB3aWR0aD0iMjgiIGhlaWdodD0iMjgiIHg9Ii0zMCIgeT0iLTMwIiByeD0iMS40IiByeT0iMS40IiB0cmFuc2Zvcm09Im1hdHJpeCgwLC0xLC0xLDAsMCwwKSIvPgogPHBhdGggb3BhY2l0eT0iLjIiIGQ9Im04LjAyNTQgOC4wMDAxYy0wLjc4MjUtMC4wMTY2LTEuMTQ5NCAwLjUyNDQtMC45ODgzIDEuNDU3IDAuMDUyIDAuMzAwNiAwLjMxNTIgMC43Mjk5IDAuODgyOCAxLjQ0MTkgMC42MzEyMiAwLj
 [...]
+camel.apache.org/kamelet.icon: 
"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgdmVyc2lvbj0iMS4wIj4KIDxyZWN0IGZpbGw9IiMyNjU1N2MiIHdpZHRoPSIyOCIgaGVpZ2h0PSIyOCIgeD0iLTMwIiB5PSItMzAiIHJ4PSIxLjQiIHJ5PSIxLjQiIHRyYW5zZm9ybT0ibWF0cml4KDAsLTEsLTEsMCwwLDApIi8+CiA8cGF0aCBvcGFjaXR5PSIuMiIgZD0ibTguMDI1NCA4LjAwMDFjLTAuNzgyNS0wLjAxNjYtMS4xNDk0IDAuNTI0NC0wLjk4ODMgMS40NTcgMC4wNTIgMC4zMDA2IDAuMzE1MiAwLjcyOTkgMC44ODI4IDEuNDQxOSAwLjYzMTIyID
 [...]
 camel.apache.org/provider: "Apache Software Foundation"
 camel.apache.org/kamelet.group: "SQL"
   labels:



[camel] branch regen_bot updated (c48e82a297e -> d386679ead9)

2022-06-17 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch regen_bot
in repository https://gitbox.apache.org/repos/asf/camel.git


from c48e82a297e CAMEL-18151: camel-jbang - Export to support maven wrappers
 add d386679ead9 CAMEL-18151: camel-jbang - Export to support maven wrappers

No new revisions were added by this update.

Summary of changes:
 docs/user-manual/modules/ROOT/pages/camel-jbang.adoc | 15 +++
 1 file changed, 15 insertions(+)



[GitHub] [camel] davsclaus commented on pull request #7813: CAMEL-18201 Enhance CamelTestSupport to turn off context stopping

2022-06-17 Thread GitBox


davsclaus commented on PR #7813:
URL: https://github.com/apache/camel/pull/7813#issuecomment-1158898679

   No I dont know how to grab the test logs, @otavioprado knows how-to


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel] branch regen_bot updated (8acabeb25e1 -> c48e82a297e)

2022-06-17 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch regen_bot
in repository https://gitbox.apache.org/repos/asf/camel.git


omit 8acabeb25e1 CAMEL-18203: Upgrade to Kotlin 1.7.0
omit d386679ead9 CAMEL-18151: camel-jbang - Export to support maven wrappers

This update removed existing revisions from the reference, leaving the
reference pointing at a previous point in the repository history.

 * -- * -- N   refs/heads/regen_bot (c48e82a297e)
\
 O -- O -- O   (8acabeb25e1)

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

No new revisions were added by this update.

Summary of changes:
 camel-dependencies/pom.xml   |  2 +-
 docs/user-manual/modules/ROOT/pages/camel-jbang.adoc | 15 ---
 parent/pom.xml   |  2 +-
 3 files changed, 2 insertions(+), 17 deletions(-)



[camel] branch main updated: Upgrade to JDK11 for CI Daily Deploy job

2022-06-17 Thread davsclaus
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.git


The following commit(s) were added to refs/heads/main by this push:
 new 5e59604f9da Upgrade to JDK11 for CI Daily Deploy job
5e59604f9da is described below

commit 5e59604f9da2f20c6bff3730986adb430f81d0d4
Author: Claus Ibsen 
AuthorDate: Fri Jun 17 15:54:51 2022 +0200

Upgrade to JDK11 for CI Daily Deploy job
---
 Jenkinsfile.deploy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile.deploy b/Jenkinsfile.deploy
index 7ed9492f66b..b208535f3e2 100644
--- a/Jenkinsfile.deploy
+++ b/Jenkinsfile.deploy
@@ -18,7 +18,7 @@
  */
 
 def AGENT_LABEL = env.AGENT_LABEL ?: 'ubuntu'
-def JDK_NAME = env.JDK_NAME ?: 'adoptopenjdk_hotspot_8u282'
+def JDK_NAME = env.JDK_NAME ?: 'jdk_11_latest'
 
 def MAVEN_PARAMS = "-U -B -e -fae -V -Dnoassembly -Dmaven.compiler.fork=true "
 



[camel] branch regen_bot updated (0615da11001 -> 8acabeb25e1)

2022-06-17 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch regen_bot
in repository https://gitbox.apache.org/repos/asf/camel.git


 discard 0615da11001 Regen for commit 7d3e0924f0844b5cb64bd04f622e91658fb896a2
 add c48e82a297e CAMEL-18151: camel-jbang - Export to support maven wrappers
 add d386679ead9 CAMEL-18151: camel-jbang - Export to support maven wrappers
 add 8acabeb25e1 CAMEL-18203: Upgrade to Kotlin 1.7.0

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (0615da11001)
\
 N -- N -- N   refs/heads/regen_bot (8acabeb25e1)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

No new revisions were added by this update.

Summary of changes:
 camel-dependencies/pom.xml |   2 +-
 .../modules/ROOT/pages/camel-jbang.adoc|  15 ++
 .../camel/dsl/jbang/core/commands/Export.java  |   1 +
 .../dsl/jbang/core/commands/ExportBaseCommand.java |  23 +
 .../dsl/jbang/core/commands/ExportCamelMain.java   |   4 
 .../dsl/jbang/core/commands/ExportQuarkus.java |   4 
 .../dsl/jbang/core/commands/ExportSpringBoot.java  |   4 
 .../main/resources/maven-wrapper/maven-wrapper.jar | Bin 0 -> 59925 bytes
 .../maven-wrapper/maven-wrapper.properties |   9 ++--
 .../src/main/resources/maven-wrapper/mvnw  |   2 +-
 .../src/main/resources/maven-wrapper/mvnw.cmd  |   2 +-
 parent/pom.xml |   2 +-
 12 files changed, 57 insertions(+), 11 deletions(-)
 create mode 100644 
dsl/camel-jbang/camel-jbang-core/src/main/resources/maven-wrapper/maven-wrapper.jar
 copy 
archetypes/camel-archetype-cdi/src/main/resources/archetype-resources/src/main/resources/log4j2.properties
 => 
dsl/camel-jbang/camel-jbang-core/src/main/resources/maven-wrapper/maven-wrapper.properties
 (80%)
 copy mvnw => 
dsl/camel-jbang/camel-jbang-core/src/main/resources/maven-wrapper/mvnw (99%)
 copy mvnw.cmd => 
dsl/camel-jbang/camel-jbang-core/src/main/resources/maven-wrapper/mvnw.cmd (99%)
 mode change 100644 => 100755



[GitHub] [camel] github-actions[bot] closed pull request #7816: Generated sources regen

2022-06-17 Thread GitBox


github-actions[bot] closed pull request #7816: Generated sources regen
URL: https://github.com/apache/camel/pull/7816


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] JiriOndrusek commented on pull request #7813: CAMEL-18201 Enhance CamelTestSupport to turn off context stopping

2022-06-17 Thread GitBox


JiriOndrusek commented on PR #7813:
URL: https://github.com/apache/camel/pull/7813#issuecomment-1158889702

   I see that problem is happening in the `camel-test`, therefore it will be 
probably  caused by the PR.
   I can not find any error log and my local execution ends successfully.
   Do ou know how to find any information about the failure?
   
   I see in the log:
   
   ```
   2022-06-17T13:21:21.9391844Z Logging test to 
/home/runner/work/camel/camel/automated-build-log/components-camel-test.log
   2022-06-17T13:21:49.0895677Z Failed components/camel-test test test: 14 
verified / 1 failed
   2022-06-17T13:21:49.0913884Z There is no log file to copy at 
target/camel-test-test.log
   2022-06-17T13:21:49.0999844Z ##[error]Process completed with exit code 1.
   ```
   My local execution ends with
   
   ```
   [INFO] 

   [INFO] Reactor Summary for Camel :: Test :: Parent 3.18.0-SNAPSHOT:
   [INFO] 
   [INFO] Camel :: Test :: Parent  SUCCESS [  1.214 
s]
   [INFO] Camel :: Test (deprecated) . SUCCESS [ 15.547 
s]
   [INFO] Camel :: Test :: CDI (deprecated) .. SUCCESS [  4.576 
s]
   [INFO] Camel :: Test :: JUnit5  SUCCESS [ 15.502 
s]
   [INFO] Camel :: Test :: CDI :: JUnit5 . SUCCESS [  6.283 
s]
   [INFO] Camel :: Test :: Spring (deprecated) ... SUCCESS [ 26.590 
s]
   [INFO] Camel :: Test :: Spring :: JUnit5 .. SUCCESS [ 29.012 
s]
   [INFO] Camel :: Test :: Main :: JUnit5  SUCCESS [  8.806 
s]
   [INFO] 

   [INFO] BUILD SUCCESS
   [INFO] 

   [INFO] Total time:  01:47 min
   ```
   
   
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-quarkus] JiriOndrusek commented on pull request #3847: CamelTestSupport style of testing #3511

2022-06-17 Thread GitBox


JiriOndrusek commented on PR #3847:
URL: https://github.com/apache/camel-quarkus/pull/3847#issuecomment-1158873197

   Change in Camel `main` is prepared as 
https://github.com/apache/camel/pull/7813


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel] branch main updated: CAMEL-18151: camel-jbang - Export should be a single command making it easier to use from ci/cd

2022-06-17 Thread davsclaus
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.git


The following commit(s) were added to refs/heads/main by this push:
 new 9840bfde4e5 CAMEL-18151: camel-jbang - Export should be a single 
command making it easier to use from ci/cd
9840bfde4e5 is described below

commit 9840bfde4e5fd0849ec025a5b0e68be003b51d4b
Author: Claus Ibsen 
AuthorDate: Fri Jun 17 15:28:55 2022 +0200

CAMEL-18151: camel-jbang - Export should be a single command making it 
easier to use from ci/cd
---
 .../main/java/org/apache/camel/dsl/jbang/core/commands/Export.java| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Export.java
 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Export.java
index 046ef38d8e5..3217300d9ce 100644
--- 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Export.java
+++ 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Export.java
@@ -54,9 +54,9 @@ class Export extends ExportBaseCommand {
 return 1;
 }
 
-if ("spring-boot".equals(runtime)) {
+if ("spring-boot".equals(runtime) || 
"camel-spring-boot".equals(runtime)) {
 return export(new ExportSpringBoot(getMain()));
-} else if ("quarkus".equals(runtime)) {
+} else if ("quarkus".equals(runtime) || 
"camel-quarkus".equals(runtime)) {
 return export(new ExportQuarkus(getMain()));
 } else if ("camel-main".equals(runtime)) {
 return export(new ExportCamelMain(getMain()));



[GitHub] [camel] JiriOndrusek commented on pull request #7813: CAMEL-18201 Enhance CamelTestSupport to turn off context stopping

2022-06-17 Thread GitBox


JiriOndrusek commented on PR #7813:
URL: https://github.com/apache/camel/pull/7813#issuecomment-1158871024

   I'll check it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] davsclaus commented on pull request #7813: CAMEL-18201 Enhance CamelTestSupport to turn off context stopping

2022-06-17 Thread GitBox


davsclaus commented on PR #7813:
URL: https://github.com/apache/camel/pull/7813#issuecomment-1158869988

   There seems to be 1 error now
   
   Failed components/camel-test test test: 14 verified / 1 failed


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] github-actions[bot] commented on pull request #7813: CAMEL-18201 Enhance CamelTestSupport to turn off context stopping

2022-06-17 Thread GitBox


github-actions[bot] commented on PR #7813:
URL: https://github.com/apache/camel/pull/7813#issuecomment-1158866631

   :x: Finished component verification: **1 component(s) test failed** out of 
14 component(s) tested


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel] branch regen_bot updated (0a60f9e565e -> 0615da11001)

2022-06-17 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch regen_bot
in repository https://gitbox.apache.org/repos/asf/camel.git


from 0a60f9e565e CAMEL-18202: fix incorrectly setting the initial delay
 add 2bd3abdfc75 CAMEL-18151: camel-jbang - Export should be a single 
command making it easier to use from ci/cd
 add 7d3e0924f08 CAMEL-18151: camel-jbang - Export read from 
application.properties runtime/gav to use
 add 0615da11001 Regen for commit 7d3e0924f0844b5cb64bd04f622e91658fb896a2

No new revisions were added by this update.

Summary of changes:
 .../modules/ROOT/pages/camel-jbang.adoc| 24 -
 .../dsl/jbang/core/commands/CamelJBangMain.java|  5 +-
 .../camel/dsl/jbang/core/commands/Export.java  | 63 +++---
 .../{BaseExport.java => ExportBaseCommand.java}| 24 +++--
 .../dsl/jbang/core/commands/ExportCamelMain.java   |  9 +---
 .../dsl/jbang/core/commands/ExportQuarkus.java |  8 +--
 .../dsl/jbang/core/commands/ExportSpringBoot.java  | 13 +
 7 files changed, 94 insertions(+), 52 deletions(-)
 rename 
dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/{BaseExport.java
 => ExportBaseCommand.java} (93%)



[GitHub] [camel] github-actions[bot] opened a new pull request, #7816: Generated sources regen

2022-06-17 Thread GitBox


github-actions[bot] opened a new pull request, #7816:
URL: https://github.com/apache/camel/pull/7816

   Regen bot :robot: found some uncommitted changes after running build on 
:camel: main.
   Please do not delete `regen_bot` branch after merge/rebase.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-karavan] apupier opened a new issue, #373: Karavan: JBang Run command is not working when called from palette

2022-06-17 Thread GitBox


apupier opened a new issue, #373:
URL: https://github.com/apache/camel-karavan/issues/373

   ![Screenshot from 2022-06-17 
15-19-12](https://user-images.githubusercontent.com/1105127/174306160-dba32104-5aba-46b5-8f1b-7043239c1e84.png)
   
   tried both with the file opened in Karavan editor and yaml editor


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-karavan] apupier opened a new issue, #372: [VS Code Server] Unable to resolve nonexistent file error when trying to start with `Karavan: Run file ` from title bar

2022-06-17 Thread GitBox


apupier opened a new issue, #372:
URL: https://github.com/apache/camel-karavan/issues/372

   ```
   [2022-06-17 15:13:02.961] [window] [error] Unable to read file 
'vscode-remote://che-dogfooding.apps.che-dev.x6e0.p1.openshiftapps.com/checode/checode-linux-libc/application.properties'
 (Error: Unable to resolve nonexistent file 
'vscode-remote://che-dogfooding.apps.che-dev.x6e0.p1.openshiftapps.com/checode/checode-linux-libc/application.properties'):
 EntryNotFound (FileSystemError): Unable to read file 
'vscode-remote://che-dogfooding.apps.che-dev.x6e0.p1.openshiftapps.com/checode/checode-linux-libc/application.properties'
 (Error: Unable to resolve nonexistent file 
'vscode-remote://che-dogfooding.apps.che-dev.x6e0.p1.openshiftapps.com/checode/checode-linux-libc/application.properties')
at Function._handleError 
(/checode/checode-linux-libc/out/vs/workbench/api/node/extensionHostProcess.js:85:121629)
at Object.readFile 
(/checode/checode-linux-libc/out/vs/workbench/api/node/extensionHostProcess.js:85:120543)
   ```
   
   
![TitleBar-runFile-notworking-karavan-indevspaces](https://user-images.githubusercontent.com/1105127/174305691-384e3380-0f8a-43da-b440-330ddde75e1e.gif)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-examples] orpiske opened a new pull request, #97: CAMEL-18128: updates the examples

2022-06-17 Thread GitBox


orpiske opened a new pull request, #97:
URL: https://github.com/apache/camel-examples/pull/97

   Depends on apache/camel#7815


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel] branch main updated: CAMEL-18151: camel-jbang - Export to support maven wrappers out of the box

2022-06-17 Thread davsclaus
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.git


The following commit(s) were added to refs/heads/main by this push:
 new 6903b1338b2 CAMEL-18151: camel-jbang - Export to support maven 
wrappers out of the box
6903b1338b2 is described below

commit 6903b1338b2ef07bac1f66599115d125db953b76
Author: Claus Ibsen 
AuthorDate: Fri Jun 17 15:11:27 2022 +0200

CAMEL-18151: camel-jbang - Export to support maven wrappers out of the box
---
 docs/user-manual/modules/ROOT/pages/camel-jbang.adoc  | 15 ---
 .../camel/dsl/jbang/core/commands/ExportBaseCommand.java  |  2 +-
 2 files changed, 1 insertion(+), 16 deletions(-)

diff --git a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc 
b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
index 19e239e8a52..876f4ae3b88 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
@@ -631,21 +631,6 @@ To export to another directly (copies the files) you 
execute:
 camel export --runtime=spring-boot --gav=com.foo:acme:1.0-SNAPSHOT 
--dir=../myproject
 
 
-To make the exported project easy to run with Apache Maven using Maven 
Wrapper, then you can export as follows:
-
-[source,bash]
-
-camel export --runtime=spring-boot --gav=com.foo:acme:1.0-SNAPSHOT 
--dir=../myproject --maven-wrapper=true
-
-
-Which allows users to work with the project without having Maven installed as 
a CLI, by executing the `mvnw` command as shown:
-
-[source,bash]
-
-cd myproject
-mvnw spring-boot:run
-
-
 TIP: See the possible options by running: `camel export --help` for more 
details.
 
 === Exporting to Camel Quarkus
diff --git 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ExportBaseCommand.java
 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ExportBaseCommand.java
index a8921e1249c..b808a396e28 100644
--- 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ExportBaseCommand.java
+++ 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ExportBaseCommand.java
@@ -82,7 +82,7 @@ abstract class ExportBaseCommand extends CamelCommand {
 defaultValue = "2.9.2.Final")
 protected String quarkusVersion;
 
-@CommandLine.Option(names = { "--maven-wrapper" }, defaultValue = "false",
+@CommandLine.Option(names = { "--maven-wrapper" }, defaultValue = "true",
 description = "Include Maven Wrapper files in exported 
project")
 protected boolean mavenWrapper;
 



[GitHub] [camel] github-actions[bot] commented on pull request #7813: CAMEL-18201 Enhance CamelTestSupport to turn off context stopping

2022-06-17 Thread GitBox


github-actions[bot] commented on PR #7813:
URL: https://github.com/apache/camel/pull/7813#issuecomment-1158856852

   :x: Finished component verification: **1 component(s) test failed** out of 
14 component(s) tested


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] github-actions[bot] commented on pull request #7815: CAMEL-18128: initial implementation

2022-06-17 Thread GitBox


github-actions[bot] commented on PR #7815:
URL: https://github.com/apache/camel/pull/7815#issuecomment-1158856699

   :warning: This PR changes Camel components and will be tested automatically.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] orpiske opened a new pull request, #7815: CAMEL-18128: initial implementation

2022-06-17 Thread GitBox


orpiske opened a new pull request, #7815:
URL: https://github.com/apache/camel/pull/7815

   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel] branch main updated: camel-jq: add an option to retrieve the payload to process from an exchange property

2022-06-17 Thread lburgazzoli
This is an automated email from the ASF dual-hosted git repository.

lburgazzoli pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
 new 9f0b55d3c54 camel-jq: add an option to retrieve the payload to process 
from an exchange property
9f0b55d3c54 is described below

commit 9f0b55d3c54816e7d13126c33ae2b5f8571d9c63
Author: Luca Burgazzoli 
AuthorDate: Fri Jun 17 14:06:17 2022 +0200

camel-jq: add an option to retrieve the payload to process from an exchange 
property
---
 .../resources/org/apache/camel/language/jq/jq.json |  2 +-
 .../org/apache/camel/language/jq/JqExpression.java | 65 -
 .../org/apache/camel/language/jq/JqLanguage.java   | 11 
 ...a => JqExpressionFromHeaderOrPropertyTest.java} | 48 ++-
 .../language/jq/JqExpressionFromHeaderTest.java| 38 
 ...Test.java => JqExpressionFromPropertyTest.java} | 18 +++---
 .../language/jq/JqExpressionHeaderFnTest.java  |  8 +--
 .../language/jq/JqExpressionPropertyFnTest.java|  6 +-
 .../camel/language/jq/JqExpressionSimpleTest.java  |  7 +--
 .../apache/camel/language/jq/JqTestSupport.java| 15 +
 .../camel/NoSuchHeaderOrPropertyException.java | 68 ++
 .../org/apache/camel/model/language/jq.json|  2 +-
 .../org/apache/camel/builder/ExpressionClause.java | 47 +++
 .../camel/builder/ExpressionClauseSupport.java | 52 ++---
 .../apache/camel/model/language/JqExpression.java  | 17 ++
 .../reifier/language/JqExpressionReifier.java  |  3 +-
 .../java/org/apache/camel/xml/in/ModelParser.java  |  8 ++-
 17 files changed, 328 insertions(+), 87 deletions(-)

diff --git 
a/components/camel-jq/src/generated/resources/org/apache/camel/language/jq/jq.json
 
b/components/camel-jq/src/generated/resources/org/apache/camel/language/jq/jq.json
index 3051e61bbd6..a6d6bab62f2 100644
--- 
a/components/camel-jq/src/generated/resources/org/apache/camel/language/jq/jq.json
+++ 
b/components/camel-jq/src/generated/resources/org/apache/camel/language/jq/jq.json
@@ -18,7 +18,7 @@
   "properties": {
 "expression": { "kind": "value", "displayName": "Expression", "required": 
true, "type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "description": "The expression value in 
your chosen language syntax" },
 "resultType": { "kind": "attribute", "displayName": "Result Type", 
"required": false, "type": "string", "javaType": "java.lang.String", 
"deprecated": false, "autowired": false, "secret": false, "description": "Sets 
the class of the result type (type from output)" },
-"headerName": { "kind": "attribute", "displayName": "Header Name", 
"label": "advanced", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Name of header to use as input, instead of the message body" },
+"headerName": { "kind": "attribute", "displayName": "Header Name", 
"label": "advanced", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Name of header to use as input, instead of the message body It 
has as higher precedent than the propertyName if both are set." },
 "trim": { "kind": "attribute", "displayName": "Trim", "label": "advanced", 
"required": false, "type": "boolean", "javaType": "java.lang.Boolean", 
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true, 
"description": "Whether to trim the value to remove leading and trailing 
whitespaces and line breaks" },
 "id": { "kind": "attribute", "displayName": "Id", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "description": "Sets the id of this node" }
   }
diff --git 
a/components/camel-jq/src/main/java/org/apache/camel/language/jq/JqExpression.java
 
b/components/camel-jq/src/main/java/org/apache/camel/language/jq/JqExpression.java
index 9d72724..7512312ec85 100644
--- 
a/components/camel-jq/src/main/java/org/apache/camel/language/jq/JqExpression.java
+++ 
b/components/camel-jq/src/main/java/org/apache/camel/language/jq/JqExpression.java
@@ -30,7 +30,7 @@ import net.thisptr.jackson.jq.exception.JsonQueryException;
 import org.apache.camel.CamelContext;
 import org.apache.camel.Exchange;
 import org.apache.camel.InvalidPayloadException;
-import org.apache.camel.NoSuchHeaderException;
+import org.apache.camel.NoSuchHeaderOrPropertyException;
 import org.apache.camel.RuntimeCamelException;
 import org.apache.camel.TypeConverter;
 import org.apache.camel.spi.ExpressionResultTypeAware;
@@ -44,10 +44,12 @@ public class JqExpression extends ExpressionAdapter 
implements ExpressionResultT
 private Scope scope;
 private String 

[GitHub] [camel] lburgazzoli merged pull request #7814: camel-jq: add an option to retrieve the payload to process from an exchange property

2022-06-17 Thread GitBox


lburgazzoli merged PR #7814:
URL: https://github.com/apache/camel/pull/7814


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] github-actions[bot] commented on pull request #7814: camel-jq: add an option to retrieve the payload to process from an exchange property

2022-06-17 Thread GitBox


github-actions[bot] commented on PR #7814:
URL: https://github.com/apache/camel/pull/7814#issuecomment-1158854477

   :heavy_check_mark: Finished component verification: 0 component(s) test 
failed out of **1 component(s) tested**


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel] branch main updated: CAMEL-18203: Upgrade to Kotlin 1.7.0

2022-06-17 Thread davsclaus
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.git


The following commit(s) were added to refs/heads/main by this push:
 new 8acabeb25e1 CAMEL-18203: Upgrade to Kotlin 1.7.0
8acabeb25e1 is described below

commit 8acabeb25e1172dad9dcd41358e0b69440fd975d
Author: Claus Ibsen 
AuthorDate: Fri Jun 17 15:06:52 2022 +0200

CAMEL-18203: Upgrade to Kotlin 1.7.0
---
 camel-dependencies/pom.xml | 2 +-
 parent/pom.xml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml
index cf8729dc410..b20049478d4 100644
--- a/camel-dependencies/pom.xml
+++ b/camel-dependencies/pom.xml
@@ -363,7 +363,7 @@
 1.1.3
 3.1.1
 2.8.1
-1.6.21
+1.7.0
 5.12.2
 5.12.2
 1.15.0
diff --git a/parent/pom.xml b/parent/pom.xml
index 5bbfe056d66..b8832d50726 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -347,7 +347,7 @@
 1.1.3
 3.1.1
 2.8.1
-1.6.21
+1.7.0
 5.12.2
 5.12.2
 1.15.0



[camel] branch main updated: CAMEL-18151: camel-jbang - Export to support maven wrappers

2022-06-17 Thread davsclaus
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.git


The following commit(s) were added to refs/heads/main by this push:
 new d386679ead9 CAMEL-18151: camel-jbang - Export to support maven wrappers
d386679ead9 is described below

commit d386679ead90b6dafe90c0ec39ed60db666f11fd
Author: Claus Ibsen 
AuthorDate: Fri Jun 17 15:04:09 2022 +0200

CAMEL-18151: camel-jbang - Export to support maven wrappers
---
 docs/user-manual/modules/ROOT/pages/camel-jbang.adoc | 15 +++
 1 file changed, 15 insertions(+)

diff --git a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc 
b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
index 876f4ae3b88..19e239e8a52 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
@@ -631,6 +631,21 @@ To export to another directly (copies the files) you 
execute:
 camel export --runtime=spring-boot --gav=com.foo:acme:1.0-SNAPSHOT 
--dir=../myproject
 
 
+To make the exported project easy to run with Apache Maven using Maven 
Wrapper, then you can export as follows:
+
+[source,bash]
+
+camel export --runtime=spring-boot --gav=com.foo:acme:1.0-SNAPSHOT 
--dir=../myproject --maven-wrapper=true
+
+
+Which allows users to work with the project without having Maven installed as 
a CLI, by executing the `mvnw` command as shown:
+
+[source,bash]
+
+cd myproject
+mvnw spring-boot:run
+
+
 TIP: See the possible options by running: `camel export --help` for more 
details.
 
 === Exporting to Camel Quarkus



[camel-k] branch dependabot/go_modules/github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring-0.57.0 updated (b1dea6423 -> a970e32e1)

2022-06-17 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch 
dependabot/go_modules/github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring-0.57.0
in repository https://gitbox.apache.org/repos/asf/camel-k.git


 discard b1dea6423 chore(deps): bump 
github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring
 add 13b78d2ea chore(deps): bump github.com/container-tools/spectrum
 add 9210df209 Updated CHANGELOG.md
 add e344be85e Fixes GIT_COMMIT assignment failure in build
 add 8ada938e6 chore(deps): bump github.com/spf13/viper from 1.11.0 to 
1.12.0
 add 28154ea41 Updated CHANGELOG.md
 add df35c60f2 Fixes `kamel local run` panic on Windows
 add b47c9ccb3 Fixed typo
 add 8d72c136b chore(deps): bump 
github.com/redhat-developer/service-binding-operator
 add 9fba1db15 chore(deps): bump github.com/prometheus/client_golang
 add a970e32e1 chore(deps): bump 
github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (b1dea6423)
\
 N -- N -- N   
refs/heads/dependabot/go_modules/github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring-0.57.0
 (a970e32e1)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

No new revisions were added by this update.

Summary of changes:
 CHANGELOG.md   |  2 +
 go.mod |  8 ++--
 go.sum | 85 +++---
 pkg/cmd/util_commands.go   |  3 +-
 pkg/resources/resources_support.go | 16 ---
 script/Makefile|  2 +-
 6 files changed, 80 insertions(+), 36 deletions(-)



[camel-k] branch dependabot/go_modules/github.com/operator-framework/api-0.15.0 updated (3af1dc5bb -> 53446f7e8)

2022-06-17 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch 
dependabot/go_modules/github.com/operator-framework/api-0.15.0
in repository https://gitbox.apache.org/repos/asf/camel-k.git


 discard 3af1dc5bb chore(deps): bump github.com/operator-framework/api
 add 28154ea41 Updated CHANGELOG.md
 add df35c60f2 Fixes `kamel local run` panic on Windows
 add b47c9ccb3 Fixed typo
 add 8d72c136b chore(deps): bump 
github.com/redhat-developer/service-binding-operator
 add 9fba1db15 chore(deps): bump github.com/prometheus/client_golang
 add 53446f7e8 chore(deps): bump github.com/operator-framework/api

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (3af1dc5bb)
\
 N -- N -- N   
refs/heads/dependabot/go_modules/github.com/operator-framework/api-0.15.0 
(53446f7e8)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

No new revisions were added by this update.

Summary of changes:
 CHANGELOG.md   |  1 +
 go.mod |  4 ++--
 go.sum |  7 ---
 pkg/cmd/util_commands.go   |  3 ++-
 pkg/resources/resources_support.go | 16 +++-
 5 files changed, 20 insertions(+), 11 deletions(-)



[camel] branch main updated: CAMEL-18151: camel-jbang - Export to support maven wrappers

2022-06-17 Thread davsclaus
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.git


The following commit(s) were added to refs/heads/main by this push:
 new c48e82a297e CAMEL-18151: camel-jbang - Export to support maven wrappers
c48e82a297e is described below

commit c48e82a297ea36b4eb369ef75ee05d49d5c8abf4
Author: Claus Ibsen 
AuthorDate: Fri Jun 17 14:59:23 2022 +0200

CAMEL-18151: camel-jbang - Export to support maven wrappers
---
 .../camel/dsl/jbang/core/commands/Export.java  |   7 +-
 .../dsl/jbang/core/commands/ExportBaseCommand.java |  23 ++
 .../dsl/jbang/core/commands/ExportCamelMain.java   |   4 +
 .../dsl/jbang/core/commands/ExportQuarkus.java |   4 +
 .../dsl/jbang/core/commands/ExportSpringBoot.java  |   4 +
 .../main/resources/maven-wrapper/maven-wrapper.jar | Bin 0 -> 59925 bytes
 .../maven-wrapper/maven-wrapper.properties |  18 ++
 .../src/main/resources/maven-wrapper/mvnw  | 316 +
 .../src/main/resources/maven-wrapper/mvnw.cmd  | 188 
 9 files changed, 561 insertions(+), 3 deletions(-)

diff --git 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Export.java
 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Export.java
index 0a6ae68b4fb..046ef38d8e5 100644
--- 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Export.java
+++ 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Export.java
@@ -16,12 +16,12 @@
  */
 package org.apache.camel.dsl.jbang.core.commands;
 
-import org.apache.camel.util.OrderedProperties;
-import picocli.CommandLine.Command;
-
 import java.io.File;
 import java.io.FileInputStream;
 
+import org.apache.camel.util.OrderedProperties;
+import picocli.CommandLine.Command;
+
 @Command(name = "export",
  description = "Export to other runtimes such as Spring Boot or 
Quarkus")
 class Export extends ExportBaseCommand {
@@ -79,6 +79,7 @@ class Export extends ExportBaseCommand {
 cmd.mainClassname = this.mainClassname;
 cmd.quarkusVersion = this.quarkusVersion;
 cmd.springBootVersion = this.springBootVersion;
+cmd.mavenWrapper = this.mavenWrapper;
 // run export
 return cmd.export();
 }
diff --git 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ExportBaseCommand.java
 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ExportBaseCommand.java
index b84181d6295..a8921e1249c 100644
--- 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ExportBaseCommand.java
+++ 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ExportBaseCommand.java
@@ -82,6 +82,10 @@ abstract class ExportBaseCommand extends CamelCommand {
 defaultValue = "2.9.2.Final")
 protected String quarkusVersion;
 
+@CommandLine.Option(names = { "--maven-wrapper" }, defaultValue = "false",
+description = "Include Maven Wrapper files in exported 
project")
+protected boolean mavenWrapper;
+
 @CommandLine.Option(names = {
 "-dir",
 "--directory" }, description = "Directory where the project will 
be exported", defaultValue = ".")
@@ -327,6 +331,25 @@ abstract class ExportBaseCommand extends CamelCommand {
 IOHelper.close(fos);
 }
 
+protected void copyMavenWrapper() throws Exception {
+File wrapper = new File(BUILD_DIR, ".mvn/wrapper");
+wrapper.mkdirs();
+// copy files
+InputStream is = 
ExportBaseCommand.class.getClassLoader().getResourceAsStream("maven-wrapper/mvnw");
+IOHelper.copyAndCloseInput(is, new FileOutputStream(new 
File(BUILD_DIR, "mvnw")));
+is = 
ExportBaseCommand.class.getClassLoader().getResourceAsStream("maven-wrapper/mvnw.cmd");
+IOHelper.copyAndCloseInput(is, new FileOutputStream(new 
File(BUILD_DIR, "mvnw.cmd")));
+is = 
ExportBaseCommand.class.getClassLoader().getResourceAsStream("maven-wrapper/maven-wrapper.jar");
+IOHelper.copyAndCloseInput(is, new FileOutputStream(new File(wrapper, 
"maven-wrapper.jar")));
+is = 
ExportBaseCommand.class.getClassLoader().getResourceAsStream("maven-wrapper/maven-wrapper.properties");
+IOHelper.copyAndCloseInput(is, new FileOutputStream(new File(wrapper, 
"maven-wrapper.properties")));
+// set execute file permission on mvnw/mvnw.cmd files
+File file = new File(BUILD_DIR, "mvnw");
+file.setExecutable(true);
+file = new File(BUILD_DIR, "mvnw.cmd");
+file.setExecutable(true);
+}
+
 protected String applicationPropertyLine(String key, String value) {
 return key + "=" + value;
 }
diff --git 

[camel-k] branch main updated (8d72c136b -> 9fba1db15)

2022-06-17 Thread pcongiusti
This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git


from 8d72c136b chore(deps): bump 
github.com/redhat-developer/service-binding-operator
 add 9fba1db15 chore(deps): bump github.com/prometheus/client_golang

No new revisions were added by this update.

Summary of changes:
 go.mod | 2 +-
 go.sum | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)



[GitHub] [camel-k] squakez merged pull request #3273: chore(deps): bump github.com/prometheus/client_golang from 1.12.1 to 1.12.2

2022-06-17 Thread GitBox


squakez merged PR #3273:
URL: https://github.com/apache/camel-k/pull/3273


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel-k] branch main updated: chore(deps): bump github.com/redhat-developer/service-binding-operator

2022-06-17 Thread pcongiusti
This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/main by this push:
 new 8d72c136b chore(deps): bump 
github.com/redhat-developer/service-binding-operator
8d72c136b is described below

commit 8d72c136b67ec32455f2dc3dcfc2a83a5ba91820
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Thu Jun 16 13:42:00 2022 +

chore(deps): bump github.com/redhat-developer/service-binding-operator

Bumps 
[github.com/redhat-developer/service-binding-operator](https://github.com/redhat-developer/service-binding-operator)
 from 1.0.1 to 1.1.0.
- [Release 
notes](https://github.com/redhat-developer/service-binding-operator/releases)
- 
[Changelog](https://github.com/redhat-developer/service-binding-operator/blob/master/docs/community-release.md)
- 
[Commits](https://github.com/redhat-developer/service-binding-operator/compare/v1.0.1...v1.1.0)

---
updated-dependencies:
- dependency-name: github.com/redhat-developer/service-binding-operator
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] 
---
 go.mod | 2 +-
 go.sum | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/go.mod b/go.mod
index cd242df51..0ef2f36d1 100644
--- a/go.mod
+++ b/go.mod
@@ -29,7 +29,7 @@ require (
github.com/prometheus/client_model v0.2.0
github.com/prometheus/common v0.34.0
github.com/radovskyb/watcher v1.0.7
-   github.com/redhat-developer/service-binding-operator v1.0.1
+   github.com/redhat-developer/service-binding-operator v1.1.0
github.com/rs/xid v1.4.0
github.com/scylladb/go-set v1.0.2
github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749
diff --git a/go.sum b/go.sum
index 683a0c26f..95fae02b4 100644
--- a/go.sum
+++ b/go.sum
@@ -1114,8 +1114,8 @@ github.com/radovskyb/watcher v1.0.7 
h1:AYePLih6dpmS32vlHfhCeli8127LzkIgwJGcwwe8t
 github.com/radovskyb/watcher v1.0.7/go.mod 
h1:78okwvY5wPdzcb1UYnip1pvrZNIVEIh/Cm+ZuvsUYIg=
 github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod 
h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4=
 github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475/go.mod 
h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4=
-github.com/redhat-developer/service-binding-operator v1.0.1 
h1:YHqfpox6effDWwy2Mhyj5Nzrd1o4DLgS/hZSZsL2LUk=
-github.com/redhat-developer/service-binding-operator v1.0.1/go.mod 
h1:CR6QrBvM9WSXnRoUFedg9ZKn+G+95TaLJ5CvNZU0kYY=
+github.com/redhat-developer/service-binding-operator v1.1.0 
h1:L1zAbpmt4Z8NVCzNIeXtufvSguPHTKXlPUjiyTtBRIc=
+github.com/redhat-developer/service-binding-operator v1.1.0/go.mod 
h1:te3jViU9tglVasxf0W4nNCBx2L08FYCx2472U/IX860=
 github.com/rickb777/date v1.13.0 
h1:+8AmwLuY1d/rldzdqvqTEg7107bZ8clW37x4nsdG3Hs=
 github.com/rickb777/date v1.13.0/go.mod 
h1:GZf3LoGnxPWjX+/1TXOuzHefZFDovTyNLHDMd3qH70k=
 github.com/rickb777/plural v1.2.1 
h1:UitRAgR70+yHFt26Tmj/F9dU9aV6UfjGXSbO1DcC9/U=



[GitHub] [camel-k] squakez merged pull request #3370: chore(deps): bump github.com/redhat-developer/service-binding-operator from 1.0.1 to 1.1.0

2022-06-17 Thread GitBox


squakez merged PR #3370:
URL: https://github.com/apache/camel-k/pull/3370


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-quarkus] jamesnetherton commented on issue #3708: Reduce the number of `timer-log` example projects

2022-06-17 Thread GitBox


jamesnetherton commented on issue #3708:
URL: https://github.com/apache/camel-quarkus/issues/3708#issuecomment-1158830893

   @svkcemk do you mind if I take over this task? I'm thinking of adding a new 
example project but I like to reduce the existing number before I do it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] davsclaus commented on pull request #7813: CAMEL-18201 Enhance CamelTestSupport to turn off context stopping

2022-06-17 Thread GitBox


davsclaus commented on PR #7813:
URL: https://github.com/apache/camel/pull/7813#issuecomment-1158829285

   LGTM great work @JiriOndrusek 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel] branch main updated (0a60f9e565e -> 7d3e0924f08)

2022-06-17 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


from 0a60f9e565e CAMEL-18202: fix incorrectly setting the initial delay
 new 2bd3abdfc75 CAMEL-18151: camel-jbang - Export should be a single 
command making it easier to use from ci/cd
 new 7d3e0924f08 CAMEL-18151: camel-jbang - Export read from 
application.properties runtime/gav to use

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../modules/ROOT/pages/camel-jbang.adoc| 24 -
 .../dsl/jbang/core/commands/CamelJBangMain.java|  5 +-
 .../camel/dsl/jbang/core/commands/Export.java  | 63 +++---
 .../{BaseExport.java => ExportBaseCommand.java}| 24 +++--
 .../dsl/jbang/core/commands/ExportCamelMain.java   |  9 +---
 .../dsl/jbang/core/commands/ExportQuarkus.java |  8 +--
 .../dsl/jbang/core/commands/ExportSpringBoot.java  | 13 +
 7 files changed, 94 insertions(+), 52 deletions(-)
 rename 
dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/{BaseExport.java
 => ExportBaseCommand.java} (93%)



[camel] 01/02: CAMEL-18151: camel-jbang - Export should be a single command making it easier to use from ci/cd

2022-06-17 Thread davsclaus
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.git

commit 2bd3abdfc7503772b487a83fcd97034c4d2d28fc
Author: Claus Ibsen 
AuthorDate: Fri Jun 17 14:21:45 2022 +0200

CAMEL-18151: camel-jbang - Export should be a single command making it 
easier to use from ci/cd
---
 .../dsl/jbang/core/commands/CamelJBangMain.java|  5 +--
 .../camel/dsl/jbang/core/commands/Export.java  | 37 ++
 .../{BaseExport.java => ExportBaseCommand.java}| 22 +++--
 .../dsl/jbang/core/commands/ExportCamelMain.java   |  9 +-
 .../dsl/jbang/core/commands/ExportQuarkus.java |  8 +
 .../dsl/jbang/core/commands/ExportSpringBoot.java  | 13 +---
 6 files changed, 55 insertions(+), 39 deletions(-)

diff --git 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/CamelJBangMain.java
 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/CamelJBangMain.java
index 69a880c009a..fe83b9d9725 100644
--- 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/CamelJBangMain.java
+++ 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/CamelJBangMain.java
@@ -40,10 +40,7 @@ public class CamelJBangMain implements Callable {
 .addSubcommand("pipe", new CommandLine(new Pipe(main)))
 .addSubcommand("generate", new CommandLine(new 
CodeGenerator(main))
 .addSubcommand("rest", new CommandLine(new 
CodeRestGenerator(main
-.addSubcommand("export", new CommandLine(new Export(main))
-.addSubcommand("camel-main", new CommandLine(new 
ExportCamelMain(main)))
-.addSubcommand("spring-boot", new CommandLine(new 
ExportSpringBoot(main)))
-.addSubcommand("quarkus", new CommandLine(new 
ExportQuarkus(main;
+.addSubcommand("export", new CommandLine(new Export(main)));
 
 commandLine.getCommandSpec().versionProvider(() -> {
 CamelCatalog catalog = new DefaultCamelCatalog();
diff --git 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Export.java
 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Export.java
index 28d42a4c237..b627ea208e6 100644
--- 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Export.java
+++ 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Export.java
@@ -16,20 +16,45 @@
  */
 package org.apache.camel.dsl.jbang.core.commands;
 
-import picocli.CommandLine;
 import picocli.CommandLine.Command;
 
 @Command(name = "export",
- description = "Export to other runtimes such as Spring Boot or 
Quarkus (use --help to see sub commands)")
-class Export extends CamelCommand {
+ description = "Export to other runtimes such as Spring Boot or 
Quarkus")
+class Export extends ExportBaseCommand {
 
 public Export(CamelJBangMain main) {
 super(main);
 }
 
 @Override
-public Integer call() throws Exception {
-new CommandLine(this).execute("--help");
-return 0;
+protected Integer export() throws Exception {
+if ("spring-boot".equals(runtime)) {
+return export(new ExportSpringBoot(getMain()));
+} else if ("quarkus".equals(runtime)) {
+return export(new ExportQuarkus(getMain()));
+} else if ("camel-main".equals(runtime)) {
+return export(new ExportCamelMain(getMain()));
+} else {
+System.err.println("Unknown runtime: " + runtime);
+return 1;
+}
 }
+
+private Integer export(ExportBaseCommand cmd) throws Exception {
+// copy properties from this to cmd
+cmd.runtime = this.runtime;
+cmd.gav = this.gav;
+cmd.exportDir = this.exportDir;
+cmd.fresh = this.fresh;
+cmd.javaVersion = this.javaVersion;
+cmd.kameletsVersion = this.kameletsVersion;
+cmd.logging = this.logging;
+cmd.loggingLevel = this.loggingLevel;
+cmd.mainClassname = this.mainClassname;
+cmd.quarkusVersion = this.quarkusVersion;
+cmd.springBootVersion = this.springBootVersion;
+// run export
+return cmd.export();
+}
+
 }
diff --git 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/BaseExport.java
 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ExportBaseCommand.java
similarity index 93%
rename from 
dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/BaseExport.java
rename to 

[camel] 02/02: CAMEL-18151: camel-jbang - Export read from application.properties runtime/gav to use

2022-06-17 Thread davsclaus
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.git

commit 7d3e0924f0844b5cb64bd04f622e91658fb896a2
Author: Claus Ibsen 
AuthorDate: Fri Jun 17 14:33:29 2022 +0200

CAMEL-18151: camel-jbang - Export read from application.properties 
runtime/gav to use
---
 .../modules/ROOT/pages/camel-jbang.adoc| 24 ++--
 .../camel/dsl/jbang/core/commands/Export.java  | 26 ++
 .../dsl/jbang/core/commands/ExportBaseCommand.java |  4 ++--
 3 files changed, 40 insertions(+), 14 deletions(-)

diff --git a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc 
b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
index 5d10e16088f..876f4ae3b88 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
@@ -611,7 +611,7 @@ runtimes of Spring Boot, Quarkus or vanilla Camel Main.
 
 === Exporting to Camel Spring Boot
 
-The command `export spring-boot` will export your current Camel JBang file(s) 
to a Maven based
+The command `export --runtime=spring-boot` will export your current Camel 
JBang file(s) to a Maven based
 Spring Boot project with files organized in `src/main/` folder structure.
 
 For example to export to Spring Boot using the Maven groupId _com.foo_ and the 
artifactId _acme_
@@ -619,7 +619,7 @@ and with version _1.0-SNAPSHOT_ you simply execute:
 
 [source,bash]
 
-camel export spring-boot --gav=com.foo:acme:1.0-SNAPSHOT
+camel export --runtime=spring-boot --gav=com.foo:acme:1.0-SNAPSHOT
 
 
 NOTE: This will export to the _current_ directory, meaning that files are 
moved into the needed folder structure.
@@ -628,14 +628,14 @@ To export to another directly (copies the files) you 
execute:
 
 [source,bash]
 
-camel export spring-boot --gav=com.foo:acme:1.0-SNAPSHOT --dir=../myproject
+camel export --runtime=spring-boot --gav=com.foo:acme:1.0-SNAPSHOT 
--dir=../myproject
 
 
-TIP: See the possible options by running: `camel export spring-boot --help` 
for more details.
+TIP: See the possible options by running: `camel export --help` for more 
details.
 
 === Exporting to Camel Quarkus
 
-The command `export quarkus` will export your current Camel JBang file(s) to a 
Maven based
+The command `export --runtime=quarkus` will export your current Camel JBang 
file(s) to a Maven based
 Quarkus project with files organized in `src/main/` folder structure.
 
 For example to export to Quarkus using the Maven groupId _com.foo_ and the 
artifactId _acme_
@@ -643,7 +643,7 @@ and with version _1.0-SNAPSHOT_ you simply execute:
 
 [source,bash]
 
-camel export quarkus --gav=com.foo:acme:1.0-SNAPSHOT
+camel export --runtime=quarkus --gav=com.foo:acme:1.0-SNAPSHOT
 
 
 NOTE: This will export to the _current_ directory, meaning that files are 
moved into the needed folder structure.
@@ -652,14 +652,14 @@ To export to another directly (copies the files) you 
execute:
 
 [source,bash]
 
-camel export quarkus --gav=com.foo:acme:1.0-SNAPSHOT --dir=../myproject
+camel export --runtime=quarkus --gav=com.foo:acme:1.0-SNAPSHOT 
--dir=../myproject
 
 
-TIP: See the possible options by running: `camel export quarkus --help` for 
more details.
+TIP: See the possible options by running: `camel export --help` for more 
details.
 
 === Exporting to Camel Main
 
-The command `export camel-main` will export your current Camel JBang file(s) 
to a Maven based
+The command `export --runtime=camel-main` will export your current Camel JBang 
file(s) to a Maven based
 vanilla Camel Main project with files organized in `src/main/` folder 
structure.
 
 For example to export to Camel Main using the Maven groupId _com.foo_ and the 
artifactId _acme_
@@ -667,7 +667,7 @@ and with version _1.0-SNAPSHOT_ you simply execute:
 
 [source,bash]
 
-camel export camel-main --gav=com.foo:acme:1.0-SNAPSHOT
+camel export --runtime=camel-main --gav=com.foo:acme:1.0-SNAPSHOT
 
 
 NOTE: This will export to the _current_ directory, meaning that files are 
moved into the needed folder structure.
@@ -676,10 +676,10 @@ To export to another directly (copies the files) you 
execute:
 
 [source,bash]
 
-camel export camel-main --gav=com.foo:acme:1.0-SNAPSHOT --dir=../myproject
+camel export --runtime=camel-main --gav=com.foo:acme:1.0-SNAPSHOT 
--dir=../myproject
 
 
-TIP: See the possible options by running: `camel export camel-main --help` for 
more details.
+TIP: See the possible options by running: `camel export --help` for more 
details.
 
 == Troubleshooting
 
diff --git 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Export.java
 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Export.java
index b627ea208e6..0a6ae68b4fb 100644
--- 

[GitHub] [camel] github-actions[bot] commented on pull request #7813: CAMEL-18201 Enhance CamelTestSupport to turn off context stopping

2022-06-17 Thread GitBox


github-actions[bot] commented on PR #7813:
URL: https://github.com/apache/camel/pull/7813#issuecomment-1158815114

   :heavy_check_mark: Finished component verification: 0 component(s) test 
failed out of **1 component(s) tested**


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



  1   2   >