Commit Graph

227 Commits

Author SHA1 Message Date
Glenn Renfro
b03f8398a7 Task identifies if JPA is in use and uses JPTransactionManager
resolves #309
2017-06-26 15:49:20 -05:00
Michael Minella
3b8670e765 Provided the ability to configure if properites are sent to the worker
via command line arguments or environment variables.
2017-06-23 13:08:14 -05:00
Glenn Renfro
6fad14ead7 Support DB2 on Mainframe as DB2ZOS
resolves #303

Added support for DB2ZOS DatabaseType.
Added DB2AS400, DB2VSE, based on how Spring Batch implemeted DB2 identification via metadata.
All DB2 database types will use the DB2 repository initialize sql script

Tested this against a local DB2.
2017-05-19 10:44:08 -04:00
Spring Buildmaster
1a16d44b2c [artifactory-release] Next development version 2017-04-24 19:36:00 +00:00
Glenn Renfro
606954dc07 Updating dependencies and doc versions 2017-04-24 14:43:04 -04:00
Glenn Renfro
0560899a6f Updated docs version to 1.2.0.RC1 2017-04-14 14:57:23 -04:00
Glenn Renfro
76cc14ca60 Removed Debug from BatchEventApplication Test 2017-04-14 14:02:33 -04:00
Glenn Renfro
76f431f9e2 Updated to start the consumer before the producer 2017-04-14 13:47:00 -04:00
Glenn Renfro
f01b33200d Added debugging to BatchEventsApplicationTests 2017-04-14 13:13:27 -04:00
Glenn Renfro
1fddb9678a increased timeout for BatchEventsApplicationTests back to 60 seconds 2017-04-14 11:12:11 -04:00
Glenn Renfro
85573cf5ec Added repositories to sample projects poms.
Updated BatchApplicationEventTests to shorten wait timeout and remove unnecessary Ignore and OutputCapture
2017-04-14 09:00:01 -04:00
Glenn Renfro
d2e0dfa831 Updated BatchEventsAppTest to add groups 2017-04-13 17:38:38 -04:00
Glenn Renfro
db00cd76e3 Add repositories to Partitioned Sample 2017-04-13 16:53:00 -04:00
Glenn Renfro
b0a9d2477e Increase timeout for BatchEventAppTest
Also give meaning error message
2017-04-13 16:12:01 -04:00
Michael Minella
f135e84128 Upgraded versions and fixed test
This commit upgrades the versions to the latest and greatest as well as
removes the custom implementation of a TaskLauncher.
2017-04-13 13:54:02 -05:00
David Turanski
a1cffe8bd4 Change closecontextEnable to closeContextEnabled
Added test

Updated to use the standard log library

resolves #217
2017-04-12 11:06:26 -04:00
Glenn Renfro
bbb0d68ce6 Moved the injection of the TaskBatchListner to the postProcessAfterInitialization from postProcessBeforeInitialization
Because when using FactoryBeans  the TaskBatchListener postprocessing isn't fired when using before initialization
2017-04-10 14:37:04 -04:00
Ali Shahbour
450de51d0c Add Ordered interface to all event listeneres
changes requested by cppwfs

Fix Constructors duplication

Add @author

Some cleanup on chunk listener

Updated chunk listener to send message before and after chunk.
Fixed Links for JavaDocs to prevent failure on javadoc build.
Updated tests to support new chunk messages.
2017-03-31 09:15:28 -04:00
Michael Minella
fc708ac775 Removed dependencies on Spring Boot starters
This commit removes the dependency on any Spring Boot starters.
Starters are still used in the test scope, but should not impact the
library's dependencies.

Resolves #294
2017-03-30 10:33:03 -05:00
Michael Minella
ac41b8c26d Refactor to clense task name
When using Spring Boot, the id of the application context can be a colon
delimited string of values.  By default, Spring Cloud Task uses this
value as the task name.  However, when using JMX, this can cause issues.
This commit updates the SimpleTaskNameResolver to clense the colons and
replace them with underscores.

Resolves #280
2017-03-29 17:45:28 -04:00
Thomas Risberg
fec40fd3f8 Adding a method to pass in taskName for new empty TaskExecution
Resolves #298

Added test and add param to javadoc
2017-03-29 14:17:02 -04:00
Glenn Renfro
ad6ce32750 Update copyright to this year 2017-03-22 09:08:36 -04:00
Thomas Risberg
3c8d61447c Revert incremented versions for release 2017-03-21 10:34:05 -04:00
Michael Minella
a32d26f14c Incremented versions for release 2017-03-20 21:54:54 -05:00
Michael Minella
b7b163e64e Updated versions from snapshots prior to M2 release 2017-03-20 21:37:19 -05:00
Glenn Renfro
4e68adf5fa Updated samples to use latest boot
Update integration tests to use latest stream paradigm
Update tests to be in compliance with 1.5.2.

