Commit Graph

1830 Commits

Author SHA1 Message Date
Mark Paluch
3e9cedfdcb DATAREDIS-973 - Fix database selection using Lettuce.
We now correctly set the requested database using RedisURI so the driver performs the database selection. We no longer need to call select ourselves.

For shared connections (pooled and single shared connection) we now no longer call select. This can leave connections with a different database associated.

Original Pull Request: #451
2019-06-06 07:04:11 +02:00
Mark Paluch
3496cc8108 DATAREDIS-955 - Polishing.
Eliminate warnings. Formatting. Remove test without assertions.

Original pull request: #452.
2019-05-21 14:40:03 +02:00
Christoph Strobl
6e2f424412 DATAREDIS-955 - Fix collection initialization when reading nested structures with same name.
We now make sure to not falsely populate instances with null values from nested structures.

Original pull request: #452.
2019-05-21 14:40:02 +02:00
Mark Paluch
b056d70a37 DATAREDIS-980 - Updated changelog. 2019-05-13 18:19:12 +02:00
Mark Paluch
ce3e37a6f9 DATAREDIS-979 - After release cleanups. 2019-05-13 14:58:46 +02:00
Mark Paluch
bea5f30bfc DATAREDIS-979 - Prepare next development iteration. 2019-05-13 14:58:45 +02:00
Mark Paluch
e3a28ba94e DATAREDIS-979 - Release version 2.1.8 (Lovelace SR8). 2019-05-13 13:25:53 +02:00
Mark Paluch
fc28803f32 DATAREDIS-979 - Prepare 2.1.8 (Lovelace SR8). 2019-05-13 13:25:06 +02:00
Mark Paluch
7a88d1e255 DATAREDIS-979 - Updated changelog. 2019-05-13 13:25:04 +02:00
Mark Paluch
d0e03e86b6 DATAREDIS-970 - Updated changelog. 2019-05-13 12:37:46 +02:00
Oliver Drotbohm
82712f6a9b DATAREDIS-958 - Updated changelog. 2019-05-10 14:18:16 +02:00
Oliver Drotbohm
c8e1b01ebb DATAREDIS-960 - After release cleanups. 2019-05-10 12:56:00 +02:00
Oliver Drotbohm
6939763654 DATAREDIS-960 - Prepare next development iteration. 2019-05-10 12:55:58 +02:00
Oliver Drotbohm
054e6dbc1e DATAREDIS-960 - Release version 2.1.7 (Lovelace SR7). 2019-05-10 12:18:52 +02:00
Oliver Drotbohm
7f08b65eaa DATAREDIS-960 - Prepare 2.1.7 (Lovelace SR7). 2019-05-10 12:18:11 +02:00
Oliver Drotbohm
1803a05f95 DATAREDIS-960 - Updated changelog. 2019-05-10 12:18:08 +02:00
Mark Paluch
08d64b235c DATAREDIS-972 - Polishing.
Add author tags. Reformat code. Split test for exceptions into two methods.

Original pull request: #448.
2019-04-29 12:19:37 +02:00
Oscar Cai
467b79693f DATAREDIS-972 - Fix validation for RedisCommand argument count.
Original pull request: #448.
2019-04-29 12:19:37 +02:00
Mark Paluch
92b3edd619 DATAREDIS-956 - Polishing.
Add author tags. Provide override for clientName(…) in LettucePoolingClientConfigurationBuilder. Extend Javadoc. Add and simplify tests.

Original pull request: #446.
2019-04-18 11:40:25 +02:00
longlong.zhao
6cc3248995 DATAREDIS-956 - Add readFrom(…) override to LettucePoolingClientConfigurationBuilder.
Original pull request: #446.
2019-04-18 11:39:49 +02:00
Mark Paluch
8e29f411a2 DATAREDIS-971 - Polishing.
Add test. Use primitive types instead of wrappers for signed flag. Add author tag.

Original pull request: #447.
2019-04-17 15:33:12 +02:00
Qiang Lee
6fd2cf09fc DATAREDIS-971 - Fix BitFieldType initialization through BitFieldSubCommands.signed().
We now initialize with the correct signed preference.

