Commit Graph

677 Commits

Author SHA1 Message Date
Glenn Renfro
a0fda4bf6e Set Spring Cloud Task Date Strategy to match Batch
resolves #868
Signed-off-by: Glenn Renfro <grenfro@vmware.com>

Updated the timestamps for H2,oracle, db2, hsqldb to be 9 digits for improved accuracy
2022-10-18 14:20:57 -04:00
Glenn Renfro
cf8056880b Added jackson as a optional test dependency for integration tests 2022-10-13 15:01:34 -04:00
Glenn Renfro
01846cfc1e Remove Batch Hints as they are now in the batch project 2022-10-13 14:10:23 -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
4c5b88c338 Added hint for TaskExecution for stream processing
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
2022-10-12 13:20:45 -04:00
Glenn Renfro
61f69265a1 Updated Task to support LocalDateTime from Spring Batch 2022-10-12 11:44:02 -04:00
Glenn Renfro
6d52da0cd7 Updating micrometer docs 2022-10-11 19:12:27 -04:00
Glenn Renfro
002a565a15 Updated metrics docs so that they are configured properly
Updated micrometer doc plugin so it won't impact cloud doc gen
2022-10-11 09:16:29 -04:00
Glenn Renfro
2ef93291fc Updated Task to the latests snapshot of Micrometer
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>
2022-10-10 14:36:14 -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
buildmaster
704667d542 Going back to snapshots 2022-10-06 01:14:34 +00:00
buildmaster
b2a7985657 Update SNAPSHOT to 3.0.0-M5 2022-10-06 01:10:20 +00:00
Glenn Renfro
10dccb64ee Moving partition from snapshot to M2 2022-10-04 18:04:55 -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
b0525c72e5 Fixed errors from Javadocs 2022-09-30 08:45:29 -04:00
buildmaster
7bc49b67e1 Bumping versions 2022-09-30 00:16:13 +00:00
Glenn Renfro
af7f086059 Updated multiple sample so that it can be natively compiled 2022-09-27 12:29:56 -05:00
Glenn Renfro
53ed45051d Updated to remove snapshot version from brave.
It had been added for tests and was not removed as a part of the cleanup
2022-09-27 10:15:38 -05:00
Glenn Renfro
07a3996b69 Updated to include deployer auto configure
Updated dependencies for release
2022-09-22 13:02:26 -04:00
Glenn Renfro
b46278be5d Removed BatchConfigurer and @EnableBatchProcessing from tests and samples
TaskJobLauncherApplicationRunnerTests updated

Signed-off-by: Glenn Renfro <grenfro@vmware.com>

Updated Integration tests

Updated Tests for samples
2022-09-21 14:44:50 -04:00
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