Commit Graph

656 Commits

Author SHA1 Message Date
Glenn Renfro
25cf280f78 StartTime is now honored for TaskExecution
regardless if they were created before or during task execution.

resolves #861
2022-09-14 11:00:12 -04:00
Glenn Renfro
db7d7b96b6 Removed the getter for PlatformTransactionManager requirement 2022-09-14 08:33:48 -04:00
Glenn Renfro
30d6c63a23 Removed Job and Step Builder factories.
Now using builders directly
2022-09-13 18:39:24 -04:00
Glenn Renfro
f30ac7e5b3 Updated to handle ObservationConvention migration 2022-09-09 17:43:59 -04:00
Glenn Renfro
87632b3487 Updated readers and writers to set platform transaction
It is no longer provided by default by the job builder.

https://github.com/spring-projects/spring-batch/wiki/Spring-Batch-5.0-Migration-Guide#infrastructure-beans-configuration-with-enablebatchbatchprocessing
2022-09-08 19:15:55 -04:00
Glenn Renfro
02f4581f32 Updated to add versions to micrometer docs
Changed deployer to use 2.8 Snapshots
2022-09-06 19:06:32 -04:00
Glenn Renfro
3609e53751 Updated Observation code to use the updates offered by the Micrometer snapshot 2022-09-06 17:33:13 -04:00
Mahmoud Ben Hassine
e4581420b0 Allow users to select the transaction manager to use in TaskRepository
* Update `@Transactional` attribute to use `spring.cloud.task.transaction-manager` property
* Make `springCloudTaskTransactionManager` bean definition conditional on a missing property

Issue #769
2022-08-31 16:55:46 -04:00
Henning Poettker
85fd1fe319 Adjust SQL statement to allow added columns 2022-08-29 14:14:03 -04:00
Glenn Renfro
a90cd8c4e9 Updated versions for the M5 release 2022-08-29 11:51:39 -04:00
Glenn Renfro
1ff5bc9ec5 Updated to cleanup hints that are no longer necessary 2022-08-26 16:29:18 -04:00
Glenn Renfro
0879bff549 Updated target for AOT compilation 2022-08-25 21:49:23 -04:00
Glenn Renfro
e36696c44c Disabling Kafka test until Boot is using M5 of Batch 2022-08-19 14:24:48 -04:00
Glenn Renfro
9c3fccc741 For Native compilation getTaskRepository for SimpleTaskAC has to be narrowed
it has to be set to the specific SimpleTaskRepository
Removed proxy-target-class flag from demos.

Added comments for which hints can be removed
2022-08-18 11:20:56 -04:00
Glenn Renfro
35899e831e Removed the EPUB document creation 2022-08-16 19:28:31 -04:00
Glenn Renfro
cbdb81ac38 Removed Caching when creating sequences to enforce order
resolves #853
2022-08-15 17:55:36 -04:00
buildmaster
8862c03c5a Bumping versions 2022-08-10 00:17:47 +00:00
Glenn Renfro
3460d9d8d1 Updated to remove invalid javadoc 2022-08-04 11:26:44 -04:00
Glenn Renfro
82fcb25ac1 Introduction of hints for Spring Task
Updated to support timestamp demonstration of native task.

Remove experimental when appropriate for the hints and remove this `spring.aop.proxy-target-class=false` from
application.properties for timestamp demo

Updated versions to the latest boot snapshot.
2022-08-03 14:22:31 -04:00
Glenn Renfro
a58410cae4 Replace Factories with import files 2022-08-02 20:01:38 -04:00
Glenn Renfro
6243cfc3cb Update the batch dependency to snapshot until the next milestone of batch is released 2022-08-02 15:09:49 -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
Glenn Renfro
f5d412cf7b Updated to set the version for javadoc generation to 17 2022-08-02 11:30:32 -04:00
buildmaster
7d751f27da Going back to snapshots 2022-07-29 19:27:56 +00:00
buildmaster
00fcfb9552 Update SNAPSHOT to 3.0.0-M4 2022-07-29 19:24:20 +00: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
7085cbc735 Move Deployer back to M1 for Milestone release 2022-07-25 13:19:10 -04:00
Glenn Renfro
76a5d12136 Updated to files to fit the Standard. 2022-07-25 11:41:43 -04:00
Glenn Renfro
39908bb499 Updated to add support for Spring Java Format 2022-07-25 10:54:36 -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
buildmaster
ceb504b66c Bumping versions 2022-07-22 00:17:21 +00:00
Glenn Renfro
2445f79053 Updated versions getting ready for M4 release 2022-07-21 15:05:42 -04:00
Glenn Renfro
68c5bb926e Removed Observation Aware interfaces 2022-07-15 11:24:53 -04:00
Glenn Renfro
f5c2d2c429 Updated to use ObservationConventionAware instead of KeyValueAware 2022-07-12 16:03:17 -07:00
Glenn Renfro
7b50ff3707 Updated to remove hibernate dependency 2022-07-12 14:41:02 -07:00
Marcin Grzejszczak
18ffbdbaff Updated micrometer to the latest changes
Updated sample task metrics to include observation dependency
2022-07-08 10:53:30 -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
Glenn Renfro
362d73650b Batch Boot Runner only supports one job.
Needed to update TaskJobLauncher to support only one job.
Updated tests accordingly
Re-added Added tests removed from M3 release
2022-06-16 17:26:49 -04:00
buildmaster
aeff4b02e4 Going back to snapshots 2022-06-15 12:39:56 +00:00
buildmaster
890b37efe8 Update SNAPSHOT to 3.0.0-M3 2022-06-15 12:37:02 +00:00
Glenn Renfro
fefb7cc6ff Rolling back test change for this release
Due to updates in the latest Spring Boot these changes don't work in the old milestone
2022-06-15 08:23:32 -04:00
Glenn Renfro
c2dd779813 Disable Observability test till Boot includes ObservationConfiguration in Milestone 2022-06-15 07:59:48 -04:00
buildmaster
016f1b6dbc Bumping versions 2022-06-15 00:16:07 +00:00
Glenn Renfro
4bd7cbff8a Update test to handle new exception message. 2022-06-14 12:31:36 -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
2900127a70 Update versions for next milestone 2022-06-13 16:42:33 -04:00
Glenn Renfro
756d97d30b Need to Autoconfigure Observations 2022-06-10 17:28:56 -04:00