Commit Graph

439 Commits

Author SHA1 Message Date
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
Glenn Renfro
c719f8b1f9 Updated getting started docs to use Spring Initializer
resolves #423
2018-10-25 13:11:17 -04:00
David Turanski
cba26ed968 Implement getRunningTaskCount
Expose functionality via TaskExplorer

Polishing on merge
2018-09-05 08:43:55 -04:00
Glenn Renfro
1406fa986c Refer users to SCDF to launch tasks 2018-06-26 14:10:21 -04:00
Glenn Renfro
f8fd74e616 Added docs on deploying SCT apps to CF 2018-06-18 18:42:39 -04:00
Gunnar Hillert
de1ebfb351 gh-424 Add the ability to retrieve the last TaskExecution for Tasks
- Add the ability to retrieve the last TaskExecution to:
  - MapTaskExecutionDao
  - JdbcTaskExecutionDao
- Refactor `JdbcTaskExecutionDao` and use `NamedParameterJdbcTemplate` for all persistence store calls
- Add the following TaskExecution methods to TaskExplorer:
  - getLatestTaskExecutionsByTaskNames
  - getLatestTaskExecutionForTaskName
- Add Tests
- Ensure that code is JDK7 compatible due to backporting needs
- Ensure commit backports to 1.2.x

Polishing on tests during merge
2018-06-15 16:54:28 -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
af24db3f12 Reverted javadoc fix. 2018-05-03 15:27:44 -05:00
Michael Minella
50fce183ef Updated to latest version of the local deployer 2018-05-03 12:34:02 -05:00
Michael Minella
4d4e98345b Updated version prior to GA 2018-05-01 08:58:01 -05:00
Michael Minella
30f50dded9 Fixed integration tests 2018-05-01 08:07:07 -05:00
Michael Minella
ba5bc3908a Documentation fixes prior to GA release
This commit addresses two formatting issues with the documentation as
well as should fix the publishing of the javadocs.

Resolves #417
2018-04-30 12:02:11 -05:00
Michael Minella
f9924782cc Cleaned up dependencies across the project 2018-04-13 17:43:30 -05:00
Michael Minella
508aa84d83 Updated versions prior to release 2018-04-13 17:16:56 -05:00
Glenn Renfro
5672b326ed SimpleTaskConfiguration ignores proxy beans when validating datasources
If a user adds spring-cloud-starter-config to the dependencies it has to add a proxy for the datasource else the Hikari connection pool pukes.

resolves #407
2018-04-13 16:19:52 -05:00
Michael Minella
09ff552b8d Added a sample that illustrates using multiple DataSources
This PR adds a sample that illustrates the use of multiple DataSources
in a single Spring Cloud Task application.

Resolves #413

Updated based on code review
2018-04-13 16:44:14 -04:00
Michael Minella
486ef0dec3 Updated reactor versions in the batch sample to match what the latest CF Deployer uses 2018-04-13 13:11:12 -05:00
Glenn Renfro
b9d95df0ff Updated partition launch with new property
Fixes issue where we have to disable the deployer-local's use of SPRING_APPLICATION_JSON
resolves #403
2018-04-03 12:43:37 -05:00
Glenn Renfro
3d21077fe7 Update partition sample README docs
Replace individual environment datasource variables with SPRING_APPLICATION_JSON
resolves #401
2018-04-03 12:40:03 -05:00
Glenn Renfro
0915dc6dfe TaskRepositoryInitializer now uses TaskConfigurer to determine the datasource
resolves #405
2018-03-09 13:22:17 -05:00
Glenn Renfro
a2a9d598e7 Remove sections on Yarn and Mesos partition executions
resovles #400
2018-03-07 14:16:25 -05:00
Jay Bryant
5cd934eb97 Full editing pass
I corrected spelling and grammar and gave it a voice (flat, corporate) consistent with our other docs. I added a couple TODOs where I thought another sample would help.

Incorporated Glenn Renfro's comments

Glenn gave my work a thorough review (thanks, Glenn!). This commit incorporates his changes.

One more change

I missed one of Glenn's fixes (by forgetting to save one last time before the previous commit). I have corrected that oversight
2018-03-07 14:01:18 -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
Roy Clarkson
860e514060 Update sample README to remove unnecessary contentType parameters
Resolves #393

Add back C/Rs
2018-02-22 18:01:08 -05:00
Michael Minella
f23b80a9c6 Polish 2018-02-13 13:47:03 -06:00
Glenn Renfro
dca5945f8f Updating dependencies
resolves #387
2018-02-13 12:25:14 -06:00
Glenn Renfro
7843ba2edb Updated TaskLauncherSink to be able to use SCST 2.0
* Updated tests
 - to handle additional cases
 - removed `now` invalid tests
* removed logging payload from the TaskLauncher
* handles message instead TaskLaunchRequestPOJO

resolves #385
2018-02-13 12:19:11 -06:00
Michael Minella
71b74665a0 Polish 2018-02-13 11:49:56 -06:00
Glenn Renfro
01311e8be6 FactoryBean now sets the tablePrefix for taskBatchExecutionListener
resolves #353
2018-02-13 11:49:48 -06: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
Michael Minella
1ae7930d09 Added ability to cofigure CommandLineRunner order
This commit adds the ability to configure the order for the
TaskJobLauncherCommandLineRunner.  It also provides minor polish on a
few other code review related items.
2018-02-12 17:03:48 -06:00
Glenn Renfro
cd4dbe6a93 Allows failed batch apps to set exit code of task app.
resolves #201
 Please enter the commit message for your changes. Lines starting

Cleanup Removed taskProperties from TaskBatchAutoConfiguration
2018-02-12 17:03:36 -06:00
Glenn Renfro
b6f6d68385 Deprecate the use of spring.cloud.task.batch.listener.enable
replace it with spring.cloud.task.batch.listener.enabled

resolves #379
2018-02-12 13:41:59 -06:00
kangtaku
16efd486d8 Correct typo of a word and a bracket.
Removed a unneeded empty row.

Removed starting parenthesis and added Carriage return to end of file
2018-02-05 09:53:02 -05:00
Glenn Renfro
4e77027f2e Clear all objects in the database between runs.
resolves #382
2018-01-30 13:51:16 -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
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
3f316a0170 SCT now handles exceptions thrown by execution listeners
resolves #341
2018-01-24 12:12:50 -06:00
Glenn Renfro
fd2d4a9124 Adds configuration metadata for properties
resolves #365
2018-01-18 11:51:29 -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
c4324b550d Docs updated dependency samples to use starter instead of core
resolves #362
2018-01-18 10:38:51 -06:00
Glenn Renfro
6860656d98 Set the Spring-Cloud-Build to Snapshot until we go RC1.
Did build and smoke tests and it resolves the issues identified in this issue.
resolves #360
2018-01-18 10:03:49 -06:00
Glenn Renfro
0ed6da6613 Resolves Test Failures for TaskLauncher and Task Start Tests
resolves #339
2018-01-12 17:30:38 -05:00
The Gitter Badger
732c7d163c Add Gitter badge 2017-11-17 15:29:23 -06:00
Glenn Renfro
c5931011a0 change javadoc aggregate execution from prepare-package to site phase.
resolves #350
2017-11-10 11:50:30 -05:00
Glenn Renfro
6ef80f2a50 Updated to the Stream M3 release 2017-11-09 13:47:08 -05:00