Commit Graph

2908 Commits

Author SHA1 Message Date
李潇
8a0686d733 Use correct distance unit for repository query method documentation.
Closes #2823
2024-01-08 08:58:13 +01:00
Mark Paluch
6e876e2ca7 Extend license header copyright years to 2024.
See #2820
2024-01-02 13:54:46 +01:00
Mark Paluch
1fc2324631 After release cleanups.
See #2777
2023-12-15 14:15:21 +01:00
Mark Paluch
9431037b46 Prepare next development iteration.
See #2777
2023-12-15 14:15:19 +01:00
Mark Paluch
0a4d85afa1 Release version 3.2.1 (2023.1.1).
See #2777
2023-12-15 14:11:52 +01:00
Mark Paluch
16d8143c7e Prepare 3.2.1 (2023.1.1).
See #2777
2023-12-15 14:11:23 +01:00
Mark Paluch
13f87a2332 Differentiate between initial exception handling, recovery and recovery after subscription.
We now differentiate exception handling regarding the recovery state. Initial listen fails if the connection is unavailable. Upon recovery after a preceeding subscription we now log the success to create a counterpart to our error logging.

Closes: #2782
Original Pull Request: #2808
2023-12-15 11:13:01 +01:00
hyeonzix
b36ac3ea2a Update referencedocs url in README.
fix reference document link

See #2786
2023-12-14 08:54:17 +01:00
Mark Paluch
ad1cc566d8 Update CI properties.
See #2777
2023-12-14 08:49:55 +01:00
Mark Paluch
e94974dd4b Polishing.
Reformat code.

Original Pull Request: #2785
2023-12-14 08:35:44 +01:00
Mark Paluch
f9a660c7ff Expose ValueWrapper to differentiate between cached null values and absent cache mapping.
We now use ValueWrapper to differentiate in the async API between cache misses and cached null values.

Closes: #2783
Original Pull Request: #2785
2023-12-14 08:35:44 +01:00
Mark Paluch
f31a60454a Upgrade to Maven Wrapper 3.9.6.
See #2803
2023-12-14 08:34:14 +01:00
Christoph Strobl
432d3d91ff Add tests to verify symmetric usage of scan cursor id.
See: #2796
2023-12-13 14:50:09 +01:00
Mark Paluch
6e0f30b607 Use Long.parseUnsignedLong/toUnsignedString for SCAN cursor id parsing.
Redis uses an unsigned 64bit value for its cursor id which is now captured via parseUnsignedLong.

Closes: #2796
2023-12-13 14:49:50 +01:00
Mark Paluch
c64e6d0790 Polishing.
Fix Javadoc reference.

See #2777
2023-12-13 09:10:45 +01:00
Mark Paluch
d35522cae7 Remove duplicate keys from RedisQueryEngine.
We now avoid duplicate keys if a key is found in two indices.

Closes #2799
2023-12-11 10:28:25 +01:00
Junghoon Ban
4e5aabf0cc Refine getRequiredAdapter()usage in RedisQueryEngine.
We now use getRequiredAdapter() instead of getAdapter() to enforce either an object or a proper exception.

Closes #2800
Original pull request: #2801
2023-12-11 10:13:09 +01:00
Mark Paluch
37400a4363 Accept empty config values in the Lettuce connection wrapper.
Closes #2798
2023-12-08 14:57:02 +01:00
Mark Paluch
b78dd1b65f Avoid race condition in tests.
See #2787
2023-11-30 09:39:09 +01:00
Mark Paluch
66f9f50135 Introduce property for Jenkins user and Artifactory server details.
Closes #2787
2023-11-27 09:21:02 +01:00
Junghoon Ban
b7f0a8f200 Polishing.
Add missing comma in indexes.adoc. Refine generic map definition statements.

Closes #2784
2023-11-23 09:31:25 +01:00
Runbing
ce072ec439 Fixed the URL for the Spring Data Commons documentation.
I fixed an incorrect URL in the **antora.yml** file that was preventing other pages from linking to the Spring Data Commons documentation.

Closes #2779
2023-11-20 11:25:44 +01:00
John Blum
af017a8680 Polishing.
Rename asString(:Object) to toString(:Object) for consistency with toBytes(..).

Original pull request: #2774
2023-11-17 15:06:19 -08:00
Junghoon Ban
84a3fc43da Remove unnecessary method call in RedisKeyValueAdapter.
Closes #2774
2023-11-17 15:06:13 -08:00
Mark Paluch
c54acdce2c Update CI trigger versions.
See #2737
2023-11-17 14:56:37 +01:00
Mark Paluch
87565ee0ca After release cleanups.
See #2737
2023-11-17 14:33:56 +01:00
Mark Paluch
f26ab8819f Prepare next development iteration.
See #2737
2023-11-17 14:33:54 +01:00
Mark Paluch
81f119607b Release version 3.2 GA (2023.1.0).
See #2737
2023-11-17 14:29:59 +01:00
Mark Paluch
58a4a2da7e Prepare 3.2 GA (2023.1.0).
See #2737
2023-11-17 14:28:30 +01:00
Mark Paluch
7c197ce4fc Upgrade to Lettuce 6.3.
Closes #2728
2023-11-15 11:05:25 +01:00
Mark Paluch
9eadebd263 Update build from source section to reflect Makefile.
See #2766
2023-11-10 10:28:15 +01:00
Mark Paluch
1082d31517 Remove CI.adoc.
Remove outdated CI documentation as the docs are in our Jenkinsfile.

