36 Commits

Author SHA1 Message Date
Marcin Grzejszczak
9b4d7f09c1 Spring Cloud Task generates documentation for Antora infra
Migrate Structure

Insert explicit ids for headers

Remove unnecessary asciidoc attributes

Copy default antora files

Fix indentation for all pages

Generate a default navigation

Remove includes

Fix cross references

Enable Section Summary TOC for small pages

WIP

Nav.adoc now represents a list of navigation properties

Warning and errors are now resolved.
Observability docs now present in navigation bar and properly visible

Index.adoc contains preface information .

Nav.adoc contains proper ordering for appendix information
2023-09-11 08:20:34 -04:00
Ben Rankin (@UvixCreative)
4841f07fde Removed line referring to epub documentation. Fixes #909
Signed-off-by: Ben Rankin (@UvixCreative) <benrankin4000@gmail.com>
2023-08-21 22:34:47 -07:00
buildmaster
a4dee5647e Bumping versions 2023-03-21 00:16:00 +00:00
Glenn Renfro
4feaca28bf Docs discussing difference between SCT and spring.task propeties
User reported via this issue that the similar naming struction of these features was confusing.
Added docs to address this.

resolves #891
2023-02-21 14:07:22 -05:00
buildmaster
2b31713545 Bumping versions 2022-11-22 00:16:44 +00:00
Glenn Renfro
501d75681b Deprecating the CommandLineRunnerOrder renaming it to ApplicaitonRunnerOrder
This is to reflect the foundation class of CommandLineRunner which is ApplicationRunner
2022-11-21 08:42:45 -05:00
Henning Poettker
b8f5b0a1dc Remove bean post processor warning 2022-11-20 19:15:22 +01:00
Glenn Renfro
3069f3806c Docs updated to reflect 3.0.x boot and task 2022-11-15 09:48:29 -05:00
Glenn Renfro
f13c75cbb8 readded htmlsingle. 2022-10-26 09:56:00 -04:00
Glenn Renfro
31f3c36a06 Removed unneeded docs for observation tags. Already provided by micrometer doc generator 2022-10-12 20:20:14 -04:00
Glenn Renfro
6d52da0cd7 Updating micrometer docs 2022-10-11 19:12:27 -04:00
Glenn Renfro
b7b7de5337 Updated readmes to improve copy pastability
Also added instructions for native compilation for those apps that it is useful

Added documentation for native compilation when using Single Step Batch Processing

Updated documentaiton for native compilation for single app processing
2022-10-07 14:29:05 -04:00
Glenn Renfro
e46b149136 Update docs on how task_name is set for a task app 2022-10-04 16:17:40 -04:00
Glenn Renfro
27c6f9f30d Added documentation for natively using Single Instance Enabled 2022-10-04 14:27:46 -04:00
Glenn Renfro
0879bff549 Updated target for AOT compilation 2022-08-25 21:49:23 -04:00
Glenn Renfro
91b2a8aa76 Removed htmlsingle as it is already represented under the standard html.
Updated copyright dates as well
2022-08-02 14:08:33 -04:00
Mahmoud Ben Hassine
26c9d43c0b Change default transaction manager type to JdbcTransactionManager
This commits changes the type of the transaction manager
from `DataSourceTransactionManager` to `JdbcTransactionManager`
in the default configuration of `@EnableTask`.

The `JdbcTransactionManager` adds common JDBC exception translation
which is beneficial for Spring Cloud Task to improve exception
handling and error reporting.

Polishing
2022-07-25 13:50:59 -04:00
Glenn Renfro
2f0f78a2c8 Updating task metrics to micrometer 1.10
Changes include:
* Use Observable instead of metrics
* Update the setting of lowCardinalityTag to the correct events.
* Update the docs
* Remove EXTERNAL_EXECUTION_ID
* Utilize registry provided by boot instead of globalregistry
* Set the handler until Boot does this as shown on line 80 of TaskLifecycleConfiguration.
* Uses Observability long task timer

Updated to latest changes in Micrometer Observability

Updated based on code review and api change

Finished removing the metrics registry

Updated based on code review

Readded cloud foundry keys to observations

Renamed metrics to observations where applicable

Updated metric sample to be observation sample

