Commit Graph

2517 Commits

Author SHA1 Message Date
Mark Paluch
d40dd3d2bd Update CI properties.
See #2242
2022-02-22 14:10:52 +01:00
Mark Paluch
aade1c42dc Polishing.
See #2268
2022-02-22 09:14:06 +01:00
Mark Paluch
d34c45bfe4 Polishing.
Allow Jedis to exist pub/sub loop gracefully. Await unsubscribe. Reduce retry backoff to allow from broken connection recovery. Do not use pooling to avoid using broken connections.

See #2256
2022-02-17 16:24:50 +01:00
Christoph Strobl
bc07540b9a Update copyright year to 2022.
See: #2264
2022-02-17 11:39:38 +01:00
Christoph Strobl
f6b21315a7 MessageListenerContainer must not be initialized twice.
Error when afterPropertiesSet is called more than once. Update documentation and error messages.
Original Pull Request: #2256
2022-02-17 11:38:25 +01:00
Mark Paluch
5681ddce68 Use proper subscribe methods and fix nullability assumptions.
See: #964
Original Pull Request: #2256
2022-02-17 11:38:18 +01:00
Mark Paluch
5959efb3af 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:37:57 +01:00
Oliver Drotbohm
14da2582a0 Adapt to changes in entity creation metadata APIs in Spring Data Commons. 2022-02-15 17:40:53 +01:00
Greg L. Turnquist
b64a131608 Update CI properties.
See #2242
2022-02-15 09:00:21 -06:00
Mark Paluch
c426dac3bd Polishing.
Add author tags and update license years.

See #2222
2022-02-15 14:23:41 +01:00
Hendrik Duerkop
4b9738d61d Removed deprecated SpinBarrier.
Closes #2222
2022-02-15 13:51:34 +01:00
dependabot[bot]
13be206128 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:50:20 +01:00
Mark Paluch
3571db7da2 Adopt tests to PagingAndSortingRepository split.
Closes #2258
2022-02-11 11:37:34 +01:00
Greg L. Turnquist
e3fc66e7fb 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 12:58:36 -06:00
Mark Paluch
5516847ac6 Polishing.
Extract Artifactory and docker credentials into properties file.

See #2245
2022-02-04 11:22:03 +01:00
Greg L. Turnquist
7d0de580bc 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-02-04 11:00:16 +01:00
Mark Paluch
6f49b89a30 After release cleanups.
See #2231
2022-01-14 14:43:24 +01:00
Mark Paluch
0a16505324 Prepare next development iteration.
See #2231
2022-01-14 14:43:20 +01:00
Mark Paluch
0f8ce57c16 Release version 3.0 M1 (2022.0.0).
See #2231
2022-01-14 14:35:11 +01:00
Mark Paluch
e5dddb2c45 Prepare 3.0 M1 (2022.0.0).
See #2231
2022-01-14 14:34:48 +01:00
Jens Schauder
577e3337fa Remove Eclipse Non-Javadoc comments.
Closes #2223
2022-01-13 14:50:01 +01:00
Mark Paluch
9732c64024 Polishing. 2022-01-13 14:50:01 +01:00
Mark Paluch
6984e3663d Adopt to removed Spring Framework API. 2022-01-13 14:50:01 +01:00
Mark Paluch
10d8ca2a08 Migrate to Jakarta EE 9.
Closes #2172
2022-01-13 14:50:01 +01:00
Mark Paluch
2659b9f12c Polishing.
Tweak CI triggers.

See #2173
2022-01-13 14:50:00 +01:00
Mark Paluch
8136f58971 Rewrite APT sources to HTTPS.
Also, use consistent docker image naming.

See #2173
2022-01-13 14:50:00 +01:00
John Blum
905492ede1 Add comments to Dockerfile to trigger Docker Image creation with JDK 17 and Redis 6.2.
This is necesarry in order to produce Spring Data Redis 3.0.0-SNAPSHOTs.

Thus far, the Jenkins CI build for 3.0.x is failing due to (from build #1):

"19:18:16  Stage "Publish JDK 17 + Redis 6.2 Docker image" skipped due to when conditional"

Closes #2173.
2022-01-13 14:50:00 +01:00
John Blum
9d0550a9e2 Add org.apache.xbean:xbean-asm9-shaded dependency to fix the CDI tests.
Closes #2173.
2022-01-13 14:50:00 +01:00
John Blum
e9e2050925 Change the org.apache.geronimo.specs:geronimo-jcdi_2.0_spec dependency to optional.
Remove scope of test.

Closes #2173.
2022-01-13 14:50:00 +01:00
John Blum
4ea00e05fa Update Jenkinsfile to build with a Java 17 baseline.
Closes #2173.
2022-01-13 14:50:00 +01:00
John Blum
43de8bb309 Adapt to API changes in Spring Data Commons 3.0.
Closes #2173.
2022-01-13 14:50:00 +01:00
John Blum
c3b6b377ab Upgrade to Spring Data KeyValue 3.0.0-SNAPSHOT.
In addition, and by association (transitive dependency) this upgrades to Spring Data Commons 3.0.0-SNAPSHOT.

Closes #2173.
2022-01-13 14:49:59 +01:00
John Blum
691eaf281c Upgrade to Spring Framework 6.0.0-SNAPSHOT.
Closes #2173.
2022-01-13 14:49:59 +01:00
John Blum
7c65555a16 Upgrade to Spring Data Build parent 3.0.0-SNAPSHOT.
Closes #2173.
2022-01-13 14:49:59 +01:00
John Blum
af5e9d3416 Prepare Spring Data Redis 3.0.
Closes #2173.
2022-01-13 14:49:59 +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