Commit Graph

173 Commits

Author SHA1 Message Date
Glenn Renfro
fa5cb4f242 Update docs and static maven artifacts to RC1 2016-11-03 22:47:07 -04:00
Glenn Renfro
4a1a2c3c88 Add Application Name to TaskLaunchRequest for launched task
resolves #238
2016-11-03 15:50:21 -05:00
Michael Minella
cc1f971f3e Build updates to support automated doc deployment
The Spring build infrastructure has the capabilities to deploy
documentation automatically that it finds in Artifactory.  This commit
creates the required zip archive for that process.

Resolves SCT-78
2016-11-03 14:15:56 -05:00
Glenn Renfro
99e5397f29 Added instructions for launching tasks with partitions
resolves #230
2016-11-02 10:44:21 -05:00
Glenn Renfro
44b3531824 Removed un-necessary test 2016-11-01 20:30:09 -04:00
Glenn Renfro
d6e224f2ef Updated based on Code Review 2016-11-01 17:32:22 -04:00
Glenn Renfro
eff83a1897 Added More tests. 2016-11-01 17:32:22 -04:00
Glenn Renfro
1611c28768 Adding a few more tests.
Added unit tests to classes that had no coverage.
Added unit tests to classes bump up coverage.
2016-11-01 17:32:22 -04:00
Glenn Renfro
02a8c3368b Updates the TaskRepository createTaskExecution to support TaskExecution param
resolves #223

Updated to use TaskExecution when creating new executions for test.
2016-11-01 13:12:32 -04:00
Gunnar Hillert
7298bdd485 gh-235 Fix Sort Properties are ignored in JdbcTaskExecutionDao
- Add support for sorting similar to SCDF Core's `AbstractRdbmsKeyValueRepository`

Added tests on merge
2016-11-01 09:05:05 -04:00
Glenn Renfro
91c3781829 Upped the timeout to 5 seconds
resolves #233
2016-10-28 09:21:53 -04:00
Thomas Risberg
2444b8055e Adding the new ERROR_MESSAGE and EXTERNAL_EXECUTION_ID columns for DB2 2016-10-27 15:27:24 -04:00
Thomas Schuettel
c61a6e9c35 Adds DB2 support
Provides the files and enum constants for Spring Cloud Task
to work with a DB2 database.
2016-10-27 15:26:50 -04:00
Glenn Renfro
8e8a5c927a Added Notes for launching partitions on Mesos/Chronos. 2016-10-20 14:39:50 -04:00
Glenn Renfro
81f34d118a Adding comment for those upgrading from .m1.
Removed column keyword from some of the definitions
2016-10-14 17:34:35 -04:00
Glenn Renfro
644daa8508 Updated docs for external-execution-id 2016-10-12 17:14:08 -04:00
Spring Buildmaster
afd0e09e6a [artifactory-release] Next development version 2016-10-12 19:08:30 +00:00
Glenn Renfro
ce4402053d Version update preparations. 2016-10-12 14:48:03 -04:00
Michael Minella
17e4250586 Checks for invalid ExecutionId in the TaskLifeCycleListener
resolves #115
* Fixes bug where if the user set the environment variable and commandline args a unique constraint would fire.
* Updated docs
* Removed deprecation
* Fixed version number for integration test.

Added integration tests for externally generated task executions

Add externalExecutionId

resolves #80
2016-10-12 12:45:29 -05:00
Glenn Renfro
2bfc4780c7 Updating BatchListener Unit Tests
resolves #211
 Please enter the commit message for your changes. Lines starting
2016-10-11 12:18:35 -05:00
Glenn Renfro
d657b22b79 Updated dependencies and refactored code.
* Updated spring cloud streams to 1.1.0.RELEASE
* Updated cloud dependencies parent to 1.2.1.RELEASE
* Updated samples to 1.4.1
* Updated Tests to take advantage of 1.4 boot test annotations
* Removed @Bindings as they are deprecated
* Updated BatchApplication test to pass.  Boot no longer logs environment values.  So count was reduced from 3 to 1

resolves #218, #221

renamed spring-cloud-task-starter to spring-cloud-starter-task
2016-10-11 08:38:38 -05:00
Michael Minella
441bbfe492 Checks for invalid ExecutionId in the TaskLifeCycleListener
resolves #115
* Fixes bug where if the user set the environment variable and commandline args a unique constraint would fire.
* Updated docs
* Removed deprecation
* Fixed version number for integration test.

Added integration tests for externally generated task executions
2016-10-10 17:45:35 -05:00
Steve Brown
bf0c27dd1a Correct typo of closecontext.enable property
https://github.com/spring-cloud/spring-cloud-task/blob/master/spring-cloud-task-core/src/main/java/org/springframework/cloud/task/listener/TaskLifecycleListener.java#L92
2016-09-25 01:51:08 -04:00
Glenn Renfro
8bcd026bf6 Updated docs to include links to samples
Added info on Partitioning with the Kubernetes platform
Updated schema diagram

