Commit Graph

90 Commits

Author SHA1 Message Date
Glenn Renfro
cf05696d4a Updated schema documentation 2019-12-17 15:03:48 -06:00
Glenn Renfro
a5161f816e Updated the sample to match the reference docs
Also added some additional information in the reference docs.
2019-08-06 17:50:56 -04:00
Glenn Renfro
7490f8b820 Initialize values with properties vs value
resolves #SCT-587
2019-07-03 13:24:06 -05:00
Michael Minella
f0f539ed8c Polish 2019-06-25 09:48:30 -05:00
Glenn Renfro
d2031ff66e Updated the order in which the TaskLifecycleListener is configured
resolves #605
2019-06-25 09:48:21 -05:00
Anbu Sampath
320a864112 doc correction for Initialzr downloaded file name 2019-06-13 15:59:47 +05:30
Haytham Mohamed
1665bd29db Added the sagan adoc files 2019-04-29 12:35:10 -05:00
Jay Bryant
0c53ba812a Modernizing the documentation
I made this project match the other Spring projects for documentation by pulling in spring-doc-resources and using those resources to create the dynamic ToC and our new styles.

Accounting for Glenn Renfro's feedback

Glenn caught a couple problems. I have fixed them. Thanks, Glenn. :)
2019-04-11 13:21:32 -04:00
Toshiaki Maki
56469bb92f Fix a broken code 2019-04-09 08:52:51 -04:00
Spring Operator
2bff013b83 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).

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 204 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).

Updated Spring Cloud Build dependency

this was so that we can get the latest spring-cloud-build
2019-03-21 16:34:26 -04:00
Spring Operator
0ea5070050 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).

# HTTP URLs that Could Not Be Fixed
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.

