Commit Graph

96 Commits

Author SHA1 Message Date
Oliver Gierke
d1aaa90a2a DATAREDIS-366 - Updated changelog. 2015-01-28 20:54:43 +01:00
Oliver Gierke
789f521c1f DATAREDIS-365 - Updated changelog. 2015-01-28 10:15:17 +01:00
Oliver Gierke
1d2178c738 DATAREDIS-360 - Updated changelog. 2014-12-01 11:33:23 +01:00
Oliver Gierke
04f3fd23b2 DATAREDIS-353 - Updated changelog. 2014-11-28 12:21:53 +01:00
Oliver Gierke
57f773198a DATAREDIS-345 - Updated changelog. 2014-09-05 09:23:50 +02:00
Oliver Gierke
820c435b48 DATAREDIS-339 - Updated changelog. 2014-09-05 08:16:46 +02:00
Christoph Strobl
c6b2ba75af DATAREDIS-336 - Copy styles to output dir.
Upgraded to Asciidoctor 1.5.0. We now cheat on Gradle docbook-reference-plugin by directly copying files to reference work dir to bypass expanding files. Create an empty source folder so that the plugin does not fail.

Original pull request: #94.
2014-09-04 08:44:47 +02:00
Oliver Gierke
81a14b6c02 DATAREDIS-336 - Removed old docbook reference documentation.
Original pull request: #94.
2014-09-04 08:44:47 +02:00
Oliver Gierke
20455758de DATAREDIS-338 - Updated changelog. 2014-08-13 15:05:17 +02:00
Oliver Gierke
c442a785ff DATAREDIS-331 - Updated changelog. 2014-08-13 11:04:24 +02:00
Christoph Strobl
fd361a1868 DATAREDIS-330 - Add support for SENTINEL commands.
add support for commands:
  SENTINEL FAILOVER master
  SENTINEL SLAVES master
  SENTINEL REMOVE name
  SENTINEL MONITOR name ip port quorum

Original pull request: #92.
2014-08-11 09:12:12 +02:00
Christoph Strobl
55ff415a71 DATAREDIS-324 - Add Redis Sentinel support.
We’ve added RedisSentinelConfiguration holding required information for connecting to redis sentinels. This can be used to set up ConnectionFeactory for HA environments.

**Using Jedis**
Providing RedisSentinelConfiguration will force the JedisConnectionFactory to use JedisSentinelPool for managing resources.

**Using Lettuce/JRedis/SRP**
There’s currently no support for sentinel in those clients.

**CI Build**
We’ve added makefile to build and set up redis instances for testing sentinel support on travis-ci. There’s already a section for redis cluster.
The cluster section is for whatever reason currently not working as the cluster nodes won’t start.
This will be fixed when we add redis-cluster support.

_side note:_ there’s an alternative fork of lettuce at mp911de/lettuce that already has sentinel support.
2014-08-05 09:00:15 +02:00
Oliver Gierke
d2f9f1d650 DATAREDIS-322 - Updated changelog. 2014-07-10 17:14:44 +02:00
Oliver Gierke
4899ac3c8a DATAREDIS-320 - Updated changelog. 2014-07-10 17:11:43 +02:00
Christoph Strobl
81b3b427dc DATAREDIS-323 - Remove links to forum.spring.io.
Point links to spring-data and spring-data-redis tags on stackoverflow.

Original Pull Request: #86
2014-07-09 21:30:42 +02:00
Christoph Strobl
d8b53a4c96 DATAREDIS-313 - Overhaul SCAN, HSCAN, SSCAN, ZSCAN operations.
Unify naming and return types. Update supported commands documentation. Remove key from BoundHashOperations and use getKey() instead.

Original pull request: #81.
2014-06-10 16:10:28 +02:00
Christoph Strobl
3414d2a837 DATAREDIS-307 - Add missing reference documentation for managed transactions.
Added explanation and code samples.

Original pull request: #75.
2014-05-21 14:00:45 +02:00
Oliver Gierke
32d0277ffb DATAREDIS-301 - Updated changelog. 2014-05-20 16:26:39 +02:00
Thomas Darimont
d17fc510a3 DATAREDIS-292 - Updated change log for 1.3.0 M1.
Update changelog.

