Commit Graph

249 Commits

Author SHA1 Message Date
Glenn Renfro
68e5b43b12 Updated versions for 1.3.x 2018-11-13 09:08:38 -05:00
mrbq
2ca9a38fa9 Obtain the TaskRepositoryInitializer from the Default Configurer
Added tests during merge

Updated to set proper version
2018-11-12 16:40:19 -05:00
Ilayaperumal Gopinathan
04393bca17 Exit code is nullable
- Make exit code nullable and only update of execution status can make it a valid integer
 - Update JDBC create/start task execution queries to have exitCode as `null` values
 - Update tests to validate/verify the appropirate exit code values for create/start/complete task executions

On merge had to add a pause to the TaskLauncherSinkTests to wait for the task to complete successfully   Before we assumed that 0 was a satisfactory result meaning it was either running or completed.    Now with the null being returned it could be zero or null.  So we have to wait for the task to complete.
2018-10-31 11:05:33 -04:00
Spring Buildmaster
1f37513037 [artifactory-release] Next development version 2018-10-12 06:47:16 +00:00
Spring Buildmaster
4b3d2b7b31 [artifactory-release] Release version 1.3.0.RELEASE 2018-10-12 06:47:12 +00:00
Janne Valkealahti
c589dd4905 Update dependencies
- Use cloud build deps 1.3.10
- Fixes #454
2018-10-12 07:29:09 +01:00
Spring Buildmaster
1ce44598de [artifactory-release] Next development version 2018-08-24 12:22:24 +00:00
Spring Buildmaster
c3c644d679 [artifactory-release] Release version 1.3.0.M1 2018-08-24 12:22:20 +00:00
Glenn Renfro
406ccc7e6b Updated the Spring Cloud Build Version 2018-08-24 08:00:08 -04:00
Glenn Renfro
317251dce6 Updated dependencies and versions to 1.3.0 from 1.2.4 2018-07-18 14:55:30 -04:00
David Turanski
ba05720499 Implement getRunningTaskCount
Expose functionality via TaskExplorer

Polishing on merge
2018-07-11 16:46:24 -04:00
Spring Buildmaster
cf19942206 [artifactory-release] Next development version 1.2.4.BUILD-SNAPSHOT 2018-06-29 05:31:17 +00:00
Gunnar Hillert
b9a6d3e53c gh-424 Add the ability to retrieve the last TaskExecution for Tasks
- Add the ability to retrieve the last TaskExecution to:
  - MapTaskExecutionDao
  - JdbcTaskExecutionDao
- Refactor `JdbcTaskExecutionDao` and use `NamedParameterJdbcTemplate` for all persistence store calls
- Add the following TaskExecution methods to TaskExplorer:
  - getLatestTaskExecutionsByTaskNames
  - getLatestTaskExecutionForTaskName
- Add Tests
- Ensure that code is JDK7 compatible due to backporting needs
- Ensure commit backports to 1.2.x

Polishing on tests during merge
2018-06-15 16:58:18 -04:00
Glenn Renfro
2b4f14b054 Updated the spring-cloud-build to 1.3.5
resolves SCT-237
2017-10-05 09:01:03 -04:00
Spring Buildmaster
be8eb9ce7d [artifactory-release] Next development version 2017-09-21 17:15:30 +00:00
Glenn Renfro
0864276f77 Updated doc versions and one bug fix 2017-09-20 14:11:30 -04:00
Michael Minella
d966c68796 Dependency cleanup 2017-08-15 11:46:06 -05:00
trisberg
ef0b057268 Update to use Spring Batch 3.0.8
- this will bring in a MySQLMaxValueIncrementer that sets "useNewConnection" to true

Resolves #328
Resolves #269
2017-08-11 10:10:38 -04:00
Spring Buildmaster
54bce9a590 [artifactory-release] Next development version 2017-06-27 15:46:26 +00:00
Glenn Renfro
68307a9312 Updated deployer dependencies to 1.2.1.RELEASE
Also updated the docs
2017-06-27 10:16:10 -05:00
Glenn Renfro
c7f15f5c8a Sets Version of repo to 1.2.1
* Docs and poms updated

* Updated deployer dependencies

resolves #323
2017-06-26 17:19:11 -04:00
Glenn Renfro
6c47223859 Repository is not initialized if tablePrefix is set.
resolves #311
2017-06-26 16:04:22 -05:00
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