[GitHub] [camel-quarkus] jamesnetherton opened a new issue #757: Jira integration test fails in native mode

2020-02-24 Thread GitBox
jamesnetherton opened a new issue #757: Jira integration test fails in native 
mode
URL: https://github.com/apache/camel-quarkus/issues/757
 
 
   Thought I caught all of the problems but there's an issue at runtime:
   
   ```
   Caused by: java.lang.ClassNotFoundException: 
org.apache.camel.component.jira.JiraConfiguration
at 
org.apache.camel.impl.engine.DefaultClassResolver.resolveMandatoryClass(DefaultClassResolver.java:87)
at 
org.apache.camel.support.PropertyBindingSupport.resolveValue(PropertyBindingSupport.java:570)
at 
org.apache.camel.support.PropertyBindingSupport.doBindProperties(PropertyBindingSupport.java:496)
at 
org.apache.camel.support.PropertyBindingSupport.access$000(PropertyBindingSupport.java:62)
at 
org.apache.camel.support.PropertyBindingSupport$Builder.bind(PropertyBindingSupport.java:250)
at 
org.apache.camel.main.BaseMainSupport.setPropertiesOnTarget(BaseMainSupport.java:147)
   
   ```


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [camel-website] zregvart commented on issue #81: chore: add search

2020-02-24 Thread GitBox
zregvart commented on issue #81: chore: add search
URL: https://github.com/apache/camel-website/pull/81#issuecomment-590729694
 
 
   @Nayananga awesome :+1: this is just the UI for the search, we still need to 
combine this with the work you did in #74 to build the index. And this is just 
a start of the UI.


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [camel-quarkus] bframke commented on issue #743: Kafka Component Writing Messages with ProducerTemplate

2020-02-24 Thread GitBox
bframke commented on issue #743: Kafka Component Writing Messages with 
ProducerTemplate
URL: https://github.com/apache/camel-quarkus/issues/743#issuecomment-590728659
 
 
   I try to do that.


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [camel-quarkus] lburgazzoli commented on issue #743: Kafka Component Writing Messages with ProducerTemplate

2020-02-24 Thread GitBox
lburgazzoli commented on issue #743: Kafka Component Writing Messages with 
ProducerTemplate
URL: https://github.com/apache/camel-quarkus/issues/743#issuecomment-590727315
 
 
   @bframke would it be possible to isolate the issue in a pure java/camel 
project ?
   It does not look like a camel-quarkus specific thing to me 


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[camel] branch master updated: Regen

2020-02-24 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

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


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

commit 1149533754d9fde4235f96faf278bb0dbdc65b4e
Author: Claus Ibsen 
AuthorDate: Tue Feb 25 08:21:07 2020 +0100

Regen
---
 .../org/apache/camel/component/pulsar/PulsarEndpointConfigurer.java   | 4 ++--
 .../generated/resources/org/apache/camel/component/pulsar/pulsar.json | 2 +-
 components/camel-pulsar/src/main/docs/pulsar-component.adoc   | 2 +-
 docs/components/modules/ROOT/pages/pulsar-component.adoc  | 4 +++-
 4 files changed, 7 insertions(+), 5 deletions(-)

diff --git 
a/components/camel-pulsar/src/generated/java/org/apache/camel/component/pulsar/PulsarEndpointConfigurer.java
 
b/components/camel-pulsar/src/generated/java/org/apache/camel/component/pulsar/PulsarEndpointConfigurer.java
index 3f6dd0c..d4f21eb 100644
--- 
a/components/camel-pulsar/src/generated/java/org/apache/camel/component/pulsar/PulsarEndpointConfigurer.java
+++ 
b/components/camel-pulsar/src/generated/java/org/apache/camel/component/pulsar/PulsarEndpointConfigurer.java
@@ -29,12 +29,12 @@ public class PulsarEndpointConfigurer extends 
PropertyConfigurerSupport implemen
 case "consumerNamePrefix": 
target.getPulsarConfiguration().setConsumerNamePrefix(property(camelContext, 
java.lang.String.class, value)); return true;
 case "consumerqueuesize":
 case "consumerQueueSize": 
target.getPulsarConfiguration().setConsumerQueueSize(property(camelContext, 
int.class, value)); return true;
-case "negativeackredeliverydelaymicros":
-case "negativeAckRedeliveryDelayMicros": 
target.getPulsarConfiguration().setNegativeAckRedeliveryDelayMicros(property(camelContext,
 long.class, value)); return true;
 case "deadlettertopic":
 case "deadLetterTopic": 
target.getPulsarConfiguration().setDeadLetterTopic(property(camelContext, 
java.lang.String.class, value)); return true;
 case "maxredelivercount":
 case "maxRedeliverCount": 
target.getPulsarConfiguration().setMaxRedeliverCount(property(camelContext, 
java.lang.Integer.class, value)); return true;
+case "negativeackredeliverydelaymicros":
+case "negativeAckRedeliveryDelayMicros": 
target.getPulsarConfiguration().setNegativeAckRedeliveryDelayMicros(property(camelContext,
 long.class, value)); return true;
 case "numberofconsumers":
 case "numberOfConsumers": 
target.getPulsarConfiguration().setNumberOfConsumers(property(camelContext, 
int.class, value)); return true;
 case "subscriptioninitialposition":
diff --git 
a/components/camel-pulsar/src/generated/resources/org/apache/camel/component/pulsar/pulsar.json
 