Updated to set defaults and migrate tests to infrastructure

Updated based on code review

Remove duplicate keyvalues from task observation

Added DocumentedObservation to create the observation
Migrated code to use the LowerCardinality KeyNames from the DocumentedObservation
Test cleanup
Updated code based on code review

Exception is handled by the error in the observation vs logging it as a task metric key value

Updated to use ObservationConvention

Updated to handle user defined convention vs default

Removed the snapshot versions of observations

Removed unnecessary dependencies

Checkpoint tests fail after re-adding 1.10-SNAPSHOT

Replaced TimeObservationHandler with DefaultMeterObservationHandler

Updated to set micrometer to latest milestone

Updated to rename TaskValuesProvider variables to ObservationConvention
2022-07-22 17:24:08 -04:00
Glenn Renfro
5b9ffcc327 Introduce AOT to base projects of Spring Cloud Stream Samples 2022-06-30 17:01:42 -04:00
Glenn Renfro
6029b47592 Users can specify different datasources for the jdbc-item reader and or jdbc-item writer
Users can specify a unique data source for the JdbcCursorItemReader and or writer instead of using the default datasource.
If a jdbc-item-reader or jdbc-item-writer data source is not specified the default will be used by the reader or writer.

Updated docs

Updated readme docs
2022-06-30 12:44:28 -04:00
buildmaster
0e56642c53 Bumping versions 2022-06-30 00:15:29 +00:00
Glenn Renfro
2a4a066f5f Support asynchronous launch of partitions.
Resolves #785

Updated to allow user to set ThreadPoolTaskExecutor.

updated based on code review
2022-06-28 14:46:57 -04:00
Marcin Grzejszczak
7a3f0c70c9 Observability metadata docs conditionally available
we will enable the metadata documentation only if we're NOT in the release train documentation
2022-06-14 14:21:12 +02:00
Glenn Renfro
38323952ca Added Samples and Documentation for metrics
Updated documentation and sample

Updated the test to use original metrics definition
2022-06-02 16:46:09 -04:00
Glenn Renfro
f8bd78b466 Updated the _observability.adoc to fix an invalid path 2022-05-31 18:35:57 -04:00
Marcin Grzejszczak
3817fe14e7 Support Observations for CommandLineRunner and ApplicationRunner
First pass on observation

Added automatic docs generation

Renamed Observed -> Observation

Fixed copyright dates

Removed execution task listener - it makes runner spans share the same trace id

Updated version for micrometer docs to milestone
2022-05-31 16:31:22 -04:00
Glenn Renfro
45d7662fbc Updating documentation for 3.x release
Updated versions and links in docs

* Set the baseline to Java 17
* Update links

resolves #814
2022-01-18 16:00:54 -05:00
buildmaster
930d21fae3 Bumping versions 2022-01-15 09:26:22 +00:00
Glenn Renfro
1d7b4865c4 Updated docs 2022-01-03 14:08:58 -05:00
Glenn Renfro
7870b41107 Added Version Number to reference docs 2021-11-15 11:50:00 -05:00
Glenn Renfro
fb5d4b6573 SingleStepBatch Job can be used with spring-cloud-task-stream
resolves #799

Added config to reduce testcontainer logging

Updated to use task starter
2021-10-21 16:47:21 -04:00
Simran Gupta
dc1c8e5d66 Fixed issue #805
Misspelling of itemWriter corrected
2021-10-08 10:05:16 -04:00
spencergibb
94056c750a migrates from symlinks to includes 2021-07-30 12:45:46 -04:00
Glenn Renfro
17415eaed5 Updating task execution id next val to use sequence for sqlserver
resolves TASK-782

Updated PR to resolve issue when no task tables exist

Updated PR based on review comments.
This does not include updated tests.
This resolves a problem where task would fail because the incrementer selection occured before the tables were created.

Added unit test for SqlServerSequenceIncrementer

updated based on code review
2021-05-28 18:09:35 -04:00
Ryan Baxter
d6bb43e359 Refactor documentation for release train docs 2021-03-18 12:38:33 -04:00
Marcin Grzejszczak
d2ba4687dd WIP
apidocs & epub
2021-02-11 09:28:53 -05:00