Commit Graph

20 Commits

Author SHA1 Message Date
Thomas Darimont
e72514143e DATAREDIS-356 - Check NonTransientDataAccessException for NOSCRIPT error.
We now check for a NonTransientDataAccessException instead of just an UncategorizedDataAccessException to conver all relevant exception types.
Corrected typo in method name. Added infrastructure for driver specific DefaultScriptExecutorTests.
Removed usage of RelaxedJunit4ClassRuner and using MinimumRedisRule
instead.
Removed obsolete test context configuration for ScriptExecutorTests.

Original pull request: #115.
2014-11-28 10:10:01 +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
Jennifer Hickey
b106f03bd7 Do not return Jedis conns to pool after NPE
DATAREDIS-153

- Return conn to pool as broken resource if NPE
occurs (for example if a null key or value is given),
preventing later flush of OutputStream with incomplete
data

- Workaround Jedis issue in pub/sub tests that prevents
subscribing with a pooled connection

- Continue not using pool in conn tests, as they
are too brittle with potentially unclosed pipelines,
unexecuted txs, etc
2013-08-21 12:30:42 -07:00
Jennifer Hickey
7d387ab529 Add RedisTemplate methods for executing Redis scripts
DATAREDIS-199
2013-08-04 16:43:00 -07:00
Jennifer Hickey
226d6b4c87 Enable testing RedisTemplate with multiple serializers 2013-07-29 21:23:53 -07:00
Jennifer Hickey
6d21cda407 Validate converted pipeline results in conn tests
DATAREDIS-200
2013-07-17 14:39:12 -07:00
Jennifer Hickey
daca61be03 Convert SRP pipelined results to correct data type
DATAREDIS-200

- Convert return of closePipeline() to same types
returned from individual operations

- Change SRP execute to return Reply.data() 
instead of Reply for consistency with pipeline
2013-07-16 14:05:41 -07:00
Jennifer Hickey
b2325c90d8 Convert Lettuce pipelined results to correct data type
DATAREDIS-200
2013-07-16 14:05:41 -07:00
Jennifer Hickey
441ac85999 Convert Jedis pipelined results to correct data type
DATAREDIS-200
2013-07-16 14:05:41 -07:00
Jennifer Hickey
14b84ab2af Fix StringRedisConnection not passed to callbacks in StringTemplate.execute()
DATAREDIS-222
2013-07-16 14:02:40 -07:00
Jennifer Hickey
ba8ab92b0f Support srandmember with negative count
DATAREDIS-116
2013-07-01 11:33:02 -07:00
Jennifer Hickey
2c9ba9a5ed Add Redis 2.6 scripting commands to Connections
DATAREDIS-180
2013-06-19 21:52:34 -07:00
Jennifer Hickey
cc851c674e Add Redis 2.6 incrbyfloat to ValueOperations
DATAREDIS-181
2013-06-17 17:16:45 -07:00
Jennifer Hickey
9c49db2949 Add Redis 2.6 dump and restore commands to RedisTemplate
DATAREDIS-182
2013-06-16 13:23:15 -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
65535d08ec Rename test context file for case-sensitivity 2013-03-31 11:04:13 -07:00
Jennifer Hickey
a1fb8aad69 Add connection integration tests
- Add tests for all Connection methods

- Add tests for all Connection methods through pipeline

- Clean up DB between Connection test runs

- Reduce sleeps in pub/sub tests to improve execution time
2013-03-30 21:28:51 -07:00
Jennifer Hickey
b518fa16bf Modify connection tests to reuse connection factories
- Use Spring integration test support to instantiate ConnectionFactory
once per instance of test class (instead of per method)

- Minimizes number of connection factories and thus connections
in pooled scenarios
2013-03-27 14:58:23 -07:00
Costin Leau
613c2e09e7 remove listeners programatically in RMLContainer
DATAREDIS-107
listeners can be removed not just added programatically
fix bug causing double message dispatch for pattern subscriptions
introduce more pubsub tests
2013-01-25 00:11:47 +02:00
Costin Leau
3217289401 + renamed org.springframework.data.keyvalue.redis to o.s.d.redis
+ eliminated Riak package
+ eliminate Core package
2011-07-05 19:18:31 +03:00