* [ ] http://xslthl.sf.net (301) with 4 occurrences could not be migrated:
   ([https](https://xslthl.sf.net) result AnnotatedConnectException).
* [ ] http://exslt.org/common (404) with 1 occurrences could not be migrated:
   ([https](https://exslt.org/common) result SSLHandshakeException).

# Fixed URLs

## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.

* [ ] http://waffle.io/spring-cloud/spring-cloud-task (301) with 2 occurrences migrated to:
  https://waffle.io/spring-cloud/spring-cloud-task ([https](https://waffle.io/spring-cloud/spring-cloud-task) result ReadTimeoutException).
* [ ] http://myURI (UnknownHostException) with 1 occurrences migrated to:
  https://myURI ([https](https://myURI) result UnknownHostException).
* [ ] http://oops (UnknownHostException) with 1 occurrences migrated to:
  https://oops ([https](https://oops) result UnknownHostException).

## 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://EditorConfig.org with 1 occurrences migrated to:
  https://EditorConfig.org ([https](https://EditorConfig.org) result 200).
* [ ] http://docs.spring.io/spring-boot/docs/ with 1 occurrences migrated to:
  https://docs.spring.io/spring-boot/docs/ ([https](https://docs.spring.io/spring-boot/docs/) result 200).
* [ ] http://docs.spring.io/spring-boot/docs/current/reference/html/ with 1 occurrences migrated to:
  https://docs.spring.io/spring-boot/docs/current/reference/html/ ([https](https://docs.spring.io/spring-boot/docs/current/reference/html/) result 200).
* [ ] http://docs.spring.io/spring-cloud-task/docs/ with 2 occurrences migrated to:
  https://docs.spring.io/spring-cloud-task/docs/ ([https](https://docs.spring.io/spring-cloud-task/docs/) result 200).
* [ ] http://docs.spring.io/spring-security/site/docs/ with 1 occurrences migrated to:
  https://docs.spring.io/spring-security/site/docs/ ([https](https://docs.spring.io/spring-security/site/docs/) result 200).
* [ ] http://docs.spring.io/spring/docs/ with 2 occurrences migrated to:
  https://docs.spring.io/spring/docs/ ([https](https://docs.spring.io/spring/docs/) result 200).
* [ ] http://github.com/ with 3 occurrences migrated to:
  https://github.com/ ([https](https://github.com/) result 200).
* [ ] http://stackoverflow.com with 1 occurrences migrated to:
  https://stackoverflow.com ([https](https://stackoverflow.com) result 200).
* [ ] http://stackoverflow.com/tags/spring-cloud-task with 1 occurrences migrated to:
  https://stackoverflow.com/tags/spring-cloud-task ([https](https://stackoverflow.com/tags/spring-cloud-task) result 200).
* [ ] http://start.spring.io/ with 1 occurrences migrated to:
  https://start.spring.io/ ([https](https://start.spring.io/) result 200).
* [ ] http://ant.apache.org/manual with 1 occurrences migrated to:
  https://ant.apache.org/manual ([https](https://ant.apache.org/manual) result 301).
* [ ] http://contributor-covenant.org with 1 occurrences migrated to:
  https://contributor-covenant.org ([https](https://contributor-covenant.org) result 301).
* [ ] http://contributor-covenant.org/version/1/3/0/ with 1 occurrences migrated to:
  https://contributor-covenant.org/version/1/3/0/ ([https](https://contributor-covenant.org/version/1/3/0/) result 301).
* [ ] http://docs.spring.io/spring-amqp/docs/current/api/org/springframework/amqp with 1 occurrences migrated to:
  https://docs.spring.io/spring-amqp/docs/current/api/org/springframework/amqp ([https](https://docs.spring.io/spring-amqp/docs/current/api/org/springframework/amqp) result 301).
* [ ] http://docs.spring.io/spring-cloud-task/docs/current-SNAPSHOT/reference/html/ with 1 occurrences migrated to:
  https://docs.spring.io/spring-cloud-task/docs/current-SNAPSHOT/reference/html/ ([https](https://docs.spring.io/spring-cloud-task/docs/current-SNAPSHOT/reference/html/) result 301).
* [ ] http://docs.spring.io/spring-data/commons/docs/current/api/org/springframework/data with 1 occurrences migrated to:
  https://docs.spring.io/spring-data/commons/docs/current/api/org/springframework/data ([https](https://docs.spring.io/spring-data/commons/docs/current/api/org/springframework/data) result 301).
* [ ] http://docs.spring.io/spring-data/jpa/docs/current/api/org/springframework/data/jpa with 1 occurrences migrated to:
  https://docs.spring.io/spring-data/jpa/docs/current/api/org/springframework/data/jpa ([https](https://docs.spring.io/spring-data/jpa/docs/current/api/org/springframework/data/jpa) result 301).
* [ ] http://docs.spring.io/spring-data/mongodb/docs/current/api/org/springframework/data/mongodb with 1 occurrences migrated to:
  https://docs.spring.io/spring-data/mongodb/docs/current/api/org/springframework/data/mongodb ([https](https://docs.spring.io/spring-data/mongodb/docs/current/api/org/springframework/data/mongodb) result 301).
* [ ] http://docs.spring.io/spring-data/rest/docs/current/api/org/springframework/data/rest with 1 occurrences migrated to:
  https://docs.spring.io/spring-data/rest/docs/current/api/org/springframework/data/rest ([https](https://docs.spring.io/spring-data/rest/docs/current/api/org/springframework/data/rest) result 301).
* [ ] http://raw.github.com/ with 1 occurrences migrated to:
  https://raw.github.com/ ([https](https://raw.github.com/) result 301).
* [ ] http://www.gradle.org/docs/current/userguide with 1 occurrences migrated to:
  https://www.gradle.org/docs/current/userguide ([https](https://www.gradle.org/docs/current/userguide) result 301).

# Ignored
These URLs were intentionally ignored.

* http://docbook.org/ns/docbook with 4 occurrences
* http://docbook.sourceforge.net/xmlns/l10n/1.0 with 2 occurrences
* http://maven.apache.org/POM/4.0.0 with 1 occurrences
* http://www.w3.org/1999/XSL/Format with 2 occurrences
* http://www.w3.org/1999/XSL/Transform with 7 occurrences
* http://www.w3.org/1999/xlink with 1 occurrences
2019-03-20 16:10:18 -05:00
Spring Operator
505fd21ff9 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).

# HTTP URLs that Could Not Be Fixed
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.

* http://xslthl.sf.net (301) with 1 occurrences could not be migrated:
   ([https](https://xslthl.sf.net) result AnnotatedConnectException).

# 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://asciidoctor.org with 1 occurrences migrated to:
  https://asciidoctor.org ([https](https://asciidoctor.org) result 200).
* 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://sourceforge.net/projects/xslthl/ with 14 occurrences migrated to:
  https://sourceforge.net/projects/xslthl/ ([https](https://sourceforge.net/projects/xslthl/) result 200).
* http://www.w3.org/TR/CSS21/propidx.html with 1 occurrences migrated to:
  https://www.w3.org/TR/CSS21/propidx.html ([https](https://www.w3.org/TR/CSS21/propidx.html) 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-19 21:26:51 -05:00
Glenn Renfro
03d9a980e9 Cleanup from Checkstyle changes
resolves #511

* Sets the appropriate copyright dates
* Updates some docs
2019-02-13 12:21:14 -05:00
Marcin Grzejszczak
60f1e21d03 Added checkstyle 2019-02-03 19:27:07 +01:00
Glenn Renfro
b86fbee779 Update docs to discuss exit codes for failed annotated methods
resolves #497
2019-01-14 10:31:22 -06:00
Glenn Renfro
39a74253b6 closeContextEnable should be closeContextEnabled in docs 2019-01-11 10:24:05 -05:00
Michael Minella
da56c2b08e Polish 2018-12-05 16:53:20 -06:00
Glenn Renfro
2c1e696da2 Add documentation on when to resolve SCT delcared beans.
resolves #491
2018-12-05 16:53:12 -06: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
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
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
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
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
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
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
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
c4324b550d Docs updated dependency samples to use starter instead of core
resolves #362
2018-01-18 10:38:51 -06:00
Michael Minella
15acc0c756 Fixes documentation publication
This commit fixes the generation of the zip file used to autopublish the
documentation.  The previous version only included the HTML, epub, and
PDF files for the reference documentation.  However it was missing the
images and css for the HTML as well as all of the javadocs.  This commit
now fixes that so the javadoc as well as all the resources required for
the reference documentation is included in the zip file.

Resolves #327
2017-08-17 09:54:48 -05:00
Glenn Renfro
68307a9312 Updated deployer dependencies to 1.2.1.RELEASE
Also updated the docs
2017-06-27 10:16:10 -05:00
Glenn Renfro
606954dc07 Updating dependencies and doc versions 2017-04-24 14:43:04 -04:00
Glenn Renfro
0560899a6f Updated docs version to 1.2.0.RC1 2017-04-14 14:57:23 -04:00
David Turanski
a1cffe8bd4 Change closecontextEnable to closeContextEnabled
Added test

Updated to use the standard log library

resolves #217
2017-04-12 11:06:26 -04: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
Glenn Renfro
ad6ce32750 Update copyright to this year 2017-03-22 09:08:36 -04:00
Glenn Renfro
901b21cbe8 Add Note to TaskConfigurer Ref Doc
Reminds users to create their own TaskConfigurer implementation when the DefaultTaskConfigurer does not meet their needs.

resolves #272
2017-03-06 11:13:41 -06:00
Glenn Renfro
3819a418e5 Added docs on handling tests
resolves #281
2017-03-03 11:19:38 -06:00
Glenn Renfro
acaaad89f3 Adds support for Task Execution Parent Ids
resolves #261
2017-01-20 14:47:12 -06:00
Michael Minella
3d1ee18db3 Minor polish 2017-01-06 12:54:38 -06:00
Glenn Renfro
10bb457a5a Allows user to set table prefix via properties.
resolves #244
2017-01-06 12:54:30 -06: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
Gunnar Hillert
366cbaf213 Revert to Docboc
- Due to the lack of multipage Html support we need to revert to Docbook for the time being
- Revert "gh-246 Remove docbooks from asciidoctor infrastructure"
- This reverts commit 4ed50a6b31.
2016-11-21 05:46:18 -10:00
Gunnar Hillert
4ed50a6b31 gh-246 Remove docbooks from asciidoctor infrastructure
resolves #246

Removed javadoc build from parent pom.

It is now contained in the doc pom
2016-11-16 14:50:05 -05:00