Artem Bilan
77b31f58fd
INT-3418: xsd-4.0 -> 4.1
2014-06-05 13:34:52 +03:00
Artem Bilan
c0ab912c49
INT-3418: xsd-3.0 -> 4.0
2014-06-05 13:34:41 +03:00
Artem Bilan
9e5e7514e0
INT-3418: xsd-2.2 -> 3.0
2014-06-05 13:34:30 +03:00
Artem Bilan
9bd441c8d0
INT-3418: xsd-2.1 -> 2.2
2014-06-05 13:34:19 +03:00
Artem Bilan
af1cd16027
INT-3418: xsd-2.0 -> 2.1
2014-06-05 13:33:57 +03:00
Artem Bilan
fa33f8f21d
INT-3418: xsd-1.0 -> 2.0
2014-06-05 13:33:40 +03:00
Artem Bilan
cedbf6edc2
INT-3418: Prepare 4.1 VERSION
...
JIRA: https://jira.spring.io/browse/INT-3418
* Create 4.1 XSD
* Clean up Docs for 4.1
* Prepare WebSocket module
* Add Reactor dependency
* Remove Eclipse and SNV artifacts
Phase #1 : prepare
Conflicts:
gradle.properties
2014-05-30 21:14:21 +03:00
Artem Bilan
e3f8ef534b
INT-3331: Add ChannelSecurityInterceptorFB
...
JIRA: https://jira.spring.io/browse/INT-3331
INT-3331: PR comments and others
* Register `ChannelSecurityInterceptorBeanPostProcessor` as a `BeanDefinition` (not `BPP`)
* Get `ChannelSecurityInterceptor`s from `ChannelSecurityInterceptorBeanPostProcessor#afterPropertiesSet()`
* Make `ChannelSecurityInterceptor` `final` to disallow to subclass it for unexpected issues
* Provide more convenience to the `ChannelSecurityInterceptorFactoryBean` - to allow to use it from xml configuration
Doc Polishing
2014-03-27 14:06:35 -04:00
Artem Bilan
97c270c0e2
INT-3330 EnableIntegrationMBeanExport Annotation
...
JIRA: https://jira.spring.io/browse/INT-3330
INT-3330: Enable SpEL evaluation
INT-3330: Polishing for `MBeanExporterHelper`
INT-3330: Fix `errorChannel` early access
INT-3330: Polishing according PR comments
Polishing - copyrights, author, docs
2014-03-27 12:53:20 -04:00
Artem Bilan
ea080e8a9b
INT-3284: Add 'spring.factories' Infrastructure
...
JIRA: https://jira.springsource.org/browse/INT-3284
* Introduce `IntegrationConfigurationBeanFactoryPostProcessor`, `IntegrationConfigurationInitializer`
* Apply `IntegrationConfigurationInitializer` and 'spring.factories' for HTTP and Security modules
INT-3284: Address PR's comments
JIRA: https://jira.springsource.org/browse/INT-3287
* Fix package tangle (INT-3287)
* Apply `IntegrationConfigurationInitializer` for `MBeanExporterHelper`
* Previously, there was a separate `ChannelSecurityInterceptorBeanPostProcessor`
for each `ChannelSecurityInterceptor` whereas now, there is one `ChannelSecurityInterceptorBeanPostProcessor`
that processes all interceptors
INT-3284 Refactoring around config package tangle
2014-02-06 11:58:23 -05:00
Gary Russell
c45b708341
INT-3262 JDK8 Javadoc Commit
...
Increase receive timeout for `Jsr223TransformerTests#testInt3162ScriptExecutorThreadSafety`.
JIRA: https://jira.springsource.org/browse/INT-3262
JIRA: https://jira.springsource.org/browse/INT-3263
2014-01-15 19:16:37 +02:00
Gary Russell
ca0bddffbd
INT-3245 Remove SI ChannelInterceptor
...
Replace with the same class from spring-messaging.
JIRA: https://jira.springsource.org/browse/INT-3245
2013-12-17 16:52:12 -05:00
Gary Russell
e8843f3358
INT-3208 Create 4.0 Schemas
...
Update the spring.schemas files.
Update the version in the abstract namespace parser.
JIRA: https://jira.springsource.org/browse/INT-3208
The following is a diff showing changes between the 3.0 and 4.0 schemas...
./spring-integration-amqp/src/main/resources/org/springframework/integration/amqp/config/spring-integration-amqp-3.0.xsd
12c12
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd "/>
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd "/>
./spring-integration-core/src/main/resources/org/springframework/integration/config/xml/spring-integration-3.0.xsd
./spring-integration-event/src/main/resources/org/springframework/integration/event/config/spring-integration-event-3.0.xsd
11c11
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd " />
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd " />
./spring-integration-feed/src/main/resources/org/springframework/integration/feed/config/spring-integration-feed-3.0.xsd
12c12
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd " />
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd " />
./spring-integration-file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-3.0.xsd
13c13
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd "/>
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd "/>
./spring-integration-ftp/src/main/resources/org/springframework/integration/ftp/config/spring-integration-ftp-3.0.xsd
13c13
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd " />
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd " />
15c15
< schemaLocation="http://www.springframework.org/schema/integration/file/spring-integration-file-3.0.xsd " />
---
> schemaLocation="http://www.springframework.org/schema/integration/file/spring-integration-file-4.0.xsd " />
./spring-integration-gemfire/src/main/resources/org/springframework/integration/gemfire/config/xml/spring-integration-gemfire-3.0.xsd
./spring-integration-groovy/src/main/resources/org/springframework/integration/groovy/config/spring-integration-groovy-3.0.xsd
10c10
< schemaLocation="http://www.springframework.org/schema/integration/scripting/spring-integration-scripting-core-3.0.xsd "
---
> schemaLocation="http://www.springframework.org/schema/integration/scripting/spring-integration-scripting-core-4.0.xsd "
13c13
< <xsd:import namespace="http://www.springframework.org/schema/integration " schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd " />
---
> <xsd:import namespace="http://www.springframework.org/schema/integration " schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd " />
./spring-integration-http/src/main/resources/org/springframework/integration/http/config/spring-integration-http-3.0.xsd
11c11
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd " />
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd " />
./spring-integration-ip/src/main/resources/org/springframework/integration/ip/config/spring-integration-ip-3.0.xsd
12c12
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd " />
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd " />
./spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/config/spring-integration-jdbc-3.0.xsd
9c9
< <xsd:import namespace="http://www.springframework.org/schema/integration " schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd " />
---
> <xsd:import namespace="http://www.springframework.org/schema/integration " schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd " />
./spring-integration-jms/src/main/resources/org/springframework/integration/jms/config/spring-integration-jms-3.0.xsd
14c14
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd "/>
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd "/>
./spring-integration-jmx/src/main/resources/org/springframework/integration/jmx/config/spring-integration-jmx-3.0.xsd
9c9
< <xsd:import namespace="http://www.springframework.org/schema/integration " schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd " />
---
> <xsd:import namespace="http://www.springframework.org/schema/integration " schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd " />
./spring-integration-jpa/src/main/resources/org/springframework/integration/jpa/config/xml/spring-integration-jpa-3.0.xsd
12c12
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd " />
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd " />
./spring-integration-mail/src/main/resources/org/springframework/integration/mail/config/spring-integration-mail-3.0.xsd
14c14
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd "/>
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd "/>
./spring-integration-mongodb/src/main/resources/org/springframework/integration/mongodb/config/spring-integration-mongodb-3.0.xsd
11c11
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd " />
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd " />
./spring-integration-redis/src/main/resources/org/springframework/integration/redis/config/spring-integration-redis-3.0.xsd
11c11
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd " />
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd " />
./spring-integration-rmi/src/main/resources/org/springframework/integration/rmi/config/spring-integration-rmi-3.0.xsd
14c14
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd "/>
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd "/>
./spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/spring-integration-scripting-3.0.xsd
8c8
< schemaLocation="http://www.springframework.org/schema/integration/scripting/spring-integration-scripting-core-3.0.xsd " />
---
> schemaLocation="http://www.springframework.org/schema/integration/scripting/spring-integration-scripting-core-4.0.xsd " />
./spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/spring-integration-scripting-core-3.0.xsd
11c11
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd " />
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd " />
./spring-integration-security/src/main/resources/org/springframework/integration/security/config/spring-integration-security-3.0.xsd
./spring-integration-sftp/src/main/resources/org/springframework/integration/sftp/config/spring-integration-sftp-3.0.xsd
13c13
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd " />
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd " />
15c15
< schemaLocation="http://www.springframework.org/schema/integration/file/spring-integration-file-3.0.xsd " />
---
> schemaLocation="http://www.springframework.org/schema/integration/file/spring-integration-file-4.0.xsd " />
./spring-integration-stream/src/main/resources/org/springframework/integration/stream/config/spring-integration-stream-3.0.xsd
14c14
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd "/>
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd "/>
./spring-integration-syslog/src/main/resources/org/springframework/integration/syslog/config/spring-integration-syslog-3.0.xsd
13c13
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd " />
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd " />
15c15
< schemaLocation="http://www.springframework.org/schema/integration/ip/spring-integration-ip-3.0.xsd " />
---
> schemaLocation="http://www.springframework.org/schema/integration/ip/spring-integration-ip-4.0.xsd " />
./spring-integration-twitter/src/main/resources/org/springframework/integration/twitter/config/spring-integration-twitter-3.0.xsd
14c14
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd "/>
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd "/>
./spring-integration-ws/src/main/resources/org/springframework/integration/ws/config/spring-integration-ws-3.0.xsd
14c14
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd "/>
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd "/>
./spring-integration-xml/src/main/resources/org/springframework/integration/xml/config/spring-integration-xml-3.0.xsd
13c13
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd "/>
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd "/>
./spring-integration-xmpp/src/main/resources/org/springframework/integration/xmpp/config/spring-integration-xmpp-3.0.xsd
14c14
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd "/>
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd "/>
2013-12-16 13:04:18 -05:00
Gary Russell
feec3eaf84
Merge remote-tracking branch 'upstream/master' into 4.0.0-WIP
...
Conflicts:
build.gradle
spring-integration-amqp/src/main/java/org/springframework/integration/amqp/channel/AbstractSubscribableAmqpChannel.java
spring-integration-core/src/main/java/org/springframework/integration/channel/ExecutorChannel.java
spring-integration-event/src/main/java/org/springframework/integration/event/inbound/ApplicationEventListeningMessageProducer.java
spring-integration-file/src/test/java/org/springframework/integration/file/recursive/FileInboundChannelAdapterWithRecursiveDirectoryTests.java
spring-integration-ip/src/main/java/org/springframework/integration/ip/tcp/connection/TcpConnectionEventListeningMessageProducer.java
spring-integration-jdbc/src/test/java/org/springframework/integration/jdbc/StoredProcOutboundGatewayWithNamespaceIntegrationTests.java
spring-integration-jdbc/src/test/java/org/springframework/integration/jdbc/config/JdbcOutboundGatewayParserTests.java
spring-integration-jdbc/src/test/java/org/springframework/integration/jdbc/config/StoredProcInvalidConfigsTests.java
spring-integration-jms/src/main/java/org/springframework/integration/jms/SubscribableJmsChannel.java
spring-integration-jpa/src/test/java/org/springframework/integration/jpa/outbound/JpaOutboundGatewayIntegrationTests.java
spring-integration-redis/src/main/java/org/springframework/integration/redis/channel/SubscribableRedisChannel.java
spring-integration-security/src/test/java/org/springframework/integration/security/SecurityTestUtils.java
spring-integration-xml/src/main/java/org/springframework/integration/xml/selector/XmlValidatingMessageSelector.java
Resolved.
2013-12-06 14:23:23 -05:00
Gary Russell
5f555e31b3
INT-3218 Spring 4 Compatibility
...
Use `Arrays.asList()` instead of `Collections.arrayToList()` in
places where a generic type needs to be supplied by the caller.
This maintains compile-time compatibility with both Spring 3 and 4,
where Spring 4 added the generic type to the utility class.
The four occurrences where this was needed are not impacted
by the fact that `Arrays.asList()` returns an unmodifiable list.
2013-11-26 17:32:20 -05:00
Gary Russell
6fd8d1dba7
Update to Spring 4 Build Snapshot
...
- IdGenerator package change
- Generics added to CollectionUtils.arrayToList()
2013-11-26 09:28:41 -05:00
Gary Russell
7dcd2b5fe9
Remove SI GenericMessage
...
- Deprecate for now to ease XD migration.
2013-10-24 09:46:30 -04:00
Andy Wilkinson
28ab8394de
Build on top of Spring 4's new messaging types
...
This commit updates Spring Integration to depend upon Spring 4, making
use of the message types that have moved from Spring Integration into
Spring's new spring-messaging module.
The default message converter no longer supports conversion of a
message that is null, throwing an IllegalArgumentException if an
attempt is made to convert null. Furthermore, GenericMessagingTemplate
does not support sending null, again throwing an
IllegalArgumentException. Previously, MessagingTemplate had no-oped an
attempt to send null.
ConcurrentAggregatorTests and AggregatorTests both had a single test
that was specifically testing the behaviour of an aggregator that
returns null for its message. These tests have been removed.
CorrelatingMessageHandlerTests have been updated to specify some
additional behaviour for its mocks so that null messages are not
returned.
These are the only functional changes that have been made. All other
changes are simply for moving to the repackaged and/or renamed types.
In the move to being part of core Spring, a number of constants and
header accessor methods have moved from MessageHeaders to
MessageHeaderAccessor. This commit continues this pattern for
the enterprise integration headers that are specific to Spring
Integration. A new class, EiMessageHeaderAccessor, has been created.
This class provides constants and methods for working with SI-specific
headers. The main code and tests have been updated to use this new
class.
2013-10-08 16:42:22 -04:00
Gary Russell
d0e17b3995
INT-3094 Fix JSON and Core Package Tangles
...
INT-3094 Fix JSON Package Tangle
Move JSON 'discovery' classes to .support.json (used by
.json and .transformer - ObjectToMapTransformer)
INT-3094 Fix JSON Class Tangle
Separate factory methods to avoid class tangle.
Remove tight tangle between parser and mapper.
INT-3094 Fix Core Package Tangle
Move NamedComponent from .context to .support.context
(Used by .history, and .context references .store which references
.history through .util.)
INT-3094: fix 'support.json' package class-cycle
INT-3094 Polishing - PR Comments
Remove parser provider and make parsers public.
2013-08-11 15:02:26 -04:00
Gary Russell
451beb424a
INT-2873 Create 3.0 Schemas
...
Copy schemas, cleanup whitespace, update spring.schemas files,
update version in AbstractIntegrationNamespaceHandler.
For each schema compared the 2.2 version with the 3.0 version
(diff -w), ensuring the only difference is the import of
3.0 schemas (where appropriate) instead of 2.2.
2013-01-25 16:12:00 -05:00
Gary Russell
95cd202be6
INT-2536 Create 2.2 Schemas
...
Add 2.2 versions of module schemas.
JMX is already covered by an existing pull request.
INT-2536 Schema Check
Bump version for schema check in
AbstractIntegrationNamespaceHandler.
INT-2536 Remove Schema Versions
Some test config files had 2.1 versioned schemas.
2012-05-04 10:04:01 -04:00
Gary Russell
4872876e4f
INT-2400 More expected-type Fixes
...
CollectionFilter in core; package changes in security.
2012-01-13 13:40:40 -05:00
Gary Russell
89cdef7a90
INT-2373 package-info JMX
...
INT-2374 package-info Mail
INT-2375 package-info MongoDB
INT-2376 package-info Redis
INT-2377 package-info RMI
INT-2379 package-info Security
INT-2381 package-info Stream
2012-01-05 15:29:48 -05:00
Mark Fisher
2b5957a45c
avoiding deprecation warnings in test code
2011-12-13 22:17:07 -05:00
Mark Fisher
2fc4abfaed
refactored test code for compatibility with Spring Security 3.1
...
updated pom
2011-12-12 16:12:44 -05:00
Mark Fisher
423c6c860d
versionless schemas for security module
2011-10-10 13:43:09 -04:00
Mark Fisher
3e71b5a83b
INT-2004 added 2.1 versions of all XML schemas and adjusted spring.schemas files accordingly
2011-08-05 11:07:20 -04:00
Mark Fisher
d0f1fdde10
fixing typos in comments and tests
2010-11-22 18:28:02 -05:00
Mark Fisher
7a16548f50
updating names to match refactoring: securityMetadataSource instead of objectDefinitionSource
2010-11-15 18:19:57 -05:00
Oleg Zhurakousky
1278666ed7
INT-1596, fixed the broken links as well as all warnings
2010-11-09 12:17:45 -05:00
Oleg Zhurakousky
3f390274db
INT-1408, added changes based on Luke's comments
2010-09-03 13:32:15 +00:00
Oleg Zhurakousky
84b00a2862
INT-1408 fixed the issue with ConfigAttributes related to upgrading to Spring Security 3
2010-09-02 18:52:59 +00:00
Mark Fisher
3b15a0dd38
INT-1390 moved MessageBuilder into the 'support' package, moved GenericMessage and ErrorMessage into the 'message' package
2010-08-31 02:51:27 +00:00
Mark Fisher
7c1ab04cd5
INT-1390 Refactoring: moved MessageChannel to the root package, and moved ChannelResolver and BeanFactoryChannelResolver into a new 'suport.channel' package
2010-08-31 01:53:45 +00:00
Mark Fisher
9ca348da6c
INT-1389 removed all dependencies on StringMessage from unit tests in spring-integration-security
2010-08-30 18:59:49 +00:00
Mark Fisher
45282ec459
INT-1257, INT-1263 Refactoring Message History (work in progress): removed MessageHistory and MessageHistoryEvent, moved MessageHistoryWriter and NamedComponent to the 'context' package.
2010-08-25 14:25:40 +00:00
Mark Fisher
3f00c75740
INT-1129 moved StringMessage from 'message' to 'core' (we might remove it before 2.0...)
2010-07-28 15:22:33 +00:00
Mark Fisher
4de9a23357
INT-1129 moved Message and MessageHeaders from 'core' to the root (org.springframework.integration)
2010-07-28 15:05:50 +00:00
Mark Fisher
94938a2746
INT-1129 moved MessageHandler from 'message' to 'core'
2010-07-28 14:54:09 +00:00
Mark Fisher
b3b4f58ec8
INT-1129 moved MessageSelector from 'selector' to 'core'
2010-07-28 14:45:03 +00:00
Mark Fisher
e6082d17b0
INT-1216, INT-1257 removed tangle between 'history' and 'context' packages. The MessageHistoryWritingMessageHandler is now a non-public class in the 'config' package (it's only used by ConsumerEndpointFactoryBean)
2010-07-28 00:28:24 +00:00
David Syer
829d6efc08
Fix compiler warnings and move docbook build to a profile
2010-07-27 12:54:18 +00:00
Oleg Zhurakousky
aed4b3bc26
INT-1115 upgraded si-security module to use Spring Security 3.0.2
2010-07-20 21:12:01 +00:00
Chris Beams
e5219dfe8f
eliminated all compiler warnings throughout all projects
...
updated pom to emit compiler warnings so that any new ones become obvious
added serialVersionUID to classes that could reasonably need to be serialized (GenericMessage, MessageHeaders, etc)
@SuppressWarnings("serial") on all others
@SuppressWarnings("unused") on private static classes used as spring beans for testing (their methods never get called from java)
eliminated all redundant casting
introducted generics metadata where raw types were still being used
changed public API on several FactoryBeans (by adding <Type> information to 'implements FactoryBean' clause)
2010-05-25 23:18:25 +00:00
Chris Beams
c08a7a657e
renamed modules org.springframework.integration.* -> spring-integration-*
...
@Ignore'd SimpleTcpNetOutboundGatewayTests#testOutboundClose() to avoid failure; this failure is correlated to the module name change, but hard to understand how it would be caused by it
2010-05-25 13:21:25 +00:00