Commit Graph

250 Commits

Author SHA1 Message Date
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
76a5d12136 Updated to files to fit the Standard. 2022-07-25 11:41:43 -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
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
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
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
Glenn Renfro
4bd7cbff8a Update test to handle new exception message. 2022-06-14 12:31:36 -04:00
Glenn Renfro
756d97d30b Need to Autoconfigure Observations 2022-06-10 17:28:56 -04: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
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
1284c80c5e Updated to set the proper PlatformTransactionManager for Single-Task
Spring integration's DefaultLockRepository requires a TransactionManager.
However it assumes that only one is available.   Since task can have more than one, we are allowed to tell SI which one to use
2022-05-20 16:50:08 -04:00
Tyler Carpenter-Rivers
fc89e23144 resolves https://github.com/spring-cloud/spring-cloud-task/issues/780
update db2 'between' logic to be exclusive

Signed-off-by: Ryan DCruz <rd@enfuse.io>

use .acceptLicense() instead of the classpath file

checkstyle

add test to verify a result set that's smaller than requested page size

cleanup
2022-05-02 16:33:10 -04:00
Glenn Renfro
62cccc2727 Rename Oracle ddl script name to be accurate.
Original schema name for oracle was schema-oracle10g.sql which was inaccurate.   It should just be schema-oracle.sql.
2022-04-27 16:00:06 -04:00
buildmaster
19e846fb8d Going back to snapshots 2022-03-31 21:41:02 +00:00
buildmaster
9a7e956dca Update SNAPSHOT to 3.0.0-M2 2022-03-31 21:37:59 +00:00
Henning Poettker
709618db1d Add default methods in TaskExecutionListener 2022-03-21 10:32:53 -04:00
Glenn Renfro
397ac4d026 Updating javax packaging to jakarta 2022-03-21 10:26:04 -04:00
Glenn Renfro
300c767710 Update Task to resolve Micromenter 2.0.x upgrade issue.
This will resolve the current issue, but improvements to Task's use of Micrometer 2.0 are coming in a upcoming PR
2022-03-07 14:14:26 -05:00
buildmaster
721409e44e Going back to snapshots 2022-01-27 21:36:59 +00:00
buildmaster
11e2fe1d20 Update SNAPSHOT to 3.0.0-M1 2022-01-27 21:33:59 +00:00
Glenn Renfro
6dc83b8abe Replaced increment table with sequnce for sqlserver
resolves #781
2022-01-19 13:37:16 -05:00
Glenn Renfro
c353d68396 Boot updated bom to use batch 5.x
Updated code to remove new deprecations
Updated code to fix compilation errors.
Updated code to add new bits for tests
2022-01-18 14:30:20 -05:00
Glenn Renfro
02b44227d4 Updated project to use Spring Boot 3.0
Resolves issues:
TASK-810
TASK-812
TASK-813
2022-01-13 20:11:55 -05:00
Henning Poettker
a95b420315 Use strict H2 query syntax for paging query provider
Simplify tests a bit

Updated to snapshot dependencies

Updated test and to set the version of h2 to us boot bom.
2022-01-10 14:04:47 -05:00
Glenn Renfro
449595a4b2 Updated base project to 3.x 2022-01-03 14:08:58 -05:00
buildmaster
78d51438e9 Bumping versions to 2.4.1-SNAPSHOT after release 2021-12-01 18:17:24 +00:00
buildmaster
385cc836c4 Going back to snapshots 2021-12-01 18:17:23 +00:00
buildmaster
2b3a0b56e5 Update SNAPSHOT to 2.4.0 2021-12-01 18:13:34 +00:00
buildmaster
b239094e0d Going back to snapshots 2021-11-03 11:13:50 +00:00
buildmaster
dd3bad7f92 Update SNAPSHOT to 2.4.0-RC1 2021-11-03 11:10:55 +00:00
buildmaster
6752679673 Going back to snapshots 2021-10-20 02:01:36 +00:00
buildmaster
394c803de4 Update SNAPSHOT to 2.4.0-M3 2021-10-20 01:58:29 +00:00
buildmaster
803e6eeb31 Going back to snapshots 2021-10-01 19:22:30 +00:00
buildmaster
798f976f7c Update SNAPSHOT to 2.4.0-M2 2021-10-01 19:19:37 +00:00
Glenn Renfro
3102aa0265 Update so that it can be natively compiled by Spring Native 0.11 2021-09-27 11:28:05 -04:00
Işık Erhan
8b4352095d Support multiple task listener beans of same type 2021-08-15 18:23:17 +03:00
buildmaster
6183b90013 Going back to snapshots 2021-07-30 17:52:56 +00:00
buildmaster
66f7d6a8b6 Update SNAPSHOT to 2.4.0-M1 2021-07-30 17:50:07 +00:00
Michael Minella
ddb0675b17 Updated version to 2.4 2021-07-27 16:22:21 -05:00
Henning Pöttker
723fa1353a Mark TaskRepositoryInitializer as not lazy 2021-06-28 14:37:57 -04:00
buildmaster
e6f41aeebc Bumping versions 2021-06-10 09:22:08 +00:00
buildmaster
9d9cc79b01 Bumping versions to 2.3.4-SNAPSHOT after release 2021-06-09 15:44:34 +00:00