Closes #2767
2023-11-10 09:54:46 +01:00
Junghoon Ban
22a465a992 Polishing.
Use module identifier instead of constant.

Closes #2762
2023-11-06 10:55:28 +01:00
Mark Paluch
f97bd87d70 Upgrade to Jedis 5.0.2.
Closes #2763
2023-11-06 09:41:08 +01:00
Mark Paluch
37ecdc544c Upgrade to netty 4.1.100.Final.
See #2728
2023-11-01 09:28:57 +01:00
Mark Paluch
978af3b626 Build against Lettuce 6.3 snapshots.
See #2728
2023-11-01 09:28:56 +01:00
Mark Paluch
667dd27bb5 Polishing.
Tweak naming. Simplify converters by removing unused methods.

See #2754
2023-10-27 15:00:20 +02:00
Junghoon Ban
85e9ae50ff Use pattern matching instead of type casting.
Closes #2754
2023-10-27 15:00:14 +02:00
John Blum
f28bf61142 Safely add and register the MessageListener to Topic mapping.
Given addListener(:MessageListener, :Collection<Topic>) could be called concurrently from the addMessageListener(:MessageListener, Collection<Topic>) method by multiple Threads, and the RedisMessageListenerContainer Javadoc specifically states that it is safe to call the addMessageListener(..) method conurrently without any external synchronization, and the registeration (or mapping) of listener to Topics is a componund action, then a race condition is possible.

Closes #2755
2023-10-23 12:18:57 -07:00
Eric Haag
fc9f9d8e5c Connect build to ge.spring.io.
This change publishes a build scan to ge.spring.io for every local build from an authenticated Spring committer and for CI where appropriate access tokens are available. The build will not fail if publishing fails.

This change also allows the build to benefit from local and remote build caching, providing faster builds for all contributors.

Additionally, the project will have access to all features of Gradle Enterprise such as:

- Dashboards to view all historical build scans, along with performance trends over time
- Build failure analytics for enhanced investigation and diagnosis of build failures
- Test failure analytics to better understand trends and causes around slow, failing, and flaky tests

See #2732
2023-10-19 15:33:13 -05:00
Greg L. Turnquist
bf512d4677 Update CI properties.
See #2737
2023-10-19 09:38:56 -05:00
John Blum
f56989f9c1 Apply consistent Exception variable names to all catch blocks.
We now consistently align with the core Spring Framework's use of 'ex' as the variable name for Exceptions handled in catch blocks, and 'ignore' for all Exceptions thrown, but ignored by framework code. Both 'ex' and 'ignore' were appropriately used based on the context and nautre of the Exception handler in the catch block.

Additionally, we use the 'expected' variable name for Exception thrown in tests where the thrown Exception is the expected outcome of the test case.

Only 1 exception exists to these name conventions, and that is 'nested', which was necessarily used in ScanCursor due to the nested try-catch blocks.

Applied consistent use of String.format(..) to Exception messages requiring formatting.

Formatted catch block according to source code formatting style.

Closes #2748
Original pull request: #2749
2023-10-19 09:38:35 +02:00
John Blum
68f514bdd8 Refine initialization of the TypeResolver in GenericJackson2JsonRedisSerializer.
Closes #2750
2023-10-18 22:27:13 -07:00
John Blum
12f5fad1ba Cleanup equals(:Object) method and compiler warnings in RedisSentinelConfiguration.
Additionally:

* Annotates getMaster() with @Nullable.
* Fixes assertion messages for accuracy and consistency.
* Introduces white spacing for readability.

Closes #2747
2023-10-18 16:32:05 -07:00
John Blum
a71f042ec4 Refine Javadoc and source in caching infrastructure components.
Judiciously applies minor source code refinements, such as introducing named (local) variable object references to make it clearer the arguments that are being passed to caching method parameters, in favor of self-describing code with intent.

Closes #2742
2023-10-17 20:02:56 -07:00
John Blum
31ebe7ea1b Refine tests involving async caching support.
Closes #2741
2023-10-17 20:02:43 -07:00
Greg L. Turnquist
d499c7c224 Update CI properties.
See #2737
2023-10-16 13:28:22 -05:00
John Blum
d9868cf792 After release cleanups.
See #2712
2023-10-13 08:52:01 -07:00
John Blum
ccf21ab5be Prepare next development iteration.
See #2712
2023-10-13 08:51:59 -07:00
John Blum
2546c26675 Release version 3.2 RC1 (2023.1.0).
See #2712
2023-10-13 08:44:25 -07:00