resolves #289
2017-03-14 09:49:31 -05:00
Thomas Risberg
4dbc256a4c Upgrade to Dalston and Spring Boot 1.5.2 2017-03-10 12:26:18 -05:00
Glenn Renfro
901b21cbe8 Add Note to TaskConfigurer Ref Doc
Reminds users to create their own TaskConfigurer implementation when the DefaultTaskConfigurer does not meet their needs.

resolves #272
2017-03-06 11:13:41 -06:00
Glenn Renfro
3819a418e5 Added docs on handling tests
resolves #281
2017-03-03 11:19:38 -06:00
Glenn Renfro
80812beee8 Updated the migration scripts to use all caps for table names (#288)
* Updated the migration scripts to use all caps for table names

In the original migration scripts the table names were all lower case.  However the original table definitions were capitalized, and on file systems that are case sensitive,
mysql fails to update the table.  Because of the 2 different cases.

resolves #287

* Updated the 1.1.x branch migration scripts

In the original migration scripts the table names were all lower case.  However the original table definitions were capitalized, and on file systems that are case sensitive,
mysql fails to update the table.  Because of the 2 different cases.

* Added migration script for db2.
2017-03-02 16:07:06 -05:00
Thomas Risberg
929117b365 Changing PARENT_EXECUTION_ID to NUMBER
Resolves #283
2017-02-23 18:59:07 -05:00
Michael Minella
48af5e5b32 Added TaskExecutionListenerSupport
This commit adds the TaskExecutionListenerSupport, a no-op
implementation of the TaskExecutionListner. This allows a user to extend
the TaskExecutionListenerSupport and simply override what they need
instead of implementing all of the methods.
2017-02-10 14:16:11 -06:00
Michael Minella
1d1a935f46 Add appending capabilities to the SimpleCommandLineArgsProvider
Adds the ability to add a list of command line arguments to the existing
ones.

Resolves #279
2017-02-10 13:45:55 -06:00
Glenn Renfro
a7fe76c7d6 Do not update the externalExecutionId if null when starting TaskExecution
resolves #271
2017-02-09 09:07:22 -06:00
Michael Minella
2b8e5799f7 Upgraded to Camden SR5
This commit upgrades Spring Cloud Task to Camden SR5 and makes the
required changes to do so.

Resolves #276
2017-02-07 15:55:22 -06:00
Glenn Renfro
acaaad89f3 Adds support for Task Execution Parent Ids
resolves #261
2017-01-20 14:47:12 -06:00
Glenn Renfro
91aaf0022c Change Engine for sequence to InnoDB
resolves #262
2017-01-06 13:15:12 -06:00
Michael Minella
3d1ee18db3 Minor polish 2017-01-06 12:54:38 -06:00
Glenn Renfro
10bb457a5a Allows user to set table prefix via properties.
resolves #244
2017-01-06 12:54:30 -06:00
Glenn Renfro
2eb1c49e12 Added ability to update externalExecutionId
resolves #259
2017-01-06 16:47:29 +01:00
Glenn Renfro
1185421803 TaskBatchAutoConfiguration now uses datasource from TaskConfigurer
resovles #252
2016-12-20 19:25:26 -06:00
Spring Buildmaster
ce31582995 [artifactory-release] Next development version 2016-11-22 16:58:27 +00:00
Michael Minella
91485769d5 Fixed release versions 2016-11-22 10:22:13 -06:00
Glenn Renfro
9074926736 Updated RC1 to GA for migration comments, tests and docs. 2016-11-22 09:39:42 -06:00
Glenn Renfro
0ba4e1a6fb Added ability for test to use random open port 2016-11-21 18:07:00 -05:00
Michael Minella
32b0278930 Updated for deployer updates
In the release process of SCDF, it was identified that Spring Cloud
Deployer had been upgraded to JDK 1.8 which was not desirable at the
given time.  As part of the rollback, the deployer implementations
provided remained at 1.8, but the SPI was rolled back to 1.7.  This
commit addresses the difference between the different versions as well
as updates the code to use the latest `TaskLauncher` code.
2016-11-21 16:21:33 -06:00
Glenn Renfro
986a2a098d Removed TaskLauncherConfiguration
Added spi and boot log starter to pom for streams
Changed deployer-local on main project pom to be test scope
2016-11-21 16:33:05 -05:00
Michael Minella
dd5963e464 Upgraded versions of dependencies 2016-11-21 11:46:51 -06:00
Gunnar Hillert
366cbaf213 Revert to Docboc
- Due to the lack of multipage Html support we need to revert to Docbook for the time being
- Revert "gh-246 Remove docbooks from asciidoctor infrastructure"
- This reverts commit 4ed50a6b31.
2016-11-21 05:46:18 -10:00
Gunnar Hillert
4ed50a6b31 gh-246 Remove docbooks from asciidoctor infrastructure
resolves #246

Removed javadoc build from parent pom.

It is now contained in the doc pom
2016-11-16 14:50:05 -05:00