Mahmoud Ben Hassine
f4e9eea4e4
Release version 5.1.0-M2
2023-08-23 18:32:16 -07:00
Mahmoud Ben Hassine
d009c839bf
Prepare release 5.1.0-M2
2023-08-23 15:47:54 -07:00
Mahmoud Ben Hassine
24253e762b
Update the what's new section
2023-08-23 15:46:59 -07:00
Mahmoud Ben Hassine
63ae725559
Update release workflow
2023-08-23 10:10:41 -07:00
Taeik Lim
99e8d58c13
Prevent race condition when flow transition is not initialized
...
Resolves #4092
2023-08-22 15:43:36 -07:00
Santiago Molano
5e515473de
Add getters for collection and mode in MongoItemWriter
...
Resolves #3973
2023-08-22 12:10:27 -07:00
Mahmoud Ben Hassine
83b2a2adf9
Refine contribution #4351
...
- Rename methods to match operation names
- Update Javadocs
- Fix code formatting
Issue #4149
2023-08-22 15:49:14 +02:00
Claiton Grings
34e3e0e152
Add support for bulk inserts in MongoItemWriter
...
This commit adds support for bulk inserts in the
MongoItemWriter. It introduces a new enumeration
to allow the user to choose the operation to apply
to items (INSERT, UPSERT, DELETE).
Resolves #4149
2023-08-22 15:24:58 +02:00
Mahmoud Ben Hassine
d84057c2b1
Refine contribution #4323
...
- Update parameter types
- Update tests
- Update Javadocs
- Fix code formatting
2023-08-22 10:00:49 +02:00
LEE Juchan
b1039004bf
Add cursor-based ItemReader for MongoDB
...
Issue #4323
2023-08-22 08:48:50 +02:00
Mahmoud Ben Hassine
6a93f6e696
Rename MongoItemReader to MongoPagingItemReader
...
Resolves #4341
2023-08-22 08:38:19 +02:00
Mahmoud Ben Hassine
e6c27273fa
Deprecate job repository setter in Job/Step builders
...
Resolves #4326
2023-08-03 11:53:48 +02:00
Mahmoud Ben Hassine
9323b27d6a
Update trusted classes in Jackson2ExecutionContextStringSerializer
...
Resolves #4407
2023-08-03 11:32:03 +02:00
Mahmoud Ben Hassine
a5b7b14af8
Add branch 5.0.x to the CI/CD workflow
2023-08-03 10:18:57 +02:00
Shaoqiang Lu
1add2830f5
Auto-detect the class/interface to be mocked
...
Issue #4426
2023-08-03 09:51:59 +02:00
Mahmoud Ben Hassine
008e93a570
Upgrade Spring dependencies to latest snapshots
2023-08-03 09:41:59 +02:00
Mahmoud Ben Hassine
caa451551f
Next development version
2023-07-19 11:14:48 +02:00
Mahmoud Ben Hassine
b874b794c8
Release version 5.1.0-M1
2023-07-19 11:14:01 +02:00
Mahmoud Ben Hassine
b89d127833
Add spring-milestones to settings.xml
2023-07-19 11:05:21 +02:00
Mahmoud Ben Hassine
6d640134dc
Update "What's New in Spring Batch" section
2023-07-19 10:42:30 +02:00
Mahmoud Ben Hassine
f8a33df2ce
Prepare release 5.1.0-M1
2023-07-19 08:49:21 +02:00
Mahmoud Ben Hassine
f245593726
Add synchronized decorators for non-stream item readers/writers
...
Resolves #4368
2023-07-19 08:04:45 +02:00
Shaoqiang Lu
14b6c66543
Replace Charset.defaultCharset() with StandardCharsets.UTF_8 in tests
...
Resolves #4417
2023-07-18 18:12:52 +02:00
Mahmoud Ben Hassine
85196328ed
Make getCurrentItemCount public in AbstractItemCountingItemStreamItemReader
...
Resolves #1639
2023-07-18 17:39:54 +02:00
Stefano Cordio
aaa0aee44f
Fix typo in SimpleMailMessageItemWriter Javadoc
2023-07-18 13:37:50 +02:00
Taeik Lim
7a5129647a
Add setter for ObservationConvention in Job/Step builders
...
Signed-off-by: Taeik Lim <sibera21@gmail.com >
Resolves #4401
2023-07-18 12:35:59 +02:00
Mahmoud Ben Hassine
6fa4e45356
Refine contribution #4376
...
* Rename variable
* Update Javadocs
* Update tests
Related to #804
2023-07-18 12:21:48 +02:00
jinwoo-Bae
34eda1fb0d
Add option to clear the persistence context in JpaItemWriter
...
Resolves #804
2023-07-18 11:57:14 +02:00
Henning Poettker
58a4134c32
Explicit handling of nested splits in SplitState
...
Resolves #3857
2023-07-18 10:13:11 +02:00
Mahmoud Ben Hassine
5e849c6c95
Document the type and name of the surrounding job in JobLauncherTestUtils#launchStep
...
Resolves #3825
2023-07-17 11:08:38 +02:00
BigLee
37fb3f9492
Update migration-h2.sql script to use ALTER instead of MODIFY
...
Resolves #4390
2023-07-17 10:37:05 +02:00
Kim Seon Woo
1c4822313a
Fix javadoc of SimpleStepBuilder
...
Resolves #4402
Author: Seon Woo Kim <seronwoo960000.kim@gmail.com >
2023-07-17 09:49:11 +02:00
Pranav Jandu
384b8a095c
Update SQLServer DDL script to drop sequences instead of tables
...
Resolves #4373
2023-07-17 09:33:31 +02:00
Mahmoud Ben Hassine
5bccfed523
Replace synchronized blocks and methods with locks
...
This commit replaces synchronized blocks and methods
that are used frequently or that guard blocking I/O
operations with locks. This is required to prevent
virtual threads pinning, as explained in JEP 444 [1].
Note that synchronized blocks and methods that are used
infrequently (like AutomaticJobRegistrar#start/stop) or
that guard in-memory operations were not replaced as this
is not required, see JEP 444 [1].
Resolves to #4399
---
[1]: https://openjdk.org/jeps/444
2023-07-15 08:18:07 +02:00
Mahmoud Ben Hassine
05168089f1
Add test suite for virtual threads support
...
Related to #4399
2023-07-14 23:53:20 +02:00
Mahmoud Ben Hassine
fe479fbb11
Update dependencies
2023-07-13 00:22:35 +02:00
Mahmoud Ben Hassine
52064c0541
Code cleanup
...
- Inline variables
- Remove unused variables
- Remove redundant array creation
- Remove redundant `@SuppressWarnings`
- Remove unnecessary exceptions from throws list
- Remove redundant initializers
- Use List.subList().clear() where appropriate
- Use try-with-resources where needed
- Use pattern variables where appropriate
2023-07-12 23:25:18 +02:00
Mahmoud Ben Hassine
4763480c57
Fix compiler warnings
...
- Add `@Nullable` where needed
- Suppress warnings where appropriate
- Add generic type definitions
2023-07-12 20:55:18 +02:00
Mahmoud Ben Hassine
f4c663c452
Fix JobLaunchingGatewayParserTests
...
The default value of sendTimeout in MessagingTemplate
was changed from -1 to 30000 in SI 6.1
Related to https://github.com/spring-projects/spring-integration/pull/8580
2023-07-06 12:05:16 +02:00
Mahmoud Ben Hassine
2ba3785adc
Upgrade Spring dependencies to latest snapshots
2023-07-06 10:07:45 +02:00
Mahmoud Ben Hassine
d937a61603
Upgrade version to 5.1.0-SNAPSHOT
2023-07-06 09:35:22 +02:00
Mahmoud Ben Hassine
f82c16b825
Fix javadoc errors and warnings
...
Resolves #1624
2023-07-06 06:46:26 +02:00
Mahmoud Ben Hassine
060c96f01f
Move KafkaItemReader integration tests to a separate class
...
Tests requiring a kafka broker should be part of the
integration tests suite, not the unit tests suite.
2023-07-05 08:54:11 +02:00
Mahmoud Ben Hassine
d6904ba43b
Add/Update deprecation notice
2023-07-05 08:37:01 +02:00
Mahmoud Ben Hassine
c1ef2c0fe5
Remove unnecessary default branch for enum in switch statement
2023-07-05 08:03:49 +02:00
Mahmoud Ben Hassine
a68c444092
Remove unused imports
2023-07-05 08:03:49 +02:00
Mahmoud Ben Hassine
efdb59e570
Replace hardcoded charsets with StandardCharsets
2023-07-05 08:03:48 +02:00
Mahmoud Ben Hassine
f0137bc54c
Remove redundant modifiers
2023-07-05 08:03:48 +02:00
Mahmoud Ben Hassine
0a1cdb095f
Mark fields as final where appropriate
2023-07-05 08:03:48 +02:00
Mahmoud Ben Hassine
241e37e672
Remove concatenation with empty string
2023-07-05 08:03:47 +02:00