Commit Graph

40 Commits

Author SHA1 Message Date
Spring Buildmaster
dc3af1dfd4 [artifactory-release] Release version 2.1.0.RELEASE 2019-01-22 14:30:29 +00:00
Spring Buildmaster
549e9e14cd [artifactory-release] Next development version 2019-01-15 14:06:50 +00:00
Spring Buildmaster
3534b42f79 [artifactory-release] Release version 2.1.0.RC1 2019-01-15 14:06:46 +00:00
Spring Buildmaster
d3381b71f9 [artifactory-release] Next development version 2018-12-13 22:12:42 +00:00
Spring Buildmaster
a1c10b8d46 [artifactory-release] Release version 2.1.0.M2 2018-12-13 22:12:38 +00:00
Janne Valkealahti
de45d1eb47 Rely on spring-cloud-deployer autoconfig
- Deployer core/local uses 2.0.0.BUILD-SNAPSHOT
- Use pring-cloud-deployer-dependencies bom
- Remove ResourceLoadingAutoConfiguration as that is now in
  deployer itself with a way to configure loaders.
- spring-cloud-task-core now depends on spring-cloud-deployer-autoconfigure.
- Rest of deployer modules like support/maven are still defined in deps
  as those are optional in spring-cloud-deployer-autoconfigure.
2018-11-29 15:42:34 +00:00
Spring Buildmaster
9d38c9a86d [artifactory-release] Next development version 2018-11-02 21:54:16 +00:00
Spring Buildmaster
3c8cfcf1d8 [artifactory-release] Release version 2.1.0.M1 2018-11-02 21:54:11 +00:00
Glenn Renfro
422efcee78 Added spring-boot-autoconfigure-processor to the active modules of SCT
resolves #432
2018-11-02 14:05:44 -05:00
Glenn Renfro
d2bc2530cc Update Task to BOOT 2.1.M1
Migrating to use ApplicationContextRunner or ImportAutoConfiguration with SpringApp.run, instead of SpringApplicationBuilder, because builder does not handle AutoConfiguration properly

SimpleTaskAutoConfiguration now has an annotation AutoConfigureBefore the BatchTaskAutoConfig so that it is processed prior.  THis is so that that BatchTaskAutoConfig can create the appropriate beans

SimpleTaskAutoConfiguration has new annotations so that it is AutoConfigured after BindingServiceConfiguration and after SimpleTaskAutoConfiguration.  This is so that it does not attempt to start emitting messages before stream is ready and it can create the appropriate beans after SimpleTaskAutoConfiguration has run.

Renamed SimpleTaskConfiguration to SimpleTaskAutoConfiguration.

Task version updated to  2.1.0

Added missing headers

Updated documentation.

Deprecated EnableTask

Added ability to disable Task autoconfiguration.

Removed @EnableTask from tests

Resolves #439
Resolves #440
Resolves #448
Resolves #466
2018-11-01 10:43:31 -05:00
Michael Minella
4c5ce965fd Incremented version to the next development version 2018-05-08 17:01:51 -05:00
Spring Buildmaster
81b54aadba [artifactory-release] Next development version 2018-05-03 20:43:48 +00:00
Glenn Renfro
d8a73ba183 Prevent a task from starting if an inst with the same name is running.
resolves #81

Using LockRegistryLeaderInitiator to do leadership election.

When task is started and singleInstanceEnabled isset to true then we use leader election
to determine if a task needs to be started.

Error Event Name had to be updated
2018-01-25 13:24:53 -06:00
Glenn Renfro
fd2d4a9124 Adds configuration metadata for properties
resolves #365
2018-01-18 11:51:29 -06:00
Glenn Renfro
e279846e7e Updated Spring Cloud Task to latest releases
Updated to remove all commons-logging-api dependencies to resolve  logging issue.

Updated to handle 2.0.0.M3 Spring Cloud Stream

resovles #347

Changes based on code review
2017-11-01 09:12:46 -04:00
Glenn Renfro
d95f46002f Migrate Task to Spring Cloud Build 2.0.x
resolves #313
2017-07-12 11:38:00 -05:00
Spring Buildmaster
54bce9a590 [artifactory-release] Next development version 2017-06-27 15:46:26 +00:00
Glenn Renfro
c7f15f5c8a Sets Version of repo to 1.2.1
* Docs and poms updated

* Updated deployer dependencies

resolves #323
2017-06-26 17:19:11 -04:00
Glenn Renfro
b03f8398a7 Task identifies if JPA is in use and uses JPTransactionManager
resolves #309
2017-06-26 15:49:20 -05:00
Spring Buildmaster
1a16d44b2c [artifactory-release] Next development version 2017-04-24 19:36:00 +00:00
Michael Minella
fc708ac775 Removed dependencies on Spring Boot starters
This commit removes the dependency on any Spring Boot starters.
Starters are still used in the test scope, but should not impact the
library's dependencies.

Resolves #294
2017-03-30 10:33:03 -05:00
Thomas Risberg
3c8d61447c Revert incremented versions for release 2017-03-21 10:34:05 -04:00
Michael Minella
a32d26f14c Incremented versions for release 2017-03-20 21:54:54 -05:00
Spring Buildmaster
ce31582995 [artifactory-release] Next development version 2016-11-22 16:58:27 +00:00
Michael Minella
9f0377df0b Moved master to 1.1.0.BUILD-SNAPSHOT 2016-08-09 14:48:46 -05:00
bamboo
4645e9f5b1 [artifactory-release] Next development version 2016-07-27 05:59:23 +00: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
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