Commit Graph

126 Commits

Author SHA1 Message Date
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
Glenn Renfro
0aca771f5d Added integration tests for TaskLauncherSink
resolves #174

Added H2 dependency and fixed BatchExecutionEventTest to use SimpleTaskConfigurationClass

Check Task Repo to determine if task was launched successfully

H2 now uses a random port

Now uses TaskExplorer
2016-07-26 12:37:15 -05:00
Michael Minella
172f4b957a Added code to record task completion when process is terminated gracefully
Updated per code review

Updates for merge
2016-07-25 16:51:44 -04:00
Michael Minella
d6c36ee559 Added starter to dependencies 2016-07-25 13:01:09 -04:00
Michael Minella
526dc41af9 Added abstraction for defining environment variables
When launching workers as separate tasks, it can be useful to be able to
use additional logic to define environment variables.  This commit
provides an abstraction to allow for the customization of environment
variables on a per worker basis as well as two useful implementations:

* A no-op implementation (returns an empty Map).
* An implementation that moves the current environment variable handling
* out of the `DeployerPartitionHandler`.

Resolves spring-cloud/spring-cloud-task#181
2016-07-22 10:29:36 -05:00
Glenn Renfro
21d4a17591 Use human readable names in pom.xml for all task projects.
* Update pom to include text for contributor agreement
* Update samples to the latest release number
* Remove CLA section from README.adoc

Resolves #172
2016-07-21 21:59:01 -10:00
Michael Minella
57ec71ce0e Updated versions to new snapshot version 2016-07-08 16:08:21 -05:00
bamboo
583e53e9c0 [artifactory-release] Next development version 2016-07-08 19:30:16 +00:00
bamboo
48a8dca6a3 [artifactory-release] Release version 1.0.1.RELEASE 2016-07-08 19:30:16 +00:00
Michael Minella
7a2504f66d Commented out samples and integration tests for release 2016-07-08 14:18:51 -05:00
Glenn Renfro
baaa24137c Updated versions in docs and partitioner to release version. 2016-07-07 23:23:05 -04:00
Glenn Renfro
761df8a598 Updated version numbers
Reset the ResourceLoader to DeploymentResourceLoader
Adjusted the poms to not run deploy for Samples as well as integration tests
Used default constructor
2016-07-07 16:50:58 -05:00
Glenn Renfro
02589b1b2d Update timestamp sample
* Log Level is now at DEBUG
* Removed H2 dependency
* Updated main readme to discuss how to build samples

resolves #165
2016-07-07 11:41:51 -05:00
Glenn Renfro
de3d09664e Updated to use DelegatedResourceLoader that can use an empty loaders map 2016-07-07 10:42:52 -05:00
Michael Minella
7f1ece96e6 Removed unused default 2016-07-06 15:52:21 -05:00
Michael Minella
57e9d4dcae Refactored dependency management
Created a Spring Boot starter that can be used to configure Spring Cloud
Task and it's related functionality.

Updates per code review

Removed autowiring of app context

Refactored DeployerPartitionHandler to correctly use environment variables

Exposed deployment properties of TaskLauncher

Exposed deployment properties via the TaskLaunchRequest