b/components/camel-pulsar/src/generated/resources/org/apache/camel/component/pulsar/pulsar.json
index 04f8db9..13b23cf 100644
--- 
a/components/camel-pulsar/src/generated/resources/org/apache/camel/component/pulsar/pulsar.json
+++ 
b/components/camel-pulsar/src/generated/resources/org/apache/camel/component/pulsar/pulsar.json
@@ -39,9 +39,9 @@
 "consumerName": { "kind": "parameter", "displayName": "Consumer Name", 
"group": "consumer", "label": "consumer", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "secret": false, 
"defaultValue": "sole-consumer", "configurationClass": 
"org.apache.camel.component.pulsar.configuration.PulsarConfiguration", 
"configurationField": "pulsarConfiguration", "description": "Name of the 
consumer when subscription is EXCLUSIVE" },
 "consumerNamePrefix": { "kind": "parameter", "displayName": "Consumer Name 
Prefix", "group": "consumer", "label": "consumer", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "secret": false, 
"defaultValue": "cons", "configurationClass": 
"org.apache.camel.component.pulsar.configuration.PulsarConfiguration", 
"configurationField": "pulsarConfiguration", "description": "Prefix to add to 
consumer names when a SHARED or FAILOVER subscription is used" },
 "consumerQueueSize": { "kind": "parameter", "displayName": "Consumer Queue 
Size", "group": "consumer", "label": "consumer", "required": false, "type": 
"integer", "javaType": "int", "deprecated": false, "secret": false, 
"defaultValue": "10", "configurationClass": 
"org.apache.camel.component.pulsar.configuration.PulsarConfiguration", 
"configurationField": "pulsarConfiguration", "description": "Size of the 
consumer queue - defaults to 10" },
-"negativeAckRedeliveryDelayMicros": { "kind": "parameter", "displayName": 
"Negative Ack Redelivery Delay Micros", "group": "consumer", "label": 
"consumer", "required": false, "type": "integer", "javaType": "long", 
"deprecated": false, "secret": false, "defaultValue": "6000", 
"configurationClass": 

[camel] branch master updated: CAMEL-14608: add support for dead letter policies to camel-pulsar (#3595)

2020-02-24 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 60fb3bf  CAMEL-14608: add support for dead letter policies to 
camel-pulsar (#3595)
60fb3bf is described below

commit 60fb3bfd056e7aab4545b122ae1bc4034ccc9a9c
Author: Connor McAuliffe 
AuthorDate: Tue Feb 25 02:15:03 2020 -0500

CAMEL-14608: add support for dead letter policies to camel-pulsar (#3595)

* CAMEL-14608: add support for dead letter policies to camel-pulsar

* CAMEL-14608: address documentation issues
---
 .../component/pulsar/PulsarEndpointConfigurer.java |   4 +
 .../org/apache/camel/component/pulsar/pulsar.json  |   2 +
 .../src/main/docs/pulsar-component.adoc|   4 +-
 .../pulsar/configuration/PulsarConfiguration.java  |  19 +++
 .../consumers/CommonCreationStrategyImpl.java  |  15 +-
 .../pulsar/PulsarConsumerDeadLetterPolicyTest.java | 169 +
 6 files changed, 211 insertions(+), 2 deletions(-)

diff --git 
a/components/camel-pulsar/src/generated/java/org/apache/camel/component/pulsar/PulsarEndpointConfigurer.java
 
b/components/camel-pulsar/src/generated/java/org/apache/camel/component/pulsar/PulsarEndpointConfigurer.java
index 90e004b..3f6dd0c 100644
--- 
a/components/camel-pulsar/src/generated/java/org/apache/camel/component/pulsar/PulsarEndpointConfigurer.java
+++ 
b/components/camel-pulsar/src/generated/java/org/apache/camel/component/pulsar/PulsarEndpointConfigurer.java
@@ -31,6 +31,10 @@ public class PulsarEndpointConfigurer extends 
PropertyConfigurerSupport implemen
 case "consumerQueueSize": 
target.getPulsarConfiguration().setConsumerQueueSize(property(camelContext, 
int.class, value)); return true;
 case "negativeackredeliverydelaymicros":
 case "negativeAckRedeliveryDelayMicros": 
target.getPulsarConfiguration().setNegativeAckRedeliveryDelayMicros(property(camelContext,
 long.class, value)); return true;
+case "deadlettertopic":
+case "deadLetterTopic": 
target.getPulsarConfiguration().setDeadLetterTopic(property(camelContext, 
java.lang.String.class, value)); return true;
+case "maxredelivercount":
+case "maxRedeliverCount": 
target.getPulsarConfiguration().setMaxRedeliverCount(property(camelContext, 
java.lang.Integer.class, value)); return true;
 case "numberofconsumers":
 case "numberOfConsumers": 
target.getPulsarConfiguration().setNumberOfConsumers(property(camelContext, 
int.class, value)); return true;
 case "subscriptioninitialposition":
diff --git 
a/components/camel-pulsar/src/generated/resources/org/apache/camel/component/pulsar/pulsar.json
 
b/components/camel-pulsar/src/generated/resources/org/apache/camel/component/pulsar/pulsar.json
index 029a1c2..04f8db9 100644
--- 
a/components/camel-pulsar/src/generated/resources/org/apache/camel/component/pulsar/pulsar.json
+++ 
b/components/camel-pulsar/src/generated/resources/org/apache/camel/component/pulsar/pulsar.json
@@ -40,6 +40,8 @@
 "consumerNamePrefix": { "kind": "parameter", "displayName": "Consumer Name 
Prefix", "group": "consumer", "label": "consumer", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "secret": false, 
"defaultValue": "cons", "configurationClass": 
"org.apache.camel.component.pulsar.configuration.PulsarConfiguration", 
"configurationField": "pulsarConfiguration", "description": "Prefix to add to 
consumer names when a SHARED or FAILOVER subscription is used" },
 "consumerQueueSize": { "kind": "parameter", "displayName": "Consumer Queue 
Size", "group": "consumer", "label": "consumer", "required": false, "type": 
"integer", "javaType": "int", "deprecated": false, "secret": false, 
"defaultValue": "10", "configurationClass": 
"org.apache.camel.component.pulsar.configuration.PulsarConfiguration", 
"configurationField": "pulsarConfiguration", "description": "Size of the 
consumer queue - defaults to 10" },
 "negativeAckRedeliveryDelayMicros": { "kind": "parameter", "displayName": 
"Negative Ack Redelivery Delay Micros", "group": "consumer", "label": 
"consumer", "required": false, "type": "integer", "javaType": "long", 
"deprecated": false, "secret": false, "defaultValue": "6000", 
"configurationClass": 
"org.apache.camel.component.pulsar.configuration.PulsarConfiguration", 
"configurationField": "pulsarConfiguration", "description": "Set the negative 
acknowledgement delay" },
+"deadLetterTopic": { "kind": "parameter", "displayName": "Dead Letter 
Topic", "group": "consumer", "label": "consumer", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.pulsar.configuration.PulsarConfiguration", 
"configurationField": "pulsarConfiguration", "description": 

[GitHub] [camel-quarkus] bframke commented on issue #743: Kafka Component Writing Messages with ProducerTemplate

2020-02-24 Thread GitBox
bframke commented on issue #743: Kafka Component Writing Messages with 
ProducerTemplate
URL: https://github.com/apache/camel-quarkus/issues/743#issuecomment-590717305
 
 
   Small Update: Our Project is combined with Quarkus and the project build as 
a Native Image does not have this Problem. As a Jar this error always happens.


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


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

2020-02-24 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git


The following commit(s) were added to refs/heads/master by this push:
 new 34a4256  Regen
34a4256 is described below

commit 34a4256dedbdeffa95ef841ab33fc4c07030cc22
Author: Claus Ibsen 
AuthorDate: Tue Feb 25 08:01:59 2020 +0100

Regen
---
 components-starter/README.adoc| 5 -
 docs/modules/ROOT/pages/list.adoc | 5 -
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/components-starter/README.adoc b/components-starter/README.adoc
index 17f266d..f328da9 100644
--- a/components-starter/README.adoc
+++ b/components-starter/README.adoc
@@ -5,7 +5,7 @@ Apache Camel Spring Boot supports the following Camel artifacts 
as Spring Boot S
 == Camel Components
 
 // components: START
-Number of Camel components: 323 in 257 JAR artifacts (1 deprecated)
+Number of Camel components: 324 in 258 JAR artifacts (1 deprecated)
 
 [width="100%",cols="4,1,5",options="header"]
 |===
@@ -137,6 +137,9 @@ Number of Camel components: 323 in 257 JAR artifacts (1 
deprecated)
 | 
link:https://camel.apache.org/components/latest/aws-lambda-component.html[AWS 
Lambda] (camel-aws-lambda-starter) +
 `aws-lambda:function` | 2.20 | The aws-lambda is used for managing and 
invoking functions from Amazon Lambda.
 
+| 
link:https://camel.apache.org/components/latest/aws2-lambda-component.html[AWS 
Lambda] (camel-aws2-lambda-starter) +
+`aws2-lambda:function` | 3.2 | The aws2-lambda is used for managing and 
invoking functions from Amazon Lambda.
+
 | link:https://camel.apache.org/components/latest/aws-mq-component.html[AWS 
MQ] (camel-aws-mq-starter) +
 `aws-mq:label` | 2.21 | The aws-mq is used for managing Amazon MQ instances.
 
diff --git a/docs/modules/ROOT/pages/list.adoc 
b/docs/modules/ROOT/pages/list.adoc
index 17f266d..f328da9 100644
--- a/docs/modules/ROOT/pages/list.adoc
+++ b/docs/modules/ROOT/pages/list.adoc
@@ -5,7 +5,7 @@ Apache Camel Spring Boot supports the following Camel artifacts 
as Spring Boot S
 == Camel Components
 
 // components: START
-Number of Camel components: 323 in 257 JAR artifacts (1 deprecated)
+Number of Camel components: 324 in 258 JAR artifacts (1 deprecated)
 
 [width="100%",cols="4,1,5",options="header"]
 |===
@@ -137,6 +137,9 @@ Number of Camel components: 323 in 257 JAR artifacts (1 
deprecated)
 | 
link:https://camel.apache.org/components/latest/aws-lambda-component.html[AWS 
Lambda] (camel-aws-lambda-starter) +
 `aws-lambda:function` | 2.20 | The aws-lambda is used for managing and 
invoking functions from Amazon Lambda.
 
+| 
link:https://camel.apache.org/components/latest/aws2-lambda-component.html[AWS 
Lambda] (camel-aws2-lambda-starter) +
+`aws2-lambda:function` | 3.2 | The aws2-lambda is used for managing and 
invoking functions from Amazon Lambda.
+
 | link:https://camel.apache.org/components/latest/aws-mq-component.html[AWS 
MQ] (camel-aws-mq-starter) +
 `aws-mq:label` | 2.21 | The aws-mq is used for managing Amazon MQ instances.
 



[camel] branch master updated: Regen

2020-02-24 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 786302e  Regen
786302e is described below

commit 786302e3e4639b1f7748cefd3373ab84d4dd60da
Author: Claus Ibsen 
AuthorDate: Tue Feb 25 07:54:07 2020 +0100

Regen
---
 docs/components/modules/ROOT/pages/pulsar-component.adoc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/docs/components/modules/ROOT/pages/pulsar-component.adoc 
b/docs/components/modules/ROOT/pages/pulsar-component.adoc
index 9c0f474..33f179f 100644
--- a/docs/components/modules/ROOT/pages/pulsar-component.adoc
+++ b/docs/components/modules/ROOT/pages/pulsar-component.adoc
@@ -75,7 +75,7 @@ with the following path and query parameters:
 |===
 
 
-=== Query Parameters (28 parameters):
+=== Query Parameters (29 parameters):
 
 
 [width="100%",cols="2,5,^1,2",options="header"]
@@ -88,6 +88,7 @@ with the following path and query parameters:
 | *consumerName* (consumer) | Name of the consumer when subscription is 
EXCLUSIVE | sole-consumer | String
 | *consumerNamePrefix* (consumer) | Prefix to add to consumer names when a 
SHARED or FAILOVER subscription is used | cons | String
 | *consumerQueueSize* (consumer) | Size of the consumer queue - defaults to 10 
| 10 | int
+| *negativeAckRedeliveryDelay Micros* (consumer) | Set the negative 
acknowledgement delay | 6000 | long
 | *numberOfConsumers* (consumer) | Number of consumers - defaults to 1 | 1 | 
int
 | *subscriptionInitialPosition* (consumer) | Control the initial position in 
the topic of a newly created subscription. Default is latest message. The value 
can be one of: EARLIEST, LATEST | LATEST | SubscriptionInitialPosition
 | *subscriptionName* (consumer) | Name of the subscription to use | subs | 
String



[GitHub] [camel-quarkus] bframke commented on issue #743: Kafka Component Writing Messages with ProducerTemplate

2020-02-24 Thread GitBox
bframke commented on issue #743: Kafka Component Writing Messages with 
ProducerTemplate
URL: https://github.com/apache/camel-quarkus/issues/743#issuecomment-590700122
 
 
   Changed it to Injection, but the same problem still appears. Just trying to 
send 200 Messages and it gets stuck on the 46th message.


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[camel] branch master updated: CAMEL-14612 - Change version of networknt from 1.0.29 to 1.0.31 (#3598)

2020-02-24 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 5448e15  CAMEL-14612 - Change version of networknt from 1.0.29 to 
1.0.31 (#3598)
5448e15 is described below

commit 5448e15347a00a76ebb04b6d74da5877fa77c62d
Author: Djordje Bajic 
AuthorDate: Tue Feb 25 05:12:36 2020 +0100

CAMEL-14612 - Change version of networknt from 1.0.29 to 1.0.31 (#3598)
---
 parent/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/parent/pom.xml b/parent/pom.xml
index 8e248cd..e16835d 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -484,7 +484,7 @@
 4.1.45.Final
 2.0.3
 4.0.56.Final
-
1.0.29
+
1.0.31
 4.13.1
 3.3.0
 0.5_1



[camel-spring-boot] 01/01: Merge pull request #15 from apache/automatic-periodic-sync

2020-02-24 Thread acosentino
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git

commit 15f97977712939f4b4da76531b2de2b966786876
Merge: c5c7b337b 600a922
Author: Andrea Cosentino 
AuthorDate: Tue Feb 25 03:59:03 2020 +0100

Merge pull request #15 from apache/automatic-periodic-sync

[Github Actions] Periodic Sync Camel Spring Boot Master Branch

 .../apache/camel/springboot/catalog/components/pulsar.json   |  1 +
 components-starter/camel-corda-starter/pom.xml   | 12 
 tooling/camel-spring-boot-dependencies/pom.xml   |  8 
 3 files changed, 5 insertions(+), 16 deletions(-)



[GitHub] [camel-spring-boot] oscerd merged pull request #15: [Github Actions] Periodic Sync Camel Spring Boot Master Branch

2020-02-24 Thread GitBox
oscerd merged pull request #15: [Github Actions] Periodic Sync Camel Spring 
Boot Master Branch
URL: https://github.com/apache/camel-spring-boot/pull/15
 
 
   


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[camel-spring-boot] branch master updated (c5c7b337b -> 15f9797)

2020-02-24 Thread acosentino
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git.


from c5c7b337b Added a Camel-AWS2-Lambda starter test
 add 600a922  [create-pull-request] automated change
 new 15f9797  Merge pull request #15 from apache/automatic-periodic-sync

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.


Summary of changes:
 .../apache/camel/springboot/catalog/components/pulsar.json   |  1 +
 components-starter/camel-corda-starter/pom.xml   | 12 
 tooling/camel-spring-boot-dependencies/pom.xml   |  8 
 3 files changed, 5 insertions(+), 16 deletions(-)



[GitHub] [camel-website] Nayananga commented on issue #81: chore: add search

2020-02-24 Thread GitBox
Nayananga commented on issue #81: chore: add search
URL: https://github.com/apache/camel-website/pull/81#issuecomment-590650159
 
 
   Hello Mr Zoran, may I take a look over it. I couldnt complete this task
   back on gsoc2019.
   
   Thanks.
   
   On Mon, 24 Feb 2020, 14:36 Zoran Regvart,  wrote:
   
   > Algolia recently released v4 of the client
   > , it's much
   > lighter than v3, we should look into using it here.
   >
   > —
   > You are receiving this because you were mentioned.
   > Reply to this email directly, view it on GitHub
   > 
,
   > or unsubscribe
   > 

   > .
   >
   


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[camel-spring-boot] branch automatic-periodic-sync updated (d5a021b -> 600a922)

2020-02-24 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-spring-boot.git.


from d5a021b  [create-pull-request] automated change
 add 64ff0be  Merge pull request #13 from apache/automatic-periodic-sync
 add 628e9bd  Remove not used maven profiles in camel-spring-boot from 
release argument
 add 57bcb17  Fix camel-jetty not adding camel-apt as dependency
 add 03b128e  Fix camel-jaxp-starter
 add 71a80e1  Fix camel-jaxp-starter to rename
 add a13a81b  Fix camel-jetty-starter
 add cfd1d15  Fixed SB Generator after project moved to camel-spring-boot
 add b4a2965  Fixed camel-spring-cloud-consul-starter
 add cac7150  Fixed camel-spring-cloud-* starters
 add 0a4e394  Fix camel-jaxp-starter to rename
 add 55cf89a  Fixed camel-spring-cloud-* starters
 add 4b6ed1a  Regen
 add d6295f5  Snakeyaml
 add d6f4637  Regen
 add e7b9205  Added a camel-aws2-lambda starter
 add c5c7b337b Added a Camel-AWS2-Lambda starter test
 add 600a922  [create-pull-request] automated change

No new revisions were added by this update.

Summary of changes:
 .../camel/springboot/catalog/components.properties |   1 +
 .../{aws-lambda.json => aws2-lambda.json}  |  30 +--
 .../springboot/catalog/components/pulsar.json  |   1 +
 .../springboot/catalog/languages/xtokenize.json|   2 +-
 components-starter/README.adoc |   2 +-
 .../pom.xml|   4 +-
 .../src/main/docs/aws2-lambda-starter.adoc |  44 +
 .../Lambda2ComponentAutoConfiguration.java}|  32 ++--
 .../springboot/Lambda2ComponentConfiguration.java} |  47 ++---
 .../src/main/resources/META-INF/LICENSE.txt|   0
 .../src/main/resources/META-INF/NOTICE.txt |   0
 .../src/main/resources/META-INF/spring.factories   |   2 +-
 .../src/main/resources/META-INF/spring.provides|   2 +-
 .../src/main/resources/META-INF/LICENSE.txt| 203 -
 .../src/main/resources/META-INF/NOTICE.txt |  11 --
 .../src/main/resources/META-INF/spring.provides|  17 --
 components-starter/camel-jetty-starter/pom.xml |   5 -
 .../camel-spring-cloud-consul-starter/pom.xml  |  16 +-
 .../camel-spring-cloud-netflix-starter/pom.xml |  16 +-
 .../camel-spring-cloud-starter/pom.xml |  16 +-
 .../camel-spring-cloud-zookeeper-starter/pom.xml   |  16 +-
 .../pom.xml|   6 +-
 .../src/main/docs/xml-jaxp-starter.adoc}   |   7 +-
 .../XMLTokenizeLanguageAutoConfiguration.java  |   0
 .../XMLTokenizeLanguageConfiguration.java  |   0
 .../src/main/resources/META-INF/LICENSE.txt|   0
 .../src/main/resources/META-INF/NOTICE.txt |   0
 .../src/main/resources/META-INF/spring.factories   |   0
 .../src/main/resources/META-INF/spring.provides|   2 +-
 components-starter/pom.xml |   3 +-
 docs/modules/ROOT/pages/aws2-lambda-starter.adoc   |  44 +
 docs/modules/ROOT/pages/list.adoc  |   2 +-
 .../{jaxp-starter.adoc => xml-jaxp-starter.adoc}   |   7 +-
 pom.xml|   2 +-
 ...hatscriptTest.java => CamelAws2LambdaTest.java} |   4 +-
 .../pom.xml|   1 +
 tooling/camel-spring-boot-dependencies/pom.xml |  23 ++-
 .../maven/AbstractSpringBootGenerator.java |  11 +-
 .../spring-boot-fix-dependencies.properties|   3 -
 39 files changed, 201 insertions(+), 381 deletions(-)
 copy 
catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/{aws-lambda.json
 => aws2-lambda.json} (69%)
 copy components-starter/{camel-aws2-cw-starter => 
camel-aws2-lambda-starter}/pom.xml (95%)
 create mode 100644 
components-starter/camel-aws2-lambda-starter/src/main/docs/aws2-lambda-starter.adoc
 copy 
components-starter/{camel-aws-kinesis-starter/src/main/java/org/apache/camel/component/aws/kinesis/springboot/KinesisComponentAutoConfiguration.java
 => 
camel-aws2-lambda-starter/src/main/java/org/apache/camel/component/aws2/lambda/springboot/Lambda2ComponentAutoConfiguration.java}
 (84%)
 copy 
components-starter/{camel-aws-lambda-starter/src/main/java/org/apache/camel/component/aws/lambda/springboot/LambdaComponentConfiguration.java
 => 
camel-aws2-lambda-starter/src/main/java/org/apache/camel/component/aws2/lambda/springboot/Lambda2ComponentConfiguration.java}
 (79%)
 copy {tooling/camel-spring-boot-docs-maven-plugin => 
components-starter/camel-aws2-lambda-starter}/src/main/resources/META-INF/LICENSE.txt
 (100%)
 copy {tooling/camel-spring-boot-docs-maven-plugin => 
components-starter/camel-aws2-lambda-starter}/src/main/resources/META-INF/NOTICE.txt
 (100%)
 copy components-starter/{camel-scheduler-starter => 

[GitHub] [camel-spring-boot] github-actions[bot] opened a new pull request #15: [Github Actions] Periodic Sync Camel Spring Boot Master Branch

2020-02-24 Thread GitBox
github-actions[bot] opened a new pull request #15: [Github Actions] Periodic 
Sync Camel Spring Boot Master Branch
URL: https://github.com/apache/camel-spring-boot/pull/15
 
 
   Periodic Sync of Camel Spring Boot Master Branch with main Camel Master.
   see 
https://github.com/apache/camel-spring-boot/blob/master/.github/workflows/automatic-sync-master.yml


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[camel] branch master updated: Upgrade PDFBox to version 2.0.19

2020-02-24 Thread pascalschumacher
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 2e52f32  Upgrade PDFBox to version 2.0.19
2e52f32 is described below

commit 2e52f32d8fa25bba553154abd64ddd70eb17aae8
Author: Pascal Schumacher 
AuthorDate: Mon Feb 24 21:18:56 2020 +0100

Upgrade PDFBox to version 2.0.19
---
 parent/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/parent/pom.xml b/parent/pom.xml
index d4bb1bd..8e248cd 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -519,7 +519,7 @@
 4.13.1
 1.3.2
 1.11.2
-2.0.18
+2.0.19
 0.17.0
 42.2.6
 0.8.3



[GitHub] [camel-quarkus] davsclaus commented on issue #756: Cannot build examples/timer-log in native mode

2020-02-24 Thread GitBox
davsclaus commented on issue #756: Cannot build examples/timer-log in native 
mode
URL: https://github.com/apache/camel-quarkus/issues/756#issuecomment-590497921
 
 
   Adding `camel-quarkus-core-xml` makes it work, but would be good to get it 
to run without as we are not in need of xml


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [camel-k] nicolaferraro commented on issue #1273: Release 1.0.0-RC2

2020-02-24 Thread GitBox
nicolaferraro commented on issue #1273: Release 1.0.0-RC2
URL: https://github.com/apache/camel-k/issues/1273#issuecomment-590474155
 
 
   ## New Features
   
   - Property files can now be linked to the integration without manually 
creating an external configmap 
([#1244](https://github.com/apache/camel-k/pull/1244), 
[@nicolaferraro](https://github.com/nicolaferraro))
   - Periodic integrations are automatically translated into Kubernetes 
CronJobs ([#1197](https://github.com/apache/camel-k/pull/1197), 
[@nicolaferraro](https://github.com/nicolaferraro))
   - Camel K 1.0.0-RC2 will be also available for install via Helm 
([#1287](https://github.com/apache/camel-k/pull/1287), 
[@nicolaferraro](https://github.com/nicolaferraro))
   - A kamel init command has been added to quickly scaffold integration files 
(e.g. kamel init Example.java) 
([#1219](https://github.com/apache/camel-k/pull/1219), 
[@nicolaferraro](https://github.com/nicolaferraro))
   - feat(jolokia): Support auto-configuration for OpenShift 4
 feat(jolokia): Automatically adds the camel-management dependency 
([#1193](https://github.com/apache/camel-k/pull/1193), 
[@astefanutti](https://github.com/astefanutti))
   - Camel master component is automatically configured to do leader election 
using Kubernetes resources 
([#1274](https://github.com/apache/camel-k/pull/1274), 
[@nicolaferraro](https://github.com/nicolaferraro))
   - feat: Support any Java base images 
([#1215](https://github.com/apache/camel-k/pull/1215), 
[@astefanutti](https://github.com/astefanutti))
   - feat(build): Buildah support 
([#1259](https://github.com/apache/camel-k/pull/1259), 
[@astefanutti](https://github.com/astefanutti))
   - Kubernetes events are generated to track the status of an integration 
([#1228](https://github.com/apache/camel-k/pull/1228), 
[@nicolaferraro](https://github.com/nicolaferraro))
   - The kamel install and run commands provide a --save flag to store the 
command line parameters to the default configuration file 
([#1217](https://github.com/apache/camel-k/pull/1217), 
[@nicolaferraro](https://github.com/nicolaferraro))
   
   ## Bug Fixes
   
   - Some commands like `kamel version` threw an error if executed without 
connection to a cluster ([#1241](https://github.com/apache/camel-k/pull/1241), 
[@nicolaferraro](https://github.com/nicolaferraro))
   - Fixed x509 certificate errors for Knative serving services on OpenShift 
([#1269](https://github.com/apache/camel-k/pull/1269), 
[@nicolaferraro](https://github.com/nicolaferraro))
   
   
   
   ## Other Notable Changes
   
   - feat(trait): Unified JVM trait 
([#1226](https://github.com/apache/camel-k/pull/1226), 
[@astefanutti](https://github.com/astefanutti))
   - chore(dev): Upgrade Operator SDK to version 0.15.0 
([#1224](https://github.com/apache/camel-k/pull/1224), 
[@astefanutti](https://github.com/astefanutti))
   - Operator is installed via OLM (Operator Lifecycle Manager) when available. 
([#1260](https://github.com/apache/camel-k/pull/1260), 
[@nicolaferraro](https://github.com/nicolaferraro))
   - Code rebased on Knative 0.12.x 
([#1271](https://github.com/apache/camel-k/pull/1271), 
[@nicolaferraro](https://github.com/nicolaferraro))
   - chore(build): Upgrade Kaniko to version 0.17.1 
([#1253](https://github.com/apache/camel-k/pull/1253), 
[@astefanutti](https://github.com/astefanutti))
   - fix(install): Check permission to create OpenShift ConsoleCLIDownload 
resource ([#1248](https://github.com/apache/camel-k/pull/1248), 
[@astefanutti](https://github.com/astefanutti))
   - fix(dev): Use go-homedir package instead of os/user to retrieve user home 
directory ([#1211](https://github.com/apache/camel-k/pull/1211), 
[@astefanutti](https://github.com/astefanutti))
   - fix(jolokia): Order consistently Jolokia agent options when encoded as 
environment variable ([#1198](https://github.com/apache/camel-k/pull/1198), 
[@astefanutti](https://github.com/astefanutti))
   
   
   


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [camel-quarkus] davsclaus commented on issue #756: Cannot build examples/timer-log in native mode

2020-02-24 Thread GitBox
davsclaus commented on issue #756: Cannot build examples/timer-log in native 
mode
URL: https://github.com/apache/camel-quarkus/issues/756#issuecomment-590472495
 
 
   Looks like some REST stuff is pulling in xml bits


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [camel-quarkus] davsclaus opened a new issue #756: Cannot build examples/timer-log in native mode

2020-02-24 Thread GitBox
davsclaus opened a new issue #756: Cannot build examples/timer-log in native 
mode
URL: https://github.com/apache/camel-quarkus/issues/756
 
 
   ❯ mvn clean package -Pnative
   [INFO] Scanning for projects...
   [INFO]
   [INFO] -< org.apache.camel.quarkus:camel-quarkus-examples-timer-log 
>--
   [INFO] Building Camel Quarkus :: Examples :: Timer Log 1.1.0-SNAPSHOT
   [INFO] [ jar 
]-
   [INFO]
   [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ 
camel-quarkus-examples-timer-log ---
   [INFO] Deleting 
/Users/davsclaus/workspace/camel-quarkus/examples/timer-log/target
   [INFO]
   [INFO] --- directory-maven-plugin:0.3.1:highest-basedir (directories) @ 
camel-quarkus-examples-timer-log ---
   [INFO] Highest basedir set to: /Users/davsclaus/workspace/camel-quarkus
   [INFO]
   [INFO] --- maven-enforcer-plugin:1.4.1:enforce 
(camel-quarkus-enforcer-rules) @ camel-quarkus-examples-timer-log ---
   [INFO]
   [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ 
camel-quarkus-examples-timer-log ---
   [INFO]
   [INFO] --- groovy-maven-plugin:2.1.1:execute (sanity-checks) @ 
camel-quarkus-examples-timer-log ---
   WARNING: An illegal reflective access operation has occurred
   WARNING: Illegal reflective access by 
org.codehaus.groovy.vmplugin.v7.Java7$1 
(file:/Users/davsclaus/.m2/repository/org/codehaus/groovy/groovy/2.5.8/groovy-2.5.8.jar)
 to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int)
   WARNING: Please consider reporting this to the maintainers of 
org.codehaus.groovy.vmplugin.v7.Java7$1
   WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
   WARNING: All illegal access operations will be denied in a future release
   [INFO]
   [INFO] --- formatter-maven-plugin:2.11.0:format (format) @ 
camel-quarkus-examples-timer-log ---
   [INFO] Using 'UTF-8' encoding to format source files.
   [INFO] Number of files to be formatted: 1
   [INFO] Successfully formatted:  0 file(s)
   [INFO] Fail to format:  0 file(s)
   [INFO] Skipped: 1 file(s)
   [INFO] Read only skipped:   0 file(s)
   [INFO] Approximate time taken:  0s
   [INFO]
   [INFO] --- impsort-maven-plugin:1.3.2:sort (sort-imports) @ 
camel-quarkus-examples-timer-log ---
   [INFO]  Total Files Processed: 1 in 00:00.203
   [INFO] Already Sorted: 1
   [INFO] Needed Sorting: 0
   [INFO]
   [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ 
camel-quarkus-examples-timer-log ---
   [INFO] Using 'UTF-8' encoding to copy filtered resources.
   [INFO] Copying 1 resource
   [INFO]
   [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ 
camel-quarkus-examples-timer-log ---
   [INFO] Changes detected - recompiling the module!
   [INFO] Compiling 1 source file to 
/Users/davsclaus/workspace/camel-quarkus/examples/timer-log/target/classes
   [INFO]
   [INFO] --- maven-resources-plugin:3.1.0:resources (copy-generated-resources) 
@ camel-quarkus-examples-timer-log ---
   [INFO] Using 'UTF-8' encoding to copy filtered resources.
   [INFO] Copying 2 resources
   [INFO]
   [INFO] --- maven-resources-plugin:3.1.0:testResources 
(default-testResources) @ camel-quarkus-examples-timer-log ---
   [INFO] Using 'UTF-8' encoding to copy filtered resources.
   [INFO] skip non existing resourceDirectory 
/Users/davsclaus/workspace/camel-quarkus/examples/timer-log/src/test/resources
   [INFO]
   [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ 
camel-quarkus-examples-timer-log ---
   [INFO] No sources to compile
   [INFO]
   [INFO] --- maven-surefire-plugin:3.0.0-M4:test (default-test) @ 
camel-quarkus-examples-timer-log ---
   [INFO] No tests to run.
   [INFO]
   [INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ 
camel-quarkus-examples-timer-log ---
   [INFO] Building jar: 
/Users/davsclaus/workspace/camel-quarkus/examples/timer-log/target/camel-quarkus-examples-timer-log-1.1.0-SNAPSHOT.jar
   [INFO]
   [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ 
camel-quarkus-examples-timer-log ---
   [INFO] Skipping because packaging 'jar' is not pom.
   [INFO]
   [INFO] --- quarkus-maven-plugin:1.3.0.Alpha2:build (build) @ 
camel-quarkus-examples-timer-log ---
   [INFO] [org.jboss.threads] JBoss Threads version 3.0.1.Final
   [INFO] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Building native 
image source jar: 
/Users/davsclaus/workspace/camel-quarkus/examples/timer-log/target/camel-quarkus-examples-timer-log-1.1.0-SNAPSHOT-native-image-source-jar/camel-quarkus-examples-timer-log-1.1.0-SNAPSHOT-runner.jar
   [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Building 
native image from 

svn commit: r38269 - /dev/camel/camel-k/1.0.0-RC2/

2020-02-24 Thread nferraro
Author: nferraro
Date: Mon Feb 24 18:07:21 2020
New Revision: 38269

Log:
Adding artifacts for Camel K 1.0.0-RC2 (correct version)

Added:
dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-linux-64bit.tar.gz.asc 
  (with props)

dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-linux-64bit.tar.gz.sha512
dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-mac-64bit.tar.gz.asc   
(with props)
dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-mac-64bit.tar.gz.sha512

dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-windows-64bit.tar.gz.asc   
(with props)

dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-windows-64bit.tar.gz.sha512
dev/camel/camel-k/1.0.0-RC2/camel-k-examples-1.0.0-RC2.tar.gz.asc   (with 
props)
dev/camel/camel-k/1.0.0-RC2/camel-k-examples-1.0.0-RC2.tar.gz.sha512
dev/camel/camel-k/1.0.0-RC2/camel-k-sources-1.0.0-RC2.tar.gz.asc   (with 
props)
dev/camel/camel-k/1.0.0-RC2/camel-k-sources-1.0.0-RC2.tar.gz.sha512

Added: 
dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-linux-64bit.tar.gz.asc
==
Binary file - no diff available.

Propchange: 
dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-linux-64bit.tar.gz.asc
--
svn:mime-type = application/pgp-signature

Added: 
dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-linux-64bit.tar.gz.sha512
==
--- 
dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-linux-64bit.tar.gz.sha512 
(added)
+++ 
dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-linux-64bit.tar.gz.sha512 
Mon Feb 24 18:07:21 2020
@@ -0,0 +1 @@
+0d4fafa8aa298375830b6c33389141b9127e34410edc9069f7298490d676e499605eb191832b4ae687e29a68faf86b8724212f7e21e885f1110688b154864712
 *camel-k-client-1.0.0-RC2-linux-64bit.tar.gz

Added: dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-mac-64bit.tar.gz.asc
==
Binary file - no diff available.

Propchange: 
dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-mac-64bit.tar.gz.asc
--
svn:mime-type = application/pgp-signature

Added: 
dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-mac-64bit.tar.gz.sha512
==
--- 
dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-mac-64bit.tar.gz.sha512 
(added)
+++ 
dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-mac-64bit.tar.gz.sha512 
Mon Feb 24 18:07:21 2020
@@ -0,0 +1 @@
+c5e30cef9b98c07645d6edf200ca72d6b7c0fad5c961985529947dfca69f4038d6c2f69887d552d82380a4da9c2277f3d43b3deef1e6d65e8ad5e68ae9109202
 *camel-k-client-1.0.0-RC2-mac-64bit.tar.gz

Added: 
dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-windows-64bit.tar.gz.asc
==
Binary file - no diff available.

Propchange: 
dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-windows-64bit.tar.gz.asc
--
svn:mime-type = application/pgp-signature

Added: 
dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-windows-64bit.tar.gz.sha512
==
--- 
dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-windows-64bit.tar.gz.sha512
 (added)
+++ 
dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-windows-64bit.tar.gz.sha512
 Mon Feb 24 18:07:21 2020
@@ -0,0 +1 @@
+a0c398bafd4313f0e3a5627693225e1e400b15ad2325fc428b3ea522ad43338cb6e1f4f991e48d1f2a4741e6c42d3940ba0533a30f53ead83b8e8038f317b1ef
 *camel-k-client-1.0.0-RC2-windows-64bit.tar.gz

Added: dev/camel/camel-k/1.0.0-RC2/camel-k-examples-1.0.0-RC2.tar.gz.asc
==
Binary file - no diff available.

Propchange: dev/camel/camel-k/1.0.0-RC2/camel-k-examples-1.0.0-RC2.tar.gz.asc
--
svn:mime-type = application/pgp-signature

Added: dev/camel/camel-k/1.0.0-RC2/camel-k-examples-1.0.0-RC2.tar.gz.sha512
==
--- dev/camel/camel-k/1.0.0-RC2/camel-k-examples-1.0.0-RC2.tar.gz.sha512 (added)
+++ dev/camel/camel-k/1.0.0-RC2/camel-k-examples-1.0.0-RC2.tar.gz.sha512 Mon 
Feb 24 18:07:21 2020
@@ -0,0 +1 @@
+3661e6eaa8b6ee2f23a334686b44b4e490ea3ad17ba81b64602fad84966218af6ff475573fc5aa7c1a83520dbcd883787e1c869dfccf9911ccfb7b44c2fee0af
 *camel-k-examples-1.0.0-RC2.tar.gz

Added: dev/camel/camel-k/1.0.0-RC2/camel-k-sources-1.0.0-RC2.tar.gz.asc
==
Binary file - no diff 

svn commit: r38267 - /dev/camel/camel-k/1.0.0-RC2/

2020-02-24 Thread nferraro
Author: nferraro
Date: Mon Feb 24 17:54:02 2020
New Revision: 38267

Log:
Adding artifacts for Camel K 1.0.0-RC2 (correct version)

Added:
dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-linux-64bit.tar.gz   
(with props)
dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-mac-64bit.tar.gz   
(with props)
dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-windows-64bit.tar.gz   
(with props)
dev/camel/camel-k/1.0.0-RC2/camel-k-examples-1.0.0-RC2.tar.gz   (with props)
dev/camel/camel-k/1.0.0-RC2/camel-k-sources-1.0.0-RC2.tar.gz   (with props)
Removed:
dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-linux-64bit.tar.gz.asc

dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-linux-64bit.tar.gz.sha512
dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-mac-64bit.tar.gz.asc
dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-mac-64bit.tar.gz.sha512

dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-windows-64bit.tar.gz.asc

dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-windows-64bit.tar.gz.sha512
dev/camel/camel-k/1.0.0-RC2/camel-k-examples-1.0.0-RC2.tar.gz.asc
dev/camel/camel-k/1.0.0-RC2/camel-k-examples-1.0.0-RC2.tar.gz.sha512
dev/camel/camel-k/1.0.0-RC2/camel-k-sources-1.0.0-RC2.tar.gz.asc
dev/camel/camel-k/1.0.0-RC2/camel-k-sources-1.0.0-RC2.tar.gz.sha512

Added: dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-linux-64bit.tar.gz
==
Binary file - no diff available.

Propchange: 
dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-linux-64bit.tar.gz
--
svn:mime-type = application/x-gzip

Added: dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-mac-64bit.tar.gz
==
Binary file - no diff available.

Propchange: 
dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-mac-64bit.tar.gz
--
svn:mime-type = application/x-gzip

Added: dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-windows-64bit.tar.gz
==
Binary file - no diff available.

Propchange: 
dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-windows-64bit.tar.gz
--
svn:mime-type = application/x-gzip

Added: dev/camel/camel-k/1.0.0-RC2/camel-k-examples-1.0.0-RC2.tar.gz
==
Binary file - no diff available.

Propchange: dev/camel/camel-k/1.0.0-RC2/camel-k-examples-1.0.0-RC2.tar.gz
--
svn:mime-type = application/x-gzip

Added: dev/camel/camel-k/1.0.0-RC2/camel-k-sources-1.0.0-RC2.tar.gz
==
Binary file - no diff available.

Propchange: dev/camel/camel-k/1.0.0-RC2/camel-k-sources-1.0.0-RC2.tar.gz
--
svn:mime-type = application/x-gzip




[camel-k] 01/01: Release 1.0.0-RC2

2020-02-24 Thread nferraro
This is an automated email from the ASF dual-hosted git repository.

nferraro pushed a commit to tag 1.0.0-RC2
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 24ddce5afb41c70a0bf30e06f74c6f380f5fd851
Author: Nicola Ferraro 
AuthorDate: Mon Feb 24 18:48:30 2020 +0100

Release 1.0.0-RC2
---
 .../camel-k.v1.0.0-rc2.clusterserviceversion.yaml}| 8 
 .../camel-k/{1.0.0-rc2-snapshot => 1.0.0-rc2}/crd-build.yaml  | 0
 .../{1.0.0-rc2-snapshot => 1.0.0-rc2}/crd-camel-catalog.yaml  | 0
 .../{1.0.0-rc2-snapshot => 1.0.0-rc2}/crd-integration-kit.yaml| 0
 .../crd-integration-platform.yaml | 0
 .../{1.0.0-rc2-snapshot => 1.0.0-rc2}/crd-integration.yaml| 0
 deploy/olm-catalog/camel-k/camel-k.package.yaml   | 2 +-
 deploy/operator-deployment.yaml   | 2 +-
 deploy/resources.go   | 8 
 helm/camel-k/Chart.yaml   | 2 +-
 helm/camel-k/values.yaml  | 2 +-
 pkg/util/defaults/defaults.go | 2 +-
 script/Makefile   | 2 +-
 13 files changed, 14 insertions(+), 14 deletions(-)

diff --git 
a/deploy/olm-catalog/camel-k/1.0.0-rc2-snapshot/camel-k.v1.0.0-rc2-snapshot.clusterserviceversion.yaml
 
b/deploy/olm-catalog/camel-k/1.0.0-rc2/camel-k.v1.0.0-rc2.clusterserviceversion.yaml
similarity index 98%
rename from 
deploy/olm-catalog/camel-k/1.0.0-rc2-snapshot/camel-k.v1.0.0-rc2-snapshot.clusterserviceversion.yaml
rename to 
deploy/olm-catalog/camel-k/1.0.0-rc2/camel-k.v1.0.0-rc2.clusterserviceversion.yaml
index c6767d9..d2a37a3 100644
--- 
a/deploy/olm-catalog/camel-k/1.0.0-rc2-snapshot/camel-k.v1.0.0-rc2-snapshot.clusterserviceversion.yaml
+++ 
b/deploy/olm-catalog/camel-k/1.0.0-rc2/camel-k.v1.0.0-rc2.clusterserviceversion.yaml
@@ -70,13 +70,13 @@ metadata:
 capabilities: Basic Install
 categories: Integration & Delivery
 certified: "false"
-containerImage: docker.io/apache/camel-k:1.0.0-RC2-SNAPSHOT
+containerImage: docker.io/apache/camel-k:1.0.0-RC2
 createdAt: "2019-07-26T02:45:00Z"
 description: Apache Camel K is a lightweight integration platform, born on 
Kubernetes,
   with serverless superpowers.
 repository: https://github.com/apache/camel-k
 support: Camel
-  name: camel-k-operator.v1.0.0-rc2-SNAPSHOT
+  name: camel-k-operator.v1.0.0-rc2
   namespace: placeholder
 spec:
   apiservicedefinitions: {}
@@ -189,7 +189,7 @@ spec:
   valueFrom:
 fieldRef:
   fieldPath: metadata.namespace
-image: docker.io/apache/camel-k:1.0.0-RC2-SNAPSHOT
+image: docker.io/apache/camel-k:1.0.0-RC2
 imagePullPolicy: IfNotPresent
 name: camel-k-operator
 resources: {}
@@ -416,4 +416,4 @@ spec:
   selector:
 matchLabels:
   name: camel-k-operator
-  version: 1.0.0-rc2-snapshot
+  version: 1.0.0-rc2
diff --git a/deploy/olm-catalog/camel-k/1.0.0-rc2-snapshot/crd-build.yaml 
b/deploy/olm-catalog/camel-k/1.0.0-rc2/crd-build.yaml
similarity index 100%
rename from deploy/olm-catalog/camel-k/1.0.0-rc2-snapshot/crd-build.yaml
rename to deploy/olm-catalog/camel-k/1.0.0-rc2/crd-build.yaml
diff --git 
a/deploy/olm-catalog/camel-k/1.0.0-rc2-snapshot/crd-camel-catalog.yaml 
b/deploy/olm-catalog/camel-k/1.0.0-rc2/crd-camel-catalog.yaml
similarity index 100%
rename from deploy/olm-catalog/camel-k/1.0.0-rc2-snapshot/crd-camel-catalog.yaml
rename to deploy/olm-catalog/camel-k/1.0.0-rc2/crd-camel-catalog.yaml
diff --git 
a/deploy/olm-catalog/camel-k/1.0.0-rc2-snapshot/crd-integration-kit.yaml 
b/deploy/olm-catalog/camel-k/1.0.0-rc2/crd-integration-kit.yaml
similarity index 100%
rename from 
deploy/olm-catalog/camel-k/1.0.0-rc2-snapshot/crd-integration-kit.yaml
rename to deploy/olm-catalog/camel-k/1.0.0-rc2/crd-integration-kit.yaml
diff --git 
a/deploy/olm-catalog/camel-k/1.0.0-rc2-snapshot/crd-integration-platform.yaml 
b/deploy/olm-catalog/camel-k/1.0.0-rc2/crd-integration-platform.yaml
similarity index 100%
rename from 
deploy/olm-catalog/camel-k/1.0.0-rc2-snapshot/crd-integration-platform.yaml
rename to deploy/olm-catalog/camel-k/1.0.0-rc2/crd-integration-platform.yaml
diff --git a/deploy/olm-catalog/camel-k/1.0.0-rc2-snapshot/crd-integration.yaml 
b/deploy/olm-catalog/camel-k/1.0.0-rc2/crd-integration.yaml
similarity index 100%
rename from deploy/olm-catalog/camel-k/1.0.0-rc2-snapshot/crd-integration.yaml
rename to deploy/olm-catalog/camel-k/1.0.0-rc2/crd-integration.yaml
diff --git a/deploy/olm-catalog/camel-k/camel-k.package.yaml 
b/deploy/olm-catalog/camel-k/camel-k.package.yaml
index 2693928..17afa52 100644
--- a/deploy/olm-catalog/camel-k/camel-k.package.yaml
+++ b/deploy/olm-catalog/camel-k/camel-k.package.yaml
@@ -16,7 

[camel-k] tag 1.0.0-RC2 created (now 24ddce5)

2020-02-24 Thread nferraro
This is an automated email from the ASF dual-hosted git repository.

nferraro pushed a change to tag 1.0.0-RC2
in repository https://gitbox.apache.org/repos/asf/camel-k.git.


  at 24ddce5  (commit)
This tag includes the following new commits:

 new 24ddce5  Release 1.0.0-RC2

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-k] branch master updated (1d3f302 -> 3f4f482)

2020-02-24 Thread nferraro
This is an automated email from the ASF dual-hosted git repository.

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


from 1d3f302  chore(headers): add missing headers
 add 3f4f482  Fix #1199: fix add optional permission for creating events

No new revisions were added by this update.

Summary of changes:
 pkg/install/operator.go | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)



svn commit: r38266 - in /dev/camel: camel-k-runtime/1.1.0/ camel-k/1.0.0-RC2/

2020-02-24 Thread nferraro
Author: nferraro
Date: Mon Feb 24 17:27:33 2020
New Revision: 38266

Log:
Adding artifacts for Camel K 1.0.0-RC2 and Camel K Runtime 1.1.0

Added:
dev/camel/camel-k-runtime/1.1.0/

dev/camel/camel-k-runtime/1.1.0/apache-camel-k-runtime-1.1.0-source-release.zip 
  (with props)

dev/camel/camel-k-runtime/1.1.0/apache-camel-k-runtime-1.1.0-source-release.zip.asc
   (with props)

dev/camel/camel-k-runtime/1.1.0/apache-camel-k-runtime-1.1.0-source-release.zip.md5

dev/camel/camel-k-runtime/1.1.0/apache-camel-k-runtime-1.1.0-source-release.zip.sha1
dev/camel/camel-k-runtime/1.1.0/apache-camel-k-runtime-1.1.0.pom
dev/camel/camel-k-runtime/1.1.0/apache-camel-k-runtime-1.1.0.pom.asc   
(with props)
dev/camel/camel-k-runtime/1.1.0/apache-camel-k-runtime-1.1.0.pom.md5
dev/camel/camel-k-runtime/1.1.0/apache-camel-k-runtime-1.1.0.pom.sha1
dev/camel/camel-k/1.0.0-RC2/
dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-linux-64bit.tar.gz   
(with props)
dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-linux-64bit.tar.gz.asc 
  (with props)

dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-linux-64bit.tar.gz.sha512
dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-mac-64bit.tar.gz   
(with props)
dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-mac-64bit.tar.gz.asc   
(with props)
dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-mac-64bit.tar.gz.sha512
dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-windows-64bit.tar.gz   
(with props)

dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-windows-64bit.tar.gz.asc   
(with props)

dev/camel/camel-k/1.0.0-RC2/camel-k-client-1.0.0-RC2-windows-64bit.tar.gz.sha512
dev/camel/camel-k/1.0.0-RC2/camel-k-examples-1.0.0-RC2.tar.gz   (with props)
dev/camel/camel-k/1.0.0-RC2/camel-k-examples-1.0.0-RC2.tar.gz.asc   (with 
props)
dev/camel/camel-k/1.0.0-RC2/camel-k-examples-1.0.0-RC2.tar.gz.sha512
dev/camel/camel-k/1.0.0-RC2/camel-k-sources-1.0.0-RC2.tar.gz   (with props)
dev/camel/camel-k/1.0.0-RC2/camel-k-sources-1.0.0-RC2.tar.gz.asc   (with 
props)
dev/camel/camel-k/1.0.0-RC2/camel-k-sources-1.0.0-RC2.tar.gz.sha512

Added: 
dev/camel/camel-k-runtime/1.1.0/apache-camel-k-runtime-1.1.0-source-release.zip
==
Binary file - no diff available.

Propchange: 
dev/camel/camel-k-runtime/1.1.0/apache-camel-k-runtime-1.1.0-source-release.zip
--
svn:mime-type = application/zip

Added: 
dev/camel/camel-k-runtime/1.1.0/apache-camel-k-runtime-1.1.0-source-release.zip.asc
==
Binary file - no diff available.

Propchange: 
dev/camel/camel-k-runtime/1.1.0/apache-camel-k-runtime-1.1.0-source-release.zip.asc
--
svn:mime-type = application/pgp-signature

Added: 
dev/camel/camel-k-runtime/1.1.0/apache-camel-k-runtime-1.1.0-source-release.zip.md5
==
--- 
dev/camel/camel-k-runtime/1.1.0/apache-camel-k-runtime-1.1.0-source-release.zip.md5
 (added)
+++ 
dev/camel/camel-k-runtime/1.1.0/apache-camel-k-runtime-1.1.0-source-release.zip.md5
 Mon Feb 24 17:27:33 2020
@@ -0,0 +1 @@
+76f5d7f2b6d7112d4301d138fa6d2239
\ No newline at end of file

Added: 
dev/camel/camel-k-runtime/1.1.0/apache-camel-k-runtime-1.1.0-source-release.zip.sha1
==
--- 
dev/camel/camel-k-runtime/1.1.0/apache-camel-k-runtime-1.1.0-source-release.zip.sha1
 (added)
+++ 
dev/camel/camel-k-runtime/1.1.0/apache-camel-k-runtime-1.1.0-source-release.zip.sha1
 Mon Feb 24 17:27:33 2020
@@ -0,0 +1 @@
+f542aa1b7e14fea15d8dd2934c33dce55542ad2c
\ No newline at end of file

Added: dev/camel/camel-k-runtime/1.1.0/apache-camel-k-runtime-1.1.0.pom
==
--- dev/camel/camel-k-runtime/1.1.0/apache-camel-k-runtime-1.1.0.pom (added)
+++ dev/camel/camel-k-runtime/1.1.0/apache-camel-k-runtime-1.1.0.pom Mon Feb 24 
17:27:33 2020
@@ -0,0 +1,71 @@
+
+
+http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;>
+  
+org.apache.camel.k
+camel-k-runtime-parent
+1.1.0
+  
+  4.0.0
+  pom
+  
+  apache-camel-k-runtime
+  
+
+  release
+  
+
+  
+org.apache.maven.plugins
+maven-assembly-plugin
+${maven-assembly-plugin.version}
+
+  
+source-release
+package
+
+  single
+
+
+  

[camel-k] tag 1.0.0-RC2 created (now 0e8393b)

2020-02-24 Thread nferraro
This is an automated email from the ASF dual-hosted git repository.

nferraro pushed a change to tag 1.0.0-RC2
in repository https://gitbox.apache.org/repos/asf/camel-k.git.


  at 0e8393b  (commit)
This tag includes the following new commits:

 new 0e8393b  Release 1.0.0-RC2

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-k] 01/01: Release 1.0.0-RC2

2020-02-24 Thread nferraro
This is an automated email from the ASF dual-hosted git repository.

nferraro pushed a commit to tag 1.0.0-RC2
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 0e8393b3832ed88faacc6b609249adfb4c738992
Author: Nicola Ferraro 
AuthorDate: Mon Feb 24 18:14:06 2020 +0100

Release 1.0.0-RC2
---
 .../camel-k.v1.0.0-rc2.clusterserviceversion.yaml}| 8 
 .../camel-k/{1.0.0-rc2-snapshot => 1.0.0-rc2}/crd-build.yaml  | 0
 .../{1.0.0-rc2-snapshot => 1.0.0-rc2}/crd-camel-catalog.yaml  | 0
 .../{1.0.0-rc2-snapshot => 1.0.0-rc2}/crd-integration-kit.yaml| 0
 .../crd-integration-platform.yaml | 0
 .../{1.0.0-rc2-snapshot => 1.0.0-rc2}/crd-integration.yaml| 0
 deploy/olm-catalog/camel-k/camel-k.package.yaml   | 2 +-
 deploy/operator-deployment.yaml   | 2 +-
 deploy/resources.go   | 8 
 helm/camel-k/Chart.yaml   | 2 +-
 helm/camel-k/values.yaml  | 2 +-
 pkg/util/defaults/defaults.go | 2 +-
 script/Makefile   | 2 +-
 13 files changed, 14 insertions(+), 14 deletions(-)

diff --git 
a/deploy/olm-catalog/camel-k/1.0.0-rc2-snapshot/camel-k.v1.0.0-rc2-snapshot.clusterserviceversion.yaml
 
b/deploy/olm-catalog/camel-k/1.0.0-rc2/camel-k.v1.0.0-rc2.clusterserviceversion.yaml
similarity index 98%
rename from 
deploy/olm-catalog/camel-k/1.0.0-rc2-snapshot/camel-k.v1.0.0-rc2-snapshot.clusterserviceversion.yaml
rename to 
deploy/olm-catalog/camel-k/1.0.0-rc2/camel-k.v1.0.0-rc2.clusterserviceversion.yaml
index c6767d9..d2a37a3 100644
--- 
a/deploy/olm-catalog/camel-k/1.0.0-rc2-snapshot/camel-k.v1.0.0-rc2-snapshot.clusterserviceversion.yaml
+++ 
b/deploy/olm-catalog/camel-k/1.0.0-rc2/camel-k.v1.0.0-rc2.clusterserviceversion.yaml
@@ -70,13 +70,13 @@ metadata:
 capabilities: Basic Install
 categories: Integration & Delivery
 certified: "false"
-containerImage: docker.io/apache/camel-k:1.0.0-RC2-SNAPSHOT
+containerImage: docker.io/apache/camel-k:1.0.0-RC2
 createdAt: "2019-07-26T02:45:00Z"
 description: Apache Camel K is a lightweight integration platform, born on 
Kubernetes,
   with serverless superpowers.
 repository: https://github.com/apache/camel-k
 support: Camel
-  name: camel-k-operator.v1.0.0-rc2-SNAPSHOT
+  name: camel-k-operator.v1.0.0-rc2
   namespace: placeholder
 spec:
   apiservicedefinitions: {}
@@ -189,7 +189,7 @@ spec:
   valueFrom:
 fieldRef:
   fieldPath: metadata.namespace
-image: docker.io/apache/camel-k:1.0.0-RC2-SNAPSHOT
+image: docker.io/apache/camel-k:1.0.0-RC2
 imagePullPolicy: IfNotPresent
 name: camel-k-operator
 resources: {}
@@ -416,4 +416,4 @@ spec:
   selector:
 matchLabels:
   name: camel-k-operator
-  version: 1.0.0-rc2-snapshot
+  version: 1.0.0-rc2
diff --git a/deploy/olm-catalog/camel-k/1.0.0-rc2-snapshot/crd-build.yaml 
b/deploy/olm-catalog/camel-k/1.0.0-rc2/crd-build.yaml
similarity index 100%
rename from deploy/olm-catalog/camel-k/1.0.0-rc2-snapshot/crd-build.yaml
rename to deploy/olm-catalog/camel-k/1.0.0-rc2/crd-build.yaml
diff --git 
a/deploy/olm-catalog/camel-k/1.0.0-rc2-snapshot/crd-camel-catalog.yaml 
b/deploy/olm-catalog/camel-k/1.0.0-rc2/crd-camel-catalog.yaml
similarity index 100%
rename from deploy/olm-catalog/camel-k/1.0.0-rc2-snapshot/crd-camel-catalog.yaml
rename to deploy/olm-catalog/camel-k/1.0.0-rc2/crd-camel-catalog.yaml
diff --git 
a/deploy/olm-catalog/camel-k/1.0.0-rc2-snapshot/crd-integration-kit.yaml 
b/deploy/olm-catalog/camel-k/1.0.0-rc2/crd-integration-kit.yaml
similarity index 100%
rename from 
deploy/olm-catalog/camel-k/1.0.0-rc2-snapshot/crd-integration-kit.yaml
rename to deploy/olm-catalog/camel-k/1.0.0-rc2/crd-integration-kit.yaml
diff --git 
a/deploy/olm-catalog/camel-k/1.0.0-rc2-snapshot/crd-integration-platform.yaml 
b/deploy/olm-catalog/camel-k/1.0.0-rc2/crd-integration-platform.yaml
similarity index 100%
rename from 
deploy/olm-catalog/camel-k/1.0.0-rc2-snapshot/crd-integration-platform.yaml
rename to deploy/olm-catalog/camel-k/1.0.0-rc2/crd-integration-platform.yaml
diff --git a/deploy/olm-catalog/camel-k/1.0.0-rc2-snapshot/crd-integration.yaml 
b/deploy/olm-catalog/camel-k/1.0.0-rc2/crd-integration.yaml
similarity index 100%
rename from deploy/olm-catalog/camel-k/1.0.0-rc2-snapshot/crd-integration.yaml
rename to deploy/olm-catalog/camel-k/1.0.0-rc2/crd-integration.yaml
diff --git a/deploy/olm-catalog/camel-k/camel-k.package.yaml 
b/deploy/olm-catalog/camel-k/camel-k.package.yaml
index 2693928..17afa52 100644
--- a/deploy/olm-catalog/camel-k/camel-k.package.yaml
+++ b/deploy/olm-catalog/camel-k/camel-k.package.yaml
@@ -16,7 

[GitHub] [camel-quarkus] ppalaga opened a new pull request #755: Remove redundant mvnd.builder.rules from the top level pom.xml

2020-02-24 Thread GitBox
ppalaga opened a new pull request #755: Remove redundant mvnd.builder.rules 
from the top level pom.xml
URL: https://github.com/apache/camel-quarkus/pull/755
 
 
   


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[camel] branch master updated (8b9b27f -> e06429b)

2020-02-24 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

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


from 8b9b27f  CAMEL-14607: add configurable 
negativeAckRedeliveryDelayMicros property
 add e06429b  Update camel-3x-upgrade-guide.adoc

No new revisions were added by this update.

Summary of changes:
 docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide.adoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)



[camel-k] branch master updated: chore(headers): add missing headers

2020-02-24 Thread nferraro
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 1d3f302  chore(headers): add missing headers
1d3f302 is described below

commit 1d3f302e6ea355c0fa912c6627e76835476f30b0
Author: Nicola Ferraro 
AuthorDate: Mon Feb 24 17:56:13 2020 +0100

chore(headers): add missing headers
---
 deploy/prometheus-jmx-exporter.yaml  | 17 +
 deploy/resources.go  |  4 ++--
 examples/Master.java | 17 +
 helm/camel-k/Chart.yaml  | 17 +
 helm/camel-k/templates/operator.yaml | 17 +
 helm/camel-k/values.yaml | 17 +
 pkg/cmd/log_test.go  | 17 +
 7 files changed, 104 insertions(+), 2 deletions(-)

diff --git a/deploy/prometheus-jmx-exporter.yaml 
b/deploy/prometheus-jmx-exporter.yaml
index aff0fc9..c73f818 100644
--- a/deploy/prometheus-jmx-exporter.yaml
+++ b/deploy/prometheus-jmx-exporter.yaml
@@ -1,3 +1,20 @@
+# ---
+# 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.
+# ---
+
 startDelaySecs: 5
 ssl: false
 blacklistObjectNames: ["java.lang:*"]
diff --git a/deploy/resources.go b/deploy/resources.go
index 34ca32e..4473ed5 100644
--- a/deploy/resources.go
+++ b/deploy/resources.go
@@ -287,9 +287,9 @@ var assets = func() http.FileSystem {
"/prometheus-jmx-exporter.yaml": ۰CompressedFileInfo{
name: "prometheus-jmx-exporter.yaml",
modTime:  time.Time{},
-   uncompressedSize: 18791,
+   uncompressedSize: 19730,
 
-   compressedContent: 
[]byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x9a\x4b\x6f\xdb\x38\x14\x85\xf7\xfe\x15\x84\x27\x40\xdb\x69\xc6\xc0\x3c\xba\x11\x92\x00\x99\x24\xed\x04\x68\xd2\x81\x9b\xac\x82\x14\xa0\xe5\x6b\x9b\x0d\x45\x09\x24\x65\xa8\xff\xbe\xb0\x1e\x16\xf5\xb0\x25\xf9\x21\x52\x6a\xb2\x0b\xef\x91\xa0\xef\xf0\x4a\xbe\xc7\xb2\x90\x98\xcb\x6b\xa0\xf8\xc7\x57\xb0\x85\x85\x3e\x0c\x84\xa0\x16\x9a\x61\x2a\x60\x30\xa1\xd8\x7e\xa1\x44\xc8\x2f\x93\xef\x60\xcb\x7b\xec\x80\xb0\xd0\xd3\x
 [...]
+   compressedContent: 
[]byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x9c\x5d\x73\xda\xb8\x17\xc6\xef\xfd\x29\xce\x40\x67\x9a\xfc\x9b\x92\xff\x76\xb7\x37\x6c\x9a\x19\x9a\x97\x96\xd9\x14\x76\x80\x6c\xa7\xd3\x69\x67\x84\x7d\x30\x6a\x64\xc9\x2b\xc9\x40\xbe\xfd\x8e\xdf\xc0\x60\x87\x97\x84\x60\x41\xcb\x1d\x3e\x8f\x85\x7e\x8f\x8e\x1d\x3d\x40\xa8\xc2\xeb\xed\x3d\xac\x2a\xdc\x50\x1b\xb9\x42\x07\xb4\x00\x3d\x44\x68\xf8\xc4\x1e\x22\x74\xc5\x40\x8f\x89\x44\xb8\x16\x01\x77\x88\xa6\x82\xc3\x51\x
 [...]
},
"/templates": ۰DirInfo{
name:"templates",
diff --git a/examples/Master.java b/examples/Master.java
index c9bccb8..5524134 100755
--- a/examples/Master.java
+++ b/examples/Master.java
@@ -1,3 +1,20 @@
+/*
+ * 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.
+ */
+
 // camel-k: language=java
 
 import org.apache.camel.builder.RouteBuilder;
diff --git a/helm/camel-k/Chart.yaml b/helm/camel-k/Chart.yaml
index cacac39..0d4d587 100644
--- 

[camel-k] branch master updated (4b13ff3 -> 88f4069)

2020-02-24 Thread nferraro
This is an automated email from the ASF dual-hosted git repository.

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


from 4b13ff3  Fix #1236: regen resources
 add 88f4069  Fix #1236: add missing resource files

No new revisions were added by this update.

Summary of changes:
 deploy/camel-catalog-1.1.0-main.yaml| 2938 +++
 deploy/camel-catalog-1.1.0-quarkus.yaml |  764 
 2 files changed, 3702 insertions(+)
 create mode 100644 deploy/camel-catalog-1.1.0-main.yaml
 create mode 100644 deploy/camel-catalog-1.1.0-quarkus.yaml



[GitHub] [camel-k] nicolaferraro closed issue #1236: Autodetect camel-bean

2020-02-24 Thread GitBox
nicolaferraro closed issue #1236: Autodetect camel-bean
URL: https://github.com/apache/camel-k/issues/1236
 
 
   


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [camel-k] nicolaferraro merged pull request #1294: Fix #1236: upgrade to runtime 1.1.0 and remove camel-bean autodetection

2020-02-24 Thread GitBox
nicolaferraro merged pull request #1294: Fix #1236: upgrade to runtime 1.1.0 
and remove camel-bean autodetection
URL: https://github.com/apache/camel-k/pull/1294
 
 
   


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[camel-k] branch master updated (85808ff -> 4b13ff3)

2020-02-24 Thread nferraro
This is an automated email from the ASF dual-hosted git repository.

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


from 85808ff  Fix #1199: fix builder permissions
 add baec808  Fix #1236: upgrade to runtime 1.1.0 and remove camel-bean 
autodetection
 add 4b13ff3  Fix #1236: regen resources

No new revisions were added by this update.

Summary of changes:
 deploy/camel-catalog-1.1.0-SNAPSHOT-main.yaml| 2938 --
 deploy/camel-catalog-1.1.0-SNAPSHOT-quarkus.yaml |  764 --
 deploy/resources.go  |   20 +-
 pkg/metadata/metadata_dependencies_test.go   |8 +-
 pkg/util/defaults/defaults.go|2 +-
 pkg/util/source/inspector.go |2 -
 pkg/util/source/inspector_xml.go |2 -
 pkg/util/source/inspector_yaml.go|4 -
 script/Makefile  |   16 +-
 9 files changed, 23 insertions(+), 3733 deletions(-)
 delete mode 100644 deploy/camel-catalog-1.1.0-SNAPSHOT-main.yaml
 delete mode 100644 deploy/camel-catalog-1.1.0-SNAPSHOT-quarkus.yaml



[GitHub] [camel-quarkus] ppalaga commented on issue #754: Fix #960 Do not expose mutable collections from FHIR BuildItems

2020-02-24 Thread GitBox
ppalaga commented on issue #754: Fix #960 Do not expose mutable collections 
from FHIR BuildItems
URL: https://github.com/apache/camel-quarkus/pull/754#issuecomment-590420019
 
 
   @johnpoth could you please 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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [camel-quarkus] ppalaga opened a new pull request #754: Fix #960 Do not expose mutable collections from FHIR BuildItems

2020-02-24 Thread GitBox
ppalaga opened a new pull request #754: Fix #960 Do not expose mutable 
collections from FHIR BuildItems
URL: https://github.com/apache/camel-quarkus/pull/754
 
 
   


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[camel] 02/04: CAMEL-14607: fix spelling mistake

2020-02-24 Thread acosentino
This is an automated email from the ASF dual-hosted git repository.

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

commit 85a104f2a5fc83a167f0d42cd9162ca7a6163e31
Author: connormcauliffe-toast 
AuthorDate: Fri Feb 21 12:04:27 2020 -0500

CAMEL-14607: fix spelling mistake
---
 .../camel/component/pulsar/PulsarConsumerAcknowledgementTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/components/camel-pulsar/src/test/java/org/apache/camel/component/pulsar/PulsarConsumerAcknowledgementTest.java
 
b/components/camel-pulsar/src/test/java/org/apache/camel/component/pulsar/PulsarConsumerAcknowledgementTest.java
index 27b2496..76d0adc 100644
--- 
a/components/camel-pulsar/src/test/java/org/apache/camel/component/pulsar/PulsarConsumerAcknowledgementTest.java
+++ 
b/components/camel-pulsar/src/test/java/org/apache/camel/component/pulsar/PulsarConsumerAcknowledgementTest.java
@@ -211,7 +211,7 @@ public class PulsarConsumerAcknowledgementTest extends 
PulsarTestSupport {
 }
 });
 
-producer.newMessage().value("Hello World!").property("proccessedOnce", 
"false").send();
+producer.newMessage().value("Hello World!").property("processedOnce", 
"false").send();
 
 MockEndpoint.assertIsSatisfied(10, TimeUnit.SECONDS, to);
 }



[camel] branch master updated (df4feb7 -> 8b9b27f)

2020-02-24 Thread acosentino
This is an automated email from the ASF dual-hosted git repository.

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


from df4feb7  Fixed CS
 new 2f48446  CAMEL-14607: support negative acknowledge in pulsar message 
receipt
 new 85a104f  CAMEL-14607: fix spelling mistake
 new ae3bf8b  CAMEL-14607: fix style
 new 8b9b27f  CAMEL-14607: add configurable 
negativeAckRedeliveryDelayMicros property

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:
 .../component/pulsar/PulsarEndpointConfigurer.java |  2 +
 .../org/apache/camel/component/pulsar/pulsar.json  |  1 +
 .../src/main/docs/pulsar-component.adoc|  3 +-
 .../pulsar/DefaultPulsarMessageReceipt.java|  2 +-
 .../pulsar/configuration/PulsarConfiguration.java  | 12 +
 .../consumers/CommonCreationStrategyImpl.java  |  1 +
 .../pulsar/PulsarConsumerAcknowledgementTest.java  | 53 +-
 .../PulsarConsumerNoAcknowledgementTest.java   | 21 +
 .../pulsar/PulsarCustomMessageReceiptTest.java | 17 +++
 .../pulsar/PulsarNegativeAcknowledgementTest.java  | 33 --
 10 files changed, 81 insertions(+), 64 deletions(-)
 delete mode 100644 
components/camel-pulsar/src/test/java/org/apache/camel/component/pulsar/PulsarNegativeAcknowledgementTest.java



[camel] 01/04: CAMEL-14607: support negative acknowledge in pulsar message receipt

2020-02-24 Thread acosentino
This is an automated email from the ASF dual-hosted git repository.

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

commit 2f48446d81cf9a76f7c99a066fd07cfec77bd6da
Author: connormcauliffe-toast 
AuthorDate: Fri Feb 21 11:50:25 2020 -0500

CAMEL-14607: support negative acknowledge in pulsar message receipt
---
 .../pulsar/DefaultPulsarMessageReceipt.java|  2 +-
 .../pulsar/PulsarConsumerAcknowledgementTest.java  | 52 +-
 .../PulsarConsumerNoAcknowledgementTest.java   | 21 -
 .../pulsar/PulsarCustomMessageReceiptTest.java | 17 +++
 .../pulsar/PulsarNegativeAcknowledgementTest.java  | 33 --
 5 files changed, 63 insertions(+), 62 deletions(-)

diff --git 
a/components/camel-pulsar/src/main/java/org/apache/camel/component/pulsar/DefaultPulsarMessageReceipt.java
 
b/components/camel-pulsar/src/main/java/org/apache/camel/component/pulsar/DefaultPulsarMessageReceipt.java
index 6d3a1cd..45f6671 100644
--- 
a/components/camel-pulsar/src/main/java/org/apache/camel/component/pulsar/DefaultPulsarMessageReceipt.java
+++ 
b/components/camel-pulsar/src/main/java/org/apache/camel/component/pulsar/DefaultPulsarMessageReceipt.java
@@ -55,7 +55,7 @@ public class DefaultPulsarMessageReceipt implements 
PulsarMessageReceipt {
 
 @Override
 public void negativeAcknowledge() {
-throw new UnsupportedOperationException("Negative acknowledge is not 
supported in this version of the Pulsar client.");
+consumer.negativeAcknowledge(messageId);
 }
 
 public Consumer getConsumer() {
diff --git 
a/components/camel-pulsar/src/test/java/org/apache/camel/component/pulsar/PulsarConsumerAcknowledgementTest.java
 
b/components/camel-pulsar/src/test/java/org/apache/camel/component/pulsar/PulsarConsumerAcknowledgementTest.java
index 1d34ff1..27b2496 100644
--- 
a/components/camel-pulsar/src/test/java/org/apache/camel/component/pulsar/PulsarConsumerAcknowledgementTest.java
+++ 
b/components/camel-pulsar/src/test/java/org/apache/camel/component/pulsar/PulsarConsumerAcknowledgementTest.java
@@ -25,7 +25,8 @@ import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.apache.camel.component.pulsar.utils.AutoConfiguration;
 import org.apache.camel.component.pulsar.utils.message.PulsarMessageHeaders;
-import org.apache.camel.impl.JndiRegistry;
+import org.apache.camel.spi.Registry;
+import org.apache.camel.support.SimpleRegistry;
 import org.apache.pulsar.client.api.Producer;
 import org.apache.pulsar.client.api.PulsarClient;
 import org.apache.pulsar.client.api.PulsarClientException;
@@ -43,11 +44,11 @@ public class PulsarConsumerAcknowledgementTest extends 
PulsarTestSupport {
 private static final String TOPIC_URI = 
"persistent://public/default/camel-topic";
 private static final String PRODUCER = "camel-producer-1";
 
-@EndpointInject(uri = "pulsar:" + TOPIC_URI + 
"?numberOfConsumers=1=Exclusive"
+@EndpointInject("pulsar:" + TOPIC_URI + 
"?numberOfConsumers=1=Exclusive"
   + 
"=camel-subscription=1=camel-consumer"
 + "=true" + "=1000")
 private Endpoint from;
 
-@EndpointInject(uri = "mock:result")
+@EndpointInject("mock:result")
 private MockEndpoint to;
 
 private Producer producer;
@@ -59,23 +60,23 @@ public class PulsarConsumerAcknowledgementTest extends 
PulsarTestSupport {
 }
 
 @Override
-protected JndiRegistry createRegistry() throws Exception {
-JndiRegistry jndi = super.createRegistry();
+protected Registry createCamelRegistry() throws Exception {
+Registry registry = new SimpleRegistry();
 
-registerPulsarBeans(jndi);
+registerPulsarBeans(registry);
 
-return jndi;
+return registry;
 }
 
-private void registerPulsarBeans(final JndiRegistry jndi) throws 
PulsarClientException {
+private void registerPulsarBeans(final Registry registry) throws 
PulsarClientException {
 PulsarClient pulsarClient = givenPulsarClient();
 AutoConfiguration autoConfiguration = new AutoConfiguration(null, 
null);
 
-jndi.bind("pulsarClient", pulsarClient);
+registry.bind("pulsarClient", pulsarClient);
 PulsarComponent comp = new PulsarComponent(context);
 comp.setAutoConfiguration(autoConfiguration);
 comp.setPulsarClient(pulsarClient);
-jndi.bind("pulsar", comp);
+registry.bind("pulsar", comp);
 }
 
 private PulsarClient givenPulsarClient() throws PulsarClientException {
@@ -183,4 +184,35 @@ public class PulsarConsumerAcknowledgementTest extends 
PulsarTestSupport {
 
 MockEndpoint.assertIsSatisfied(10, TimeUnit.SECONDS, to);
 }
+
+@Test
+public void testNegativeAcknowledge() throws Exception {
+to.expectedMessageCount(2);
+to.expectedBodiesReceived("Hello World!", "Hello World!");
+
+

[camel] 04/04: CAMEL-14607: add configurable negativeAckRedeliveryDelayMicros property

2020-02-24 Thread acosentino
This is an automated email from the ASF dual-hosted git repository.

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

commit 8b9b27ff24f9934e0287b1db039022c4636f2a83
Author: connormcauliffe-toast 
AuthorDate: Fri Feb 21 16:58:09 2020 -0500

CAMEL-14607: add configurable negativeAckRedeliveryDelayMicros property
---
 .../camel/component/pulsar/PulsarEndpointConfigurer.java |  2 ++
 .../resources/org/apache/camel/component/pulsar/pulsar.json  |  1 +
 components/camel-pulsar/src/main/docs/pulsar-component.adoc  |  3 ++-
 .../component/pulsar/configuration/PulsarConfiguration.java  | 12 
 .../pulsar/utils/consumers/CommonCreationStrategyImpl.java   |  1 +
 .../component/pulsar/PulsarConsumerAcknowledgementTest.java  |  2 +-
 6 files changed, 19 insertions(+), 2 deletions(-)

diff --git 
a/components/camel-pulsar/src/generated/java/org/apache/camel/component/pulsar/PulsarEndpointConfigurer.java
 
b/components/camel-pulsar/src/generated/java/org/apache/camel/component/pulsar/PulsarEndpointConfigurer.java
index 3e23dce..90e004b 100644
--- 
a/components/camel-pulsar/src/generated/java/org/apache/camel/component/pulsar/PulsarEndpointConfigurer.java
+++ 
b/components/camel-pulsar/src/generated/java/org/apache/camel/component/pulsar/PulsarEndpointConfigurer.java
@@ -29,6 +29,8 @@ public class PulsarEndpointConfigurer extends 
PropertyConfigurerSupport implemen
 case "consumerNamePrefix": 
target.getPulsarConfiguration().setConsumerNamePrefix(property(camelContext, 
java.lang.String.class, value)); return true;
 case "consumerqueuesize":
 case "consumerQueueSize": 
target.getPulsarConfiguration().setConsumerQueueSize(property(camelContext, 
int.class, value)); return true;
+case "negativeackredeliverydelaymicros":
+case "negativeAckRedeliveryDelayMicros": 
target.getPulsarConfiguration().setNegativeAckRedeliveryDelayMicros(property(camelContext,
 long.class, value)); return true;
 case "numberofconsumers":
 case "numberOfConsumers": 
target.getPulsarConfiguration().setNumberOfConsumers(property(camelContext, 
int.class, value)); return true;
 case "subscriptioninitialposition":
diff --git 
a/components/camel-pulsar/src/generated/resources/org/apache/camel/component/pulsar/pulsar.json
 
b/components/camel-pulsar/src/generated/resources/org/apache/camel/component/pulsar/pulsar.json
index 33692b4..029a1c2 100644
--- 
a/components/camel-pulsar/src/generated/resources/org/apache/camel/component/pulsar/pulsar.json
+++ 
b/components/camel-pulsar/src/generated/resources/org/apache/camel/component/pulsar/pulsar.json
@@ -39,6 +39,7 @@
 "consumerName": { "kind": "parameter", "displayName": "Consumer Name", 
"group": "consumer", "label": "consumer", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "secret": false, 
"defaultValue": "sole-consumer", "configurationClass": 
"org.apache.camel.component.pulsar.configuration.PulsarConfiguration", 
"configurationField": "pulsarConfiguration", "description": "Name of the 
consumer when subscription is EXCLUSIVE" },
 "consumerNamePrefix": { "kind": "parameter", "displayName": "Consumer Name 
Prefix", "group": "consumer", "label": "consumer", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "secret": false, 
"defaultValue": "cons", "configurationClass": 
"org.apache.camel.component.pulsar.configuration.PulsarConfiguration", 
"configurationField": "pulsarConfiguration", "description": "Prefix to add to 
consumer names when a SHARED or FAILOVER subscription is used" },
 "consumerQueueSize": { "kind": "parameter", "displayName": "Consumer Queue 
Size", "group": "consumer", "label": "consumer", "required": false, "type": 
"integer", "javaType": "int", "deprecated": false, "secret": false, 
"defaultValue": "10", "configurationClass": 
"org.apache.camel.component.pulsar.configuration.PulsarConfiguration", 
"configurationField": "pulsarConfiguration", "description": "Size of the 
consumer queue - defaults to 10" },
+"negativeAckRedeliveryDelayMicros": { "kind": "parameter", "displayName": 
"Negative Ack Redelivery Delay Micros", "group": "consumer", "label": 
"consumer", "required": false, "type": "integer", "javaType": "long", 
"deprecated": false, "secret": false, "defaultValue": "6000", 
"configurationClass": 
"org.apache.camel.component.pulsar.configuration.PulsarConfiguration", 
"configurationField": "pulsarConfiguration", "description": "Set the negative 
acknowledgement delay" },
 "numberOfConsumers": { "kind": "parameter", "displayName": "Number Of 
Consumers", "group": "consumer", "label": "consumer", "required": false, 
"type": "integer", "javaType": "int", "deprecated": false, "secret": false, 
"defaultValue": "1", "configurationClass": 
"org.apache.camel.component.pulsar.configuration.PulsarConfiguration", 
"configurationField": 

[camel] 03/04: CAMEL-14607: fix style

2020-02-24 Thread acosentino
This is an automated email from the ASF dual-hosted git repository.

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

commit ae3bf8b9f8d8a933e0eba87eb391290d428823c9
Author: connormcauliffe-toast 
AuthorDate: Fri Feb 21 12:43:47 2020 -0500

CAMEL-14607: fix style
---
 .../camel/component/pulsar/PulsarConsumerAcknowledgementTest.java  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/components/camel-pulsar/src/test/java/org/apache/camel/component/pulsar/PulsarConsumerAcknowledgementTest.java
 
b/components/camel-pulsar/src/test/java/org/apache/camel/component/pulsar/PulsarConsumerAcknowledgementTest.java
index 76d0adc..180ea03 100644
--- 
a/components/camel-pulsar/src/test/java/org/apache/camel/component/pulsar/PulsarConsumerAcknowledgementTest.java
+++ 
b/components/camel-pulsar/src/test/java/org/apache/camel/component/pulsar/PulsarConsumerAcknowledgementTest.java
@@ -201,8 +201,7 @@ public class PulsarConsumerAcknowledgementTest extends 
PulsarTestSupport {
 PulsarMessageReceipt receipt = (PulsarMessageReceipt) 
exchange.getIn()
 
.getHeader(PulsarMessageHeaders.MESSAGE_RECEIPT);
 receipt.negativeAcknowledge();
-}
-else {
+} else {
 PulsarMessageReceipt receipt = (PulsarMessageReceipt) 
exchange.getIn()
 
.getHeader(PulsarMessageHeaders.MESSAGE_RECEIPT);
 receipt.acknowledge();



[camel] branch master updated (1100714 -> df4feb7)

2020-02-24 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

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


from 1100714  Polished
 add df4feb7  Fixed CS

No new revisions were added by this update.

Summary of changes:
 .../bean/BeanSimpleLanguageStaticMethodIssueTest.java| 16 
 1 file changed, 16 insertions(+)



[GitHub] [camel-website] zregvart merged pull request #161: feat(blog): GSoC 2020 announcement

2020-02-24 Thread GitBox
zregvart merged pull request #161: feat(blog): GSoC 2020 announcement
URL: https://github.com/apache/camel-website/pull/161
 
 
   


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[camel-website] branch master updated: feat(blog): GSoC 2020 announcement

2020-02-24 Thread zregvart
This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git


The following commit(s) were added to refs/heads/master by this push:
 new f96889a  feat(blog): GSoC 2020 announcement
f96889a is described below

commit f96889aa2d96db89593a17d3d8914e0bba8411e2
Author: Zoran Regvart 
AuthorDate: Mon Feb 24 15:46:49 2020 +0100

feat(blog): GSoC 2020 announcement

Blog post for GSoC 2020 announcement.
---
 content/blog/GSoC-2020-announced/GSoC-featured.svg | 41 
 content/blog/GSoC-2020-announced/index.md  | 57 ++
 layouts/blog/post.html |  8 ++-
 3 files changed, 104 insertions(+), 2 deletions(-)

diff --git a/content/blog/GSoC-2020-announced/GSoC-featured.svg 
b/content/blog/GSoC-2020-announced/GSoC-featured.svg
new file mode 100644
index 000..ab5f11c
--- /dev/null
+++ b/content/blog/GSoC-2020-announced/GSoC-featured.svg
@@ -0,0 +1,41 @@
+
+http://www.w3.org/2000/svg; xmlns:xlink="http://www.w3.org/1999/xlink;>
+
+logo_lockup_summer_of_code_horizontal_Roboto
+Created with Sketch.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+https://apache.org) is again elected to participate as a [mentor
+organization](https://summerofcode.withgoogle.com/organizations/5919474722537472/).
+
+We are looking for **ideas**, **students** and **mentors** willing to
+participate in GSoC 2020.  Anyone in the Camel community can propose an idea,
+look at the [JIRA issues labeled
+gsoc2020](https://issues.apache.org/jira/browse/CAMEL-11994?jql=project%20%3D%20CAMEL%20AND%20status%20%3D%20Open%20AND%20labels%20%3D%20gsoc2020%20ORDER%20BY%20priority%20DESC%2C%20updated%20DESC)
+or create new issues with ideas and set the
+[`gsoc2020`](https://issues.apache.org/jira/issues/?jql=project%20%3D%20CAMEL%20AND%20status%20%3D%20Open%20AND%20labels%20%3D%20help-wanted%20ORDER%20BY%20priority%20DESC%2C%20updated%20DESC)
+label. Have a look at the [Mentor
+guide](https://google.github.io/gsocguides/mentor/) to understand the role of
+the mentor and the obligations you would take on.
+
+**Students**, please take the time to familiarize yourself with the Camel
+project, look into subprojects and find areas that are interesting for you to
+participate in. Camel covers a wide range of interesting technologies and
+challenges, typical areas of contribution are improvements to existing
+[components](/components/latest/), adding [new
+components](http://localhost:1313/manual/latest/writing-components.html) or
+doing improvements to the core of Camel. There are exciting developments if
+you're interested in Kubernetes in the [Camel K](/projects/camel-k/), fast
+startup and low memory footprint in [Camel
+Quarkus](/projects/camel-quarkus/), or stream processing in [Camel
+Kafka](/projects/camel-kafka-connector/) subprojects. Also look for issues
+labeled with
+[`help-wanted`](https://issues.apache.org/jira/issues/?jql=project%20%3D%20CAMEL%20AND%20status%20%3D%20Open%20AND%20labels%20%3D%20help-wanted%20ORDER%20BY%20priority%20DESC%2C%20updated%20DESC)
+for easy issues to get started with to gain some experience contributing to
+Camel and introduce yourself to the Camel community.
+
+**Mentors** need to be existing [Camel
+comitters](https://projects.apache.org/committee.html?camel) and need to apply
+by first sending an email to the
+[priv...@camel.apache.org,ment...@community.apache.org](mailto:priv...@camel.apache.org,ment...@community.apache.org)
+as in the following example:
+
+```
+To: priv...@camel.apache.org
+cc: ment...@community.apache.org
+subject: GSoC 2020 mentor request for 
+
+Camel PMC,
+
+please acknowledge my request to become a mentor for Google Summer of
+Code 2018 projects for Apache Camel.
+
+I would like to receive the mentor invite to 
+```
+
+We're looking forward to participating in Google Summer of Code in 2020!
diff --git a/layouts/blog/post.html b/layouts/blog/post.html
index 6918149..5e2b7a3 100644
--- a/layouts/blog/post.html
+++ b/layouts/blog/post.html
@@ -23,8 +23,12 @@
 
 {{ $featured := (.Resources.ByType "image").GetMatch "*featured*" 
}}
 {{ with $featured }}
-{{ $featured := .Resize "800x q95 Gaussian" }}
-
+  {{ if ne $featured.MediaType.SubType "svg" }}
+  {{ $featured := .Resize "800x q95 Gaussian" }}
+  
+  {{ else }}
+  
+  {{ end }}
 {{ end }}
 

[GitHub] [camel-quarkus] Hashtagin commented on issue #564: Create Camel-Pulsar extension

2020-02-24 Thread GitBox
Hashtagin commented on issue #564: Create Camel-Pulsar extension
URL: https://github.com/apache/camel-quarkus/issues/564#issuecomment-590395071
 
 
   Should be a great idea !


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [camel-k] astefanutti opened a new pull request #1295: feat: Support Buildah builds on OpenShift with internal registry auto-configuration

2020-02-24 Thread GitBox
astefanutti opened a new pull request #1295: feat: Support Buildah builds on 
OpenShift with internal registry auto-configuration
URL: https://github.com/apache/camel-k/pull/1295
 
 
   **Release Note**
   ```release-note
   feat: Support Buildah builds on OpenShift with internal registry 
auto-configuration
   ```
   


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[camel-examples] branch master updated: Polished

2020-02-24 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 00128cc  Polished
00128cc is described below

commit 00128cca5802913d6d6856deadd90db743d683f9
Author: Claus Ibsen 
AuthorDate: Mon Feb 24 16:13:31 2020 +0100

Polished
---
 examples/camel-example-java8/pom.xml | 13 ++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/examples/camel-example-java8/pom.xml 
b/examples/camel-example-java8/pom.xml
index 4233dd1..5481131 100644
--- a/examples/camel-example-java8/pom.xml
+++ b/examples/camel-example-java8/pom.xml
@@ -51,13 +51,20 @@
 
 
 
+
 
 org.apache.camel
-camel-core
+camel-main
 
+
+
 
 org.apache.camel
-camel-main
+camel-bean
+
+
+org.apache.camel
+camel-timer
 
 
 
@@ -90,7 +97,7 @@
 
 
 
-
+
 
 org.apache.camel
 camel-maven-plugin



[camel-examples] branch master updated: Do not use deprecated api

2020-02-24 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 804d692  Do not use deprecated api
804d692 is described below

commit 804d692070f366860fdea0d2d9e4bfea478deddc
Author: Claus Ibsen 
AuthorDate: Mon Feb 24 16:10:10 2020 +0100

Do not use deprecated api
---
 .../src/main/java/org/apache/camel/example/java8/MyApplication.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/examples/camel-example-java8/src/main/java/org/apache/camel/example/java8/MyApplication.java
 
b/examples/camel-example-java8/src/main/java/org/apache/camel/example/java8/MyApplication.java
index 838a3bc..2dddb3f 100644
--- 
a/examples/camel-example-java8/src/main/java/org/apache/camel/example/java8/MyApplication.java
+++ 
b/examples/camel-example-java8/src/main/java/org/apache/camel/example/java8/MyApplication.java
@@ -34,7 +34,7 @@ public final class MyApplication {
 
 public static void main(String[] args) throws Exception {
 Main main = new Main();
-main.addRouteBuilder(new MyRouteBuilder());
+main.addRoutesBuilder(new MyRouteBuilder());
 main.run(args);
 }
 



[GitHub] [camel-website] zregvart opened a new pull request #161: feat(blog): GSoC 2020 announcement

2020-02-24 Thread GitBox
zregvart opened a new pull request #161: feat(blog): GSoC 2020 announcement
URL: https://github.com/apache/camel-website/pull/161
 
 
   Blog post for GSoC 2020 announcement.


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [camel-website] zregvart merged pull request #160: feat(blog): ApacheCON 2020 CFP

2020-02-24 Thread GitBox
zregvart merged pull request #160: feat(blog): ApacheCON 2020 CFP
URL: https://github.com/apache/camel-website/pull/160
 
 
   


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[camel-website] branch master updated: feat(blog): ApacheCON 2020 CFP

2020-02-24 Thread zregvart
This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git


The following commit(s) were added to refs/heads/master by this push:
 new 3621891  feat(blog): ApacheCON 2020 CFP
3621891 is described below

commit 36218910a5cf029da810e55eafdf144d3a02f9b3
Author: Zoran Regvart 
AuthorDate: Mon Feb 24 15:09:03 2020 +0100

feat(blog): ApacheCON 2020 CFP

Blog post for ApacheCON 2020 CFP.
---
 .../blog/ApacheConNA-2020-CFP/acna20-featured.jpg  | Bin 0 -> 500904 bytes
 content/blog/ApacheConNA-2020-CFP/index.md |  28 +
 2 files changed, 28 insertions(+)

diff --git a/content/blog/ApacheConNA-2020-CFP/acna20-featured.jpg 
b/content/blog/ApacheConNA-2020-CFP/acna20-featured.jpg
new file mode 100644
index 000..738f00a
Binary files /dev/null and 
b/content/blog/ApacheConNA-2020-CFP/acna20-featured.jpg differ
diff --git a/content/blog/ApacheConNA-2020-CFP/index.md 
b/content/blog/ApacheConNA-2020-CFP/index.md
new file mode 100644
index 000..15c01b2
--- /dev/null
+++ b/content/blog/ApacheConNA-2020-CFP/index.md
@@ -0,0 +1,28 @@
+---
+title: "CFP for ApacheCon North America 2020"
+date: 2020-02-24T12:00:00
+author: Zoran Regvart
+categories: ["Events"]
+preview: ApacheCon 2020 in New Orleans
+---
+
+As [previous year](../ApacheConNA-2019/) Apache Camel is part of ApacheCon
+2020 in North America. This year the conference will be held at the [Sheraton,
+in New Orleans](https://apachecon.com/acna2020/location.html), September 28th
+through October 2nd, 2020.
+
+The call for presentations for ApacheCon North America 2020 is [now
+open](https://apachecon.com/acna2020/cfp) and the wider Camel community
+members are encouraged to submit. Look for the **Camel/Integration** track
+when submitting.
+
+We're most interested to see talks that offer learning experience to the
+attendees, so talks that present new parts of the Camel ecosystem (Camel K,
+Camel Quarkus, Camel Kafka Connector), talks showing off lessons learned, use
+cases, and visions on where software integration is heading in the future.
+
+**The call for presentations will close Friday, May 1, 2020 8:00 (America/New
+York time).**
+
+Submit early, submit often, at
+[https://apachecon.com/acna2020/cfp](https://apachecon.com/acna2020/cfp)



[GitHub] [camel-website] zregvart opened a new pull request #160: feat(blog): ApacheCON 2020 CFP

2020-02-24 Thread GitBox
zregvart opened a new pull request #160: feat(blog): ApacheCON 2020 CFP
URL: https://github.com/apache/camel-website/pull/160
 
 
   Blog post for ApacheCON 2020 CFP.


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [camel-quarkus] ppalaga commented on issue #752: Test the Jira extension using Testcontainer and the Jira image

2020-02-24 Thread GitBox
ppalaga commented on issue #752: Test the Jira extension using Testcontainer 
and the Jira image
URL: https://github.com/apache/camel-quarkus/issues/752#issuecomment-590334258
 
 
   Good to know, thanks for the info.


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[camel] branch master updated: Polished

2020-02-24 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 1100714  Polished
1100714 is described below

commit 110071428505571d8956f8a49c2e2d81b00e81c6
Author: Claus Ibsen 
AuthorDate: Mon Feb 24 14:59:44 2020 +0100

Polished
---
 tests/camel-jmh/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/camel-jmh/pom.xml b/tests/camel-jmh/pom.xml
index 5226d40..09980ef 100644
--- a/tests/camel-jmh/pom.xml
+++ b/tests/camel-jmh/pom.xml
@@ -48,7 +48,7 @@
 
 
 org.apache.camel
-camel-core
+camel-core-engine
 test
 
 



[GitHub] [camel-k] nicolaferraro opened a new pull request #1294: Fix #1236: upgrade to runtime 1.1.0 and remove camel-bean autodetection

2020-02-24 Thread GitBox
nicolaferraro opened a new pull request #1294: Fix #1236: upgrade to runtime 
1.1.0 and remove camel-bean autodetection
URL: https://github.com/apache/camel-k/pull/1294
 
 
   
   
   Fix #1236
   
   
   
   
   **Release Note**
   ```release-note
   NONE
   ```
   


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[camel-k] 08/14: #1199: fix order of messages

2020-02-24 Thread lburgazzoli
This is an automated email from the ASF dual-hosted git repository.

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

commit e5350d900ba91b2e288ca041d52af7cce134e105
Author: Nicola Ferraro 
AuthorDate: Tue Jan 28 01:47:48 2020 +0100

#1199: fix order of messages
---
 pkg/event/manager.go | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/pkg/event/manager.go b/pkg/event/manager.go
index 6b85b4c..c773c23 100644
--- a/pkg/event/manager.go
+++ b/pkg/event/manager.go
@@ -87,10 +87,10 @@ func NotifyIntegrationUpdated(ctx context.Context, c 
client.Client, recorder rec
oldPhase = string(old.Status.Phase)
oldConditions = old.Status.GetConditions()
}
-   notifyIfPhaseUpdated(ctx, c, recorder, new, oldPhase, 
string(new.Status.Phase), "Integration", new.Name, 
ReasonIntegrationPhaseUpdated)
if new.Status.Phase != v1.IntegrationPhaseNone {
notifyIfConditionUpdated(recorder, new, oldConditions, 
new.Status.GetConditions(), "Integration", new.Name, 
ReasonIntegrationConditionChanged)
}
+   notifyIfPhaseUpdated(ctx, c, recorder, new, oldPhase, 
string(new.Status.Phase), "Integration", new.Name, 
ReasonIntegrationPhaseUpdated)
 }
 
 // NotifyIntegrationKitUpdated automatically generates events when an 
integration kit changes
@@ -104,10 +104,10 @@ func NotifyIntegrationKitUpdated(ctx context.Context, c 
client.Client, recorder
oldPhase = string(old.Status.Phase)
oldConditions = old.Status.GetConditions()
}
-   notifyIfPhaseUpdated(ctx, c, recorder, new, oldPhase, 
string(new.Status.Phase), "Integration Kit", new.Name, 
ReasonIntegrationKitPhaseUpdated)
if new.Status.Phase != v1.IntegrationKitPhaseNone {
notifyIfConditionUpdated(recorder, new, oldConditions, 
new.Status.GetConditions(), "Integration Kit", new.Name, 
ReasonIntegrationKitConditionChanged)
}
+   notifyIfPhaseUpdated(ctx, c, recorder, new, oldPhase, 
string(new.Status.Phase), "Integration Kit", new.Name, 
ReasonIntegrationKitPhaseUpdated)
 }
 
 // NotifyIntegrationKitError automatically generates error events when the 
integration kit reconcile cycle phase has an error
@@ -133,10 +133,10 @@ func NotifyIntegrationPlatformUpdated(ctx 
context.Context, c client.Client, reco
oldPhase = string(old.Status.Phase)
oldConditions = old.Status.GetConditions()
}
-   notifyIfPhaseUpdated(ctx, c, recorder, new, oldPhase, 
string(new.Status.Phase), "Integration Platform", new.Name, 
ReasonIntegrationPlatformPhaseUpdated)
if new.Status.Phase != v1.IntegrationPlatformPhaseNone {
notifyIfConditionUpdated(recorder, new, oldConditions, 
new.Status.GetConditions(), "Integration Platform", new.Name, 
ReasonIntegrationPlatformConditionChanged)
}
+   notifyIfPhaseUpdated(ctx, c, recorder, new, oldPhase, 
string(new.Status.Phase), "Integration Platform", new.Name, 
ReasonIntegrationPlatformPhaseUpdated)
 }
 
 // NotifyIntegrationPlatformError automatically generates error events when 
the integration Platform reconcile cycle phase has an error
@@ -162,10 +162,10 @@ func NotifyBuildUpdated(ctx context.Context, c 
client.Client, recorder record.Ev
oldPhase = string(old.Status.Phase)
oldConditions = old.Status.GetConditions()
}
-   notifyIfPhaseUpdated(ctx, c, recorder, new, oldPhase, 
string(new.Status.Phase), "Build", new.Name, ReasonBuildPhaseUpdated)
if new.Status.Phase != v1.BuildPhaseNone {
notifyIfConditionUpdated(recorder, new, oldConditions, 
new.Status.GetConditions(), "Build", new.Name, ReasonBuildConditionChanged)
}
+   notifyIfPhaseUpdated(ctx, c, recorder, new, oldPhase, 
string(new.Status.Phase), "Build", new.Name, ReasonBuildPhaseUpdated)
 }
 
 // NotifyBuildError automatically generates error events when the build 
reconcile cycle phase has an error



[camel-k] branch master updated (abacac8 -> 85808ff)

2020-02-24 Thread lburgazzoli
This is an automated email from the ASF dual-hosted git repository.

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


from abacac8  Fix #1286: fix tekton test
 new ba6e439  # This is a combination of 2 commits. # This is the 1st 
commit message:
 new d1cf15f  #1199: add events to all CRD
 new e110c42  #1199: multicasting events of dependent resources to 
integration
 new 9f03af2  #1199: logging status information in dev and wait mode
 new fd88d0d  #1199: add cronjob conditions
 new 622d0a7  #1199: fix lint
 new 6e994c0  1199: fix cronjob conditions and message
 new e5350d9  #1199: fix order of messages
 new 8f41cf7  Fix #1199: add old logs for cases where events are not 
generated
 new ba2603d  Fix #1199: add optional permission for creating events
 new 2ea6321  Fix #1199: fix lint
 new 968b48c  Fix #1233: start dev mode also when integration is already 
running
 new 0d61e86  Fix #1233: fix dev mode test and rebase
 new 85808ff  Fix #1199: fix builder permissions

The 14 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:
 .gitignore |   3 +
 deploy/builder-role-kubernetes.yaml|   9 +-
 deploy/builder-role-openshift.yaml |   9 +-
 ...ding.yaml => operator-role-binding-events.yaml} |   4 +-
 ...role-binding.yaml => operator-role-events.yaml} |  21 +-
 deploy/operator-role-olm.yaml  |   1 +
 deploy/platform-integration-kit-groovy.yaml|   4 +-
 deploy/platform-integration-kit-java.yaml  |   4 +-
 deploy/platform-integration-kit-js.yaml|   4 +-
 deploy/platform-integration-kit-knative.yaml   |   4 +-
 deploy/platform-integration-kit-kotlin.yaml|   4 +-
 deploy/platform-integration-kit-main.yaml  |   4 +-
 deploy/platform-integration-kit-xml.yaml   |   4 +-
 deploy/platform-integration-kit-yaml.yaml  |   4 +-
 deploy/resources.go|  60 +++--
 e2e/dev_mode_test.go   |   5 +-
 helm/camel-k/templates/operator-role.yaml  |   1 +
 pkg/apis/camel/v1/build_types_support.go   |  41 
 pkg/apis/camel/v1/common_types.go  |  10 +
 pkg/apis/camel/v1/integration_types.go |   6 +
 pkg/apis/camel/v1/integration_types_support.go |  51 -
 pkg/apis/camel/v1/integrationkit_types_support.go  |  41 
 pkg/apis/camel/v1/integrationplatform_types.go |   2 +
 .../camel/v1/integrationplatform_types_support.go  |  41 
 pkg/builder/s2i/publisher.go   |   4 +
 pkg/cmd/install.go |  24 +-
 pkg/cmd/operator/operator.go   |  32 ++-
 pkg/cmd/reset.go   |   2 +-
 pkg/cmd/run.go |  29 +--
 pkg/controller/build/build_controller.go   |  19 +-
 pkg/controller/build/schedule_pod.go   |   3 +
 pkg/controller/integration/build_kit.go|  12 +-
 .../integration/integration_controller.go  |  19 +-
 pkg/controller/integrationkit/build.go |   1 +
 .../integrationkit/integrationkit_controller.go|  19 +-
 .../integrationplatform_controller.go  |  15 +-
 pkg/event/manager.go   | 245 +
 pkg/install/operator.go|  17 ++
 pkg/metadata/metadata.go   |   2 +-
 pkg/trait/cron.go  |  40 
 pkg/trait/deployment.go|   4 +-
 pkg/trait/deployment_test.go   |   2 +-
 pkg/trait/knative_service.go   |   7 +-
 pkg/trait/rest-dsl.go  |   2 +-
 pkg/{ => util}/gzip/compress.go|   0
 pkg/{ => util}/gzip/compress_test.go   |   0
 pkg/util/kubernetes/camel_labels.go|  74 +++
 pkg/util/kubernetes/permission.go  |  54 +
 pkg/util/olm/operator.go   |  36 +--
 pkg/util/watch/watch.go| 170 +-
 50 files changed, 1007 insertions(+), 162 deletions(-)
 copy deploy/{operator-role-binding.yaml => operator-role-binding-events.yaml} 
(94%)
 copy deploy/{builder-role-binding.yaml => operator-role-events.yaml} (84%)
 create mode 100644 pkg/event/manager.go
 rename pkg/{ => util}/gzip/compress.go (100%)
 rename pkg/{ => util}/gzip/compress_test.go (100%)
 create mode 100644 pkg/util/kubernetes/camel_labels.go
 create mode 100644 pkg/util/kubernetes/permission.go



[camel-k] 12/14: Fix #1233: start dev mode also when integration is already running

2020-02-24 Thread lburgazzoli
This is an automated email from the ASF dual-hosted git repository.

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

commit 968b48c4df590be7753b335dfaf91b396d005802
Author: Nicola Ferraro 
AuthorDate: Fri Feb 21 17:05:29 2020 +0100

Fix #1233: start dev mode also when integration is already running
---
 pkg/util/watch/watch.go | 45 +++--
 1 file changed, 35 insertions(+), 10 deletions(-)

diff --git a/pkg/util/watch/watch.go b/pkg/util/watch/watch.go
index 5d2229c..21b08ba 100644
--- a/pkg/util/watch/watch.go
+++ b/pkg/util/watch/watch.go
@@ -50,6 +50,7 @@ func HandleIntegrationStateChanges(ctx context.Context, 
integration *v1.Integrat
if err != nil {
return nil, err
}
+
watcher, err := dynamicClient.Watch(metav1.ListOptions{
FieldSelector:   "metadata.name=" + integration.Name,
ResourceVersion: integration.ObjectMeta.ResourceVersion,
@@ -63,6 +64,21 @@ func HandleIntegrationStateChanges(ctx context.Context, 
integration *v1.Integrat
 
var lastObservedState *v1.IntegrationPhase
 
+   var handlerWrapper = func(it *v1.Integration) bool {
+   if lastObservedState == nil || *lastObservedState != 
it.Status.Phase {
+   lastObservedState = 
+   if !handler(it) {
+   return false
+   }
+   }
+   return true
+   }
+
+   // Check completion before starting the watch
+   if !handlerWrapper(integration) {
+   return lastObservedState, nil
+   }
+
for {
select {
case <-ctx.Done():
@@ -85,11 +101,8 @@ func HandleIntegrationStateChanges(ctx context.Context, 
integration *v1.Integrat
return lastObservedState, nil
}
 
-   if lastObservedState == nil || 
*lastObservedState != copy.Status.Phase {
-   lastObservedState = 

-   if !handler(copy) {
-   return 
lastObservedState, nil
-   }
+   if !handlerWrapper(copy) {
+   return lastObservedState, nil
}
}
}
@@ -189,6 +202,21 @@ func HandlePlatformStateChanges(ctx context.Context, 
platform *v1.IntegrationPla
 
var lastObservedState *v1.IntegrationPlatformPhase
 
+   var handlerWrapper = func(pl *v1.IntegrationPlatform) bool {
+   if lastObservedState == nil || *lastObservedState != 
pl.Status.Phase {
+   lastObservedState = 
+   if !handler(pl) {
+   return false
+   }
+   }
+   return true
+   }
+
+   // Check completion before starting the watch
+   if !handlerWrapper(platform) {
+   return nil
+   }
+
for {
select {
case <-ctx.Done():
@@ -211,11 +239,8 @@ func HandlePlatformStateChanges(ctx context.Context, 
platform *v1.IntegrationPla
return nil
}
 
-   if lastObservedState == nil || 
*lastObservedState != copy.Status.Phase {
-   lastObservedState = 

-   if !handler(copy) {
-   return nil
-   }
+   if !handlerWrapper(copy) {
+   return nil
}
}
}



[camel-k] 01/14: # This is a combination of 2 commits. # This is the 1st commit message:

2020-02-24 Thread lburgazzoli
This is an automated email from the ASF dual-hosted git repository.

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

commit ba6e43989d45ff4c350bf7a7081e6f6f70633487
Author: Nicola Ferraro 
AuthorDate: Mon Jan 27 12:53:26 2020 +0100

# This is a combination of 2 commits.
# This is the 1st commit message:

#1199: use kubernetes events during reconciliation

# This is the commit message #2:

#1199: use kubernetes events during reconciliation
---
 .gitignore |  3 +
 akamel-config.yaml |  3 +
 pkg/apis/camel/v1/integration_types_support.go | 10 ++-
 pkg/cmd/operator/operator.go   | 21 -
 pkg/cmd/reset.go   |  2 +-
 pkg/cmd/run.go |  2 +-
 .../integration/integration_controller.go  | 19 +++--
 pkg/events/manager.go  | 95 ++
 pkg/metadata/metadata.go   |  2 +-
 pkg/trait/deployment.go|  4 +-
 pkg/trait/knative_service.go   |  5 +-
 pkg/trait/rest-dsl.go  |  2 +-
 pkg/{ => util}/gzip/compress.go|  0
 pkg/{ => util}/gzip/compress_test.go   |  0
 14 files changed, 152 insertions(+), 16 deletions(-)

diff --git a/.gitignore b/.gitignore
index d746591..3bc834d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,6 +5,9 @@
 /kamel
 /license-check
 
+# Config files
+/kamel-config.yaml
+
 # Released Packages
 *.tar.gz
 
diff --git a/akamel-config.yaml b/akamel-config.yaml
new file mode 100755
index 000..1f20f9b
--- /dev/null
+++ b/akamel-config.yaml
@@ -0,0 +1,3 @@
+kamel:
+  install:
+maven-repositories: 
'[https://repository.apache.org/content/repositories/orgapachecamel-1171]'
diff --git a/pkg/apis/camel/v1/integration_types_support.go 
b/pkg/apis/camel/v1/integration_types_support.go
index 21b8c0e..5516986 100644
--- a/pkg/apis/camel/v1/integration_types_support.go
+++ b/pkg/apis/camel/v1/integration_types_support.go
@@ -18,6 +18,7 @@ limitations under the License.
 package v1
 
 import (
+   "fmt"
"strings"
 
corev1 "k8s.io/api/core/v1"
@@ -209,12 +210,17 @@ func (in *Integration) SetIntegrationPlatform(platform 
*IntegrationPlatform) {
 // SetIntegrationKit --
 func (in *Integration) SetIntegrationKit(kit *IntegrationKit) {
cs := corev1.ConditionTrue
-
+   message := kit.Name
if kit.Status.Phase != IntegrationKitPhaseReady {
cs = corev1.ConditionFalse
+   if kit.Status.Phase == IntegrationKitPhaseNone {
+   message = fmt.Sprintf("creating a new integration kit")
+   } else {
+   message = fmt.Sprintf("integration kit %s is in state 
%q", kit.Name, kit.Status.Phase)
+   }
}
 
-   in.Status.SetCondition(IntegrationConditionKitAvailable, cs, 
IntegrationConditionKitAvailableReason, kit.Name)
+   in.Status.SetCondition(IntegrationConditionKitAvailable, cs, 
IntegrationConditionKitAvailableReason, message)
in.Status.Kit = kit.Name
in.Status.Image = kit.Status.Image
 }
diff --git a/pkg/cmd/operator/operator.go b/pkg/cmd/operator/operator.go
index f5e6c09..92229df 100644
--- a/pkg/cmd/operator/operator.go
+++ b/pkg/cmd/operator/operator.go
@@ -26,10 +26,14 @@ import (
"runtime"
"time"
 
+   "github.com/apache/camel-k/pkg/client"
+   camellog "github.com/apache/camel-k/pkg/util/log"
"github.com/operator-framework/operator-sdk/pkg/k8sutil"
"github.com/operator-framework/operator-sdk/pkg/leader"
"github.com/operator-framework/operator-sdk/pkg/ready"
sdkVersion "github.com/operator-framework/operator-sdk/version"
+   typedcorev1 "k8s.io/client-go/kubernetes/typed/core/v1"
+   "k8s.io/client-go/tools/record"
 
"sigs.k8s.io/controller-runtime/pkg/client/config"
logf "sigs.k8s.io/controller-runtime/pkg/log"
@@ -43,6 +47,8 @@ import (
 )
 
 var log = logf.Log.WithName("cmd")
+
+// GitCommit --
 var GitCommit string
 
 func printVersion() {
@@ -98,8 +104,21 @@ func Run() {
}
defer r.Unset() // nolint: errcheck
 
+   // Configure an event broadcaster
+   c, err := client.NewClient(false)
+   if err != nil {
+   log.Error(err, "cannot initialize client")
+   os.Exit(1)
+   }
+   eventBroadcaster := record.NewBroadcaster()
+   eventBroadcaster.StartLogging(camellog.WithName("events").Infof)
+   
eventBroadcaster.StartRecordingToSink({Interface: 
c.CoreV1().Events(namespace)})
+
// Create a new Cmd to provide shared dependencies and start components
-   mgr, err := manager.New(cfg, manager.Options{Namespace: namespace})
+   mgr, err := manager.New(cfg, manager.Options{
+ 

[camel-k] 11/14: Fix #1199: fix lint

2020-02-24 Thread lburgazzoli
This is an automated email from the ASF dual-hosted git repository.

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

commit 2ea63212b43c2bdabe2ed9c2cc3a057377c8d47e
Author: Nicola Ferraro 
AuthorDate: Fri Feb 21 11:46:13 2020 +0100

Fix #1199: fix lint
---
 pkg/cmd/operator/operator.go| 1 +
 pkg/controller/integration/build_kit.go | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/pkg/cmd/operator/operator.go b/pkg/cmd/operator/operator.go
index 1347e1d..6f43b16 100644
--- a/pkg/cmd/operator/operator.go
+++ b/pkg/cmd/operator/operator.go
@@ -114,6 +114,7 @@ func Run() {
 
// Configure event broadcaster
var eventBroadcaster record.EventBroadcaster
+   // nolint: gocritic
if ok, err := kubernetes.CheckPermission(c, corev1.GroupName, "events", 
namespace, "", "create"); err != nil {
log.Error(err, "cannot check permissions for configuring event 
broadcaster")
} else if !ok {
diff --git a/pkg/controller/integration/build_kit.go 
b/pkg/controller/integration/build_kit.go
index 61c8c3f..a3e4fe6 100644
--- a/pkg/controller/integration/build_kit.go
+++ b/pkg/controller/integration/build_kit.go
@@ -111,8 +111,8 @@ func (action *buildKitAction) Handle(ctx context.Context, 
integration *v1.Integr
"camel.apache.org/created.by.kind":v1.IntegrationKind,
"camel.apache.org/created.by.name":integration.Name,
"camel.apache.org/created.by.version": 
integration.ResourceVersion,
-   "camel.apache.org/runtime.version":
integration.Status.RuntimeVersion,
-   "camel.apache.org/runtime.provider":   
string(integration.Status.RuntimeProvider),
+   "camel.apache.org/runtime.version":
integration.Status.RuntimeVersion,
+   "camel.apache.org/runtime.provider":   
string(integration.Status.RuntimeProvider),
}
 
// Set the kit to have the same characteristics as the integrations



[GitHub] [camel-k] lburgazzoli merged pull request #1228: Provide more information on the deployment status and generate related Kubernetes events

2020-02-24 Thread GitBox
lburgazzoli merged pull request #1228: Provide more information on the 
deployment status and generate related Kubernetes events
URL: https://github.com/apache/camel-k/pull/1228
 
 
   


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[camel-k] 03/14: #1199: multicasting events of dependent resources to integration

2020-02-24 Thread lburgazzoli
This is an automated email from the ASF dual-hosted git repository.

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

commit e110c429afd948b84040d8cc0bb02b4a8c35b11e
Author: Nicola Ferraro 
AuthorDate: Mon Jan 27 16:31:27 2020 +0100

#1199: multicasting events of dependent resources to integration
---
 deploy/platform-integration-kit-groovy.yaml|  4 +-
 deploy/platform-integration-kit-java.yaml  |  4 +-
 deploy/platform-integration-kit-js.yaml|  4 +-
 deploy/platform-integration-kit-knative.yaml   |  4 +-
 deploy/platform-integration-kit-kotlin.yaml|  4 +-
 deploy/platform-integration-kit-main.yaml  |  4 +-
 deploy/platform-integration-kit-xml.yaml   |  4 +-
 deploy/platform-integration-kit-yaml.yaml  |  4 +-
 pkg/builder/s2i/publisher.go   |  4 ++
 pkg/controller/build/build_controller.go   |  6 +-
 pkg/controller/build/schedule_pod.go   |  3 +
 pkg/controller/integration/build_kit.go|  8 +--
 .../integration/integration_controller.go  |  6 +-
 pkg/controller/integrationkit/build.go |  1 +
 .../integrationkit/integrationkit_controller.go|  6 +-
 .../integrationplatform_controller.go  |  6 +-
 pkg/events/manager.go  | 56 
 pkg/util/kubernetes/camel_labels.go| 74 ++
 18 files changed, 157 insertions(+), 45 deletions(-)

diff --git a/deploy/platform-integration-kit-groovy.yaml 
b/deploy/platform-integration-kit-groovy.yaml
index f8e40f3..b525c58 100644
--- a/deploy/platform-integration-kit-groovy.yaml
+++ b/deploy/platform-integration-kit-groovy.yaml
@@ -21,8 +21,8 @@ metadata:
   name: groovy
   labels:
 app: "camel-k"
-camel.apache.org/kit.created.by.kind: Operator
-camel.apache.org/kit.created.by.name: camel-k-operator
+camel.apache.org/created.by.kind: Operator
+camel.apache.org/created.by.name: camel-k-operator
 camel.apache.org/kit.type: platform
 spec:
   dependencies:
diff --git a/deploy/platform-integration-kit-java.yaml 
b/deploy/platform-integration-kit-java.yaml
index c9f9752..511ce4f 100644
--- a/deploy/platform-integration-kit-java.yaml
+++ b/deploy/platform-integration-kit-java.yaml
@@ -21,8 +21,8 @@ metadata:
   name: java
   labels:
 app: "camel-k"
-camel.apache.org/kit.created.by.kind: Operator
-camel.apache.org/kit.created.by.name: camel-k-operator
+camel.apache.org/created.by.kind: Operator
+camel.apache.org/created.by.name: camel-k-operator
 camel.apache.org/kit.type: platform
 spec:
   dependencies:
diff --git a/deploy/platform-integration-kit-js.yaml 
b/deploy/platform-integration-kit-js.yaml
index e8dbef2..6187905 100644
--- a/deploy/platform-integration-kit-js.yaml
+++ b/deploy/platform-integration-kit-js.yaml
@@ -21,8 +21,8 @@ metadata:
   name: js
   labels:
 app: "camel-k"
-camel.apache.org/kit.created.by.kind: Operator
-camel.apache.org/kit.created.by.name: camel-k-operator
+camel.apache.org/created.by.kind: Operator
+camel.apache.org/created.by.name: camel-k-operator
 camel.apache.org/kit.type: platform
 spec:
   dependencies:
diff --git a/deploy/platform-integration-kit-knative.yaml 
b/deploy/platform-integration-kit-knative.yaml
index 972fc8f..74fc176 100644
--- a/deploy/platform-integration-kit-knative.yaml
+++ b/deploy/platform-integration-kit-knative.yaml
@@ -21,8 +21,8 @@ metadata:
   name: knative
   labels:
 app: "camel-k"
-camel.apache.org/kit.created.by.kind: Operator
-camel.apache.org/kit.created.by.name: camel-k-operator
+camel.apache.org/created.by.kind: Operator
+camel.apache.org/created.by.name: camel-k-operator
 camel.apache.org/kit.type: platform
 spec:
   dependencies:
diff --git a/deploy/platform-integration-kit-kotlin.yaml 
b/deploy/platform-integration-kit-kotlin.yaml
index 1be76e4..44f5819 100644
--- a/deploy/platform-integration-kit-kotlin.yaml
+++ b/deploy/platform-integration-kit-kotlin.yaml
@@ -21,8 +21,8 @@ metadata:
   name: kotlin
   labels:
 app: "camel-k"
-camel.apache.org/kit.created.by.kind: Operator
-camel.apache.org/kit.created.by.name: camel-k-operator
+camel.apache.org/created.by.kind: Operator
+camel.apache.org/created.by.name: camel-k-operator
 camel.apache.org/kit.type: platform
 spec:
   dependencies:
diff --git a/deploy/platform-integration-kit-main.yaml 
b/deploy/platform-integration-kit-main.yaml
index 7a3a6cf..0b5cfb9 100644
--- a/deploy/platform-integration-kit-main.yaml
+++ b/deploy/platform-integration-kit-main.yaml
@@ -21,8 +21,8 @@ metadata:
   name: main
   labels:
 app: "camel-k"
-camel.apache.org/kit.created.by.kind: Operator
-camel.apache.org/kit.created.by.name: camel-k-operator
+camel.apache.org/created.by.kind: Operator
+camel.apache.org/created.by.name: camel-k-operator
 

[camel-k] 14/14: Fix #1199: fix builder permissions

2020-02-24 Thread lburgazzoli
This is an automated email from the ASF dual-hosted git repository.

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

commit 85808ffa4a4b0620c0371fddb3edd7cf212ad4ac
Author: Nicola Ferraro 
AuthorDate: Mon Feb 24 08:02:42 2020 +0100

Fix #1199: fix builder permissions
---
 deploy/builder-role-kubernetes.yaml | 1 -
 deploy/builder-role-openshift.yaml  | 1 -
 deploy/resources.go | 8 
 3 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/deploy/builder-role-kubernetes.yaml 
b/deploy/builder-role-kubernetes.yaml
index 5a18caf..7a551ca 100644
--- a/deploy/builder-role-kubernetes.yaml
+++ b/deploy/builder-role-kubernetes.yaml
@@ -55,7 +55,6 @@ rules:
   resources:
   - events
   verbs:
-  - create
   - get
   - list
   - watch
diff --git a/deploy/builder-role-openshift.yaml 
b/deploy/builder-role-openshift.yaml
index a0ab82b..7271d04 100644
--- a/deploy/builder-role-openshift.yaml
+++ b/deploy/builder-role-openshift.yaml
@@ -55,7 +55,6 @@ rules:
   resources:
   - events
   verbs:
-  - create
   - get
   - list
   - watch
diff --git a/deploy/resources.go b/deploy/resources.go
index 77c6542..5d30d0b 100644
--- a/deploy/resources.go
+++ b/deploy/resources.go
@@ -70,16 +70,16 @@ var assets = func() http.FileSystem {
"/builder-role-kubernetes.yaml": ۰CompressedFileInfo{
name: "builder-role-kubernetes.yaml",
modTime:  time.Time{},
-   uncompressedSize: 1467,
+   uncompressedSize: 1456,
 
-   compressedContent: 
[]byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x54\x41\x8f\xdb\x36\x17\xbc\xf3\x57\x0c\xa4\x4b\xf2\x61\x2d\x7f\xe9\xa9\x70\x4f\xee\x66\xb7\x15\x1a\xd8\xc0\xca\x69\x90\x23\x45\x3e\x4b\x0f\x4b\x91\x2c\x49\xad\xb2\xfd\xf5\x05\x69\xbb\xf1\x76\x11\xa0\x05\xc2\x8b\x1f\xe9\xe1\xbc\x19\xce\xb3\x6b\xac\xbe\xdf\x12\x35\x3e\xb0\x22\x1b\x49\x23\x39\xa4\x91\xb0\xf5\x52\x8d\x84\xce\x1d\xd3\x22\x03\xe1\xde\xcd\x56\xcb\xc4\xce\xe2\xcd\xb6\xbb\x7f\x8b\xd9\x6a\x0a\x70\x96\xe0\x
 [...]
+   compressedContent: 
[]byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x54\xc1\x8e\xdb\x36\x14\xbc\xf3\x2b\x06\xd2\x25\x29\xd6\x72\xd3\x53\xe1\x9e\xdc\xcd\x6e\x2b\x34\xb0\x81\x95\xd3\x20\x47\x8a\x7c\x96\x1e\x96\x22\x59\x92\x5a\x65\xfb\xf5\x05\x69\xbb\xf1\x76\x2f\x29\x10\x5e\xfc\x48\x0f\xe7\xcd\x70\x9e\x5d\x63\xf5\xfd\x96\xa8\xf1\x81\x15\xd9\x48\x1a\xc9\x21\x8d\x84\xad\x97\x6a\x24\x74\xee\x98\x16\x19\x08\xf7\x6e\xb6\x5a\x26\x76\x16\x6f\xb6\xdd\xfd\x5b\xcc\x56\x53\x80\xb3\x04\x17\x30\x
 [...]
},
"/builder-role-openshift.yaml": ۰CompressedFileInfo{
name: "builder-role-openshift.yaml",
modTime:  time.Time{},
-   uncompressedSize: 2132,
+   uncompressedSize: 2121,
 
-   compressedContent: 
[]byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\x54\xc1\x8e\xdb\x36\x10\xbd\xf3\x2b\x1e\xa4\x4b\x52\xac\xe5\xa6\xa7\xc2\x3d\xb9\x9b\xdd\xd6\x68\x60\x03\x2b\xa7\x41\x8e\x23\x69\x2c\x0d\x96\x22\x59\x92\x5a\xc5\xfd\xfa\x42\xb4\xdd\xb5\xe3\xa4\x4d\x80\x00\xd1\xc5\xa3\xe1\xf0\xcd\x7b\xf3\xc6\xca\x31\xfb\x76\x8f\xca\xf1\x46\x6a\x36\x81\x1b\x44\x8b\xd8\x31\x96\x8e\xea\x8e\x51\xda\x5d\x1c\xc9\x33\xee\xed\x60\x1a\x8a\x62\x0d\x5e\x2c\xcb\xfb\x97\x18\x4c\xc3\x1e\xd6\x30\x
 [...]
+   compressedContent: 
[]byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\x54\x4d\x8f\xdb\x36\x10\xbd\xf3\x57\x3c\x48\x97\xa4\x58\xcb\x4d\x4f\x85\x7b\x72\x93\xdd\xd6\x68\x60\x03\x2b\xa7\x41\x8e\x23\x69\x2c\x0d\x4c\x91\x2c\x49\xad\xe2\xfe\xfa\x42\xb4\xdd\xb5\xe3\xf4\x0b\x0d\x10\x5d\x3c\x1a\x0e\xdf\xbc\x37\x6f\xac\x1c\xb3\x2f\xf7\xa8\x1c\x6f\xa5\x66\x13\xb8\x41\xb4\x88\x1d\x63\xe9\xa8\xee\x18\xa5\xdd\xc5\x91\x3c\xe3\xc1\x0e\xa6\xa1\x28\xd6\xe0\xc5\xb2\x7c\x78\x89\xc1\x34\xec\x61\x0d\xc3\x
 [...]
},
"/builder-service-account.yaml": ۰CompressedFileInfo{
name: "builder-service-account.yaml",



[GitHub] [camel-k] lburgazzoli closed issue #1195: Add build information when printing integration logs

2020-02-24 Thread GitBox
lburgazzoli closed issue #1195: Add build information when printing integration 
logs
URL: https://github.com/apache/camel-k/issues/1195
 
 
   


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[camel-k] 07/14: 1199: fix cronjob conditions and message

2020-02-24 Thread lburgazzoli
This is an automated email from the ASF dual-hosted git repository.

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

commit 6e994c0f27b1d7484ddc2995705b04ca80886bb5
Author: Nicola Ferraro 
AuthorDate: Tue Jan 28 01:39:09 2020 +0100

1199: fix cronjob conditions and message
---
 pkg/trait/cron.go| 27 +--
 pkg/trait/knative_service.go |  4 ++--
 2 files changed, 23 insertions(+), 8 deletions(-)

diff --git a/pkg/trait/cron.go b/pkg/trait/cron.go
index 815aa66..4445438 100644
--- a/pkg/trait/cron.go
+++ b/pkg/trait/cron.go
@@ -180,21 +180,36 @@ func (t *cronTrait) Configure(e *Environment) (bool, 
error) {
 
// Fallback strategy can be implemented in any other controller
if t.Fallback != nil && *t.Fallback {
+   if e.InPhase(v1.IntegrationKitPhaseReady, 
v1.IntegrationPhaseDeploying) {
+   e.Integration.Status.SetCondition(
+   v1.IntegrationConditionCronJobAvailable,
+   corev1.ConditionFalse,
+   
v1.IntegrationConditionCronJobNotAvailableReason,
+   "fallback strategy selected",
+   )
+   }
return true, nil
}
 
// CronJob strategy requires common schedule
strategy, err := e.DetermineControllerStrategy(t.Ctx, t.Client)
if err != nil {
-   return false, err
-   }
-   if strategy != ControllerStrategyCronJob {
-   e.Integration.Status.SetCondition(
+   e.Integration.Status.SetErrorCondition(
v1.IntegrationConditionCronJobAvailable,
-   corev1.ConditionFalse,
v1.IntegrationConditionCronJobNotAvailableReason,
-   "controller strategy: "+string(strategy),
+   err,
)
+   return false, err
+   }
+   if strategy != ControllerStrategyCronJob {
+   if e.InPhase(v1.IntegrationKitPhaseReady, 
v1.IntegrationPhaseDeploying) {
+   e.Integration.Status.SetCondition(
+   v1.IntegrationConditionCronJobAvailable,
+   corev1.ConditionFalse,
+   
v1.IntegrationConditionCronJobNotAvailableReason,
+   fmt.Sprintf("different controller strategy used 
(%s)", string(strategy)),
+   )
+   }
return false, nil
}
 
diff --git a/pkg/trait/knative_service.go b/pkg/trait/knative_service.go
index 37f18f2..9c9e671 100644
--- a/pkg/trait/knative_service.go
+++ b/pkg/trait/knative_service.go
@@ -115,7 +115,7 @@ func (t *knativeServiceTrait) Configure(e *Environment) 
(bool, error) {
v1.IntegrationConditionKnativeServiceAvailable,
corev1.ConditionFalse,
v1.IntegrationConditionKnativeServiceNotAvailableReason,
-   fmt.Sprintf("different controller strategy chosen 
(%s)", string(ControllerStrategyDeployment)),
+   fmt.Sprintf("different controller strategy used (%s)", 
string(ControllerStrategyDeployment)),
)
 
// A controller is already present for the integration
@@ -137,7 +137,7 @@ func (t *knativeServiceTrait) Configure(e *Environment) 
(bool, error) {
v1.IntegrationConditionKnativeServiceAvailable,
corev1.ConditionFalse,
v1.IntegrationConditionKnativeServiceNotAvailableReason,
-   "controller strategy: "+string(strategy),
+   fmt.Sprintf("different controller strategy used (%s)", 
string(strategy)),
)
 
return false, nil



[camel-k] 05/14: #1199: add cronjob conditions

2020-02-24 Thread lburgazzoli
This is an automated email from the ASF dual-hosted git repository.

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

commit fd88d0d9115cce2bd2cf82d13620781376048043
Author: Nicola Ferraro 
AuthorDate: Tue Jan 28 01:21:46 2020 +0100

#1199: add cronjob conditions
---
 deploy/builder-role-kubernetes.yaml| 10 +-
 deploy/builder-role-openshift.yaml | 10 +-
 pkg/apis/camel/v1/integration_types.go |  6 ++
 pkg/trait/cron.go  | 25 +
 4 files changed, 49 insertions(+), 2 deletions(-)

diff --git a/deploy/builder-role-kubernetes.yaml 
b/deploy/builder-role-kubernetes.yaml
index 13a0853..5a18caf 100644
--- a/deploy/builder-role-kubernetes.yaml
+++ b/deploy/builder-role-kubernetes.yaml
@@ -44,10 +44,18 @@ rules:
 - apiGroups:
   - ""
   resources:
-  - events
   - configmaps
   - secrets
   verbs:
   - get
   - list
   - watch
+- apiGroups:
+  - ""
+  resources:
+  - events
+  verbs:
+  - create
+  - get
+  - list
+  - watch
diff --git a/deploy/builder-role-openshift.yaml 
b/deploy/builder-role-openshift.yaml
index 48bea4a..a0ab82b 100644
--- a/deploy/builder-role-openshift.yaml
+++ b/deploy/builder-role-openshift.yaml
@@ -44,7 +44,6 @@ rules:
 - apiGroups:
   - ""
   resources:
-  - events
   - configmaps
   - secrets
   verbs:
@@ -53,6 +52,15 @@ rules:
   - watch
 - apiGroups:
   - ""
+  resources:
+  - events
+  verbs:
+  - create
+  - get
+  - list
+  - watch
+- apiGroups:
+  - ""
   - "build.openshift.io"
   resources:
   - buildconfigs
diff --git a/pkg/apis/camel/v1/integration_types.go 
b/pkg/apis/camel/v1/integration_types.go
index a818587..742c296 100644
--- a/pkg/apis/camel/v1/integration_types.go
+++ b/pkg/apis/camel/v1/integration_types.go
@@ -180,6 +180,8 @@ const (
IntegrationConditionServiceAvailable IntegrationConditionType = 
"ServiceAvailable"
// IntegrationConditionKnativeServiceAvailable --
IntegrationConditionKnativeServiceAvailable IntegrationConditionType = 
"KnativeServiceAvailable"
+   // IntegrationConditionCronJobAvailable --
+   IntegrationConditionCronJobAvailable IntegrationConditionType = 
"CronJobAvailable"
// IntegrationConditionExposureAvailable --
IntegrationConditionExposureAvailable IntegrationConditionType = 
"ExposureAvailable"
// IntegrationConditionPrometheusAvailable --
@@ -213,6 +215,10 @@ const (
IntegrationConditionKnativeServiceAvailableReason string = 
"KnativeServiceAvailable"
// IntegrationConditionKnativeServiceNotAvailableReason --
IntegrationConditionKnativeServiceNotAvailableReason string = 
"KnativeServiceNotAvailable"
+   // IntegrationConditionCronJobAvailableReason --
+   IntegrationConditionCronJobAvailableReason string = 
"CronJobAvailableReason"
+   // IntegrationConditionCronJobNotAvailableReason --
+   IntegrationConditionCronJobNotAvailableReason string = 
"CronJobNotAvailableReason"
// IntegrationConditionPrometheusAvailableReason --
IntegrationConditionPrometheusAvailableReason string = 
"PrometheusAvailable"
// IntegrationConditionJolokiaAvailableReason --
diff --git a/pkg/trait/cron.go b/pkg/trait/cron.go
index b2b44d6..815aa66 100644
--- a/pkg/trait/cron.go
+++ b/pkg/trait/cron.go
@@ -115,6 +115,13 @@ func newCronTrait() Trait {
 
 func (t *cronTrait) Configure(e *Environment) (bool, error) {
if t.Enabled != nil && !*t.Enabled {
+   e.Integration.Status.SetCondition(
+   v1.IntegrationConditionCronJobAvailable,
+   corev1.ConditionFalse,
+   v1.IntegrationConditionCronJobNotAvailableReason,
+   "explicitly disabled",
+   )
+
return false, nil
}
 
@@ -125,6 +132,11 @@ func (t *cronTrait) Configure(e *Environment) (bool, 
error) {
if t.Auto == nil || *t.Auto {
globalCron, err := t.getGlobalCron(e)
if err != nil {
+   e.Integration.Status.SetErrorCondition(
+   v1.IntegrationConditionCronJobAvailable,
+   
v1.IntegrationConditionCronJobNotAvailableReason,
+   err,
+   )
return false, err
}
 
@@ -177,6 +189,12 @@ func (t *cronTrait) Configure(e *Environment) (bool, 
error) {
return false, err
}
if strategy != ControllerStrategyCronJob {
+   e.Integration.Status.SetCondition(
+   v1.IntegrationConditionCronJobAvailable,
+   corev1.ConditionFalse,
+   v1.IntegrationConditionCronJobNotAvailableReason,
+   "controller strategy: "+string(strategy),
+   )
return false, nil
}
 
@@ -198,6 +216,13 @@ func (t *cronTrait) 

[GitHub] [camel-k] lburgazzoli closed issue #1199: Provide more information when the integration fails at runtime

2020-02-24 Thread GitBox
lburgazzoli closed issue #1199: Provide more information when the integration 
fails at runtime
URL: https://github.com/apache/camel-k/issues/1199
 
 
   


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[camel-k] 10/14: Fix #1199: add optional permission for creating events

2020-02-24 Thread lburgazzoli
This is an automated email from the ASF dual-hosted git repository.

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

commit ba2603da84ce40b61cdf7e1d05ca04ad19ec60c2
Author: Nicola Ferraro 
AuthorDate: Fri Feb 21 11:41:35 2020 +0100

Fix #1199: add optional permission for creating events
---
 deploy/operator-role-binding-events.yaml   | 30 +++
 ...e-kubernetes.yaml => operator-role-events.yaml} | 91 +-
 deploy/operator-role-kubernetes.yaml   |  1 -
 deploy/operator-role-openshift.yaml|  1 -
 deploy/resources.go| 68 +---
 helm/camel-k/templates/operator-role.yaml  |  1 +
 pkg/cmd/operator/operator.go   | 17 +++-
 pkg/install/operator.go| 13 
 pkg/util/kubernetes/permission.go  | 54 +
 pkg/util/olm/operator.go   | 36 +
 10 files changed, 159 insertions(+), 153 deletions(-)

diff --git a/deploy/operator-role-binding-events.yaml 
b/deploy/operator-role-binding-events.yaml
new file mode 100644
index 000..dbbb3a7
--- /dev/null
+++ b/deploy/operator-role-binding-events.yaml
@@ -0,0 +1,30 @@
+# ---
+# 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.
+# ---
+
+kind: RoleBinding
+apiVersion: rbac.authorization.k8s.io/v1beta1
+metadata:
+  name: camel-k-operator-events
+  labels:
+app: "camel-k"
+subjects:
+- kind: ServiceAccount
+  name: camel-k-operator
+roleRef:
+  kind: Role
+  name: camel-k-operator-events
+  apiGroup: rbac.authorization.k8s.io
diff --git a/deploy/operator-role-kubernetes.yaml 
b/deploy/operator-role-events.yaml
similarity index 50%
copy from deploy/operator-role-kubernetes.yaml
copy to deploy/operator-role-events.yaml
index bca4878..5fc8fab 100644
--- a/deploy/operator-role-kubernetes.yaml
+++ b/deploy/operator-role-events.yaml
@@ -18,50 +18,11 @@
 kind: Role
 apiVersion: rbac.authorization.k8s.io/v1beta1
 metadata:
-  name: camel-k-operator
+  name: camel-k-operator-events
   labels:
 app: "camel-k"
 rules:
 - apiGroups:
-  - camel.apache.org
-  resources:
-  - "*"
-  verbs:
-  - "*"
-- apiGroups:
-  - ""
-  resources:
-  - pods
-  - services
-  - endpoints
-  - persistentvolumeclaims
-  - configmaps
-  - secrets
-  - serviceaccounts
-  verbs:
-  - create
-  - delete
-  - deletecollection
-  - get
-  - list
-  - patch
-  - update
-  - watch
-- apiGroups:
-  - rbac.authorization.k8s.io
-  resources:
-  - roles
-  - rolebindings
-  verbs:
-  - create
-  - delete
-  - deletecollection
-  - get
-  - list
-  - patch
-  - update
-  - watch
-- apiGroups:
   - ""
   resources:
   - events
@@ -70,53 +31,3 @@ rules:
   - get
   - list
   - watch
-- apiGroups:
-  - apps
-  resources:
-  - deployments
-  - replicasets
-  - statefulsets
-  verbs:
-  - create
-  - delete
-  - deletecollection
-  - get
-  - list
-  - patch
-  - update
-  - watch
-- apiGroups:
-  - batch
-  resources:
-  - cronjobs
-  verbs:
-  - create
-  - delete
-  - deletecollection
-  - get
-  - list
-  - patch
-  - update
-  - watch
-- apiGroups:
-  - apps
-  attributeRestrictions: null
-  resources:
-  - daemonsets
-  verbs:
-  - get
-  - list
-  - watch
-- apiGroups:
-  - extensions
-  resources:
-  - ingresses
-  verbs:
-  - create
-  - delete
-  - deletecollection
-  - get
-  - list
-  - patch
-  - update
-  - watch
diff --git a/deploy/operator-role-kubernetes.yaml 
b/deploy/operator-role-kubernetes.yaml
index bca4878..4e9db4c 100644
--- a/deploy/operator-role-kubernetes.yaml
+++ b/deploy/operator-role-kubernetes.yaml
@@ -66,7 +66,6 @@ rules:
   resources:
   - events
   verbs:
-  - create
   - get
   - list
   - watch
diff --git a/deploy/operator-role-openshift.yaml 
b/deploy/operator-role-openshift.yaml
index 46ea8c5..9da5132 100644
--- a/deploy/operator-role-openshift.yaml
+++ b/deploy/operator-role-openshift.yaml
@@ -66,7 +66,6 @@ rules:
   resources:
   - events
   verbs:
-  - create
   - get
   - list
   - watch
diff --git a/deploy/resources.go 

[camel-k] 02/14: #1199: add events to all CRD

2020-02-24 Thread lburgazzoli
This is an automated email from the ASF dual-hosted git repository.

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

commit d1cf15fd13254ab679dcc34d73415a08fef47485
Author: Nicola Ferraro 
AuthorDate: Mon Jan 27 15:46:27 2020 +0100

#1199: add events to all CRD
---
 akamel-config.yaml |   3 -
 pkg/apis/camel/v1/build_types_support.go   |  41 +
 pkg/apis/camel/v1/common_types.go  |  10 ++
 pkg/apis/camel/v1/integration_types_support.go |  41 +
 pkg/apis/camel/v1/integrationkit_types_support.go  |  41 +
 pkg/apis/camel/v1/integrationplatform_types.go |   2 +
 .../camel/v1/integrationplatform_types_support.go  |  41 +
 pkg/cmd/operator/operator.go   |   3 +-
 pkg/controller/build/build_controller.go   |  19 ++-
 .../integrationkit/integrationkit_controller.go|  19 ++-
 .../integrationplatform_controller.go  |  11 +-
 pkg/events/manager.go  | 173 +
 12 files changed, 358 insertions(+), 46 deletions(-)

diff --git a/akamel-config.yaml b/akamel-config.yaml
deleted file mode 100755
index 1f20f9b..000
--- a/akamel-config.yaml
+++ /dev/null
@@ -1,3 +0,0 @@
-kamel:
-  install:
-maven-repositories: 
'[https://repository.apache.org/content/repositories/orgapachecamel-1171]'
diff --git a/pkg/apis/camel/v1/build_types_support.go 
b/pkg/apis/camel/v1/build_types_support.go
index 19ee880..2c8243b 100644
--- a/pkg/apis/camel/v1/build_types_support.go
+++ b/pkg/apis/camel/v1/build_types_support.go
@@ -142,3 +142,44 @@ func (in *BuildStatus) RemoveCondition(condType 
BuildConditionType) {
 
in.Conditions = newConditions
 }
+
+var _ ResourceCondition = BuildCondition{}
+
+// GetConditions --
+func (in *BuildStatus) GetConditions() []ResourceCondition {
+   res := make([]ResourceCondition, 0, len(in.Conditions))
+   for _, c := range in.Conditions {
+   res = append(res, c)
+   }
+   return res
+}
+
+// GetType --
+func (c BuildCondition) GetType() string {
+   return string(c.Type)
+}
+
+// GetStatus --
+func (c BuildCondition) GetStatus() corev1.ConditionStatus {
+   return c.Status
+}
+
+// GetLastUpdateTime --
+func (c BuildCondition) GetLastUpdateTime() metav1.Time {
+   return c.LastUpdateTime
+}
+
+// GetLastTransitionTime --
+func (c BuildCondition) GetLastTransitionTime() metav1.Time {
+   return c.LastTransitionTime
+}
+
+// GetReason --
+func (c BuildCondition) GetReason() string {
+   return c.Reason
+}
+
+// GetMessage --
+func (c BuildCondition) GetMessage() string {
+   return c.Message
+}
diff --git a/pkg/apis/camel/v1/common_types.go 
b/pkg/apis/camel/v1/common_types.go
index 36df7e7..0bcc485 100644
--- a/pkg/apis/camel/v1/common_types.go
+++ b/pkg/apis/camel/v1/common_types.go
@@ -99,3 +99,13 @@ const (
// ServiceTypeUser --
ServiceTypeUser = "user"
 )
+
+// ResourceCondition is a common type for all conditions
+type ResourceCondition interface {
+   GetType() string
+   GetStatus() corev1.ConditionStatus
+   GetLastUpdateTime() metav1.Time
+   GetLastTransitionTime() metav1.Time
+   GetReason() string
+   GetMessage() string
+}
diff --git a/pkg/apis/camel/v1/integration_types_support.go 
b/pkg/apis/camel/v1/integration_types_support.go
index 5516986..d04e1bc 100644
--- a/pkg/apis/camel/v1/integration_types_support.go
+++ b/pkg/apis/camel/v1/integration_types_support.go
@@ -299,3 +299,44 @@ func (in *IntegrationStatus) RemoveCondition(condType 
IntegrationConditionType)
 
in.Conditions = newConditions
 }
+
+var _ ResourceCondition = IntegrationCondition{}
+
+// GetConditions --
+func (in *IntegrationStatus) GetConditions() []ResourceCondition {
+   res := make([]ResourceCondition, 0, len(in.Conditions))
+   for _, c := range in.Conditions {
+   res = append(res, c)
+   }
+   return res
+}
+
+// GetType --
+func (c IntegrationCondition) GetType() string {
+   return string(c.Type)
+}
+
+// GetStatus --
+func (c IntegrationCondition) GetStatus() corev1.ConditionStatus {
+   return c.Status
+}
+
+// GetLastUpdateTime --
+func (c IntegrationCondition) GetLastUpdateTime() metav1.Time {
+   return c.LastUpdateTime
+}
+
+// GetLastTransitionTime --
+func (c IntegrationCondition) GetLastTransitionTime() metav1.Time {
+   return c.LastTransitionTime
+}
+
+// GetReason --
+func (c IntegrationCondition) GetReason() string {
+   return c.Reason
+}
+
+// GetMessage --
+func (c IntegrationCondition) GetMessage() string {
+   return c.Message
+}
diff --git a/pkg/apis/camel/v1/integrationkit_types_support.go 
b/pkg/apis/camel/v1/integrationkit_types_support.go
index df3a95d..fb310df 100644
--- a/pkg/apis/camel/v1/integrationkit_types_support.go
+++ b/pkg/apis/camel/v1/integrationkit_types_support.go
@@ -155,3 +155,44 @@ func 

[camel-k] 06/14: #1199: fix lint

2020-02-24 Thread lburgazzoli
This is an automated email from the ASF dual-hosted git repository.

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

commit 622d0a78b5b8606b3b33c4426a4741922bf95f7e
Author: Nicola Ferraro 
AuthorDate: Tue Jan 28 01:27:58 2020 +0100

#1199: fix lint
---
 pkg/cmd/install.go   | 1 +
 pkg/cmd/run.go   | 1 +
 pkg/controller/integrationplatform/integrationplatform_controller.go | 4 ++--
 pkg/event/manager.go | 1 +
 pkg/util/watch/watch.go  | 1 -
 5 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/pkg/cmd/install.go b/pkg/cmd/install.go
index 248d7d7..183f32b 100644
--- a/pkg/cmd/install.go
+++ b/pkg/cmd/install.go
@@ -418,6 +418,7 @@ func (o *installCmdOptions) printOutput(collection 
*kubernetes.Collection) error
return nil
 }
 
+// nolint:errcheck
 func (o *installCmdOptions) waitForPlatformReady(cmd *cobra.Command, platform 
*v1.IntegrationPlatform) error {
handler := func(i *v1.IntegrationPlatform) bool {
if i.Status.Phase == v1.IntegrationPlatformPhaseReady || 
i.Status.Phase == v1.IntegrationPlatformPhaseError {
diff --git a/pkg/cmd/run.go b/pkg/cmd/run.go
index bb7b6f3..e6dee28 100644
--- a/pkg/cmd/run.go
+++ b/pkg/cmd/run.go
@@ -297,6 +297,7 @@ func (o *runCmdOptions) run(cmd *cobra.Command, args 
[]string) error {
return nil
 }
 
+// nolint:errcheck
 func (o *runCmdOptions) waitForIntegrationReady(cmd *cobra.Command, 
integration *v1.Integration) (*v1.IntegrationPhase, error) {
handler := func(i *v1.Integration) bool {
//
diff --git 
a/pkg/controller/integrationplatform/integrationplatform_controller.go 
b/pkg/controller/integrationplatform/integrationplatform_controller.go
index 0f8668a..6412ba7 100644
--- a/pkg/controller/integrationplatform/integrationplatform_controller.go
+++ b/pkg/controller/integrationplatform/integrationplatform_controller.go
@@ -52,8 +52,8 @@ func Add(mgr manager.Manager) error {
 // newReconciler returns a new reconcile.Reconciler
 func newReconciler(mgr manager.Manager, c client.Client) reconcile.Reconciler {
return {
-   client: c,
-   scheme: mgr.GetScheme(),
+   client:   c,
+   scheme:   mgr.GetScheme(),
recorder: 
mgr.GetEventRecorderFor("camel-k-integration-platform-controller"),
}
 }
diff --git a/pkg/event/manager.go b/pkg/event/manager.go
index 9e4869a..6b85b4c 100644
--- a/pkg/event/manager.go
+++ b/pkg/event/manager.go
@@ -180,6 +180,7 @@ func NotifyBuildError(ctx context.Context, c client.Client, 
recorder record.Even
recorder.Eventf(p, corev1.EventTypeWarning, ReasonBuildError, "Cannot 
reconcile Build %s: %v", p.Name, err)
 }
 
+// nolint:lll
 func notifyIfPhaseUpdated(ctx context.Context, c client.Client, recorder 
record.EventRecorder, new runtime.Object, oldPhase, newPhase string, 
resourceType, name, reason string) {
// Update information about phase changes
if oldPhase != newPhase {
diff --git a/pkg/util/watch/watch.go b/pkg/util/watch/watch.go
index 289fc12..5d2229c 100644
--- a/pkg/util/watch/watch.go
+++ b/pkg/util/watch/watch.go
@@ -159,7 +159,6 @@ func HandleIntegrationEvents(ctx context.Context, 
integration *v1.Integration,
}
 }
 
-
 //
 // HandlePlatformStateChanges watches a platform resource and invoke the given 
handler when its status changes.
 //



[camel-k] 04/14: #1199: logging status information in dev and wait mode

2020-02-24 Thread lburgazzoli
This is an automated email from the ASF dual-hosted git repository.

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

commit 9f03af22c76b29e785833959765fe965a738b5f5
Author: Nicola Ferraro 
AuthorDate: Tue Jan 28 00:46:47 2020 +0100

#1199: logging status information in dev and wait mode
---
 deploy/operator-role-kubernetes.yaml   |   1 +
 deploy/operator-role-olm.yaml  |   1 +
 deploy/operator-role-openshift.yaml|   1 +
 e2e/dev_mode_test.go   |   5 +-
 pkg/cmd/install.go |  23 ++--
 pkg/cmd/run.go |  24 ++--
 pkg/controller/build/build_controller.go   |   8 +-
 .../integration/integration_controller.go  |   8 +-
 .../integrationkit/integrationkit_controller.go|   8 +-
 .../integrationplatform_controller.go  |   8 +-
 pkg/{events => event}/manager.go   |   2 +-
 pkg/trait/deployment_test.go   |   2 +-
 pkg/util/watch/watch.go| 132 -
 13 files changed, 172 insertions(+), 51 deletions(-)

diff --git a/deploy/operator-role-kubernetes.yaml 
b/deploy/operator-role-kubernetes.yaml
index 4e9db4c..bca4878 100644
--- a/deploy/operator-role-kubernetes.yaml
+++ b/deploy/operator-role-kubernetes.yaml
@@ -66,6 +66,7 @@ rules:
   resources:
   - events
   verbs:
+  - create
   - get
   - list
   - watch
diff --git a/deploy/operator-role-olm.yaml b/deploy/operator-role-olm.yaml
index a213197..18a6f91 100644
--- a/deploy/operator-role-olm.yaml
+++ b/deploy/operator-role-olm.yaml
@@ -66,6 +66,7 @@ rules:
   resources:
   - events
   verbs:
+  - create
   - get
   - list
   - watch
diff --git a/deploy/operator-role-openshift.yaml 
b/deploy/operator-role-openshift.yaml
index 9da5132..46ea8c5 100644
--- a/deploy/operator-role-openshift.yaml
+++ b/deploy/operator-role-openshift.yaml
@@ -66,6 +66,7 @@ rules:
   resources:
   - events
   verbs:
+  - create
   - get
   - list
   - watch
diff --git a/e2e/dev_mode_test.go b/e2e/dev_mode_test.go
index fd057e9..a028917 100644
--- a/e2e/dev_mode_test.go
+++ b/e2e/dev_mode_test.go
@@ -48,11 +48,12 @@ func TestRunDevMode(t *testing.T) {
kamelRun := kamelWithContext(ctx, "run", "-n", ns, 
file, "--dev")
kamelRun.SetOut(pipew)
 
-   logScanner := util.NewLogScanner(ctx, piper, 
"Magicstring!", "Magicjordan!")
+   logScanner := util.NewLogScanner(ctx, piper, 
"Integration yaml in phase Running", "Magicstring!", "Magicjordan!")
 
go kamelRun.Execute()
 
-   Eventually(logScanner.IsFound("Magicstring!"), 
5*time.Minute).Should(BeTrue())
+   Eventually(logScanner.IsFound("Integration yaml in 
phase Running"), 5*time.Minute).Should(BeTrue())
+   Eventually(logScanner.IsFound("Magicstring!"), 
3*time.Minute).Should(BeTrue())

Expect(logScanner.IsFound("Magicjordan!")()).To(BeFalse())
 
util.ReplaceInFile(t, file, "string!", "jordan!")
diff --git a/pkg/cmd/install.go b/pkg/cmd/install.go
index b0441dc..248d7d7 100644
--- a/pkg/cmd/install.go
+++ b/pkg/cmd/install.go
@@ -366,7 +366,7 @@ func (o *installCmdOptions) install(cobraCmd 
*cobra.Command, _ []string) error {
 
if collection == nil {
if o.Wait {
-   err = o.waitForPlatformReady(platform)
+   err = o.waitForPlatformReady(cobraCmd, platform)
if err != nil {
return err
}
@@ -418,25 +418,20 @@ func (o *installCmdOptions) printOutput(collection 
*kubernetes.Collection) error
return nil
 }
 
-func (o *installCmdOptions) waitForPlatformReady(platform 
*v1.IntegrationPlatform) error {
+func (o *installCmdOptions) waitForPlatformReady(cmd *cobra.Command, platform 
*v1.IntegrationPlatform) error {
handler := func(i *v1.IntegrationPlatform) bool {
-   if i.Status.Phase != "" {
-   fmt.Println("platform \""+platform.Name+"\" in phase", 
i.Status.Phase)
-
-   if i.Status.Phase == v1.IntegrationPlatformPhaseReady {
-   // TODO display some error info when available 
in the status
-   return false
-   }
-
-   if i.Status.Phase == v1.IntegrationPlatformPhaseError {
-   fmt.Println("platform installation failed")
-   return false
-   }
+   if i.Status.Phase == v1.IntegrationPlatformPhaseReady || 
i.Status.Phase == v1.IntegrationPlatformPhaseError {
+   

[camel-k] 09/14: Fix #1199: add old logs for cases where events are not generated

2020-02-24 Thread lburgazzoli
This is an automated email from the ASF dual-hosted git repository.

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

commit 8f41cf794d678dc99e61be83a698eb29677c4180
Author: Nicola Ferraro 
AuthorDate: Fri Feb 21 10:58:33 2020 +0100

Fix #1199: add old logs for cases where events are not generated
---
 pkg/cmd/run.go | 4 
 1 file changed, 4 insertions(+)

diff --git a/pkg/cmd/run.go b/pkg/cmd/run.go
index e6dee28..35e43e0 100644
--- a/pkg/cmd/run.go
+++ b/pkg/cmd/run.go
@@ -303,6 +303,10 @@ func (o *runCmdOptions) waitForIntegrationReady(cmd 
*cobra.Command, integration
//
// TODO when we add health checks, we should Wait until they 
are passed
//
+   if i.Status.Phase != "" {
+   // TODO remove this log when we make sure that events 
are always created
+   fmt.Printf("progress: integration %q in phase %s\n", 
integration.Name, string(i.Status.Phase))
+   }
if i.Status.Phase == v1.IntegrationPhaseRunning || 
i.Status.Phase == v1.IntegrationPhaseError {
return false
}



[GitHub] [camel-k] lburgazzoli closed issue #1233: Dev mode doesn't start if the integration is already running

2020-02-24 Thread GitBox
lburgazzoli closed issue #1233: Dev mode doesn't start if the integration is 
already running
URL: https://github.com/apache/camel-k/issues/1233
 
 
   


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[camel-k] 13/14: Fix #1233: fix dev mode test and rebase

2020-02-24 Thread lburgazzoli
This is an automated email from the ASF dual-hosted git repository.

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

commit 0d61e86d5aabb86fd018a993975ea562d8c6fd08
Author: Nicola Ferraro 
AuthorDate: Sat Feb 22 10:14:02 2020 +0100

Fix #1233: fix dev mode test and rebase
---
 deploy/resources.go |  8 
 e2e/dev_mode_test.go|  4 ++--
 pkg/cmd/run.go  |  2 +-
 pkg/install/operator.go | 10 +++---
 4 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/deploy/resources.go b/deploy/resources.go
index 518327e..77c6542 100644
--- a/deploy/resources.go
+++ b/deploy/resources.go
@@ -189,9 +189,9 @@ var assets = func() http.FileSystem {
"/operator-role-kubernetes.yaml": ۰CompressedFileInfo{
name: "operator-role-kubernetes.yaml",
modTime:  time.Time{},
-   uncompressedSize: 2260,
+   uncompressedSize: 2249,
 
-   compressedContent: 
[]byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\x54\x41\x73\xdb\x36\x13\xbd\xe3\x57\xbc\x11\x2f\xc9\x37\x96\xfc\xa5\xa7\x8e\x7a\x52\x1d\xbb\xd5\x34\x23\xcd\x98\x4a\x33\x39\x2e\xc1\x15\x85\x1a\xc4\xa2\x00\x28\xd9\xfd\xf5\x1d\x40\x54\x22\x47\x49\xa7\x87\x4c\xcd\x8b\x16\xe0\xf2\xed\xdb\xf7\x56\x5b\x61\xfa\xfd\x1e\x55\xe1\x9d\xd1\xec\x22\xb7\x48\x82\xb4\x63\x2c\x3c\xe9\x1d\xa3\x96\x6d\x3a\x50\x60\xdc\xc9\xe0\x5a\x4a\x46\x1c\x5e\x2d\xea\xbb\xd7\x18\x5c\xcb\x01\xe2\x
 [...]
+   compressedContent: 
[]byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\x54\xc1\x6e\x1b\x37\x10\xbd\xf3\x2b\x1e\xb4\x97\xa4\xb0\xe4\xa6\xa7\x42\x3d\xa9\x8e\xdd\x0a\x0d\x24\xc0\xab\x34\xc8\x71\x96\x3b\x5a\xb1\xe6\x72\x58\x92\x2b\xd9\xfd\xfa\x82\xd4\x2a\x91\xa3\x04\xe8\x21\xa8\xf7\xa2\x21\x77\xf6\xcd\x9b\xf7\x46\x53\x61\xfa\xfd\x1e\x55\xe1\x9d\xd1\xec\x22\xb7\x48\x82\xb4\x63\x2c\x3c\xe9\x1d\xa3\x96\x6d\x3a\x50\x60\xdc\xc9\xe0\x5a\x4a\x46\x1c\x5e\x2d\xea\xbb\xd7\x18\x5c\xcb\x01\xe2\x18\x
 [...]
},
"/operator-role-olm.yaml": ۰CompressedFileInfo{
name: "operator-role-olm.yaml",
@@ -203,9 +203,9 @@ var assets = func() http.FileSystem {
"/operator-role-openshift.yaml": ۰CompressedFileInfo{
name: "operator-role-openshift.yaml",
modTime:  time.Time{},
-   uncompressedSize: 3039,
+   uncompressedSize: 3028,
 
-   compressedContent: 
[]byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\x54\xc1\x8e\xdb\x46\x0c\xbd\xeb\x2b\x08\xe9\x92\x14\x6b\xbb\xe9\xa9\x70\x4f\xee\x66\xb7\x35\x1a\xd8\xc0\xca\x69\x90\x23\x35\xa2\x25\x76\x47\xc3\xe9\xcc\xc8\x8a\xfb\xf5\x85\x46\x72\x62\xaf\x76\x9b\x06\x08\x60\x5f\x4c\x71\xa8\xc7\xc7\xf7\xa8\xc9\x60\xf6\xfd\x7e\x49\x06\xef\x58\x91\xf1\x54\x42\x10\x08\x35\xc1\xca\xa2\xaa\x09\x72\xd9\x87\x0e\x1d\xc1\xbd\xb4\xa6\xc4\xc0\x62\xe0\xd5\x2a\xbf\x7f\x0d\xad\x29\xc9\x81\x18\x
 [...]
+   compressedContent: 
[]byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\x54\xc1\x8e\xdb\x46\x0c\xbd\xeb\x2b\x08\xe9\x92\x14\x6b\xb9\xe9\xa9\x70\x4f\x6e\xb2\xdb\x1a\x0d\xbc\xc0\xca\x69\x90\x23\x35\xa2\x25\x76\x47\xc3\xe9\xcc\xc8\x8a\xfb\xf5\x85\x46\x72\x62\xaf\x76\x91\x16\x08\x60\x5f\x4c\x71\xa8\xc7\xc7\xf7\xa8\xc9\x60\xf1\xfd\x7e\x49\x06\xef\x59\x91\xf1\x54\x41\x10\x08\x0d\xc1\xda\xa2\x6a\x08\x0a\xd9\x87\x1e\x1d\xc1\x9d\x74\xa6\xc2\xc0\x62\xe0\xd5\xba\xb8\x7b\x0d\x9d\xa9\xc8\x81\x18\x
 [...]
},
"/operator-service-account.yaml": ۰CompressedFileInfo{
name: "operator-service-account.yaml",
diff --git a/e2e/dev_mode_test.go b/e2e/dev_mode_test.go
index a028917..2b42ea7 100644
--- a/e2e/dev_mode_test.go
+++ b/e2e/dev_mode_test.go
@@ -48,11 +48,11 @@ func TestRunDevMode(t *testing.T) {
kamelRun := kamelWithContext(ctx, "run", "-n", ns, 
file, "--dev")
kamelRun.SetOut(pipew)
 
-   logScanner := util.NewLogScanner(ctx, piper, 
"Integration yaml in phase Running", "Magicstring!", "Magicjordan!")
+   logScanner := util.NewLogScanner(ctx, piper, 
`integration "yaml" in phase Running`, "Magicstring!", "Magicjordan!")
 
go kamelRun.Execute()
 
-   Eventually(logScanner.IsFound("Integration yaml in 
phase Running"), 5*time.Minute).Should(BeTrue())
+   Eventually(logScanner.IsFound(`integration "yaml" in 
phase Running`), 5*time.Minute).Should(BeTrue())
Eventually(logScanner.IsFound("Magicstring!"), 
3*time.Minute).Should(BeTrue())

Expect(logScanner.IsFound("Magicjordan!")()).To(BeFalse())
 
diff --git a/pkg/cmd/run.go b/pkg/cmd/run.go
index 35e43e0..3755b6c 100644
--- 

[GitHub] [camel-k] nicolaferraro commented on issue #1228: Provide more information on the deployment status and generate related Kubernetes events

2020-02-24 Thread GitBox
nicolaferraro commented on issue #1228: Provide more information on the 
deployment status and generate related Kubernetes events
URL: https://github.com/apache/camel-k/pull/1228#issuecomment-590328257
 
 
   Can we merge this, so to start a release?
   @astefanutti @lburgazzoli 


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [camel-quarkus] lburgazzoli merged pull request #751: Remove redundant quarkus.ssl.native=true from box application.properties

2020-02-24 Thread GitBox
lburgazzoli merged pull request #751: Remove redundant quarkus.ssl.native=true 
from box application.properties
URL: https://github.com/apache/camel-quarkus/pull/751
 
 
   


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[camel-quarkus] branch master updated (c511b53 -> 509c48f)

2020-02-24 Thread lburgazzoli
This is an automated email from the ASF dual-hosted git repository.

lburgazzoli pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git.


from c511b53  FhirDataformatTest failure -TransformerFactoryImpl not found
 add 509c48f  Remove redundant quarkus.ssl.native=true from box 
application.properties

No new revisions were added by this update.

Summary of changes:
 integration-tests/box/src/main/resources/application.properties | 4 
 1 file changed, 4 deletions(-)



[camel] branch master updated: CAMEL-14597: Added unit test

2020-02-24 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 219c93e  CAMEL-14597: Added unit test
219c93e is described below

commit 219c93e5d11361ef8a982966dbf5b442f2050a0e
Author: Claus Ibsen 
AuthorDate: Mon Feb 24 13:58:03 2020 +0100

CAMEL-14597: Added unit test
---
 .../camel/test/blueprint/BeanStaticMethodTest.java | 39 ++
 .../test/blueprint/BlueprintStaticMethodRoute.java | 31 +
 .../camel/test/blueprint/beanStaticMethodRoute.xml | 34 +++
 core/camel-base/src/main/docs/simple-language.adoc |  2 +-
 .../BeanSimpleLanguageStaticMethodIssueTest.java   | 32 ++
 .../modules/ROOT/pages/simple-language.adoc|  2 +-
 .../modules/ROOT/pages/simple-language.adoc|  2 +-
 7 files changed, 139 insertions(+), 3 deletions(-)

diff --git 
a/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/BeanStaticMethodTest.java
 
b/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/BeanStaticMethodTest.java
new file mode 100644
index 000..7196a0c
--- /dev/null
+++ 
b/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/BeanStaticMethodTest.java
@@ -0,0 +1,39 @@
+/*
+ * 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.blueprint;
+
+import org.junit.Test;
+
+public class BeanStaticMethodTest extends CamelBlueprintTestSupport {
+
+@Override
+protected String getBlueprintDescriptor() {
+return "org/apache/camel/test/blueprint/beanStaticMethodRoute.xml";
+}
+
+@Test
+public void testStaticMethod() throws Exception {
+getMockEndpoint("mock:result").expectedBodiesReceived("Hello World");
+
getMockEndpoint("mock:result").message(0).exchangeProperty("foo").isNotNull();
+
getMockEndpoint("mock:result").message(0).exchangeProperty("bar").isNotNull();
+
+template.sendBody("direct:start", "Hello World");
+
+assertMockEndpointsSatisfied();
+}
+
+}
diff --git 
a/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/BlueprintStaticMethodRoute.java
 
b/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/BlueprintStaticMethodRoute.java
new file mode 100644
index 000..0106ab8
--- /dev/null
+++ 
b/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/BlueprintStaticMethodRoute.java
@@ -0,0 +1,31 @@
+/*
+ * 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.blueprint;
+
+import org.apache.camel.builder.RouteBuilder;
+
+public class BlueprintStaticMethodRoute extends RouteBuilder {
+
+@Override
+public void configure() throws Exception {
+from("direct:start")
+.setProperty("foo").method(System.class, "currentTimeMillis")
+
.setProperty("bar").simple("${bean:type:java.lang.System?method=currentTimeMillis}")
+.to("mock:result");
+}
+
+}
diff --git 
a/components/camel-test-blueprint/src/test/resources/org/apache/camel/test/blueprint/beanStaticMethodRoute.xml
 
b/components/camel-test-blueprint/src/test/resources/org/apache/camel/test/blueprint/beanStaticMethodRoute.xml
new file mode 100644
index 000..0872297
--- /dev/null

[GitHub] [camel-quarkus] jamesnetherton commented on issue #753: Camel-Jira extension: Enforcer rules are failing on the module

2020-02-24 Thread GitBox
jamesnetherton commented on issue #753: Camel-Jira extension: Enforcer rules 
are failing on the module
URL: https://github.com/apache/camel-quarkus/issues/753#issuecomment-590304662
 
 
   From what I understand `j2objc-annotations` is an Android compatibility 
thing, so we should maybe exclude it.
   
   I'll run the Jira tests locally to verify.


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [camel-quarkus] jamesnetherton closed issue #748: FhirDataformatTest failure -TransformerFactoryImpl not found

2020-02-24 Thread GitBox
jamesnetherton closed issue #748: FhirDataformatTest failure 
-TransformerFactoryImpl not found
URL: https://github.com/apache/camel-quarkus/issues/748
 
 
   


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [camel-quarkus] jamesnetherton merged pull request #750: FhirDataformatTest failure -TransformerFactoryImpl not found

2020-02-24 Thread GitBox
jamesnetherton merged pull request #750: FhirDataformatTest failure 
-TransformerFactoryImpl not found
URL: https://github.com/apache/camel-quarkus/pull/750
 
 
   


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[camel-quarkus] branch master updated (f2e2c39 -> c511b53)

2020-02-24 Thread jamesnetherton
This is an automated email from the ASF dual-hosted git repository.

jamesnetherton pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git.


from f2e2c39  Merge pull request #749 from ppalaga/200224-chore
 add c511b53  FhirDataformatTest failure -TransformerFactoryImpl not found

No new revisions were added by this update.

Summary of changes:
 integration-tests/fhir/pom.xml | 4 
 poms/bom/pom.xml   | 4 
 2 files changed, 4 insertions(+), 4 deletions(-)



[GitHub] [camel-quarkus] jamesnetherton commented on issue #752: Test the Jira extension using Testcontainer and the Jira image

2020-02-24 Thread GitBox
jamesnetherton commented on issue #752: Test the Jira extension using 
Testcontainer and the Jira image
URL: https://github.com/apache/camel-quarkus/issues/752#issuecomment-590301603
 
 
   I thought about doing this, but the problem is that it needs a development 
license key to run and they expire every 90 days.


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[camel] branch master updated (0489e45 -> be93b30)

2020-02-24 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

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


from 0489e45  Camel-Lucene: Removed unused imports
 add be93b30  CAMEL-14611: camel-jsonpath should use correct dependency

No new revisions were added by this update.

Summary of changes:
 components/camel-chunk/pom.xml   | 5 +
 components/camel-jsonpath/pom.xml| 2 +-
 platforms/karaf/features/src/main/resources/features.xml | 4 ++--
 3 files changed, 8 insertions(+), 3 deletions(-)



[GitHub] [camel-quarkus] oscerd opened a new issue #753: Camel-Jira extension: Enforcer rules are failing on the module

2020-02-24 Thread GitBox
oscerd opened a new issue #753: Camel-Jira extension: Enforcer rules are 
failing on the module
URL: https://github.com/apache/camel-quarkus/issues/753
 
 
   2020-02-24T12:13:43.3836456Z [INFO] --- maven-enforcer-plugin:1.4.1:enforce 
(camel-quarkus-enforcer-rules) @ camel-quarkus-jira ---
   2020-02-24T12:13:43.7964505Z [WARNING] 
   2020-02-24T12:13:43.7965961Z Dependency convergence error for 
com.google.j2objc:j2objc-annotations:1.1 paths to dependency are:
   2020-02-24T12:13:43.7966654Z 
+-org.apache.camel.quarkus:camel-quarkus-jira:1.1.0-SNAPSHOT
   2020-02-24T12:13:43.7967213Z   +-com.google.guava:guava:26.0-jre
   2020-02-24T12:13:43.7967759Z +-com.google.j2objc:j2objc-annotations:1.1
   2020-02-24T12:13:43.7968083Z and
   2020-02-24T12:13:43.7968606Z 
+-org.apache.camel.quarkus:camel-quarkus-jira:1.1.0-SNAPSHOT
   2020-02-24T12:13:43.7969198Z   +-org.apache.camel:camel-jira:3.0.1
   2020-02-24T12:13:43.7969750Z 
+-com.google.oauth-client:google-oauth-client:1.22.0
   2020-02-24T12:13:43.7970369Z   
+-com.google.http-client:google-http-client:1.34.0
   2020-02-24T12:13:43.7970943Z 
+-com.google.j2objc:j2objc-annotations:1.3
   2020-02-24T12:13:43.7971220Z 
   2020-02-24T12:13:43.7973370Z [WARNING] Rule 0: 
org.apache.maven.plugins.enforcer.DependencyConvergence failed with message:
   2020-02-24T12:13:43.7974288Z Failed while enforcing releasability the 
error(s) are [
   2020-02-24T12:13:43.7975820Z Dependency convergence error for 
com.google.j2objc:j2objc-annotations:1.1 paths to dependency are:
   2020-02-24T12:13:43.7976439Z 
+-org.apache.camel.quarkus:camel-quarkus-jira:1.1.0-SNAPSHOT
   2020-02-24T12:13:43.7977025Z   +-com.google.guava:guava:26.0-jre
   2020-02-24T12:13:43.7977632Z +-com.google.j2objc:j2objc-annotations:1.1
   2020-02-24T12:13:43.7977963Z and
   2020-02-24T12:13:43.7978486Z 
+-org.apache.camel.quarkus:camel-quarkus-jira:1.1.0-SNAPSHOT
   2020-02-24T12:13:43.7979047Z   +-org.apache.camel:camel-jira:3.0.1
   2020-02-24T12:13:43.7979814Z 
+-com.google.oauth-client:google-oauth-client:1.22.0
   2020-02-24T12:13:43.7980615Z   
+-com.google.http-client:google-http-client:1.34.0
   2020-02-24T12:13:43.7983625Z 
+-com.google.j2objc:j2objc-annotations:1.3


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [camel-quarkus] ppalaga opened a new issue #752: Test the Jira extension using Testcontainer and the Jira image

2020-02-24 Thread GitBox
ppalaga opened a new issue #752: Test the Jira extension using Testcontainer 
and the Jira image
URL: https://github.com/apache/camel-quarkus/issues/752
 
 
   The README [1] in the itest states that the test can be run against a 
manually started container using the Jira Image [2]. I wonder whether this can 
be automated via Test containers as we do with Consul and other extensions.
   
   [1] 
https://github.com/apache/camel-quarkus/pull/728/files#diff-946d5ce322e8e8d37da82de18d75551cR5
   [2] https://hub.docker.com/r/atlassian/jira-software


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [camel-quarkus] oscerd merged pull request #749: Minor cleanup and a mvnd.builder.rule update

2020-02-24 Thread GitBox
oscerd merged pull request #749: Minor cleanup and a mvnd.builder.rule update
URL: https://github.com/apache/camel-quarkus/pull/749
 
 
   


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[camel-quarkus] branch master updated (5add94d -> f2e2c39)

2020-02-24 Thread acosentino
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git.


from 5add94d  Add LoginToken to Salesforce reflective class list
 new 71b4271  Update mvnd.builder.rule in the salesforce itest
 new f176ecf  Remove redundant native-image mojo from the reactive streams 
itest
 new f2e2c39  Merge pull request #749 from ppalaga/200224-chore

The 917 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:
 integration-tests/reactive-streams/pom.xml | 12 
 integration-tests/salesforce/pom.xml   |  2 +-
 2 files changed, 1 insertion(+), 13 deletions(-)



[GitHub] [camel-quarkus] ppalaga opened a new pull request #751: Remove redundant quarkus.ssl.native=true from box application.properties

2020-02-24 Thread GitBox
ppalaga opened a new pull request #751: Remove redundant 
quarkus.ssl.native=true from box application.properties
URL: https://github.com/apache/camel-quarkus/pull/751
 
 
   @johnpoth could you please test this with your credentials? I was not able 
to authenticate with mine within a reasonable time.


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[camel] branch master updated (2e2fdb3 -> 0489e45)

2020-02-24 Thread acosentino
This is an automated email from the ASF dual-hosted git repository.

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


from 2e2fdb3  CAMEL-14020 - Fix compilation error in camel-beanstalk
 add 0489e45  Camel-Lucene: Removed unused imports

No new revisions were added by this update.

Summary of changes:
 .../java/org/apache/camel/processor/lucene/LuceneQueryProcessor.java | 1 -
 1 file changed, 1 deletion(-)



[camel] branch master updated (95169e7 -> 2e2fdb3)

2020-02-24 Thread acosentino
This is an automated email from the ASF dual-hosted git repository.

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


from 95169e7  CAMEL-14609: camel-core - optimize
 add 28e0ba5  Upgrade GraphQL to version 14.0
 add 5a9651d  CAMEL-14020 - change from getOut(0 to getMessage() -> 
camel-jacksonxml
 add 4dbc5cf  CAMEL-14020 - replace getOut in tests camel-jacksonxml 
component.
 add 82f442f  CAMEL-14020 - Replace getOut() with getMessage() in HTTP 
component.
 add 75ff60e  CAMEL-14020 - Migrate from getOut() to getMessage() in 
camel-docker tests.
 add e2244b8  CAMEL-14020 - Migrate getOut to getMessage in tests 
camel-beanstalk. Code Cleanup.
 add cacc397  CAMEL-14020 - Migrate getOut to getMessage where it's 
possible camel-disruptor.
 add d291af9  CAMEL-14020 - migrate getOut to getMessage in 
camel-cassandraql.
 add a5952db  CAMEL-14020 - migrate getOut to getMessage in camel-cmis.
 add 29e8bac  CAMEL-14020 - migrate getOut to getMessage in camel-coap.
 add 8328ce6  CAMEL-14020 - migrate getOut to getMessage in camel-crypto.
 add 020b030  CAMEL-14020 - migrate getOut to getMessage in camel-crypto-cms
 add 230abf1  CAMEL-14020 - Migrate getOut to getMessage in camel-hazelcast
 add 94f59a3  CAMEL-14020 - Migrate getOut to getMessage in camel-hbase
 add 30fc860  CAMEL-14020 - Migrate getOut to getMessage in camel-hl7
 add af2527f  CAMEL-14020 - Migrate getOut to getMessage in camel-jackson
 add d2b0459  CAMEL-14020 - Migrate getOut to getMessage in camel-jcr
 add deb602f  CAMEL-14020 - Migrate getOut to getMessage in camel-jms. Use 
lambda where it's possible.
 add c78be11  CAMEL-14020 - Migrate getOut to getMessage in camel-jolt.
 add 886b647  CAMEL-14020 - Migrate getOut to getMessage in camel-kafka.
 add 44a13c4  CAMEL-14020 - Migrate getOut to getMessage() in 
camel-kubernetes
 add b358a21  CAMEL-14020 - Migrate getOut to getMessage in camel-ldap
 add c739645  CAMEL-14020 - Migrate getOut to getMessage() in camel-ldif.
 add 0746eb5  CAMEL-14020 - Migrate getOut to getMessage in camel-lucene.
 add e1cb695  CAMEL-14020 - Migrate getOut to getMessage in camel-mina
 add d82afee  CAMEL-14020 - migrate getOut to getmessage in camel-quickfix
 add 2fdfaeb  CAMEL-14020 - migrate getOut to getMessage() in 
camel-netty-http.
 add 8c9a2c7  CAMEL-14020 - migrate getOut to getMessage in camel-reactor.
 add 8a81aec  CAMEL-14020 - migrate getOut to getMessage in camel-rxjava
 add 6da8582  CAMEL-14020 - migrate getOut to getMessage in camel-salesforce
 add baaae67  CAMEL-14020 - Migrate from getOut to getMessage in 
camel-schematron.
 add 7c9a935  CAMEL-14020 - Migrate getOut to getMessage in camel-servlet.
 add 167e1b5  CAMEL-14020 - migrate getOut to getMessage in camel-sjms.
 add f05e10f  CAMEL-14020 - Migrate getOut to getMessage in camel-smpp
 add 4f256bf  CAMEL-14020 - migrate getOut to getMessage in camel-spark-rest
 add d3586cc  CAMEL-14020 - Migrate getOut to getMessage in 
camel-spring-integration
 add c7e7f32  CAMEL-14020 - Migrate getOut to getMessage in camel-sql.
 add 391f823  CAMEL-14020 - Migrate getOut to getMessage in 
camel-stringtemplate.
 add 133bda5  CAMEL-14020 - Migrate getOut to getMessage in tests 
camel-test.
 add f7efaea  CAMEL-14020 - Migrate getOut to getMessage in tests 
camel-thrift.
 add c143080  CAMEL-14020 - Migrate getOut to getMessage in tests 
camel-undertow.
 add e3318fe  CAMEL-14020 - Remove final from connectionSettings in 
camel-beanstalk.
 add ed39d68  CAMEL-14020 - Fix compiling errors.
 add 2e2fdb3  CAMEL-14020 - Fix compilation error in camel-beanstalk

No new revisions were added by this update.

Summary of changes:
 .../component/beanstalk/BeanstalkProducer.java |   6 +-
 .../beanstalk/ConsumerCompletionTest.java  |   4 +-
 .../beanstalk/ConsumerToProducerHeadersTest.java   |   3 +-
 .../apache/camel/component/beanstalk/Helper.java   |   2 +-
 .../component/beanstalk/ImmediateConsumerTest.java |   4 +-
 .../camel/component/beanstalk/ProducerTest.java|  87 +++--
 .../integration/PutProducerIntegrationTest.java|  10 +-
 .../component/cassandra/CassandraProducer.java |   4 +-
 .../camel/component/cmis/CMISProducerTest.java |  26 +--
 .../component/cmis/CMISQueryProducerTest.java  |  10 +-
 .../camel/coap/CoAPRestComponentTestBase.java  |  20 +--
 .../component/crypto/cms/EnvelopedDataTest.java|   4 +-
 .../camel/component/crypto/cms/SignedDataTest.java |   6 +-
 .../camel/component/crypto/SignatureTest.java  |   6 +-
 .../converter/crypto/CryptoDataFormatTest.java |   2 +-
 .../DisruptorWaitForTaskAsPropertyTest.java|   2 +-
 .../it/DockerCustomCmdExecFactoryTestIT.java   |   9 +-
 .../HazelcastReplicatedmapProducer.java|   6 +-
 

[GitHub] [camel-quarkus] jamesnetherton opened a new pull request #750: FhirDataformatTest failure -TransformerFactoryImpl not found

2020-02-24 Thread GitBox
jamesnetherton opened a new pull request #750: FhirDataformatTest failure 
-TransformerFactoryImpl not found
URL: https://github.com/apache/camel-quarkus/pull/750
 
 
   fixes #748


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[camel] branch master updated (a93f016 -> 95169e7)

2020-02-24 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

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


from a93f016  CAMEL-14609: camel-core - optimize
 add 9505e64  CAMEL-14609: camel-core - optimize
 add 95169e7  CAMEL-14609: camel-core - optimize

No new revisions were added by this update.

Summary of changes:
 .../apache/camel/impl/engine/AbstractCamelContext.java   | 16 
 .../src/main/java/org/apache/camel/util/URISupport.java  |  5 ++---
 2 files changed, 18 insertions(+), 3 deletions(-)



[GitHub] [camel-quarkus] ppalaga opened a new pull request #749: Minor cleanup and a mvnd.builder.rule update

2020-02-24 Thread GitBox
ppalaga opened a new pull request #749: Minor cleanup and a mvnd.builder.rule 
update
URL: https://github.com/apache/camel-quarkus/pull/749
 
 
   


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[camel] branch master updated (05a0fb6 -> a93f016)

2020-02-24 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

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


from 05a0fb6  Regen docs
 add a93f016  CAMEL-14609: camel-core - optimize

No new revisions were added by this update.

Summary of changes:
 .../camel/impl/engine/AbstractCamelContext.java| 12 ++--
 .../java/org/apache/camel/util/StringHelper.java   | 14 -
 .../java/org/apache/camel/util/URISupport.java | 66 --
 .../camel/util/UnsafeUriCharactersEncoder.java | 18 +++---
 4 files changed, 67 insertions(+), 43 deletions(-)



[GitHub] [camel-quarkus] aldettinger commented on a change in pull request #738: Created a camel gson extension #681

2020-02-24 Thread GitBox
aldettinger commented on a change in pull request #738: Created a camel gson 
extension #681
URL: https://github.com/apache/camel-quarkus/pull/738#discussion_r383174937
 
 

 ##
 File path: 
integration-tests/dataformats-json/src/main/java/org/apache/camel/quarkus/component/jackson/JsonDataformatsRoute.java
 ##
 @@ -16,47 +16,93 @@
  */
 package org.apache.camel.quarkus.component.jackson;
 
+import java.lang.reflect.Type;
+import java.util.Arrays;
+import java.util.List;
+
+import com.fasterxml.jackson.databind.ObjectMapper;
+import com.fasterxml.jackson.databind.PropertyNamingStrategy;
+import com.google.gson.ExclusionStrategy;
+import com.google.gson.FieldAttributes;
+import com.google.gson.FieldNamingPolicy;
+import com.google.gson.reflect.TypeToken;
 import org.apache.camel.builder.RouteBuilder;
+import org.apache.camel.component.gson.GsonDataFormat;
 import org.apache.camel.component.jackson.JacksonDataFormat;
 import org.apache.camel.model.dataformat.JsonLibrary;
 import org.apache.camel.quarkus.component.jackson.model.DummyObject;
+import org.apache.camel.quarkus.component.jackson.model.ExcludeField;
 import org.apache.camel.quarkus.component.jackson.model.PojoA;
 import org.apache.camel.quarkus.component.jackson.model.PojoB;
+import org.apache.camel.spi.DataFormat;
 
 public class JsonDataformatsRoute extends RouteBuilder {
 
 @Override
 public void configure() {
-JacksonDataFormat format = new JacksonDataFormat(DummyObject.class);
-format.useList();
+JacksonDataFormat jacksonDummyObjectDataFormat = new 
JacksonDataFormat(DummyObject.class);
 
 Review comment:
   The idea is that it's the dataformat serializing dummy object. That said, I 
would not veto a renaming of DummyObject too.


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [camel-quarkus] ppalaga commented on a change in pull request #738: Created a camel gson extension #681

2020-02-24 Thread GitBox
ppalaga commented on a change in pull request #738: Created a camel gson 
extension #681
URL: https://github.com/apache/camel-quarkus/pull/738#discussion_r383171072
 
 

 ##
 File path: 
integration-tests/dataformats-json/src/main/java/org/apache/camel/quarkus/component/jackson/JsonDataformatsRoute.java
 ##
 @@ -16,47 +16,93 @@
  */
 package org.apache.camel.quarkus.component.jackson;
 
+import java.lang.reflect.Type;
+import java.util.Arrays;
+import java.util.List;
+
+import com.fasterxml.jackson.databind.ObjectMapper;
+import com.fasterxml.jackson.databind.PropertyNamingStrategy;
+import com.google.gson.ExclusionStrategy;
+import com.google.gson.FieldAttributes;
+import com.google.gson.FieldNamingPolicy;
+import com.google.gson.reflect.TypeToken;
 import org.apache.camel.builder.RouteBuilder;
+import org.apache.camel.component.gson.GsonDataFormat;
 import org.apache.camel.component.jackson.JacksonDataFormat;
 import org.apache.camel.model.dataformat.JsonLibrary;
 import org.apache.camel.quarkus.component.jackson.model.DummyObject;
+import org.apache.camel.quarkus.component.jackson.model.ExcludeField;
 import org.apache.camel.quarkus.component.jackson.model.PojoA;
 import org.apache.camel.quarkus.component.jackson.model.PojoB;
+import org.apache.camel.spi.DataFormat;
 
 public class JsonDataformatsRoute extends RouteBuilder {
 
 @Override
 public void configure() {
-JacksonDataFormat format = new JacksonDataFormat(DummyObject.class);
-format.useList();
+JacksonDataFormat jacksonDummyObjectDataFormat = new 
JacksonDataFormat(DummyObject.class);
 
 Review comment:
   Why do these data format variables have the `Dummy` infix in their name? I 
do not see anything "dummy" in how they are used.


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


  1   2   >