Commit Graph

43 Commits

Author SHA1 Message Date
Michael Minella
32b0278930 Updated for deployer updates
In the release process of SCDF, it was identified that Spring Cloud
Deployer had been upgraded to JDK 1.8 which was not desirable at the
given time.  As part of the rollback, the deployer implementations
provided remained at 1.8, but the SPI was rolled back to 1.7.  This
commit addresses the difference between the different versions as well
as updates the code to use the latest `TaskLauncher` code.
2016-11-21 16:21:33 -06:00
Glenn Renfro
986a2a098d Removed TaskLauncherConfiguration
Added spi and boot log starter to pom for streams
Changed deployer-local on main project pom to be test scope
2016-11-21 16:33:05 -05:00
Michael Minella
dd5963e464 Upgraded versions of dependencies 2016-11-21 11:46:51 -06:00
Gunnar Hillert
366cbaf213 Revert to Docboc
- Due to the lack of multipage Html support we need to revert to Docbook for the time being
- Revert "gh-246 Remove docbooks from asciidoctor infrastructure"
- This reverts commit 4ed50a6b31.
2016-11-21 05:46:18 -10:00
Gunnar Hillert
4ed50a6b31 gh-246 Remove docbooks from asciidoctor infrastructure
resolves #246

Removed javadoc build from parent pom.

It is now contained in the doc pom
2016-11-16 14:50:05 -05:00
Glenn Renfro
18980dfce1 Update to the latest release of spring-cloud-build 2016-11-16 12:13:11 -06:00
Michael Minella
0660057e85 Removed javadoc aggregation for now 2016-11-03 23:01:34 -05:00
Michael Minella
cc1f971f3e Build updates to support automated doc deployment
The Spring build infrastructure has the capabilities to deploy
documentation automatically that it finds in Artifactory.  This commit
creates the required zip archive for that process.

Resolves SCT-78
2016-11-03 14:15:56 -05:00
Spring Buildmaster
afd0e09e6a [artifactory-release] Next development version 2016-10-12 19:08:30 +00:00
Glenn Renfro
ce4402053d Version update preparations. 2016-10-12 14:48:03 -04:00
Glenn Renfro
d657b22b79 Updated dependencies and refactored code.
* Updated spring cloud streams to 1.1.0.RELEASE
* Updated cloud dependencies parent to 1.2.1.RELEASE
* Updated samples to 1.4.1
* Updated Tests to take advantage of 1.4 boot test annotations
* Removed @Bindings as they are deprecated
* Updated BatchApplication test to pass.  Boot no longer logs environment values.  So count was reduced from 3 to 1

resolves #218, #221

renamed spring-cloud-task-starter to spring-cloud-starter-task
2016-10-11 08:38:38 -05:00
Michael Minella
c14d2efca3 Refactored
Refactored based on conversations with wider team

Updates per code review
2016-09-08 10:35:31 -04:00
Michael Minella
4ab6a93f6a Updated to Camden build infrastructure to use Spring Boot 1.4 2016-08-17 13:38:34 -05:00
Dave Syer
0f0bfbe525 Change repo URLs to https 2016-08-17 17:31:27 +01:00
Michael Minella
db0565b7cf Introduced Error Message to Task Execution
To provide the ability to control task orchestration via the exit
message, we moved the stack trace storage to a new field.  This means
that exit message is now a field we can use similar to how exit code is
in batch, and still have the stack trace of an unsuccessful task
execution stored.

Resolves spring-cloud/spring-cloud-task#186

Disabled integration tests by default

Just some cleanup on merge
2016-08-15 18:30:15 -04: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
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
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
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
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
Michael Minella
f126d51775 Updated dependencices in preparation for M2 release 2016-04-26 22:24:18 -05:00
Ilayaperumal Gopinathan
ced5a3aa87 Add integration test for task events
This resolves #126

Use RedisConnectionFactory from RedisTestSupport

Add sub-project for integration tests

 - Since there are overlaps with the integration tests and the unit tests running together (using redis binder vs test support binder), it is better to move the integration tests
to a separate sub-project

Little cleanup
2016-04-20 10:03:30 -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
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
Mark Pollack
ff881f6546 GH-85 Align maven build conventions with those of other spring cloud projects
* move settings.xml to .settings.xml
* add spring profile to pom.xml with spring repository locations
2016-02-10 16:53:09 -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
af23ce5c43 Removed the doc aggregate from parent pom. 2016-01-26 16:53:17 -05:00
Glenn Renfro
cf240f478a Code review 2016-01-26 15:50:43 -05:00
Glenn Renfro
f3340c17ec Now supports javadoc as part of package build. 2016-01-26 15:25:08 -05:00
Glenn Renfro
bed52091a9 SCT-58 Add bom to SCT
Resolves spring-cloud/spring-cloud-task#58
2016-01-26 11:10:50 -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
Michael Minella
2ceb353838 Use spring Boot events to get exit code
Spring Boot now provides the result of an ExitCodeExceptionMapper via an
event called ExitCodeEvent.  This commit takes advantage of this new
event.

Resolves spring-cloud/spring-cloud-task#48
2016-01-22 13:26:32 -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
56f6592d9a SCT-18 update build to support sonar
resolves spring-cloud/spring-cloud-task#18
2015-12-11 17:15:04 -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
54508f7c43 Refactored package name
Just a little cleanup (added a space)
2015-11-20 17:31:28 -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