Updated based on code review
2016-07-06 16:15:13 -04:00
Glenn Renfro
a1c1dd161f added samples profile to maven pom 2016-06-29 14:42:41 -04:00
bamboo
5ca639f03c [artifactory-release] Next development version 2016-06-29 05:52:28 +00:00
Michael Minella
3ad9e1789f Added generation of sources.jar and javadoc.jar to samples builds 2016-06-29 00:26:15 -05:00
Michael Minella
f886eac30d Removed unused property 2016-06-28 23:32:32 -05:00
Michael Minella
eb54285c9a Updated versions in documentation 2016-06-28 22:33:07 -05:00
Glenn Renfro
15a1c168d0 Updated version numbers for deployers and fixed tests. 2016-06-28 22:55:16 -04:00
Michael Minella
8aa02da2cd Renamed properties to better be grouped in YAML
Updated Unit tests to pass
2016-06-27 19:50:59 -04:00
Michael Minella
5393962685 Fixed verbage around return codes and batch 2016-06-27 15:26:42 -05:00
Glenn Renfro
53936945b5 Document how Job Failures relate to Tasks
Resolves #123
2016-06-27 15:11:12 -05:00
Glenn Renfro
eddd38797b 2 typos 2016-06-27 14:54:38 -05:00
Glenn Renfro
3ec0769e02 Replaced the mysql dependency with mariadb
To remain standard with the other applications.
Also updated documentation.
2016-06-27 14:54:38 -05:00
Michael Minella
0706e08137 Added all batch disable properties 2016-06-27 09:28:17 -05:00
Glenn Renfro
43943dcae5 Fixes BeanNotFoundException when disabling BatchEventListeners.
Resolves #153
2016-06-27 09:28:10 -05:00
Glenn Renfro
319db45c4e 3 spelling corrections 2016-06-16 14:46:51 -04:00
bamboo
2df7e95a5a [artifactory-release] Next development version 2016-06-14 20:15:48 +00:00
Michael Minella
1b3aac1b8d Removed snapshot versions for Spring Cloud Stream's Rabbit binder 2016-06-14 14:41:33 -05:00
Michael Minella
2cc39475b5 Updated versions in documentation & dependency management within samples
Versions where updated in documentation that is included in the
generation of our reference documentation.

Also, to clean up version management within the samples, the
spring-cloud-task-dependencies was introduced into each pom so that
versions are managed at that level.
2016-06-14 14:41:33 -05:00
Michael Minella
bf50b7ad30 Updated versions in documentation & dependency management within samples
Versions where updated in documentation that is included in the
generation of our reference documentation.

Also, to clean up version management within the samples, the
spring-cloud-task-dependencies was introduced into each pom so that
versions are managed at that level.

Updated a version number
2016-06-14 14:55:51 -04:00
Michael Minella
30fe0602d0 Update dependencies to latest
This commit brings the dependencies for Spring Cloud Task up to the
latest where appropriate prior to the 1.0.0.RC1 release.
2016-06-14 12:38:08 -05:00
Glenn Renfro
f38e1c4195 Added missing Readme to batchevents sample.
Fixed a C/P mistake on 2 other readmes.
2016-06-13 15:29:32 -05:00
Glenn Renfro
b728775bdf Task Sample Poms should not inherit form parent project
They should inherit from spring-boot-starter-parent

Resolves #144
2016-06-10 16:11:29 -04:00
Michael Minella
77fdfbdbc0 Refactored the use of the name parameters to be arguments
This PR refactors the use of the term parameters to arguments to be
consistent with how the component is utilized within Spring Cloud Data
Flow.
2016-06-09 09:39:14 -05:00
Glenn Renfro
7f53c7d9f7 Update TaskLaunchRequest to use URI
Update examples to use apps instead of modules

resolves spring-cloud/spring-cloud-task#146
2016-05-24 09:29:45 -04:00
didiez
a55970fe77 Fixed explicit cast exception while using oracle 10g 2016-05-20 10:07:30 -05:00
Glenn Renfro
df14546a7f SCT-139 Exception info and error codes will be recorded for the task
resolves spring-cloud/spring-cloud-task#139
2016-05-20 09:57:23 -05:00
Glenn Renfro
ef1c027146 Replaces Redis as RabbitMQ for test binder.
resolves spring-cloud/spring-cloud-task#134
2016-05-18 18:46:26 -05:00
Glenn Renfro
7d74e05509 Added RedisTestSupport to the EventJobExecutionTests 2016-05-10 13:31:17 -04:00
Glenn Renfro
fc3dcffe4b Added ConditionalOnProperty for batch event listeners
Resolves spring-cloud/spring-cloud-task#130
2016-05-10 13:31:17 -04:00
Glenn Renfro
5c0a83dd4f SCT-132 Maven pom cleanup for tasks
resolves spring-cloud/spring-cloud-task#132
2016-05-09 12:55:16 -05:00
Ilayaperumal Gopinathan
6073493175 Fix autoconfiguration class entries
- This will make sure to invoke all the auto configuration classes

Resolves #135
2016-05-06 16:52:25 +05:30
Michael Minella
b192f79f75 Disabled deployment of all sample apps 2016-04-26 23:19:40 -05:00
Michael Minella
f126d51775 Updated dependencices in preparation for M2 release 2016-04-26 22:24:18 -05:00