Commit Graph

10 Commits

Author SHA1 Message Date
Michael Minella
7c8fc5f50e Add listener to persist relationship between job and task
This introduces a listener that stores the association between a Spring
Batch job and the task it was executed within.

Resolves spring-cloud/spring-cloud-task#46

Merge Changes based on code review.
2016-03-11 09:16:59 -05:00
Dave Syer
f7a9f17236 Adjust dependencies so manual deployment works
With these changes you can "mvn deploy" on the command line
as long as your local settings.xml has the credentials for
the repo.spring.io repositories.
2016-01-27 09:58:06 +00:00
Glenn Renfro
715be254a9 Corrected mvn Project Names. 2016-01-26 13:39:38 -05:00
Glenn Renfro
d00925622b SCT-59 Add Support for H2 database
resolves spring-cloud/spring-cloud-task#59
2016-01-14 14:21:46 -05:00
Glenn Renfro
0e90778f20 SCT-41 Introduces findAll for task explorer
resolves spring-cloud/spring-cloud-task#41
2016-01-04 14:35:23 -06:00
Michael Minella
61d3cc3641 Refactor of Task API
This change removes the Spring Cloud Task dependency upon a
CommandLineRunner from boot and moves the handling of the task lifecycle
closer to the "edge" of a Spring Boot application.

With this change, now a developer simply adds @EnableTask to their
configuration somewhere and the task lifecycle will be recorded.

Resolves spring-cloud/spring-cloud-task#39
2015-12-29 11:38:41 -05:00
Glenn Renfro
a9f882f24b SCT-6 Support RDBMS & Map Repositories
* `DefaultTaskConfigurer` returns only one `SimpleTaskRepository` all others have been removed
* `SimpleTaskRepository` can use `JdbcTaskExecutionDao` or a `MapTaskExecutionDao`
* Add `Jdbc` and Map` `TaskRepositoryFactoryBeans` to support the creation of the correct type of `SimpleTaskRepository`
* `TaskDatabaseInitializer` will initialize a database if a datasource is found and if they have not disabled it using the `spring.task.initialize.enable`
* Add tests
* Added Transaction Support
* Re-add the samples to `pom.xml`
* Samples pom skips install and deploy lifecycle targets.
2015-12-08 15:44:14 -05:00
Glenn Renfro
ce8854b89e SCT-4 Added SimpleTaskConfiguration
* Added unit tests
* Introduced @EnableTask
* Readme updated to include @EnableTask
* Removed warnings from build
* Cleanup
2015-11-30 15:32:40 -06:00
Michael Minella
93e4698175 fixes spring-cloud/spring-cloud-task#8
SCT-8: Added NoOpTaskExplorer

Set the Junit to test scope.
2015-11-30 14:04:20 -05:00
Glenn Renfro
bd1243cae6 Initial commit of POC functionality
This commit provides the inital code from a POC of spring-cloud-task
functionality.  Further cleanup will be done and tracked via future
stories.
2015-11-20 14:42:22 -06:00