Original pull request: #447.
2019-04-17 15:33:12 +02:00
Christoph Strobl
ff0f3e3e0f DATAREDIS-942 - Updated changelog. 2019-04-11 12:28:57 +02:00
Oliver Drotbohm
0a0f615260 DATAREDIS-931 - After release cleanups. 2019-04-01 20:55:13 +02:00
Oliver Drotbohm
7ce4565cc6 DATAREDIS-931 - Prepare next development iteration. 2019-04-01 20:55:12 +02:00
Oliver Drotbohm
be059a73d8 DATAREDIS-931 - Release version 2.1.6 (Lovelace SR6). 2019-04-01 20:04:13 +02:00
Oliver Drotbohm
3a1d921e4a DATAREDIS-931 - Prepare 2.1.6 (Lovelace SR6). 2019-04-01 20:03:20 +02:00
Oliver Drotbohm
ae77623f43 DATAREDIS-931 - Updated changelog. 2019-04-01 20:03:18 +02:00
Oliver Drotbohm
e156a9cc6a DATAREDIS-922 - Updated changelog. 2019-04-01 19:37:07 +02:00
Oliver Drotbohm
a34633bc79 DATAREDIS-957 - Updated changelog. 2019-04-01 18:52:22 +02:00
Oliver Drotbohm
ab6bde4ab3 DATAREDIS-921 - Updated changelog. 2019-04-01 13:54:19 +02:00
Mark Paluch
4a46d40504 DATAREDIS-953 - Release connection after failed validation only once.
We now release a connection after a failed validation only once. Previously, a connection was released twice which caused a failure if the connection was obtained from a pool.

Original Pull Request: #445
2019-03-27 11:06:27 +01:00
Mark Paluch
d874aeb84f DATAREDIS-950 - Fix ClassCastException on shared Lettuce Cluster connection validation.
Original Pull Request: #445
2019-03-27 10:58:32 +01:00
Christoph Strobl
983bb8b868 DATAREDIS-925 - Add and register binary read/write converter for UUID.
Original pull request: #444.
2019-03-27 09:31:03 +01:00
Mark Paluch
ce5edb7203 DATAREDIS-951 - Upgrade to Lettuce 5.1.6.
Replace custom builder adapter with ClusterClientOptions.builder(ClientOptions).
2019-03-27 08:58:27 +01:00
Christoph Strobl
9ce10bb08f DATAREDIS-949 - Polishing.
Favor AssertJ over Hamcrest.

Original Pull Request: #417
2019-03-26 10:22:23 +01:00
Mark Paluch
2cb3e056b1 DATAREDIS-949 - Consider max-redirects using Lettuce.
LettuceConnectionFactory now considers the maximal redirection limit for Redis Cluster redirections.

Previously, the max-redirects limit was not configured in Lettuce.

Original Pull Request: #417
2019-03-26 10:01:20 +01:00
Spring Operator
d694b63503 DATAREDIS-948 - URL Cleanup.
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
  https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 696 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).

Original Pull Request: #422
2019-03-22 10:14:10 +01:00
Spring Operator
1c083683ba DATAREDIS-948 - URL Cleanup.
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://maven.apache.org/xsd/maven-4.0.0.xsd with 1 occurrences migrated to:
  https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd) result 200).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0 with 2 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 1 occurrences

Original pull request: #395
2019-03-18 14:55:14 -05:00
Oliver Drotbohm
c518c132e0 DATAREDIS-945 - Run Maven with -U on CI. 2019-03-14 16:14:37 +01:00
Christoph Strobl
bda9f7ea76 DATAREDIS-910 - Updated changelog. 2019-03-07 10:30:17 +01:00
Mark Paluch
d7a60f8f30 DATAREDIS-936 - Upgrade to Jedis 2.9.3. 2019-03-06 15:32:21 +01:00
Mark Paluch
e8834a9624 DATAREDIS-941 - Upgrade to Lettuce 5.1.5.RELEASE. 2019-03-06 13:49:50 +01:00
Christoph Strobl
570ed3dbcd DATAREDIS-888 - Polishing
Original Pull Request: #384
2019-02-28 12:49:09 +01:00
Mark Paluch
1145a92829 DATAREDIS-888 - Use Lettuce's read-only Partition view for node conversion.
We now use the read-only view of Lettuce's Partition object to convert Lettuce RedisClusterNode objects into Spring Data RedisClusterNode. The read-only view is atomic and does not require external synchronization.

Original Pull Request: #384
2019-02-28 12:48:41 +01:00
Mark Paluch
f2287c6ec5 DATAREDIS-932 - Fix typo in exception message. 2019-02-18 08:48:30 +01:00
Mark Paluch
933a0c5837 DATAREDIS-930 - Polishing.
Add since tags. Simplify test using Lombok annotations. Reformat code.

Original pull request: #385.
2019-02-15 11:20:32 +01:00
Luis De Bello
99508cb332 DATAREDIS-930 - Return port/host of WithHostAndPort configurations using LettuceConnectionFactory.getPort() and getHost().
We now correctly return host and port from configurations that implement WithHostAndPort instead of always using RedisStandaloneConfiguration.

Original pull request: #385.
2019-02-15 11:20:16 +01:00
Mark Paluch
5d338bacc9 DATAREDIS-923 - After release cleanups. 2019-02-13 11:24:23 +01:00
Mark Paluch
ab30c33849 DATAREDIS-923 - Prepare next development iteration. 2019-02-13 11:24:21 +01:00