You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zh...@apache.org on 2023/06/30 12:50:51 UTC

[camel-quarkus] branch main updated (768dceea4a -> 842aca0fec)

This is an automated email from the ASF dual-hosted git repository.

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


    from 768dceea4a Upgrade to quarkus-cxf 2.2.0
     new 3153f3f0d1 Revert "Disable google-pubsub native profile due to #5007"
     new 5bd45b92c4 Revert "Disable google-storage native profile due to #5010"
     new 842aca0fec Add a work around for google-pubsub and google-storage tests

The 3 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:
 .../ROOT/pages/reference/extensions/google-bigquery.adoc     | 12 ++++++++++++
 .../ROOT/pages/reference/extensions/google-pubsub.adoc       |  8 ++++++++
 .../ROOT/pages/reference/extensions/google-storage.adoc      | 12 ++++++++++++
 .../google-bigquery/runtime/src/main/doc/limitations.adoc    |  7 +++++++
 .../google-pubsub/runtime/src/main/doc/limitations.adoc      |  8 ++++++++
 .../google-storage/runtime/src/main/doc/limitations.adoc     |  7 +++++++
 integration-tests/google-pubsub/pom.xml                      |  2 --
 .../resources/META-INF/native-image/native-image.properties  | 12 ++++--------
 integration-tests/google-storage/pom.xml                     |  2 --
 .../resources/META-INF/native-image/native-image.properties  | 12 ++++--------
 10 files changed, 62 insertions(+), 20 deletions(-)
 create mode 100644 extensions/google-bigquery/runtime/src/main/doc/limitations.adoc
 create mode 100644 extensions/google-storage/runtime/src/main/doc/limitations.adoc
 copy extensions/openapi-java/deployment/src/test/resources/application.properties => integration-tests/google-pubsub/src/main/resources/META-INF/native-image/native-image.properties (78%)
 copy extensions/openapi-java/deployment/src/test/resources/application.properties => integration-tests/google-storage/src/main/resources/META-INF/native-image/native-image.properties (78%)


[camel-quarkus] 03/03: Add a work around for google-pubsub and google-storage tests

Posted by zh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 842aca0fecdd64e5899365525a5b4f57d0c90c55
Author: Zheng Feng <zh...@gmail.com>
AuthorDate: Fri Jun 30 10:11:21 2023 +0800

    Add a work around for google-pubsub and google-storage tests
---
 .../reference/extensions/google-bigquery.adoc      | 12 ++++++++++++
 .../pages/reference/extensions/google-pubsub.adoc  |  8 ++++++++
 .../pages/reference/extensions/google-storage.adoc | 12 ++++++++++++
 .../runtime/src/main/doc/limitations.adoc          |  7 +++++++
 .../runtime/src/main/doc/limitations.adoc          |  8 ++++++++
 .../runtime/src/main/doc/limitations.adoc          |  7 +++++++
 .../META-INF/native-image/native-image.properties  | 22 ++++++++++++++++++++++
 .../META-INF/native-image/native-image.properties  | 22 ++++++++++++++++++++++
 8 files changed, 98 insertions(+)

diff --git a/docs/modules/ROOT/pages/reference/extensions/google-bigquery.adoc b/docs/modules/ROOT/pages/reference/extensions/google-bigquery.adoc
index 15697e0177..8683a6765e 100644
--- a/docs/modules/ROOT/pages/reference/extensions/google-bigquery.adoc
+++ b/docs/modules/ROOT/pages/reference/extensions/google-bigquery.adoc
@@ -52,3 +52,15 @@ If you want to read SQL scripts from the classpath with `google-bigquery-sql` in
 then you will need to ensure that they are added to the native image via the `quarkus.native.resources.includes` configuration property.
 Please check https://quarkus.io/guides/building-native-image#quarkus-native-pkg-native-config_quarkus.native.resources.includes[Quarkus documentation] for more details.
 
