You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2021/08/10 10:25:18 UTC

[camel-quarkus] branch quarkus-main updated (2c4b408 -> f0ecc76)

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

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


 discard 2c4b408  Temporarily disable quarkiverse-google-cloud extensions native builds #2979
 discard 19a0c1e  Temporarily disable XmlsecurityIT #2977
 discard 38bcda4  Temporarily work around Kudu SASL issues related to #2975
     new 359e1f6  Register SASL security provider for kudu
     new d782722  Temporarily disable quarkiverse-google-cloud extensions native builds #2979
     new f0ecc76  Register ApacheXMLDSig security provider for XmlSecurity

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

 * -- * -- B -- O -- O -- O   (2c4b408)
            \
             N -- N -- N   refs/heads/quarkus-main (f0ecc76)

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

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

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:
 .../component/xmlsecurity/deployment/XmlsecurityProcessor.java     | 7 +++++++
 .../camel/quarkus/component/xmlsecurity/it/XmlsecurityIT.java      | 2 --
 2 files changed, 7 insertions(+), 2 deletions(-)

[camel-quarkus] 03/03: Register ApacheXMLDSig security provider for XmlSecurity

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

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

commit f0ecc769a5fb878ed7384d0d7e65d6165278c6ed
Author: James Netherton <ja...@gmail.com>
AuthorDate: Tue Aug 10 11:20:46 2021 +0100

    Register ApacheXMLDSig security provider for XmlSecurity
    
    Fixes #2977
---
 .../component/xmlsecurity/deployment/XmlsecurityProcessor.java     | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/extensions/xmlsecurity/deployment/src/main/java/org/apache/camel/quarkus/component/xmlsecurity/deployment/XmlsecurityProcessor.java b/extensions/xmlsecurity/deployment/src/main/java/org/apache/camel/quarkus/component/xmlsecurity/deployment/XmlsecurityProcessor.java
index 4922f3c..6de8f47 100644
--- a/extensions/xmlsecurity/deployment/src/main/java/org/apache/camel/quarkus/component/xmlsecurity/deployment/XmlsecurityProcessor.java
+++ b/extensions/xmlsecurity/deployment/src/main/java/org/apache/camel/quarkus/component/xmlsecurity/deployment/XmlsecurityProcessor.java
@@ -27,8 +27,10 @@ import io.quarkus.deployment.builditem.CombinedIndexBuildItem;
 import io.quarkus.deployment.builditem.ExtensionSslNativeSupportBuildItem;
 import io.quarkus.deployment.builditem.FeatureBuildItem;
 import io.quarkus.deployment.builditem.IndexDependencyBuildItem;
+import io.quarkus.deployment.builditem.nativeimage.NativeImageSecurityProviderBuildItem;
 import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem;
 import io.quarkus.deployment.builditem.nativeimage.RuntimeInitializedClassBuildItem;
+import org.apache.jcp.xml.dsig.internal.dom.XMLDSigRI;
 import org.apache.xml.security.c14n.CanonicalizerSpi;
 import org.apache.xml.security.stax.ext.XMLSecurityConstants;
 import org.apache.xml.security.transforms.TransformSpi;
@@ -77,4 +79,9 @@ class XmlsecurityProcessor {
                 .map(RuntimeInitializedClassBuildItem::new)
                 .forEach(runtimeInitializedClasses::produce);
     }
+
+    @BuildStep
+    NativeImageSecurityProviderBuildItem saslSecurityProvider() {
+        return new NativeImageSecurityProviderBuildItem(XMLDSigRI.class.getName());
+    }
 }

[camel-quarkus] 02/03: Temporarily disable quarkiverse-google-cloud extensions native builds #2979

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

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

commit d78272266a3e8db482b8cac4b54ccfcd96999c8d
Author: James Netherton <ja...@gmail.com>
AuthorDate: Tue Aug 3 15:38:11 2021 +0100

    Temporarily disable quarkiverse-google-cloud extensions native builds #2979