resolves #212 #209
2016-09-21 17:22:48 -04:00
Dave Syer
2496cc74a5 Use placeholders for versions in BOM 2016-09-21 15:24:41 -04:00
Dave Syer
bf8cbb9b83 Ensure version is scraped from parent pom 2016-09-21 15:22:15 -04:00
Glenn Renfro
9dada07944 1.0.x - 1.1.x DB Migration scripts
resolves #205
2016-09-09 16:28:27 -04:00
Glenn Renfro
879be990f1 disabled the integration tests 2016-09-08 18:48:07 -04:00
Glenn Renfro
3f83b33104 Updated Versions for this build 2016-09-08 18:33:50 -04:00
Glenn Renfro
b0602fc56b Removed relative path from sample parent 2016-09-08 17:52:37 -04:00
Miguel Gomes
9ccbe60cba Fix NPE when return an eventExitCode before ApplicationFailedEvent 2016-09-08 13:47:23 -05:00
Michael Minella
2f03474bbe Added details discovered when testing against CloudFoundry 2016-09-08 13:36:00 -05:00
Glenn Renfro
29ec7df449 Updated adding guava dependency 2016-09-08 13:36:00 -05:00
Glenn Renfro
3c63196a47 Updated Partition doc and added note on Yarn deployment
Changed the note to a subsection of partitioning

resolves spring-cloud/spring-cloud-task#196
2016-09-08 13:36:00 -05:00
Michael Minella
025c447b89 Refactored for CloudFoundry Support
This commit adds on an abstraction for the providing unique command line
arugements for each worker.  It also updates the partitioned job sample
to be able to successfully be run on CloudFoundry.

Resolves spring-cloud/spring-cloud-task#193

Updated based on comments
2016-09-08 14:20:08 -04:00
Michael Minella
c14d2efca3 Refactored
Refactored based on conversations with wider team

Updates per code review
2016-09-08 10:35:31 -04:00
Glenn Renfro
37bc7646ee updated module commands with app commands
resolves #189
2016-09-07 17:47:04 -04:00
Glenn Renfro
4e7e75cc82 Moved the Error size trimming from DAO to repository.
* We had a discussion on this sometime back and it was decided at that time to keep these type of trims and verification in the Repository.
* Fixed bug where trimming was taking 1 character too many
* Updated ExitMessage maxSize test to verify size
* Added ErrorMessage maxSize Test
* While adding taskExplorer to the test noticed it was missing 2 basic tests and added those as well
2016-09-06 11:00:42 -05:00
Glenn Renfro
6afc5cc260 Removed the deprecations from the Task Samples unit tests
With the latest release of boot some of the test classes were deprecated.  This change removes the deprecation warnings from samples.
2016-08-18 16:59:57 -04:00
Michael Minella
4ab6a93f6a Updated to Camden build infrastructure to use Spring Boot 1.4 2016-08-17 13:38:34 -05:00
Dave Syer
0f0bfbe525 Change repo URLs to https 2016-08-17 17:31:27 +01:00
Michael Minella
db0565b7cf Introduced Error Message to Task Execution
To provide the ability to control task orchestration via the exit
message, we moved the stack trace storage to a new field.  This means
that exit message is now a field we can use similar to how exit code is
in batch, and still have the stack trace of an unsuccessful task
execution stored.

Resolves spring-cloud/spring-cloud-task#186

Disabled integration tests by default

Just some cleanup on merge
2016-08-15 18:30:15 -04:00
Michael Minella
551a4bc53a Upgrade to Spring Boot 1.4
This commit upgraded all places where Spring Cloud Task explicitly
references Spring Boot 1.4

Resolves spring-cloud/spring-cloud-task#166

Updated the jar version numbers in the adocs to 1.1.0
2016-08-15 09:54:08 -04:00
Michael Minella
9f0377df0b Moved master to 1.1.0.BUILD-SNAPSHOT 2016-08-09 14:48:46 -05:00
Michael Minella
e0636e230c Bumped to next development version in constants: 2016-08-08 14:53:28 -05:00
bamboo
4645e9f5b1 [artifactory-release] Next development version 2016-07-27 05:59:23 +00:00
Michael Minella
843c7683f4 Updated versions prior to release 2016-07-26 23:42:49 -05:00
Michael Minella
b2eb043023 Minor polish 2016-07-26 14:52:31 -05:00
Glenn Renfro
1e1f75d7ba Applied the TaskPartitioner Integration tests.
resolves #178
Using task explorer and cleaned up the BatchExecution Event Tests

Added spring-cloud-task-dependencies to dependency-management
2016-07-26 14:52:25 -05:00
Michael Minella
6b9bb9481f Minor polish for SCT-174 2016-07-26 13:14:32 -05:00