Commit Graph

2751 Commits

Author SHA1 Message Date
Mark Paluch
ccdfcf2e45 Upgrade to Maven Wrapper 3.9.2.
See #2606
2023-06-13 08:55:09 +02:00
John Blum
2cf2d0620f Delombok all test source code.
Closes #2600
2023-06-12 18:02:11 -07:00
John Blum
f8a9fdf372 Polish.
* Cleanup source code in Jackson2HashMapper; Edit Javadoc.
* Add test cases for the un/flattened mapping of an Object with a timestamp (LocalDateTime) as provided by the user in Issue #2593.

Closes #2593
2023-06-12 13:35:43 -07:00
Christoph Strobl
637964eed8 Fix Jackson (hash) mapping for BigDecimal/BigInteger scalar values and Java Time types.
Once again, the SD Redis Jackson2HashMapper can now de/serialize Objects with BigDecimal/BigInteger values along with java.time types, such as java.time.LocalDateTime.

Additionally, splits the unit tests for flattening and unflattening of the hash mapping into 2 separate test classes to be picked up in the SD Redis test suite.

Resolves #2593
2023-06-12 13:35:37 -07:00
John Blum
770fbac670 Review and polish for confiuring a cache lock TTL.
Closes #2300
Pull request: #2597.
2023-06-12 13:02:15 -07:00
Mark Paluch
9aa2eb4b02 Allow configuration of cache lock TTL.
RedisCacheWriter now can now issue locks that expire using TtlFunction to prevent eternal locks.

Closes #2300
Pull request: #2597
2023-06-12 12:38:51 -07:00
Mark Paluch
14571a5569 Polishing.
Reformat code. Fix typo.

See #2591
Original pull request: #2592
2023-06-08 16:21:10 -07:00
Yanming Zhou
734a359e6a Construct LettuceObservationContext with parent observation
After this commit, LettuceObservationContext.setParentObservation() is called right after Context rather than Observation created, then Context.getParentObservation() could be used in ObservationPredicate to determine whether Observation should be created.

Fixes #2591
Original pull request: #2592
2023-06-08 16:21:05 -07:00
Mark Paluch
a3cb205060 Fix ZAddArgs.isEmpty.
isEmpty now returns true if empty. Previously, the boolean returns were flipped.

Closes #2588
2023-06-08 16:21:00 -07:00
vuhp
a53385c59b Change reference from Redis in redis.adoc to Spring Data Redis.
Closes #2590
2023-06-08 16:20:55 -07:00
Mark Paluch
40b26137ab Use snapshot and milestone repositories instead of libs-snapshot and libs-milestone.
Closes #2595
2023-06-08 16:20:49 -07:00
Mark Paluch
3ba75d2aad Use OBJECT, PTTL, and RESTORE JedisCluster methods directly.
We now use directly JedisCluster methods instead of using our command executor routing as JedisCluster exposes the methods and we no longer require our own command routing.

Closes #2589
2023-06-08 16:20:42 -07:00
John Blum
050beebc74 Edit and cleanup Javadoc.
Resolves #2586
2023-05-23 11:03:46 -07:00
John Blum
2246a98a93 Polish.
Additionally, refactors and cleans up the Redis cache extension and infrastructure.

Closes #2583
2023-05-18 17:14:41 -07:00
Yanming Zhou
9f98f0d5fa Improve RedisCacheManagerBuilder to expose applied RedisCacheConfiguration.
Now it is possible to construct a new, custom default RedisCacheConfiguration from an existing, default RedisCacheConfiguration.

This is useful in a Spring Boot context using the RedisCacheManagerBuilderCustomizer and acquiring access to the default RedisCacheConfiguration, which likely originated from Spring Boot Redis CacheProperties.

Resolves #2583
2023-05-18 17:13:54 -07:00
Christoph Strobl
21450a953b After release cleanups.
See #2559
2023-05-12 14:18:54 +02:00
Christoph Strobl
c97b22ed2c Prepare next development iteration.
See #2559
2023-05-12 14:18:52 +02:00
Christoph Strobl
49ecf1c49d Release version 3.1 GA (2023.0.0).
See #2559
2023-05-12 14:14:39 +02:00
Christoph Strobl
5b65e1ee5f Prepare 3.1 GA (2023.0.0).
See #2559
2023-05-12 14:14:08 +02:00
Mark Paluch
ed2c9c1ecc Polishing.
Widen test assertions to avoid double rounding errors failing the test.

See #2575
2023-05-11 11:19:46 +02:00
Mark Paluch
5e8f73a00a Make LettuceObservationContext public to use it with Observation Predicates.
Close #2550
2023-05-09 15:13:33 +02:00
Mark Paluch
5e2b668dcc Refactor Lettuce connection handling in integration tests.
Reuse condition objects in command and version condition extensions.

