Commit Graph

68 Commits

Author SHA1 Message Date
Glenn Renfro
30399dbb57 Established @EnableTask to create instance of TaskLifecycle Bean
resolves #494
2018-12-10 16:07:31 -05:00
Glenn Renfro
f083d7a7ff Corrects code to remove bug reports from Sonar Report
Resolves #478
2018-11-12 14:54:47 -05: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
6c11d5aea3 Removed snapshots from starter and depencencies pom.xmls 2018-11-02 17:25:11 -04:00
Glenn Renfro
c7ef7fbff4 Starting to move to java 11[Do Not Merge]
All version changes are present.

Fixed all Java-Doc Errors and warnings

* Due to the stricter nature of the javadoc compiler we can't wrap <ul> / <ui> in <p>
* We will also need to Push up a test app for taklauncher to work with.   The old one fails to start now.   Or use one of the task starters possibly.
* Built on the work from TASK-439C.   Wait for that merge before merging this one.
* Replaced applicationFailedEvent class attribute with applicaitonFailedException
* Also polished the app used by the taskLauncherSink integration test
2018-11-01 15:23:17 -04:00
Michael Minella
90c88c52e6 Polish 2018-11-01 10:45:15 -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
Michael Minella
f9924782cc Cleaned up dependencies across the project 2018-04-13 17:43:30 -05:00
Michael Minella
f3e4b96ffc Updated versions to support Spring Boot 2 2018-03-02 13:30:17 -06:00
Glenn Renfro
63dfe406f5 Updated Versions for Cloud Build and Stream
resolves #395
2018-02-26 17:26:29 -05:00
Michael Minella
f23b80a9c6 Polish 2018-02-13 13:47:03 -06:00
Michael Minella
17cefe2759 Added Spring Boot Starter to Spring Cloud Task's Starter
Per Stephane's comment on the related issue, Spring Boot starters are
expected to bring in the spring-boot-starter.  Before this commit, the
Spring Cloud task starter did not, which lead to incorrect logging
configuration.  This commit addresses that issue.

Resolves SCT-359
2018-01-26 15:20:43 -06:00
Glenn Renfro
3ad9efe3fe Updated tests to remove deprecated code from tests
* cleanup removing unused headers
* Updated asserts in code base that needed messages (marked as deprecated)
* left one test that was testing a deprecated constructor.  When that code is removed we can remove that test.
* some other cleanup

resolves #338
2018-01-18 11:42:37 -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
Michael Minella
ab32bfc999 Update versions before release 2017-08-15 16:35:18 -05:00
Michael Minella
8c08aa84f7 Fixed build after 2.0 PR merge
The 2.0 PR merge missed a couple items that broke the build.
Specifically the maven plugin repository was not specified so the
snapshots for the Spring Boot Maven Plugin could not be found.  Also the
ordering of the parameters in the Hibernate generated SQL was different
so the JpaApplicationTests were failing.
2017-07-13 10:32:34 -05:00
Michael Minella
2c2712ada4 Dependency updates 2017-07-12 13:02:12 -05: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
Spring Buildmaster
1a16d44b2c [artifactory-release] Next development version 2017-04-24 19:36:00 +00: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
Glenn Renfro
4e68adf5fa Updated samples to use latest boot
Update integration tests to use latest stream paradigm
Update tests to be in compliance with 1.5.2.

resolves #289
2017-03-14 09:49:31 -05:00
Michael Minella
2b8e5799f7 Upgraded to Camden SR5
This commit upgrades Spring Cloud Task to Camden SR5 and makes the
required changes to do so.

Resolves #276
2017-02-07 15:55:22 -06:00
Spring Buildmaster
ce31582995 [artifactory-release] Next development version 2016-11-22 16:58:27 +00:00
Michael Minella
91485769d5 Fixed release versions 2016-11-22 10:22:13 -06:00
Glenn Renfro
9074926736 Updated RC1 to GA for migration comments, tests and docs. 2016-11-22 09:39:42 -06:00
Glenn Renfro
fa5cb4f242 Update docs and static maven artifacts to RC1 2016-11-03 22:47:07 -04: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
Glenn Renfro
3f83b33104 Updated Versions for this build 2016-09-08 18:33:50 -04: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
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
551a4bc53a Upgrade to Spring Boot 1.4
This commit upgraded all places where Spring Cloud Task explicitly
references Spring Boot 1.4

Resolves spring-cloud/spring-cloud-task#166

Updated the jar version numbers in the adocs to 1.1.0
2016-08-15 09:54:08 -04:00
Michael Minella
9f0377df0b Moved master to 1.1.0.BUILD-SNAPSHOT 2016-08-09 14:48:46 -05:00
Michael Minella
e0636e230c Bumped to next development version in constants: 2016-08-08 14:53:28 -05:00
bamboo
4645e9f5b1 [artifactory-release] Next development version 2016-07-27 05:59:23 +00:00
Michael Minella
843c7683f4 Updated versions prior to release 2016-07-26 23:42:49 -05:00
Michael Minella
d6c36ee559 Added starter to dependencies 2016-07-25 13:01:09 -04:00
Glenn Renfro
21d4a17591 Use human readable names in pom.xml for all task projects.
* Update pom to include text for contributor agreement
* Update samples to the latest release number
* Remove CLA section from README.adoc

Resolves #172
2016-07-21 21:59:01 -10:00
Michael Minella
57ec71ce0e Updated versions to new snapshot version 2016-07-08 16:08:21 -05:00
Glenn Renfro
baaa24137c Updated versions in docs and partitioner to release version. 2016-07-07 23:23:05 -04:00
Glenn Renfro
02589b1b2d Update timestamp sample
* Log Level is now at DEBUG
* Removed H2 dependency
* Updated main readme to discuss how to build samples

resolves #165
2016-07-07 11:41:51 -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
bamboo
5ca639f03c [artifactory-release] Next development version 2016-06-29 05:52:28 +00: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