Commit Graph

301 Commits

Author SHA1 Message Date
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
f772956680 Binary defaults for conditional metadata now used Binary Type
Before they were of String type

resolves #467
2018-11-02 16:21:01 -04:00
Glenn Renfro
4387d816d1 Updated javadoc to remove ContextRefreshedEvent
Updated it to discuss SmartLifecycle#start() as the agent that kicks off the task.

resolves #447
2018-11-02 14:52:43 -05: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
Glenn Renfro
422efcee78 Added spring-boot-autoconfigure-processor to the active modules of SCT
resolves #432
2018-11-02 14:05:44 -05:00
Glenn Renfro
1c09ecae24 Updated the dependency versions 2018-11-02 13:57:26 -05: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
Michael Minella
7be8b8a105 Polish 2018-11-02 11:56:42 -05: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
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