63 Commits

Author SHA1 Message Date
Spring Buildmaster
af078ec763 [artifactory-release] Next development version 2019-05-24 13:07:12 +00:00
Spring Buildmaster
1d07aa8cc8 [artifactory-release] Release version 2.0.2.RELEASE 2019-05-24 13:07:08 +00:00
Glenn Renfro
67662459f8 Updated versions for 2.0.2.RELEASE 2019-05-22 11:59:57 -04:00
Spring Operator
fef2986417 URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
  https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 196 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
2019-03-21 13:30:23 -05:00
Spring Operator
deff0f36ea URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://maven.apache.org/xsd/maven-4.0.0.xsd with 18 occurrences migrated to:
  https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd) result 200).
* http://www.apache.org/licenses/LICENSE-2.0 with 19 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0 with 36 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 18 occurrences
2019-03-16 10:51:53 -05:00
Spring Buildmaster
83a7003656 [artifactory-release] Next development version 2019-02-21 19:54:44 +00:00
Spring Buildmaster
a8b61539c9 [artifactory-release] Release version 2.0.1.RELEASE 2019-02-21 19:54:41 +00:00
Glenn Renfro
5dd06367ae Updated versions 2019-02-21 11:46:03 -05:00
Glenn Renfro
23d7ed0803 Updated so that the TaskJobLauncherCommandLineRunner matches JobLauncherCommandLineRunner
in Boot 2.0.7.

REMOVE the Spring boot dependencies.   They are here only until the 2.0.7.RELEASE is out.

resolves #470

Updated versions
2019-02-13 17:57:24 -05:00
Ilayaperumal Gopinathan
cf3a0dce8c 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-10-31 15:40:46 -04: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
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
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
b2eb043023 Minor polish 2016-07-26 14:52:31 -05:00