---
 integration-tests/google-bigquery/pom.xml | 2 ++
 integration-tests/google-pubsub/pom.xml   | 2 ++
 integration-tests/google-storage/pom.xml  | 3 ++-
 3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/integration-tests/google-bigquery/pom.xml b/integration-tests/google-bigquery/pom.xml
index db24375..21f3a48 100644
--- a/integration-tests/google-bigquery/pom.xml
+++ b/integration-tests/google-bigquery/pom.xml
@@ -75,6 +75,7 @@
         </dependency>
     </dependencies>
 
+    <!-- TODO: Reinstate the native build - https://github.com/apache/camel-quarkus/issues/2979
     <profiles>
         <profile>
             <id>native</id>
@@ -104,5 +105,6 @@
             </build>
         </profile>
     </profiles>
+    -->
 
 </project>
diff --git a/integration-tests/google-pubsub/pom.xml b/integration-tests/google-pubsub/pom.xml
index af7b3bc..4c65813 100644
--- a/integration-tests/google-pubsub/pom.xml
+++ b/integration-tests/google-pubsub/pom.xml
@@ -72,6 +72,7 @@
         </dependency>
     </dependencies>
 
+    <!-- TODO: Reinstate the native build - https://github.com/apache/camel-quarkus/issues/2979
     <profiles>
         <profile>
             <id>native</id>
@@ -101,5 +102,6 @@
             </build>
         </profile>
     </profiles>
+    -->
 
 </project>
diff --git a/integration-tests/google-storage/pom.xml b/integration-tests/google-storage/pom.xml
index 93eb9d2..82b04ed 100644
--- a/integration-tests/google-storage/pom.xml
+++ b/integration-tests/google-storage/pom.xml
@@ -110,6 +110,7 @@
         </dependency>
     </dependencies>
 
+    <!-- TODO: Reinstate the native build - https://github.com/apache/camel-quarkus/issues/2979
     <profiles>
         <profile>
             <id>native</id>
@@ -139,5 +140,5 @@
             </build>
         </profile>
     </profiles>
-
+    -->
 </project>

[camel-quarkus] 01/03: Register SASL security provider for kudu

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

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

commit 359e1f686c68df1e870b16dbbf4aa4a3385637f7
Author: James Netherton <ja...@gmail.com>
AuthorDate: Tue Aug 3 15:36:58 2021 +0100

    Register SASL security provider for kudu
---
 .../camel/quarkus/component/kudu/deployment/KuduProcessor.java      | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/extensions/kudu/deployment/src/main/java/org/apache/camel/quarkus/component/kudu/deployment/KuduProcessor.java b/extensions/kudu/deployment/src/main/java/org/apache/camel/quarkus/component/kudu/deployment/KuduProcessor.java
index cab0cc1..ea8c820 100644
--- a/extensions/kudu/deployment/src/main/java/org/apache/camel/quarkus/component/kudu/deployment/KuduProcessor.java
+++ b/extensions/kudu/deployment/src/main/java/org/apache/camel/quarkus/component/kudu/deployment/KuduProcessor.java
@@ -20,6 +20,7 @@ import io.quarkus.deployment.annotations.BuildProducer;
 import io.quarkus.deployment.annotations.BuildStep;
 import io.quarkus.deployment.builditem.ExtensionSslNativeSupportBuildItem;
 import io.quarkus.deployment.builditem.FeatureBuildItem;
+import io.quarkus.deployment.builditem.nativeimage.NativeImageSecurityProviderBuildItem;
 import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem;
 
 class KuduProcessor {
@@ -37,6 +38,11 @@ class KuduProcessor {
     }
 
     @BuildStep
+    NativeImageSecurityProviderBuildItem saslSecurityProvider() {
+        return new NativeImageSecurityProviderBuildItem("com.sun.security.sasl.Provider");
+    }
+
+    @BuildStep
     void reflection(BuildProducer<ReflectiveClassBuildItem> reflectiveClass) {
         reflectiveClass.produce(new ReflectiveClassBuildItem(true, false,
                 "org.apache.kudu.tserver.Tserver$ResourceMetricsPB",