Commit Graph

1207 Commits

Author SHA1 Message Date
Christoph Strobl
e7bfa2f26e DATAREDIS-448 - Fix DefaultSetOperations.intersectAndStore not returning command result.
We now properly return the number of elements in the destination set, has always been null so far, for DefaultSetOperations.intersectAndStore.
2016-01-28 08:00:32 +01:00
Oliver Gierke
6111abdcfa DATAREDIS-441 - After release cleanups. 2015-12-18 10:26:33 +01:00
Spring Buildmaster
8f4c6e10d3 DATAREDIS-441 - Prepare next development iteration. 2015-12-18 00:40:58 -08:00
Spring Buildmaster
aff425cd08 DATAREDIS-441 - Release version 1.6.2.RELEASE (Gosling SR2). 2015-12-18 00:40:58 -08:00
Oliver Gierke
ed0a07db34 DATAREDIS-441 - Prepare 1.6.2.RELEASE (Gosling SR2). 2015-12-18 08:30:38 +01:00
Oliver Gierke
627319dbd2 DATAREDIS-441 - Updated changelog. 2015-12-18 08:30:35 +01:00
Christoph Strobl
6a4c3f3155 DATAREDIS-441 - Dependency upgrades prior to release.
- Spring 4.1.9
- Jackson 2.6.4
2015-12-17 10:23:31 +01:00
Oliver Gierke
6a5eb9d8dd DATAREDIS-436 - After release cleanups. 2015-11-19 13:01:48 +01:00
Spring Buildmaster
1a332e841d DATAREDIS-436 - Prepare next development iteration. 2015-11-15 06:01:09 -08:00
Spring Buildmaster
15fd0b367a DATAREDIS-436 - Release version 1.6.1.RELEASE (Gosling SR1). 2015-11-15 06:01:06 -08:00
Oliver Gierke
209cc75506 DATAREDIS-436 - Prepare 1.6.1.RELEASE (Gosling SR1). 2015-11-15 14:06:54 +01:00
Oliver Gierke
6a481189a4 DATAREDIS-436 - Updated changelog. 2015-11-15 14:06:50 +01:00
Christoph Strobl
2c59c3b678 DATAREDIS-431 - Autoselect database configured in LettuceConnectionFactory.
We now actively select the predefined db set via the dbIndex on LettuceConnectionFactory. Fixed some spelling issues along the way.

Original pull request: #157.
2015-11-15 13:38:16 +01:00
Christoph Strobl
3d8aeb3219 DATAREDIS-435 - Fix potential NPE in RedisTestProfileValueSource. 2015-10-27 08:47:35 +01:00
欧夺标
77b88e2fbc DATAREDIS-417 - Fix ScanCursor throwing NoSuchElementException for empty scan result.
ScanCursor now retriggers SCAN command for results having a new cursorId but no actual values. This avoids NoSuchElementException for server calls like:

    scan 0 match key*9
      1) 1966080
      2) (empty list or set)

Original Pull Request: #154
CLA Number: 143520151016081625 (Duobiao Ou)
2015-10-16 11:47:06 +02:00
Christoph Strobl
8de22cea63 DATAREDIS-417 - Add failing tests for ScanCursor throwing NoSuchElementException.
Add failing tests for scanning key sets where Redis returns a scan iteration pointing to the next cursor but having no actual values itself like in:

    scan 0 match key*9
      1) 1966080
      2) (empty list or set)
2015-10-16 11:46:59 +02:00
Oliver Gierke
6b70ce8988 DATAREDIS-434 - Updated changelog. 2015-10-14 14:33:56 +02:00
Oliver Gierke
bdaf54023e DATAREDIS-429 - After release cleanups. 2015-10-14 14:31:18 +02:00
Spring Buildmaster
c167056114 DATAREDIS-429 - Prepare next development iteration. 2015-10-14 14:28:59 +02:00
Spring Buildmaster
11e47d03ef DATAREDIS-429 - Release version 1.6.0.RELEASE (Gosling GA). 2015-09-01 02:32:17 -07:00
Oliver Gierke
ac88672d67 DATAREDIS-429 - Prepare 1.6.0.RELEASE (Gosling GA). 2015-09-01 09:44:22 +02:00
Oliver Gierke
202473d574 DATAREDIS-429 - Updated changelog. 2015-09-01 09:44:18 +02:00
Christoph Strobl
fd8ac7af42 DATAREDIS-430 - Upgrade Jackson2 to 2.6.1 2015-09-01 07:43:34 +02:00
Christoph Strobl
4e7ccc96fe DATAREDIS-424 - Update Reference Documentation.
Updated what’s new section in reference documentation.
Remove outdated version from readme.
Update project team twitter handle on readme.
2015-09-01 07:43:24 +02:00
Christoph Strobl
74ea61c51c DATAREDIS-421 - Fix NPE when using HashMapper implementations.
We now make sure the available HashMapper implementations avoid exposing null values. Prior to this null values would have been added to the converted Hash causing trouble when saving those to redis since hashes are expected to not contain any null values
2015-08-31 14:19:39 +02:00
Christoph Strobl
35424bb9da DATAREDIS-392 - Add Gerneric Jackson2 RedisSerializer.
We introduced GenericJackson2JsonRedisSerializer holding a preconfigured ObjectMapper which writes Class type informations into the JSON structure. This enables polymorphic deserialization and allows RedisCache manager to operate upon a RedisTemplate storing data in JSON format, which had until this only been possible using the Jdk Serializer.
2015-08-31 14:09:22 +02:00
Christoph Strobl
9a6a892a48 DATAREDIS-426 - Upgrade to lettuce 3.3. 2015-08-28 07:50:55 +02:00
Oliver Gierke
cf055b062a DATAREDIS-420 - After release cleanups. 2015-08-04 14:09:23 +02:00
Spring Buildmaster
3023d3f53a DATAREDIS-420 - Prepare next development iteration. 2015-08-04 04:27:29 -07:00
Spring Buildmaster
e6440dd7d1 DATAREDIS-420 - Release version 1.6.0.RC1 (Gosling RC1). 2015-08-04 04:27:26 -07:00
Oliver Gierke
a642e1bfa1 DATAREDIS-420 - Prepare 1.6.0.RC1 (Gosling RC1). 2015-08-04 13:02:49 +02:00
Oliver Gierke
4ab164b69a DATAREDIS-420 - Updated changelog. 2015-08-04 11:48:38 +02:00
Christoph Strobl
444b290863 DATAREDIS-348 - Polishing.
Fixed connection problems leaving sockets open. Added missing JUnit rules for Sentinels. Added missing author information update, license header and Javadoc.

