The streamBridge is not included in Spring Cloud Stream AOT processing, and thus when Jackson parsing uses reflection it can't find TaskExecution
So TaskExecution needed to be added for task-events
Updated to handle the batch changes
Removing aot execution from sample apps
Remove snapshot version and rely on bom
Signed-off-by: Glenn Renfro <grenfro@vmware.com>
* Update `@Transactional` attribute to use `spring.cloud.task.transaction-manager` property
* Make `springCloudTaskTransactionManager` bean definition conditional on a missing property
Issue #769
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.
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
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
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
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
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
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
This commit now validates that the value passed via a PageRequest to
sort the results by is a valid value.
Resolves#739
Fixed to allow for all letter cases
Ensure that Task's org.springframework.cloud.task.configurationorg.springframework.cloud.task.configuration.MetricsAutoConfiguration is configured Before org.springframework.boot.actuate.autoconfigure.metrics.MetricsAutoConfiguration (that in turn is configured Before the CompositeMeterRegistryAutoConfiguration).
Resolves#691
Before this commit, Spring Cloud Task did not correctly configure the
provided PlatformTransactionManager with the TaskRepository. This
commit addressis this bug.
Resolves#652
Polished PR on Merge
In short the Oracle CHAR type is blank padded to the end of the field. So we were not getting an exact match on queries when looking for the LOCK_KEY or CLIENT_ID