Shut down ClientResources via ShutdownQueue and ensure shared client resources usage.

Add close support to our MethodArgumentsProvider. Reuse LettuceTestClientConfiguration for test client config settings.

Closes #2575
2023-05-09 15:07:08 +02:00
Mark Paluch
8c9af9d46a Polishing.
Delegate RedisClientProvider.getClient() across connection providers. Use SimpleAsyncTaskExecutor as default in ClusterCommandExecutor to avoid ThreadPoolTaskExecutor pollution.

See #2575
2023-05-09 15:04:51 +02:00
Mark Paluch
aadfae62a4 Pass Page.size() to GEORADIUS COUNT.
We now reuse the page size to initially limit Geo results within Redis.

Closes #1242
2023-05-08 14:11:02 +02:00
John Blum
a147385431 Fix element ordering issue on a mapped de/serialized entity having List property.
Closes #2565
2023-05-07 11:49:18 -07:00
John Blum
dd759661a7 Upgrade to XStream 1.4.20.
Closes #2573
2023-05-05 10:54:26 -07:00
Wonchul Heo
c7f51a2073 Fix typo.
Original pull request #2567
2023-05-03 10:48:18 +02:00
Mark Paluch
56c633c3a9 Fix BoundingBox.width return value.
We now return the correct value.

Closes #2526
2023-04-24 14:45:55 +02:00
remeio
2692aafc63 Tweak Javadoc wording of mergeArrays.
Closes #2558
2023-04-24 14:11:56 +02:00
Mark Paluch
700491fd2c Upgrade to Lettuce 6.2.4.RELEASE.
Closes #2560
2023-04-18 12:17:12 +02:00
Greg L. Turnquist
8077818c71 After release cleanups.
See #2531
2023-04-14 12:00:04 -05:00
Greg L. Turnquist
0605a41258 Prepare next development iteration.
See #2531
2023-04-14 11:59:58 -05:00
Greg L. Turnquist
c86cd84f70 Release version 3.1 RC1 (2023.0.0).
See #2531
2023-04-14 11:54:01 -05:00
Greg L. Turnquist
3a0759dbbd Prepare 3.1 RC1 (2023.0.0).
See #2531
2023-04-14 11:53:23 -05:00
Mark Paluch
e6373c597e Upgrade to Jedis 4.3.2.
Closes #2540
2023-04-06 16:47:28 +02:00
Mark Paluch
e85104a765 Upgrade to Maven Wrapper 3.9.1.
See #2541
2023-04-06 16:16:34 +02:00
Greg L. Turnquist
8a8f518888 Polishing.
See #2536
2023-04-04 10:25:25 -05:00
John Blum
2e5fae4aac Test with Java 20 in CI.
See #2536
2023-04-03 15:20:00 -07:00
Alexander Münch
6316609fbf Fix Javadoc in RedisCacheConfiguration.
The prefixCacheNameWith() method returns a new instance, not `this`.

Closes #2539
2023-04-03 07:41:58 -07:00
1993heqiang
5a39b3564e Format example code in 'Publishing (Sending Messages)' section of ref doc.
Closed #2533
2023-03-28 17:11:39 -07:00
Greg L. Turnquist
d55e93bb81 Update CI properties.
See #2531
2023-03-28 13:58:21 -05:00
Christoph Strobl
1cd54a8da8 After release cleanups.
See #2510
2023-03-20 15:05:35 +01:00
Christoph Strobl
01422fc9b3 Prepare next development iteration.
See #2510
2023-03-20 15:05:34 +01:00
Christoph Strobl
45e12c4bc8 Release version 3.1 M3 (2023.0.0).
See #2510
2023-03-20 15:01:48 +01:00
Christoph Strobl
4b685496ae Prepare 3.1 M3 (2023.0.0).
See #2510
2023-03-20 15:01:20 +01:00
Mark Paluch
81f896693f Fix documentation for MessageListenerAdapter Java config.
Closes #2524
2023-03-14 08:55:24 +01:00
John Blum
7e1746cc2a Polish.
Closes #2466

See #2465
2023-03-02 19:13:08 -08:00
Marcin Zielinski
992905360b Add support for XCLAIM in StreamOperations
Closes #2465
2023-03-02 19:13:02 -08:00
Mark Paluch
a39b8b6953 Upgrade to Maven Wrapper 3.9.0.
See #2512
2023-02-20 11:58:17 +01:00
Christoph Strobl
f1f5f8da25 After release cleanups.
See #2509
2023-02-17 14:25:48 +01:00