Upgraded test script to use Redis 3.0.2. Upgrade test script to shut down Redis in case of test errors. Added Redis 3.0 to TestProfileValueSource. Enabled ZRANGEBYLEX tests for lettuce.

Original pull request: #144.
Related pull request: #104.
2015-08-04 10:12:39 +02:00
Mark Paluch
7426b27688 DATAREDIS-348 - Switch to mp911de/lettuce 3.0.
Updated lettuce redis client to latest snapshot, adopt changed API and use API for commands which were emulated using LUA script

Implemente Sentinel support using lettuce library, adopt finer grained exceptions and aligned exception behavior to match other libraries. Added shutdown-timeout property in order to control shutdown duration of the netty framework which reduces test run duration. Documentation updated as well. Contains also a fix to use psetex instead of setex (typo).

Switch to Jedis for Redis Version discovery in tests. Polished documentation. Use LettuceConverter and native time() method.

Original pull request: #144.
Related pull request: #104.
2015-08-04 10:12:39 +02:00
Oliver Gierke
4cd6b82e7b DATAREDIS-418 - Updated changelog. 2015-07-28 16:44:01 +02:00
Christoph Strobl
a08e90a1f7 DATAREDIS-414 - Serialization now occurs after pooled connection was released.
Moved key serialization and value deserialization outside of callback so that pooled connections get released more quickly.

Original pull request: #153.
2015-07-28 14:18:26 +02:00
Christoph Strobl
7073502e42 DATAREDIS-416 - RedisCache.putIfAbsent(…) now returns null for first addition.
We now return null for RedisCache.putIfAbesent(…) when value is set to meet the contract defined by org.springframework.cache.Cache.putIfAbsent(…).

Original pull request: #150.
2015-07-28 13:42:10 +02:00
Christoph Strobl
b2bae8f8fb DATAREDIS-412 - Assert compatibility with Jedis 2.7.1, 2.7.2 and 2.7.3.
Bump Jedis version and fix SendCommand class type differences between versions.

We now also lazily init the transaction on first call of multi() since pre initialization causes issues releasing Jedis connections and returning them to pool.

Original pull request: #149.
Related ticket: #139.
2015-07-22 14:39:30 +02:00
Christoph Strobl
1ad3392a72 DATAREDIS-401 - RedisCacheManager should operate on RedisOperations.
We now no longer require RedisCache and RedisCacheManager to be initialized with a RedisTemplate but use RedisOperations instead.

Original pull request: #142.
2015-07-09 19:10:13 +02:00
Andy Wilkinson
f694be772d DATAREDIS-413 - Use the latest version of the Spring IO Plugin
Spring IO Platform 2.0 will remove the managed versions .properties
file as support for it has been removed in Spring Boot 1.3.

This commit moves the build onto a new version of the Spring IO Plugin
that uses the Maven bom rather than the properties file.
2015-07-08 13:03:45 +02:00
Oliver Gierke
ab6c77c263 DATAREDIS-408 - Updated changelog. 2015-07-01 10:03:13 +02:00
Oliver Gierke
8aed73dfbe DATAREDIS-409 - Updated changelog. 2015-07-01 07:49:54 +02:00
Oliver Gierke
5afd7f5de6 DATAREDIS-410 - Updated changelog. 2015-06-30 14:29:45 +02:00
Christoph Strobl
aa04e73dbd DATAREDIS-402 - RedisCache should not expire known keys in case ttl of element is not set.
We now skip defining expire on known keys set in case element is eternal.

Original pull request: #141.
2015-06-16 09:38:54 +02:00
Oliver Gierke
281c9c58ae DATAREDIS-403 - Fixed configuration of JavaDoc task.
We now depend on the task that extracts shared resources and use the CSS provided with that.
2015-06-02 15:56:37 +02:00
Oliver Gierke
104489829f DATAREDIS-400 - After release cleanups. 2015-06-02 12:04:08 +02:00
Spring Buildmaster
9651f3d85d DATAREDIS-400 - Prepare next development iteration. 2015-06-02 01:42:04 -07:00
Spring Buildmaster
4974956b91 DATAREDIS-400 - Release version 1.6.0.M1 (Gosling M1). 2015-06-02 01:42:02 -07:00
Oliver Gierke
cbb546f4ad DATAREDIS-400 - Prepare 1.6.0.M1 (Gosling M1). 2015-06-02 08:54:51 +02:00
Oliver Gierke
70c4a07f88 DATAREDIS-400 - Updated changelog. 2015-06-02 08:25:04 +02:00