+
+[id="extensions-google-bigquery-camel-quarkus-limitations"]
+== Camel Quarkus limitations
+
+Currently it needs a work around in native building to introduce a native-image.properties file containing the following line:
+[source,properties]
+----
+Args = -H:+RunReachabilityHandlersConcurrently
+----
+
+Also this file needs to be in your application, e.g. `src/main/resources/META-INF/native-image/native-image.properties`
+
diff --git a/docs/modules/ROOT/pages/reference/extensions/google-pubsub.adoc b/docs/modules/ROOT/pages/reference/extensions/google-pubsub.adoc
index af8baf5896..7e23da4574 100644
--- a/docs/modules/ROOT/pages/reference/extensions/google-pubsub.adoc
+++ b/docs/modules/ROOT/pages/reference/extensions/google-pubsub.adoc
@@ -55,3 +55,11 @@ Since such serialization is not yet supported by GraalVM, this extension provide
 If your payload contains binary data, then you will need to handle that by creating a custom Jackson Serializer / Deserializer. Refer to the https://quarkus.io/guides/writing-extensions#customizing-jackson[Quarkus Jackson guide] for 
 information on how to do this.
 
+Currently it needs a work around in native building to introduce a native-image.properties file containing the following line:
+[source,properties]
+----
+Args = -H:+RunReachabilityHandlersConcurrently
+----
+
+Also this file needs to be in your application, e.g. `src/main/resources/META-INF/native-image/native-image.properties`
+
diff --git a/docs/modules/ROOT/pages/reference/extensions/google-storage.adoc b/docs/modules/ROOT/pages/reference/extensions/google-storage.adoc
index 67158f2a36..453c55c802 100644
--- a/docs/modules/ROOT/pages/reference/extensions/google-storage.adoc
+++ b/docs/modules/ROOT/pages/reference/extensions/google-storage.adoc
@@ -44,6 +44,18 @@ ifeval::[{doc-show-user-guide-link} == true]
 Check the xref:user-guide/index.adoc[User guide] for more information about writing Camel Quarkus applications.
 endif::[]
 
+[id="extensions-google-storage-camel-quarkus-limitations"]
+== Camel Quarkus limitations
+
+Currently it needs a work around in native building to introduce a native-image.properties file containing the following line:
+[source,properties]
+----
+Args = -H:+RunReachabilityHandlersConcurrently
+----
+
+Also this file needs to be in your application, e.g. `src/main/resources/META-INF/native-image/native-image.properties`
+
+
 [id="extensions-google-storage-ssl-in-native-mode"]
 == SSL in native mode
 
diff --git a/extensions/google-bigquery/runtime/src/main/doc/limitations.adoc b/extensions/google-bigquery/runtime/src/main/doc/limitations.adoc
new file mode 100644
index 0000000000..d409fbb62a
--- /dev/null
+++ b/extensions/google-bigquery/runtime/src/main/doc/limitations.adoc
@@ -0,0 +1,7 @@
+Currently it needs a work around in native building to introduce a native-image.properties file containing the following line:
+[source,properties]
+----
+Args = -H:+RunReachabilityHandlersConcurrently
+----
+
+Also this file needs to be in your application, e.g. `src/main/resources/META-INF/native-image/native-image.properties`
diff --git a/extensions/google-pubsub/runtime/src/main/doc/limitations.adoc b/extensions/google-pubsub/runtime/src/main/doc/limitations.adoc
index 49606e0151..0feb98ccc4 100644
--- a/extensions/google-pubsub/runtime/src/main/doc/limitations.adoc
+++ b/extensions/google-pubsub/runtime/src/main/doc/limitations.adoc
@@ -4,3 +4,11 @@ Since such serialization is not yet supported by GraalVM, this extension provide
 
 If your payload contains binary data, then you will need to handle that by creating a custom Jackson Serializer / Deserializer. Refer to the https://quarkus.io/guides/writing-extensions#customizing-jackson[Quarkus Jackson guide] for 
 information on how to do this.
