Commit Graph

182 Commits

Author SHA1 Message Date
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
Glenn Renfro
7a30a3357b Replace : separators for spring.cloud.task.name to _ for partitions
resolves #242
2016-11-16 13:31:36 -06:00
Glenn Renfro
18980dfce1 Update to the latest release of spring-cloud-build 2016-11-16 12:13:11 -06:00
Michael Minella
82f97def52 Fix for installing docs zip twice 2016-11-07 09:39:24 -06:00
Michael Minella
0660057e85 Removed javadoc aggregation for now 2016-11-03 23:01:34 -05:00
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