Start version 5.3

* Move `What's New` into `changes-5.1-5.2.adoc`
* Remove version from the `XSD` files:
 1. Align with SF
 2. The version for XSD doesn't matter for the current jar version,
 since only the version is available in classpath is from the current
 jar version
 3. Modify `spring.schemas` to map all the possible versions for XSD
 into the current one in a jar.
 This way target applications can upgrade without changing the version
 for XSD location and we don't need to require `versionless` variant
 any more
 4. The jar in classpath can handle only its own XSD, so independently
 of version or no-version variants we still may fail because the current
 jar may not support end-user code any more - need some fix over there
 anyway.
* Remove `checkTestConfigs` Gradle task since we don't worry about XSD
version any more
* Modify `schemaZip` Gradle task to populate XSDs into a distribution
still with a version to avoid overriding on-line XSDs for version `1.0.x`.
We may consider not do that since SF doesn't and just bite a bullet
for always overriding those on-line XSDs to the actual one from the latest
release.
This commit is contained in:
Artem Bilan
2019-11-27 17:51:35 -05:00
parent 1a9fb83199
commit 9dc3519f20
71 changed files with 4106 additions and 3358 deletions

View File

@@ -1,4 +1,14 @@
http\://www.springframework.org/schema/integration/websocket/spring-integration-websocket-5.2.xsd=org/springframework/integration/websocket/config/spring-integration-websocket-5.2.xsd
http\://www.springframework.org/schema/integration/websocket/spring-integration-websocket.xsd=org/springframework/integration/websocket/config/spring-integration-websocket-5.2.xsd
https\://www.springframework.org/schema/integration/websocket/spring-integration-websocket-5.2.xsd=org/springframework/integration/websocket/config/spring-integration-websocket-5.2.xsd
https\://www.springframework.org/schema/integration/websocket/spring-integration-websocket.xsd=org/springframework/integration/websocket/config/spring-integration-websocket-5.2.xsd
http\://www.springframework.org/schema/integration/websocket/spring-integration-websocket-4.1.xsd=org/springframework/integration/websocket/config/spring-integration-websocket.xsd
http\://www.springframework.org/schema/integration/websocket/spring-integration-websocket-4.2.xsd=org/springframework/integration/websocket/config/spring-integration-websocket.xsd
http\://www.springframework.org/schema/integration/websocket/spring-integration-websocket-4.3.xsd=org/springframework/integration/websocket/config/spring-integration-websocket.xsd
http\://www.springframework.org/schema/integration/websocket/spring-integration-websocket-5.0.xsd=org/springframework/integration/websocket/config/spring-integration-websocket.xsd
http\://www.springframework.org/schema/integration/websocket/spring-integration-websocket-5.1.xsd=org/springframework/integration/websocket/config/spring-integration-websocket.xsd
http\://www.springframework.org/schema/integration/websocket/spring-integration-websocket-5.2.xsd=org/springframework/integration/websocket/config/spring-integration-websocket.xsd
http\://www.springframework.org/schema/integration/websocket/spring-integration-websocket.xsd=org/springframework/integration/websocket/config/spring-integration-websocket.xsd
https\://www.springframework.org/schema/integration/websocket/spring-integration-websocket-4.1.xsd=org/springframework/integration/websocket/config/spring-integration-websocket.xsd
https\://www.springframework.org/schema/integration/websocket/spring-integration-websocket-4.2.xsd=org/springframework/integration/websocket/config/spring-integration-websocket.xsd
https\://www.springframework.org/schema/integration/websocket/spring-integration-websocket-4.3.xsd=org/springframework/integration/websocket/config/spring-integration-websocket.xsd
https\://www.springframework.org/schema/integration/websocket/spring-integration-websocket-5.0.xsd=org/springframework/integration/websocket/config/spring-integration-websocket.xsd
https\://www.springframework.org/schema/integration/websocket/spring-integration-websocket-5.1.xsd=org/springframework/integration/websocket/config/spring-integration-websocket.xsd
https\://www.springframework.org/schema/integration/websocket/spring-integration-websocket-5.2.xsd=org/springframework/integration/websocket/config/spring-integration-websocket.xsd
https\://www.springframework.org/schema/integration/websocket/spring-integration-websocket.xsd=org/springframework/integration/websocket/config/spring-integration-websocket.xsd

View File

@@ -5,13 +5,12 @@
xmlns:tool="http://www.springframework.org/schema/tool"
xmlns:integration="http://www.springframework.org/schema/integration"
targetNamespace="http://www.springframework.org/schema/integration/websocket"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
elementFormDefault="qualified">
<xsd:import namespace="http://www.springframework.org/schema/beans"/>
<xsd:import namespace="http://www.springframework.org/schema/tool"/>
<xsd:import namespace="http://www.springframework.org/schema/integration"
schemaLocation="https://www.springframework.org/schema/integration/spring-integration-5.2.xsd"/>
schemaLocation="https://www.springframework.org/schema/integration/spring-integration.xsd"/>
<xsd:annotation>
<xsd:documentation><![CDATA[
@@ -110,7 +109,7 @@
<xsd:element name="sockjs" minOccurs="0">
<xsd:complexType>
<xsd:attribute name="client-library-url" type="xsd:string"
default="https://d1fxtkz8shb9d2.cloudfront.net/sockjs-0.3.4.min.js">
default="https://d1fxtkz8shb9d2.cloudfront.net/sockjs-0.3.4.min.js">
<xsd:annotation>
<xsd:documentation>
Transports with no native cross-domain communication (e.g. "eventsource",
@@ -292,7 +291,8 @@
<xsd:attribute name="decorator-factories" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
List of 'org.springframework.web.socket.handler.WebSocketHandlerDecoratorFactory' bean references.
List of 'org.springframework.web.socket.handler.WebSocketHandlerDecoratorFactory' bean
references.
Configure one or more factories to decorate the handler used to process WebSocket
messages. This may be useful for some advanced use cases, for example to allow
Spring Security to forcibly close the WebSocket session when the corresponding