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 2022/04/12 10:07:08 UTC

[camel-quarkus-examples] 13/22: Use https instead of http to reference xsd (#78)

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

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

commit d93fdd87347816ac43c7cd425f53c0c3cb489425
Author: Aurélien Pupier <ap...@redhat.com>
AuthorDate: Thu Mar 10 10:03:25 2022 +0100

    Use https instead of http to reference xsd (#78)
    
    it is more secure and avoids a redirection
    
    fixes apache/camel-quarkus#3604
    
    Signed-off-by: Aurélien Pupier <ap...@redhat.com>
---
 file-split-log-xml/src/main/resources/routes/camel-routes.xml | 2 +-
 jdbc-datasource/src/main/resources/routes/camel-routes.xml    | 2 +-
 timer-log-xml/src/main/resources/routes/my-routes.xml         | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/file-split-log-xml/src/main/resources/routes/camel-routes.xml b/file-split-log-xml/src/main/resources/routes/camel-routes.xml
index c98e7b6..1f9ceb4 100644
--- a/file-split-log-xml/src/main/resources/routes/camel-routes.xml
+++ b/file-split-log-xml/src/main/resources/routes/camel-routes.xml
@@ -22,7 +22,7 @@
         xmlns="http://camel.apache.org/schema/spring"
         xsi:schemaLocation="
             http://camel.apache.org/schema/spring
-            http://camel.apache.org/schema/spring/camel-spring.xsd">
+            https://camel.apache.org/schema/spring/camel-spring.xsd">
 
     <route id="file-xml-route">
         <from uri="file:{{camel.file.route.folder}}?noop=true&amp;delay={{camel.file.repeat.interval}}&amp;idempotent=false&amp;initialDelay=5000"/>
diff --git a/jdbc-datasource/src/main/resources/routes/camel-routes.xml b/jdbc-datasource/src/main/resources/routes/camel-routes.xml
index dcb1162..f8aa2df 100644
--- a/jdbc-datasource/src/main/resources/routes/camel-routes.xml
+++ b/jdbc-datasource/src/main/resources/routes/camel-routes.xml
@@ -22,7 +22,7 @@
         xmlns="http://camel.apache.org/schema/spring"
         xsi:schemaLocation="
             http://camel.apache.org/schema/spring
-            http://camel.apache.org/schema/spring/camel-spring.xsd">
+            https://camel.apache.org/schema/spring/camel-spring.xsd">
 
     <route id="jdbc-datasource-route"
            autoStartup="false">
diff --git a/timer-log-xml/src/main/resources/routes/my-routes.xml b/timer-log-xml/src/main/resources/routes/my-routes.xml
index ed63c39..75b8760 100644
--- a/timer-log-xml/src/main/resources/routes/my-routes.xml
+++ b/timer-log-xml/src/main/resources/routes/my-routes.xml
@@ -21,7 +21,7 @@
         xmlns="http://camel.apache.org/schema/spring"
         xsi:schemaLocation="
             http://camel.apache.org/schema/spring
-            http://camel.apache.org/schema/spring/camel-spring.xsd">
+            https://camel.apache.org/schema/spring/camel-spring.xsd">
 
     <route id="xml-route">
         <from uri="timer:from-xml?period=1000"/>