Commit Graph

2502 Commits

Author SHA1 Message Date
Mark Paluch
431dfc2a56 Revise implementation of RedisMessageListenerContainer.
RedisMessageListenerContainer is now reimplemented using non-blocking synchronization guards and a state management to simplify its maintenances. Additionally, listener registration and subscription setup through the start() method awaits until the listener subscription is confirmed by the Redis server. The synchronization removes potential race conditions that could happen by concurrent access to blocking Redis connectors in which the registration state was guessed and not awaited.

Resolves: #964
Original Pull Request: #2256
2022-02-17 11:14:11 +01:00
Oliver Drotbohm
1c3a241178 Adapt to changes in entity creation metadata APIs in Spring Data Commons. 2022-02-15 16:36:52 +01:00
Greg L. Turnquist
7a6dbd19e7 Update CI properties.
See #2243
2022-02-15 08:59:51 -06:00
Mark Paluch
ed9277236c Polishing.
Add author tags and update license years.

See #2222
2022-02-15 14:23:57 +01:00
Hendrik Duerkop
b9d6dd84dc Removed deprecated SpinBarrier.
Closes #2222
2022-02-15 13:51:09 +01:00
dependabot[bot]
bcef75ead0 Upgrade to xstream 1.4.19.
Bumps [xstream](https://github.com/x-stream/xstream) from 1.4.18 to 1.4.19.
- [Release notes](https://github.com/x-stream/xstream/releases)
- [Commits](https://github.com/x-stream/xstream/commits)

---
updated-dependencies:
- dependency-name: com.thoughtworks.xstream:xstream
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Closes: #2259
2022-02-14 15:49:51 +01:00
Christoph Strobl
2a6755f360 Lookup jackson config to figure out what to do with certain types (eg. java.time)
Related: #1566
Original Pull Request: #2253
2022-02-08 10:17:52 +01:00
Mark Paluch
2fc29d96ce Move inner test classes to top-level classes to run these by the Maven build.
Original Pull Request: #2253
2022-02-08 10:17:19 +01:00
Mark Paluch
73b49862df Retain target type hint when deserializing Stream records.
We now retain the target type when obtaining a HashMapper through StreamObjectMapper. To achieve this, we introduced the HashObjectReader interface accepting a target type.

Resolves: #2198
Related: #1566
Original Pull Request: #2253
2022-02-08 10:16:52 +01:00
Greg L. Turnquist
1932a4ca27 Use Harbor Proxy for containers.
Leverage internal infrastructure for pulling Docker container images. Reduces pressure on Docker Hub and reduces risk of hitting rate limits.

Closes #2254.
Related https://github.com/spring-projects/spring-data-build/issues/1630.
2022-02-07 11:30:16 -06:00
Mark Paluch
4b645ccf85 Polishing.
Extract Artifactory and docker credentials into properties file.

See #2245
2022-02-04 10:00:57 +01:00
Greg L. Turnquist
75e918bd3a Externalize build properties.
By reading a properties file from an external location, it is possible to inject a consistent set of properties from Spring Data Build. This also supports repeatable builds.

Closes #2245.
2022-01-31 16:35:17 -06:00
Christoph Strobl
8eb15f8c51 After release cleanups.
See #2241
2022-01-18 09:21:33 +01:00
Christoph Strobl
5ec817155c Prepare next development iteration.
See #2241
2022-01-18 09:21:30 +01:00
Christoph Strobl
67063febcb Release version 2.7 M2 (2021.2.0).
See #2241
2022-01-18 09:09:37 +01:00
Christoph Strobl
1100bdd2ee Prepare 2.7 M2 (2021.2.0).
See #2241
2022-01-18 09:09:01 +01:00
Christoph Strobl
fec0acfe2a After release cleanups.
See #2203
2022-01-14 11:08:03 +01:00
Christoph Strobl
b5070d50a9 Prepare next development iteration.
See #2203
2022-01-14 11:08:01 +01:00
Christoph Strobl
eff1567827 Release version 2.7 M1 (2021.2.0).
See #2203
2022-01-14 10:58:18 +01:00
Christoph Strobl
36c66ed56f Prepare 2.7 M1 (2021.2.0).
See #2203
2022-01-14 10:57:51 +01:00
Christoph Strobl
93c25b0608 Switch Jackson default mapping default from NON_FINAL to EVERYTHING.
Closes #1566
Original pull request: #2237.
2022-01-13 14:48:50 +01:00
Mark Paluch
e53a5762b1 Polishing.
Add unit tests.

See #2234
2022-01-13 14:43:21 +01:00
sokomishalov
c363c4acb4 Add RedisScript and PartialUpdate extensions.
Closes #2234
2022-01-13 14:43:11 +01:00
Mark Paluch
9f3c993806 Upgrade to Lettuce 6.1.6.RELEASE.
Closes #2235
2022-01-11 16:46:03 +01:00
Mark Paluch
7d17154c8f Upgrade to Jedis 3.8.0.
Closes #2230
2022-01-10 08:49:34 +01:00
Mark Paluch
d0f17b167e Polishing.
Reformat code. Consider sentinel username in JedisConnectionFactory. Update years in license headers.

See #2218
Original pull request: #2224.
2022-01-07 11:05:19 +01:00
Vikas Garg
f333b184a5 Support sentinel username in SentinelConfiguration.
Closes #2218
Original pull request: #2224.
2022-01-07 11:05:04 +01:00
Mark Paluch
be1663c95e Adopt to Mockito changes.
Closes #2221
2022-01-04 15:02:06 +01:00
Mark Paluch
ca7b004513 Upgrade to Jedis 3.7.1.
Closes #2220
2022-01-04 13:55:58 +01:00
Mark Paluch
6ac25b6c54 Upgrade to Netty 4.1.72.Final.
Closes #2219
2022-01-04 13:52:43 +01:00
gvdutra
3ad2947f1e Upgrade to Bean utils 1.9.4.
Original pull request: #2207.
Closes #2135.
2022-01-04 13:50:19 +01:00
Mark Paluch
45fdc5d0ab Polishing.
Consider configured PolymorphicTypeValidator.

See #2211
2022-01-03 10:49:32 +01:00
Guirong Hu
9af0f5f996 Move off deprecated ObjectMapper methods.
Closes #2211
2022-01-03 10:49:11 +01:00
Mark Paluch
3ca2191445 Respect ByteBuffer position and limits in ByteUtils.getBytes(ByteBuffer).
We now properly extract the byte array from a ByteBuffer by copying its content respecting the read position and limits.

Closes #2204
Original Pull Request: #2213
2021-12-15 09:52:49 +01:00
Mark Paluch
9a56c38e2c Return single-element list with empty value when ReactiveHashOperations.hMGet(…) for a single key returns no value.
We now return a list containing a single empty KeyValue element when ReactiveHashOperations.hMGet(…) called for a single key returns no value.

Previously, the code used onErrorReturn(…) which returned the wrong value and suppressed errors.

Closes #2210
2021-12-10 10:03:02 +01:00
Jens Schauder
bae2eae4f9 After release cleanups.
See #2184
2021-11-12 10:59:45 +01:00
Jens Schauder
c7f66aa5aa Prepare next development iteration.
See #2184
2021-11-12 10:59:42 +01:00
Jens Schauder
4f19d8c7fa Release version 2.6 GA (2021.1.0).
See #2184
2021-11-12 10:49:37 +01:00
Jens Schauder
54ad44fc35 Prepare 2.6 GA (2021.1.0).
See #2184
2021-11-12 10:49:16 +01:00
Mark Paluch
518fd6d946 Avoid cast to StatefulRedisConnection upon eager LettuceConnectionFactory initialization.
We now no longer try to cast the Lettuce connection to StatefulRedisConnection when eagerly initializing the shared connection. Instead, we now introduced another method to obtain the cluster connection.

Closes #2186
2021-11-12 08:52:28 +01:00
Mark Paluch
b2f7b6f4b2 Polishing.
Rename key name arguments consistently to oldKey/newKey.

See #2189
2021-11-08 15:23:55 +01:00
Todd Merrill
b67f1339b2 Use consistent key names in RENAME/RENAMENX command documentation.
Closes #2189
2021-11-08 15:23:27 +01:00
Mark Paluch
bc50822dfb After release cleanups.
See #2171
2021-10-18 13:55:43 +02:00
Mark Paluch
1ed82a719a Prepare next development iteration.
See #2171
2021-10-18 13:55:39 +02:00
Mark Paluch
1068aadaf6 Release version 2.6 RC1 (2021.1.0).
See #2171
2021-10-18 13:48:15 +02:00
Mark Paluch
c869b87192 Prepare 2.6 RC1 (2021.1.0).
See #2171
2021-10-18 13:47:48 +02:00
Mark Paluch
7eeb0a4a8e Polishing.
Reformat documentation.

See #2181
2021-10-13 14:30:59 +02:00
Mark Paluch
6f3be02f3a Polishing.
Tweak wording.

See #2181
2021-10-13 14:30:53 +02:00
Dennis
430cef40ea Added docs to use TTL on AWS ElastiCache.
The documentation indicates that it's not possible to use the keyspace notification message listener on AWS ElastiCache. The added text describes a way to prevent Spring Data Redis from using the `CONFIG` command and make it possible to use the listener on AWS.

Closes #2181
2021-10-13 14:30:53 +02:00
Forever杨
954029d64a Fix command reference in Javadoc.
Closes #2176
2021-10-13 14:25:01 +02:00