Original pull request: #61.
2014-05-05 13:03:43 +02:00
Oliver Gierke
31947789f4 DATAREDIS-297 - Updated changelog. 2014-05-02 14:41:00 +02:00
Oliver Gierke
ec10cb40f6 DATAREDIS-297 - Improve changelog to make sure we can automate additions.
Moved the = line below the additional informations to make sure we find the right spot to add additional changelog entries when automating the release preparations.
2014-04-30 16:38:55 +02:00
Thomas Darimont
05db8749d4 DATAREDIS-292 - Prepare release 1.3.0 M1.
Update release notes, changelog and readme.

Original pull request: #61.
2014-03-31 13:39:27 +02:00
Christoph Strobl
d35375ec74 DATAREDIS-277 - Add support for 'SLAVEOF'.
'SLAVEOF' and 'SLAVEOF NO ONE' are available via 'RedisConnection' and 'RedisOperations' for 'jedis', 'jredis', 'lettuce' and 'srp'.

Original Pull Request: #57
2014-03-26 13:15:33 +01:00
Christoph Strobl
2679405e96 DATAREDIS-268 - Add support for 'CLIENT LIST'.
'RedisConnection' and 'RedisTemplate' have been extended by 'getClientList' retrieving client informations from redis. 'RedisClientInfo' provides access via specified getters as well as an more general approach directly using the keys (like 'qubuf').

The operation is available for 'jedis', 'lettuce' and 'srp'.

Original Pull Request: #53
2014-03-26 12:42:09 +01:00
Christoph Strobl
4bf438f563 DATAREDIS-270 - Add support for 'CLIENT GETNAME'.
Support for getting client connection name has been added for 'jedis', 'jredis' and 'srp' drivers.

Using 'jredis' will throw 'UnsupportedOperationException'.

Original Pull Request: #51
2014-03-26 12:05:28 +01:00
Christoph Strobl
e280a23550 DATAREDIS-269 - Add support for 'CLIENT SETNAME'.
Setting client name is possible for 'jedis', 'lettuce' and 'srp'.
Using 'jredis' throws 'UnspupportedOperationException'.

Original Pull Request: #54
2014-03-26 11:44:01 +01:00
Christoph Strobl
6a6d03eb4c DATAREDIS-267 - Add support for 'CLIENT KILL'.
Killing a client connection can be done via 'RedisConnection' and 'RedisOperations' using 'jedis', 'lettuce' and 'srp'.

We use dedicated parameters for host and port building up the redis format (host:port) for connection identification.

Original Pull Request: #56
2014-03-26 11:33:35 +01:00
Christoph Strobl
4b2ccbecb9 DATAREDIS-271 - Add support for 'pSetEx'.
Support for 'pSetEx' has been added for 'jedis' & 'srp'.
For 'lettuce' the command is emulated using 'eval'.

There is no support for 'pSetEx' when using 'jredis'.

'DefaultValueOperations.set' used with 'TimeUnit.MILLISECONDS' will fallback to 'setEx' in case 'pSetEx' is not supported by the driver in use.

Original pull request: #46.
2014-03-20 12:36:09 +01:00
Thomas Darimont
0f8c68c251 DATAREDIS-282 - PubSubResubscribeTests should use jedis without pool.
Disabled jedis pooling in PubSubResubscribeTests since all the other tests also don't use a pool.

Original pull request #43.
2014-03-03 14:36:06 +01:00
Christoph Strobl
1881e626d0 DATAREDIS-256 - Prepare 1.2 GA Release.
Update readme and changelog.

Original Pull Request: #42
2014-03-03 10:31:09 +01:00
Christoph Strobl
bc31655417 DATAREDIS-279 - Update documentation
Corrected typos and added copyright information.
Updated sync nature for subscriptions using RMLC.
Added RedisTemplate command reference.
Added include-fallback to appendix-schema reference.

