Commit Graph

30 Commits

Author SHA1 Message Date
Spring Buildmaster
449b62b009 [artifactory-release] Next development version 2016-09-08 20:47:17 +00:00
Glenn Renfro
86234c22f2 updated module commands with app commands
resolves #189
2016-09-07 22:31:58 -05:00
bamboo
4645e9f5b1 [artifactory-release] Next development version 2016-07-27 05:59:23 +00: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
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
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
bamboo
5ca639f03c [artifactory-release] Next development version 2016-06-29 05:52:28 +00:00
Michael Minella
eb54285c9a Updated versions in documentation 2016-06-28 22:33:07 -05: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
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
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
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
Michael Minella
619bc567a1 Documentation additions around batch events and formatting fixes 2016-04-26 11:03:33 -05:00
Michael Minella
8368a1cf8c Add Task Event Listener
Adds a Task Listener that emits the TaskExecution as an event via a
Spring Cloud Stream channel (essentially the listener serves as a SCSt
Source).

Resolves spring-cloud/spring-cloud-task#11
2016-04-15 20:34:31 +05:30
Michael Minella
0a56672171 Refactored task end event to be Spring Boot's ApplicationReadyEvent
In testing and other use cases, the ability to keep a context open
beyond the end of a task can be useful.  This change provides the
ability to keep the context alive once a task has completed while also
explicitly shutting the context down (by default) once a task has ended.

Resolves spring-cloud/spring-cloud-task#102
2016-04-06 12:24:52 -05:00
Michael Minella
3d3b90812e Create the DeployerPartitionHandler and related
DeployerStepExecutionHandler

Created a PartitionHandler that delegates to a TaskLauncher from Spring
Cloud Deployer to execute workers.

Resolves spring-cloud/spring-cloud-task#109

Updates per code review
2016-04-04 11:01:03 -04:00
Glenn Renfro
aad0a0b1ee SCT-12 Creates the SCSt sink that can launch tasks.
resolves  spring-cloud/spring-cloud-task#12
2016-03-23 11:11:24 -05:00
Michael Minella
f35f8ef52d Update TaskLifecycleListener to use SmartLifecycle
This commit changes the starting point of a task from the point when the
ApplicationContext issues the ContextRefreshedEvent to
SmartLifecycle#start.  This is a more accurate point of start for a task
in that all beans should now be available.  It also allows us to clean
up many ApplicationContext hacks that were present to get around the
fact that many beans were not ready when a Task was attempting to begin.

Resolves spring-cloud/spring-cloud-task#107
2016-03-18 14:51:59 -04:00
Glenn Renfro
f486050086 SCT-95 Support TaskExecutionListener Annotations
Added the ability to implement TaskExecutionListener functionality without
implementing the TaskExecutionListener interface.

resolves spring-cloud/spring-cloud-task#95
2016-03-09 10:07:39 -06:00
Glenn Renfro
20a56c9581 SCT-35 Tasks Support TaskExecutionListener
resolves spring-cloud/spring-cloud-task#35

TaskExecutionListener now supports TaskExecution Params
2016-02-26 15:11:06 -06:00
Glenn Renfro
91fa6be092 SCT-79 Support sqlserver
resolves spring-cloud/spring-cloud-task#79
2016-02-26 14:53:49 -06:00
Glenn Renfro
3b252680e7 SCT-82 Exit Code needs to be null while task is running
TaskLifecycleListener will set a TaskExecution's exitCode to null upon taskStart in the repository.
Only at the end of the execution will it store the exitCode.

resolves spring-cloud/spring-cloud-task#82
2016-02-25 12:45:32 -06:00
Michael Minella
50a3996904 Removed unused build plugin 2016-01-26 17:02:39 -06:00
Michael Minella
812ce0b7a0 Updated to fix title page logo on PDF 2016-01-26 12:47:12 -06:00
Michael Minella
20b5e046ae Initial commit of reference documentation
This is the initial cut of the reference documentation for Spring Cloud
Task.

Resolves spring-cloud/spring-cloud-task#49

Updates per code review

use mvnw instead of mvn in example
2016-01-25 19:27:31 -05:00