Commit Graph

68 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
Glenn Renfro
30399dbb57 Established @EnableTask to create instance of TaskLifecycle Bean
resolves #494
2018-12-10 16:07:31 -05:00
Glenn Renfro
8e1d38a76a Cleanup code smells reported by Sonar
This is a first pass are removing some of the code smells.
Many reported code smells were ignored in this effort
2018-11-27 16:09:17 -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
b46ca25133 Updated time to wait for test task to finish in TaskLauncherSinkTests to complete 2018-11-02 15:49:11 -04:00
Ilayaperumal Gopinathan
324abd4e5c Exit code is nullable
- Make exit code nullable and only update of execution status can make it a valid integer
 - Update JDBC create/start task execution queries to have exitCode as `null` values
 - Update tests to validate/verify the appropirate exit code values for create/start/complete task executions

On merge had to add a pause to the TaskLauncherSinkTests to wait for the task to complete successfully   Before we assumed that 0 was a satisfactory result meaning it was either running or completed.    Now with the null being returned it could be zero or null.  So we have to wait for the task to complete.
2018-11-02 14:45:55 -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
Glenn Renfro
d2c90c5256 Updated to add metadata for Conditionals
Also renamed camel-cased properties to cononical format.

resolves #442
2018-10-26 09:42:14 +01: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
30f50dded9 Fixed integration tests 2018-05-01 08:07:07 -05:00
Michael Minella
508aa84d83 Updated versions prior to release 2018-04-13 17:16:56 -05:00
Michael Minella
6426cfea7e Polish 2018-02-13 09:28:22 -06:00
Glenn Renfro
76309b89ff Removed code that was marked as deprecated.
Also updated test that tested deprecated code.

resolves #366
2018-02-13 09:28:09 -06:00
Glenn Renfro
4e77027f2e Clear all objects in the database between runs.
resolves #382
2018-01-30 13:51:16 -06: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
94e074d841 Set the spring.cloud.task.closecontext_enable default to false
resolves #364
2018-01-24 14:11:35 -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
0ed6da6613 Resolves Test Failures for TaskLauncher and Task Start Tests
resolves #339
2018-01-12 17:30:38 -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
Ali Shahbour
450de51d0c Add Ordered interface to all event listeneres
changes requested by cppwfs

Fix Constructors duplication

Add @author

Some cleanup on chunk listener

Updated chunk listener to send message before and after chunk.
Fixed Links for JavaDocs to prevent failure on javadoc build.
Updated tests to support new chunk messages.
2017-03-31 09:15:28 -04:00
Thomas Risberg
fec40fd3f8 Adding a method to pass in taskName for new empty TaskExecution
Resolves #298

Added test and add param to javadoc
2017-03-29 14:17:02 -04: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
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
4a1a2c3c88 Add Application Name to TaskLaunchRequest for launched task
resolves #238
2016-11-03 15:50:21 -05:00
Glenn Renfro
ce4402053d Version update preparations. 2016-10-12 14:48:03 -04:00
Michael Minella
17e4250586 Checks for invalid ExecutionId in the TaskLifeCycleListener
resolves #115
* Fixes bug where if the user set the environment variable and commandline args a unique constraint would fire.
* Updated docs
* Removed deprecation
* Fixed version number for integration test.

Added integration tests for externally generated task executions

Add externalExecutionId

resolves #80
2016-10-12 12:45:29 -05: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
441bbfe492 Checks for invalid ExecutionId in the TaskLifeCycleListener
resolves #115
* Fixes bug where if the user set the environment variable and commandline args a unique constraint would fire.
* Updated docs
* Removed deprecation
* Fixed version number for integration test.

Added integration tests for externally generated task executions
2016-10-10 17:45:35 -05:00
Glenn Renfro
879be990f1 disabled the integration tests 2016-09-08 18:48:07 -04:00
Glenn Renfro
3f83b33104 Updated Versions for this build 2016-09-08 18:33:50 -04:00
Michael Minella
025c447b89 Refactored for CloudFoundry Support
This commit adds on an abstraction for the providing unique command line
arugements for each worker.  It also updates the partitioned job sample
to be able to successfully be run on CloudFoundry.

Resolves spring-cloud/spring-cloud-task#193

Updated based on comments
2016-09-08 14:20:08 -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