Commit Graph

13 Commits

Author SHA1 Message Date
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
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