Original pull request: #41.
2014-02-27 13:54:14 +01:00
Christoph Strobl
9215f6c139 DATAREDIS-262 - Prepare 1.2.0.RC1 release.
Update changelog, notice, readme.
Renamed apache-license to license.
2014-02-19 10:40:32 +01:00
Christoph Strobl
3a49fd14e5 DATAREDIS-266 - Update Documentation.
Updated links in javadoc. Added API javadoc with references to the redis commands. Updated reference manual. Updated Readme and contributing guide.
Updated (SCM and developer information in) gradle build and template.mf bundle manifest.

Original pull request: #38
2014-02-18 10:35:30 +01:00
Christoph Strobl
82578066e8 DATAREDIS-246 - RedisCacheManager.getCache() does not match the logical of CompositeCacheManager.
By default RedisCacheManager lazily initializes RedisCaches when requested. To put it into static mode a defined set of cache names has to be passed to the CacheManager.

We changed the implementation so it  makes use of AbstractTransactionalCache introduced in Spring 3.2 which properly registers caches. Additionally the loadRemoteCachesOnStartup switch allows to retrieve and initialize existing caches by loading keys form redis server.

Further on RedisCacheManager can be set in transaction aware mode so that values are only put into cache after successful commit of surrounding transaction.

Original pull request: #33
2014-02-17 13:39:18 +01:00
Christoph Strobl
e42e803603 DATAREDIS-254 - Clean up codebase to match spring-data conventions
Remove orphaned test context files.
Update documentation to reflect new version dependencies.
2014-01-28 10:55:12 +01:00
Thomas Darimont
c6d2d7f9c9 DATAREDIS-241 - Add a Jackson2 based RedisSerializer.
Introduced Jackson2JsonRedisSerializer and added optional dependency for Jackson2 core/databind (fasterxml) library.
Added additional parameterised test cases. Needed to increase the max active connections limit for the connection pools used in RedisMapTests.
2014-01-17 12:04:05 +01:00
Jennifer Hickey
02ea2a4702 Update changelog for 1.1.0 release 2013-09-09 09:40:59 -04:00
Jennifer Hickey
07432bd2c0 Modify changelog for 1.1.0.RC1 2013-08-22 14:45:07 -07:00
Jennifer Hickey
a1276ab455 Update changelog for version 1.1.0.M2 2013-08-05 16:52:40 -07:00
Jennifer Hickey
4630de10d1 Update scripting doc 2013-08-05 16:07:14 -07:00
Jennifer Hickey
113c215554 Update doc on usage of StringRedisConn in RedisCallbacks 2013-08-05 14:07:29 -07:00
Jennifer Hickey
5e98b25fdd Update doc on usage of RedisTemplate without serializers 2013-08-05 14:06:49 -07:00
Jennifer Hickey
5d12e20c6d Update pipeline and tx documentation 2013-08-05 13:53:52 -07:00
Jennifer Hickey
e1d2a7952a Add doc on minimally supported Redis version 2.4 2013-08-01 18:44:16 -07:00
Jennifer Hickey
f90e373877 Fix incorrect doc on injection of opsForXXX 2013-07-25 09:50:42 -07:00
Jennifer Hickey
a0026ebc90 Update documentation for 1.1.0.M1 release 2013-07-01 12:51:39 -07:00
Jennifer Hickey
83b87b663e Add scripting documentation 2013-06-21 18:52:02 -07:00
Jennifer Hickey
265d4cd18f Add default implementation of JredisPool
- Add DefaultJredisPool to pool JRedis connections

- Prevent returning the same resource to the pool
multiple times on JredisConnection close

- Fixes DATAREDIS-154 previous JRedis pool left
broken connections in the pool
2013-06-11 18:02:07 -07:00
Jennifer Hickey
280e6a6ccc Upgrade to JRedis master
DATAREDIS-54, DATAREDIS-174, DATAREDIS-129

- Switch to original JRedis for 2.6 support

- Remove base64 encoding as new JRedis supports binary
keys

- Add JredisPool interface to replace removed
JRedisService and pool implementation

- Temporarily switch integration tests to use
non-pooled connections

- Throw more specific Exception on JRedis connection
failures
2013-06-11 17:56:25 -07:00
Jennifer Hickey
dffa1de6d1 Remove RJC driver due to lack of Redis 2.6 support
DATAREDIS-185
2013-06-11 15:25:01 -07:00