David Turanski
67fd4a5a60
INT-3051 Derive Script Language from Extension
...
Make 'lang' attribute optional on a script element and
attempt to derive the language from the file extension.
Change return value on ScriptParser.deriveLanguageFromExtension to the language name
Polishing (PR Comments)
2013-08-20 14:40:07 -04:00
Stefan Reuter
e890020a1b
INT-3011 Groovy Classloader and BeanFactory Fixes
...
See: https://jira.springsource.org/browse/INT-3011
INT-3011 Pass BeanClassLoader and BeanFactory to GroovyScriptFactory
INT-3011 Move 'implements BeanFactoryAware, BeanClassLoaderAware'
to AbstractScriptExecutingMessageProcessor and GroovyControlBusFactory
2013-05-20 17:46:48 -04:00
Gunnar Hillert
0271acaf4c
INT-2916 - Upgrade to JUnit 4.11 in support of JDK7
...
For reference see: https://jira.springsource.org/browse/INT-2916
Changes:
* INT-2919 - Upgrade Spring Data Gemfire to 1.2.2.RELEASE
* Exclude Hamcrest transitive dependency from JUnit (as already explicitly declared)
* Set sourceCompatibility in build.gradle to 1.6
* Set targetCompatibility in build.gradle to 1.6
* Upgrade Hamcrest to 1.3 and fix deprications
- Corematcher is(*class) change to is(instanceOf(*class))
- Change org.junit.internal.matchers.TypeSafeMatcher to org.hamcrest.TypeSafeMatcher
- Change import org.junit.matchers.JUnitMatchers.containsString to org.hamcrest.CoreMatchers.containsString
- Change import org.junit.matchers.JUnitMatchers.both to org.hamcrest.CoreMatchers.both
- Change import org.junit.matchers.JUnitMatchers.containsString to org.hamcrest.CoreMatchers.containsString
* Fix JUnit deprecations
- changed junit.framework.Assert to org.junit.Assert
* Add few missing licenses headers to tests
* Marked several test classes with: @DirtiesContext(classMode=ClassMode.AFTER_EACH_TEST_METHOD)
- SplitterIntegrationTests
- GatewayInvokingMessageHandlerTests
- FileToChannelIntegrationTests
- FileInboundChannelAdapterWithRecursiveDirectoryTests
- JdbcMessageStoreChannelTests
- ChatMessageInboundChannelAdapterParserTests
* 3 Tests ignored (Still needs to be addressed):
- testOperationOnPrototypeBean
- testFailOperationWithCustomScope
- testOperationOfControlBus
* Update SQL script (test-failure):
- spring-integration-jdbc/src/test/java/org/springframework/integration/jdbc/config/outboundSchema.sql
- add drop table statements
- add ignore-failures="DROPS" to "jdbcOutboundChannelAdapterCommonConfig.xml"
INT-2916 - Code Review Changes
INT-2916 - Fix ignored Tests
Fix 3 previously ignored tests in *GroovyControlBusTests*:
* testOperationOnPrototypeBean
* testFailOperationWithCustomScope
* testOperationOfControlBus
INT-2916 - CI Build Testing
INT-2963 - Remove JDK7 Compilation Warnings
* Upgrade Mockito to 1.9.5
* Fix failing SubscribableJmsChannelTests
INT-2916 - Standardize Hamcrest assertions
Ensure Hamcrest assertions are standardized to: is(instanceOf(...))
2013-04-04 13:40:46 -04:00
Artem Bilan
dc59207df2
INT-2893: fix chain -> router -> bean or script
...
* add XSD element for nested router type
* add tests on the matter
* polishing for RouterParserTests
JIRA: https://jira.springsource.org/browse/INT-2893
INT-2893: Polishing
INT-2893: after rebasing to 3.0
XSD changes reverted from 2.2 and moved to 3.0
INT-2893 Polishing
Factor out common elements; fixing missing documentation for
`expression` within a `router` within a `chain`.
2013-02-05 12:30:19 -05: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
David Turanski
50bea87e0e
INT-2859 Fix Python OOM Error
...
INT-2859 - Remove Unnecessary Guard Condition
2013-01-14 12:06:20 -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
b59ee8e352
INT-2369 package-info IP
...
INT-2360 package-info Core
INT-2361 package-info AMQP
INT-2362 package-info Event
INT-2363 package-info Feed
INT-2364 package-info File
INT-2365 INT-2380 package-info (S)FTP
INT-2366 package-info GemFire
INT-2367 package-info Groovy
INT-2368 package-info Http
INT-2378 package-info Scripting
INT-2372 package-info JMS
2012-01-05 14:42:24 -05:00
Mark Fisher
6c1454ae3d
INT-2238 removing warnings in JavaDoc
2011-11-22 21:48:34 -05:00
David Turanski
eebb51f38a
INT-2177. Improved exception handling. Made ScriptExecutorFactory abstract
2011-10-15 13:59:43 -04:00
David Turanski
a0e7b3cd78
INT-2177 - Added python support and related refactoring
2011-10-15 13:59:43 -04:00
Mark Fisher
10a0dd9278
versionless schemas for scripting module
2011-10-10 13:39:37 -04:00
Mark Fisher
3060030787
Create ScriptEngine per execution
2011-09-30 10:27:19 -04:00
David Turanski
a5ac75ea43
Corrected concurrency issues with JRuby
2011-09-30 09:54:44 -04:00
David Turanski
08f81ae51d
Moved scripting support from core to scripting
...
spring-integration-test: Enhanced RequestResponseScenario test framework
changed scripting namespace URIs to standard pattern
2011-09-23 09:07:42 -04:00
David Turanski
3d683b6134
Removed Jsr223 from classnames
2011-09-02 12:16:44 -04:00
David Turanski
207f043587
INT-1576,INT-1579,INT-2025: added spring-integration-scripting and fixed HeaderEnricher issue
2011-08-03 15:16:19 +05:30