+
+Currently it needs a work around in native building to introduce a native-image.properties file containing the following line:
+[source,properties]
+----
+Args = -H:+RunReachabilityHandlersConcurrently
+----
+
+Also this file needs to be in your application, e.g. `src/main/resources/META-INF/native-image/native-image.properties`
diff --git a/extensions/google-storage/runtime/src/main/doc/limitations.adoc b/extensions/google-storage/runtime/src/main/doc/limitations.adoc
new file mode 100644
index 0000000000..d409fbb62a
--- /dev/null
+++ b/extensions/google-storage/runtime/src/main/doc/limitations.adoc
@@ -0,0 +1,7 @@
+Currently it needs a work around in native building to introduce a native-image.properties file containing the following line:
+[source,properties]
+----
+Args = -H:+RunReachabilityHandlersConcurrently
+----
+
+Also this file needs to be in your application, e.g. `src/main/resources/META-INF/native-image/native-image.properties`
diff --git a/integration-tests/google-pubsub/src/main/resources/META-INF/native-image/native-image.properties b/integration-tests/google-pubsub/src/main/resources/META-INF/native-image/native-image.properties
new file mode 100644
index 0000000000..8765562aa7
--- /dev/null
+++ b/integration-tests/google-pubsub/src/main/resources/META-INF/native-image/native-image.properties
@@ -0,0 +1,22 @@
+## ---------------------------------------------------------------------------
+## 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.
+## ---------------------------------------------------------------------------
+#
+# TODO: it should be removed once https://github.com/oracle/graal/issues/6904 get fixed
+#       or https://github.com/oracle/graal/pull/6908 get merged and gax-grpc drops the
+#       -H:-RunReachabilityHandlersConcurrently
+#
+Args = -H:+RunReachabilityHandlersConcurrently
diff --git a/integration-tests/google-storage/src/main/resources/META-INF/native-image/native-image.properties b/integration-tests/google-storage/src/main/resources/META-INF/native-image/native-image.properties
new file mode 100644
index 0000000000..8765562aa7
--- /dev/null
+++ b/integration-tests/google-storage/src/main/resources/META-INF/native-image/native-image.properties
@@ -0,0 +1,22 @@
+## ---------------------------------------------------------------------------
+## 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.
+## ---------------------------------------------------------------------------
+#
+# TODO: it should be removed once https://github.com/oracle/graal/issues/6904 get fixed
+#       or https://github.com/oracle/graal/pull/6908 get merged and gax-grpc drops the
+#       -H:-RunReachabilityHandlersConcurrently
+#
+Args = -H:+RunReachabilityHandlersConcurrently


[camel-quarkus] 01/03: Revert "Disable google-pubsub native profile due to #5007"

Posted by zh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 3153f3f0d10b662295b46693cedf59ec500d5941
Author: Zheng Feng <zh...@gmail.com>
AuthorDate: Thu Jun 29 20:18:48 2023 +0800

    Revert "Disable google-pubsub native profile due to #5007"
    
    This reverts commit 617a9e87e5f21d7be3984b8c3c2d150d811d4319.
---
 integration-tests/google-pubsub/pom.xml | 2 --
 1 file changed, 2 deletions(-)

diff --git a/integration-tests/google-pubsub/pom.xml b/integration-tests/google-pubsub/pom.xml
index 58222ce444..4b09dc49b2 100644
--- a/integration-tests/google-pubsub/pom.xml
+++ b/integration-tests/google-pubsub/pom.xml
@@ -74,7 +74,6 @@
         </dependency>
     </dependencies>
     <profiles>
-        <!-- https://github.com/apache/camel-quarkus/issues/5007
         <profile>
             <id>native</id>
             <activation>
@@ -102,7 +101,6 @@
                 </plugins>
             </build>
         </profile>
-        -->
         <profile>
             <id>virtualDependencies</id>
             <activation>


[camel-quarkus] 02/03: Revert "Disable google-storage native profile due to #5010"

Posted by zh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 5bd45b92c4e0b52362b52b06dd510af40acf33b3
Author: Zheng Feng <zh...@gmail.com>
AuthorDate: Thu Jun 29 20:19:49 2023 +0800

    Revert "Disable google-storage native profile due to #5010"
    
    This reverts commit 59cb563c1549593a707747a6e3fe76d829765401.
---
 integration-tests/google-storage/pom.xml | 2 --
 1 file changed, 2 deletions(-)

diff --git a/integration-tests/google-storage/pom.xml b/integration-tests/google-storage/pom.xml
index f9e86690d2..2fe5966c68 100644
--- a/integration-tests/google-storage/pom.xml
+++ b/integration-tests/google-storage/pom.xml
@@ -87,7 +87,6 @@
     </dependencies>
 
     <profiles>
-        <!-- https://github.com/apache/camel-quarkus/issues/5010
         <profile>
             <id>native</id>
             <activation>
@@ -115,7 +114,6 @@
                 </plugins>
             </build>
         </profile>
-        -->
         <profile>
             <id>virtualDependencies</id>
             <activation>