Fix HTTP urls to HTTPS

* Do not fix urls for the `http://apache.org/xml/features` when we
configure XML components
* Do not fix urls for localhost and fake links in tests
* Fix all the dead links in docs
This commit is contained in:
Artem Bilan
2019-03-21 17:13:41 -04:00
parent 0ce6216e49
commit 20e8f0af2f
130 changed files with 716 additions and 712 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2018 the original author or authors.
* Copyright 2014-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,7 +28,7 @@ import org.springframework.util.Assert;
/**
* The {@link org.aopalliance.intercept.MethodInterceptor} implementation for the
* <a href="http://www.eaipatterns.com/IdempotentReceiver.html">Idempotent Receiver</a>
* <a href="https://www.enterpriseintegrationpatterns.com/IdempotentReceiver.html">Idempotent Receiver</a>
* E.I. Pattern.
* <p>
* This {@link org.aopalliance.intercept.MethodInterceptor} works like a
@@ -48,6 +48,7 @@ import org.springframework.util.Assert;
* @author Gary Russell
*
* @since 4.1
*
* @see org.springframework.integration.selector.MetadataStoreSelector
* @see org.springframework.integration.config.IdempotentReceiverAutoProxyCreatorInitializer
*/

View File

@@ -27,7 +27,7 @@ import com.jayway.jsonpath.Predicate;
/**
* Utility class to {@link #evaluate} a jsonPath on the provided object.
* Delegates evaluation to <a href="http://code.google.com/p/json-path">JsonPath</a>.
* Delegates evaluation to <a href="https://github.com/json-path/JsonPath">JsonPath</a>.
* Note {@link #evaluate} is used as {@code #jsonPath()} SpEL function.
*
* @author Artem Bilan

View File

@@ -44,7 +44,7 @@ import org.springframework.util.ClassUtils;
/**
* The {@link MessageHandler} implementation for the
* <a href="http://www.eaipatterns.com/BroadcastAggregate.html">Scatter-Gather</a> EIP pattern.
* <a href="https://www.enterpriseintegrationpatterns.com/BroadcastAggregate.html">Scatter-Gather</a> EIP pattern.
*
* @author Artem Bilan
* @author Abdul Zaheer

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2018 the original author or authors.
* Copyright 2014-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -39,7 +39,7 @@ import org.springframework.util.Assert;
* {@code MetadataStore} associated with the {@code key}.
* <p>
* This {@link MessageSelector} is useful for an
* <a href="http://www.eaipatterns.com/IdempotentReceiver.html">Idempotent Receiver</a>
* <a href="https://www.enterpriseintegrationpatterns.com/IdempotentReceiver.html">Idempotent Receiver</a>
* implementation.
* <p>
* It can be used in a {@link org.springframework.integration.filter.MessageFilter}

View File

@@ -3,8 +3,8 @@ xmlheaders=\
<beans xmlns="http://www.springframework.org/schema/beans" \
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" \
xmlns:int="http://www.springframework.org/schema/integration" \
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd \
http://www.springframework.org/schema/integration http://www.springframework.org/schema/integration/spring-integration.xsd">
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd \
http://www.springframework.org/schema/integration https://www.springframework.org/schema/integration/spring-integration.xsd">
xmlfooter= </beans>
service-activator=\

View File

@@ -3,8 +3,8 @@ xmlheaders=\
<beans xmlns="http://www.springframework.org/schema/beans" \
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" \
xmlns:int="http://www.springframework.org/schema/integration" \
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd \
http://www.springframework.org/schema/integration http://www.springframework.org/schema/integration/spring-integration.xsd">
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd \
http://www.springframework.org/schema/integration https://www.springframework.org/schema/integration/spring-integration.xsd">
xmlfooter= </beans>
empty=<int:idempotent-receiver endpoint=""/>

View File

@@ -3,9 +3,9 @@ splitter-inner-success=\
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans" \
xsi:schemaLocation="http://www.springframework.org/schema/beans \
http://www.springframework.org/schema/beans/spring-beans.xsd \
https://www.springframework.org/schema/beans/spring-beans.xsd \
http://www.springframework.org/schema/integration \
http://www.springframework.org/schema/integration/spring-integration.xsd"> \
https://www.springframework.org/schema/integration/spring-integration.xsd"> \
<channel id="inChannel"/> \
<channel id="outChannel"> \
<queue capacity="2" /> \
@@ -21,11 +21,11 @@ splitter-inner-success-with-poller=\
xmlns:beans="http://www.springframework.org/schema/beans" \
xmlns:task="http://www.springframework.org/schema/task" \
xsi:schemaLocation="http://www.springframework.org/schema/beans \
http://www.springframework.org/schema/beans/spring-beans.xsd \
https://www.springframework.org/schema/beans/spring-beans.xsd \
http://www.springframework.org/schema/task \
http://www.springframework.org/schema/task/spring-task.xsd \
https://www.springframework.org/schema/task/spring-task.xsd \
http://www.springframework.org/schema/integration \
http://www.springframework.org/schema/integration/spring-integration.xsd"> \
https://www.springframework.org/schema/integration/spring-integration.xsd"> \
<channel id="inChannel"> \
<queue capacity="2" /> \
</channel> \
@@ -45,11 +45,11 @@ splitter-inner-success-with-poller-reversed-order=\
xmlns:beans="http://www.springframework.org/schema/beans" \
xmlns:task="http://www.springframework.org/schema/task" \
xsi:schemaLocation="http://www.springframework.org/schema/beans \
http://www.springframework.org/schema/beans/spring-beans.xsd \
https://www.springframework.org/schema/beans/spring-beans.xsd \
http://www.springframework.org/schema/task \
http://www.springframework.org/schema/task/spring-task.xsd \
https://www.springframework.org/schema/task/spring-task.xsd \
http://www.springframework.org/schema/integration \
http://www.springframework.org/schema/integration/spring-integration.xsd"> \
https://www.springframework.org/schema/integration/spring-integration.xsd"> \
<channel id="inChannel"> \
<queue capacity="2" /> \
</channel> \
@@ -67,9 +67,9 @@ splitter-ref-success=\
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans" \
xsi:schemaLocation="http://www.springframework.org/schema/beans \
http://www.springframework.org/schema/beans/spring-beans.xsd \
https://www.springframework.org/schema/beans/spring-beans.xsd \
http://www.springframework.org/schema/integration \
http://www.springframework.org/schema/integration/spring-integration.xsd"> \
https://www.springframework.org/schema/integration/spring-integration.xsd"> \
<channel id="inChannel"/> \
<channel id="outChannel"> \
<queue capacity="2" /> \
@@ -82,9 +82,9 @@ splitter-failure-refAndBean=\
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans" \
xsi:schemaLocation="http://www.springframework.org/schema/beans \
http://www.springframework.org/schema/beans/spring-beans.xsd \
https://www.springframework.org/schema/beans/spring-beans.xsd \
http://www.springframework.org/schema/integration \
http://www.springframework.org/schema/integration/spring-integration.xsd"> \
https://www.springframework.org/schema/integration/spring-integration.xsd"> \
<channel id="inChannel"/> \
<channel id="outChannel"> \
<queue capacity="2" /> \
@@ -99,9 +99,9 @@ transformer-inner-success=\
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans" \
xsi:schemaLocation="http://www.springframework.org/schema/beans \
http://www.springframework.org/schema/beans/spring-beans.xsd \
https://www.springframework.org/schema/beans/spring-beans.xsd \
http://www.springframework.org/schema/integration \
http://www.springframework.org/schema/integration/spring-integration.xsd"> \
https://www.springframework.org/schema/integration/spring-integration.xsd"> \
<channel id="inChannel"/> \
<channel id="outChannel"> \
<queue capacity="1" /> \
@@ -115,9 +115,9 @@ transformer-ref-success=\
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans" \
xsi:schemaLocation="http://www.springframework.org/schema/beans \
http://www.springframework.org/schema/beans/spring-beans.xsd \
https://www.springframework.org/schema/beans/spring-beans.xsd \
http://www.springframework.org/schema/integration \
http://www.springframework.org/schema/integration/spring-integration.xsd"> \
https://www.springframework.org/schema/integration/spring-integration.xsd"> \
<channel id="inChannel"/> \
<channel id="outChannel"> \
<queue capacity="1" /> \
@@ -130,9 +130,9 @@ transformer-failure-refAndBean=\
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans" \
xsi:schemaLocation="http://www.springframework.org/schema/beans \
http://www.springframework.org/schema/beans/spring-beans.xsd \
https://www.springframework.org/schema/beans/spring-beans.xsd \
http://www.springframework.org/schema/integration \
http://www.springframework.org/schema/integration/spring-integration.xsd"> \
https://www.springframework.org/schema/integration/spring-integration.xsd"> \
<channel id="inChannel"/> \
<channel id="outChannel"> \
<queue capacity="1" /> \
@@ -147,9 +147,9 @@ router-inner-success=\
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans" \
xsi:schemaLocation="http://www.springframework.org/schema/beans \
http://www.springframework.org/schema/beans/spring-beans.xsd \
https://www.springframework.org/schema/beans/spring-beans.xsd \
http://www.springframework.org/schema/integration \
http://www.springframework.org/schema/integration/spring-integration.xsd"> \
https://www.springframework.org/schema/integration/spring-integration.xsd"> \
<channel id="inChannel"/> \
<channel id="channel1"> \
<queue capacity="1" /> \
@@ -166,9 +166,9 @@ router-ref-success=\
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans" \
xsi:schemaLocation="http://www.springframework.org/schema/beans \
http://www.springframework.org/schema/beans/spring-beans.xsd \
https://www.springframework.org/schema/beans/spring-beans.xsd \
http://www.springframework.org/schema/integration \
http://www.springframework.org/schema/integration/spring-integration.xsd"> \
https://www.springframework.org/schema/integration/spring-integration.xsd"> \
<channel id="inChannel"/> \
<channel id="channel1"> \
<queue capacity="1" /> \
@@ -184,9 +184,9 @@ router-failure-refAndBean=\
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans" \
xsi:schemaLocation="http://www.springframework.org/schema/beans \
http://www.springframework.org/schema/beans/spring-beans.xsd \
https://www.springframework.org/schema/beans/spring-beans.xsd \
http://www.springframework.org/schema/integration \
http://www.springframework.org/schema/integration/spring-integration.xsd"> \
https://www.springframework.org/schema/integration/spring-integration.xsd"> \
<channel id="inChannel"/> \
<router id="testRouter" ref="testRouterBean" input-channel="inChannel" method="route"> \
<beans:bean class="org.springframework.integration.config.xml.InnerDefinitionHandlerAwareEndpointParserTests$TestRouter" /> \
@@ -198,9 +198,9 @@ sa-inner-success=\
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans" \
xsi:schemaLocation="http://www.springframework.org/schema/beans \
http://www.springframework.org/schema/beans/spring-beans.xsd \
https://www.springframework.org/schema/beans/spring-beans.xsd \
http://www.springframework.org/schema/integration \
http://www.springframework.org/schema/integration/spring-integration.xsd"> \
https://www.springframework.org/schema/integration/spring-integration.xsd"> \
<channel id="inChannel"/> \
<channel id="outChannel"> \
<queue capacity="1" /> \
@@ -214,9 +214,9 @@ sa-ref-success=\
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans" \
xsi:schemaLocation="http://www.springframework.org/schema/beans \
http://www.springframework.org/schema/beans/spring-beans.xsd \
https://www.springframework.org/schema/beans/spring-beans.xsd \
http://www.springframework.org/schema/integration \
http://www.springframework.org/schema/integration/spring-integration.xsd"> \
https://www.springframework.org/schema/integration/spring-integration.xsd"> \
<channel id="inChannel"/> \
<channel id="outChannel"> \
<queue capacity="1" /> \
@@ -229,9 +229,9 @@ sa-failure-refAndBean=\
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans" \
xsi:schemaLocation="http://www.springframework.org/schema/beans \
http://www.springframework.org/schema/beans/spring-beans.xsd \
https://www.springframework.org/schema/beans/spring-beans.xsd \
http://www.springframework.org/schema/integration \
http://www.springframework.org/schema/integration/spring-integration.xsd"> \
https://www.springframework.org/schema/integration/spring-integration.xsd"> \
<channel id="inChannel"/> \
<channel id="outChannel"> \
<queue capacity="1" /> \
@@ -246,9 +246,9 @@ aggregator-inner-success=\
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans" \
xsi:schemaLocation="http://www.springframework.org/schema/beans \
http://www.springframework.org/schema/beans/spring-beans.xsd \
https://www.springframework.org/schema/beans/spring-beans.xsd \
http://www.springframework.org/schema/integration \
http://www.springframework.org/schema/integration/spring-integration.xsd"> \
https://www.springframework.org/schema/integration/spring-integration.xsd"> \
<channel id="inChannel"/> \
<channel id="outChannel"> \
<queue capacity="5" /> \
@@ -262,9 +262,9 @@ aggregator-ref-success=\
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans" \
xsi:schemaLocation="http://www.springframework.org/schema/beans \
http://www.springframework.org/schema/beans/spring-beans.xsd \
https://www.springframework.org/schema/beans/spring-beans.xsd \
http://www.springframework.org/schema/integration \
http://www.springframework.org/schema/integration/spring-integration.xsd"> \
https://www.springframework.org/schema/integration/spring-integration.xsd"> \
<channel id="inChannel"> \
</channel> \
<channel id="outChannel"> \
@@ -280,11 +280,11 @@ aggregator-inner-concurrent-success=\
xmlns:beans="http://www.springframework.org/schema/beans" \
xmlns:task="http://www.springframework.org/schema/task" \
xsi:schemaLocation="http://www.springframework.org/schema/beans \
http://www.springframework.org/schema/beans/spring-beans.xsd \
https://www.springframework.org/schema/beans/spring-beans.xsd \
http://www.springframework.org/schema/task \
http://www.springframework.org/schema/task/spring-task.xsd \
https://www.springframework.org/schema/task/spring-task.xsd \
http://www.springframework.org/schema/integration \
http://www.springframework.org/schema/integration/spring-integration.xsd"> \
https://www.springframework.org/schema/integration/spring-integration.xsd"> \
<channel id="inChannel"> \
<queue capacity="5" /> \
</channel> \
@@ -304,11 +304,11 @@ aggregator-inner-concurrent-success-reorder-bean-poller=\
xmlns:beans="http://www.springframework.org/schema/beans" \
xmlns:task="http://www.springframework.org/schema/task" \
xsi:schemaLocation="http://www.springframework.org/schema/beans \
http://www.springframework.org/schema/beans/spring-beans.xsd \
https://www.springframework.org/schema/beans/spring-beans.xsd \
http://www.springframework.org/schema/task \
http://www.springframework.org/schema/task/spring-task.xsd \
https://www.springframework.org/schema/task/spring-task.xsd \
http://www.springframework.org/schema/integration \
http://www.springframework.org/schema/integration/spring-integration.xsd"> \
https://www.springframework.org/schema/integration/spring-integration.xsd"> \
<channel id="inChannel"> \
<queue capacity="5" /> \
</channel> \
@@ -326,9 +326,9 @@ aggregator-failure-refAndBean=\
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans" \
xsi:schemaLocation="http://www.springframework.org/schema/beans \
http://www.springframework.org/schema/beans/spring-beans.xsd \
https://www.springframework.org/schema/beans/spring-beans.xsd \
http://www.springframework.org/schema/integration \
http://www.springframework.org/schema/integration/spring-integration.xsd"> \
https://www.springframework.org/schema/integration/spring-integration.xsd"> \
<channel id="inChannel"/> \
<channel id="outChannel"> \
<queue capacity="5" /> \
@@ -343,9 +343,9 @@ filter-inner-success=\
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans" \
xsi:schemaLocation="http://www.springframework.org/schema/beans \
http://www.springframework.org/schema/beans/spring-beans.xsd \
https://www.springframework.org/schema/beans/spring-beans.xsd \
http://www.springframework.org/schema/integration \
http://www.springframework.org/schema/integration/spring-integration.xsd"> \
https://www.springframework.org/schema/integration/spring-integration.xsd"> \
<channel id="inChannel"/> \
<channel id="outChannel"> \
<queue capacity="1" /> \
@@ -359,9 +359,9 @@ filter-ref-success=\
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans" \
xsi:schemaLocation="http://www.springframework.org/schema/beans \
http://www.springframework.org/schema/beans/spring-beans.xsd \
https://www.springframework.org/schema/beans/spring-beans.xsd \
http://www.springframework.org/schema/integration \
http://www.springframework.org/schema/integration/spring-integration.xsd"> \
https://www.springframework.org/schema/integration/spring-integration.xsd"> \
<channel id="inChannel"/> \
<channel id="outChannel"> \
<queue capacity="1"/> \
@@ -374,9 +374,9 @@ filter-failure-refAndBean=\
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans" \
xsi:schemaLocation="http://www.springframework.org/schema/beans \
http://www.springframework.org/schema/beans/spring-beans.xsd \
https://www.springframework.org/schema/beans/spring-beans.xsd \
http://www.springframework.org/schema/integration \
http://www.springframework.org/schema/integration/spring-integration.xsd"> \
https://www.springframework.org/schema/integration/spring-integration.xsd"> \
<channel id="inChannel"/> \
<channel id="outChannel"> \
<queue capacity="1"/> \

View File

@@ -84,9 +84,9 @@ public class PayloadTypeRouterParserTests {
"<beans:beans xmlns=\"http://www.springframework.org/schema/integration\"" +
" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:beans=\"http://www.springframework.org/schema/beans\"" +
" xsi:schemaLocation=\"http://www.springframework.org/schema/beans" +
" http://www.springframework.org/schema/beans/spring-beans.xsd" +
" https://www.springframework.org/schema/beans/spring-beans.xsd" +
" http://www.springframework.org/schema/integration" +
" http://www.springframework.org/schema/integration/spring-integration.xsd\">" +
" https://www.springframework.org/schema/integration/spring-integration.xsd\">" +
" <channel id=\"routingChannel\" />" +
" <payload-type-router input-channel=\"routingChannel\">" +
" <mapping type=\"FAKE_TYPE\" channel=\"channel1\" />" +
@@ -98,9 +98,9 @@ public class PayloadTypeRouterParserTests {
"<beans:beans xmlns=\"http://www.springframework.org/schema/integration\"" +
" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:beans=\"http://www.springframework.org/schema/beans\"" +
" xsi:schemaLocation=\"http://www.springframework.org/schema/beans" +
" http://www.springframework.org/schema/beans/spring-beans.xsd" +
" https://www.springframework.org/schema/beans/spring-beans.xsd" +
" http://www.springframework.org/schema/integration" +
" http://www.springframework.org/schema/integration/spring-integration.xsd\">" +
" https://www.springframework.org/schema/integration/spring-integration.xsd\">" +
" <channel id=\"routingChannel\" />" +
" <payload-type-router input-channel=\"routingChannel\"/>" +
"</beans:beans>";