Commit Graph

635 Commits

Author SHA1 Message Date
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
Glenn Renfro
cc247c1263 Removing DB2 based tests and dependencies 2022-06-02 17:32:04 -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
Glenn Renfro
73c1ae693c Uncomment tests for Single Step File writer 2022-06-01 16:49:24 -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
Eddú Meléndez
79a9a59e08 Replace getContainerIpAddress by getHost
`getContainerIpAddress` is deprecated.

Updated Test Container version
2022-05-25 09:38:27 -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
Glenn Renfro
abb95842f9 Updated test to tests to use Jackson2ExecutionContextStringSerializer
This is for batch tests
2022-05-17 19:33:38 -04:00
Glenn Renfro
5f42540168 Resolves test failures due to bean creation order
Resolves issues where beans will now be created in the correct order.
2022-05-17 15:16:46 -04:00
Glenn Renfro
23fb884e45 Updated code to support using WritableResource
resolves #842

Tests were temporarily commented out til Batch 4111 is resolved
2022-05-11 16:57:07 -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
6c052b0f34 Bumping versions 2022-04-01 00:17:41 +00: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
spencergibb
4beee44225 Renames property to spring-cloud-stream.version.
This allows the build/release process to replace the appropriate version with a milestone or release version number.
2022-03-31 17:26:35 -04:00
spencergibb
129925764b Renames property to spring-cloud-stream.version.
This allows the build/release process to replace the appropriate version with a milestone or release version number.
2022-03-31 17:15:29 -04:00
spencergibb
30b661daa1 Renames property to spring-cloud-commons.version.
This allows the build/release process to replace the appropriate version with a milestone or release version number.
2022-03-31 16:57:03 -04:00
buildmaster
c0287ec4bd Bumping versions 2022-03-26 00:16:01 +00:00
Glenn Renfro
9ad1287e94 Updated to SCD to 2.7.3 release 2022-03-25 13:37:55 -04:00
Glenn Renfro
ba09441861 Updated Spring cloud deployer to 2.7.3 2022-03-24 09:32:01 -04:00