Commit Graph

1130 Commits

Author SHA1 Message Date
Thomas Darimont
0ea0c4bf67 DATAREDIS-328 - RedisCacheManager should not instantiate caches in setCacheNames().
We now construct the caches for the configured cache-names in afterPropertiesSet(). Previously the caches were created in the setter which lead to unwanted property-set order dependencies.

Original pull request: #123.
2015-02-02 14:54:05 +01:00
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
Thomas Darimont
89d5ac8840 DATAREDIS-364 - Open-up API in RedisCacheManager for easier extensibility.
We now allow users to build custom CacheManagers based on RedisCacheManager more easily by making a broader API accessible to sub-classes.
In that sense we also allowing RedisCache to be used in custom implementations by making it public.

Original pull request: #120.
2015-01-19 14:04:00 +01:00
Christoph Strobl
5132aca311 DATAREDIS-363 - Upgrade to jedis 2.6.2. 2015-01-08 12:26:23 +01:00
Christoph Strobl
fc3a840039 DATAREDIS-361 - Read html resources for docs zip from asciidoctor output dir.
We now read generated html resources along with required css files from the asciidoctor output directory.
2014-12-03 08:19:30 +01:00
Oliver Gierke
8a6c739d71 DATAREDIS-360 - After release cleanups. 2014-12-01 13:37:35 +01:00
Spring Buildmaster
a1d00932dc DATAREDIS-360 - Prepare next development iteration. 2014-12-01 04:14:16 -08:00
Spring Buildmaster
e564dd52ef DATAREDIS-360 - Release version 1.5.0.M1 (Fowler M1). 2014-12-01 04:14:09 -08:00
Oliver Gierke
fe93f4cf6f DATAREDIS-360 - Prepare 1.5.0.M1 (Fowler M1). 2014-12-01 11:33:27 +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
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
Thomas Darimont
ca469958ef DATAREDIS-359 - Fix redis javadoc generation. 2014-11-28 10:10:01 +01:00
Thomas Darimont
7ea72f3682 DATAREDIS-359 - Fix redis javadoc generation. 2014-11-27 23:11:44 +01:00
Christoph Strobl
cb070c1375 DATAREDIS-358 - Precise version resolution within RedisTestProfileValueSource.
We now resolve the precise redis version including patch level for the 2.8 line. This allows us to disable tests when building against older versions that might not have the complete featureset available.
2014-11-27 22:03:24 +01:00
Thomas Darimont
557683da51 DATAREDIS-354 - Made JavaType lookup configurable for Jackson RedisSerializers.
We now allow to customise the JavaType to use for a given Class<> by using the getJavaType method. Added constructor variants to JacksonJsonRedisSerializer and Jackson2JsonRedisSerializer.

Original pull request: #113.
2014-11-27 14:26:12 +01:00
Christoph Strobl
22aa5df73e DATAREDIS-308 - Add support for HyperLogLog.
We added methods for PFADD, PFCOUNT and PFMERGE to RedisConnection and StringRedisConnection. HyperLogLogOperations available via RedisTemplate allow more indrect usage of HLL.

Please note that currently Jedis is the only driver that can be used for HyperLogLog commands.

Original pull request: #116.
2014-11-26 15:59:11 +01:00
Christoph Strobl
83cd7a5060 DATAREDIS-355 - Upgrade to jedis 2.6.1.
See https://github.com/xetorthio/jedis/releases/tag/jedis-2.6.1 for details on the release.
2014-11-19 09:37:41 +01:00
Christoph Strobl
57fc58fcff DATAREDIS-288 - Polishing.
Added javadoc and assertions to ensure failing before actually sending data to redis and backed those with tests.

Original pull request: #114.
2014-11-17 13:13:08 +01:00
David Liu
d89773387a DATAREDIS-288 - Improved support for collection parameters in ListOperations.
Added additional leftPushAll and rightPushAll method overloads that accept a Collection parameter.
Previously we only accepted varargs which required users to convert collections to arrays.

Based on David Liu's pull request: #100.

Original pull request: #114.
2014-11-17 13:03:13 +01:00
Thomas Darimont
cf46d6e766 DATAREDIS-106 - Support for open interval for scores for sorted sets.
We now support open zset's interval for JedisConnection, JredisConnection, LettuceConnection, SrpConnection and DefaultStringRedisConnection.

Original pull request: #97.
2014-10-29 11:53:03 +01:00
Christoph Strobl
5ca672d180 DATAREDIS-347 - Fix unintended duplicate script execution.
We now inspect the message of the exception thrown to determine whether the error resulted from a script not being present or an other error. In case the script is not present we simply invoke eval.

Original pull request: #108
2014-10-24 19:24:56 +02:00
Thomas Darimont
f6a7ec5917 DATAREDIS-351 - Update build to latest redis version.
Upgrade makefile to redis 2.8.17
2014-10-23 08:44:00 +02:00
David Liu
4711693669 DATAREDIS-334 - Add binary alternative for RedisScriptingCommands.evalSha.
Introduced new evalSha method that accepts a byte[] as scriptSha as well
as a variable number of byte[] as keyValueArgs.

Original pull request: #99.
2014-10-09 16:13:27 +02:00
David Liu
9ecad07587 DATAREDIS-197 - Expose bit-related ops via ValueOperations.
Polishing. Added -S switch to gradlew in makefile for better Stacktrace reporting.

Original pull request: #96.
2014-09-30 10:28:53 +02:00
Christoph Strobl
ba1d22847d DATAREDIS-350 - Upgrade to Jedis 2.6.0.
Original pull request: #105.
2014-09-29 16:51:52 +02:00
Oliver Gierke
796253bbe2 DATAREDIS-345 - After release cleanups. 2014-09-05 14:39:23 +02:00
Spring Buildmaster
8e2b797635 DATAREDIS-345 - Prepare next development iteration. 2014-09-05 03:24:23 -07:00
Spring Buildmaster
9d634e9789 DATAREDIS-345 - Release version 1.4.0.RELEASE (Evans GA). 2014-09-05 03:24:14 -07:00
Oliver Gierke
4a134e16a5 DATAREDIS-345 - Prepare 1.4.0.RELEASE (Evans GA). 2014-09-05 11:35:34 +02: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
Thomas Darimont
edcf79e67f DATAREDIS-346 - Update Spring Version to 4.0.7. 2014-09-04 15:04:08 +02:00
Christoph Strobl
4c7e405f7b DATAREDIS-344 - Assert RedisCache works with Spring 4.1.
Added `putIfAbsent` to `RedisCache` to satisfy compatibility with newly introduced method.

Original pull request: #102.
2014-09-04 15:02:19 +02:00
Christoph Strobl
f94df9f535 DATAREDIS-340 - Polish performance improvement of zAdd using jedis.
It turned out that the version check throttled performance so we moved things around to avoid iterating multiple times and still perform the check in a non intrusive way.
2014-09-04 14:02:36 +02:00
Konstantin Shchepanovskyi
b26c56b101 DATAREDIS-340 - Improve performance of zAdd elements when using jedis.
Optimize initial size of HashSet and use a Set implementation to check for score duplicates.
Move jedis version check outside loop.

Original PR: #101
CLA: 90520140903040912 (Konstantin Shchepanovskyi)
2014-09-04 14:00:21 +02:00
Oliver Gierke
5df8c3bc80 DATAREDIS-336 - Polished Asciidoctor setup.
Simplified tasks into single asciidoctor task. Wipe out expandPlaceholders to avoid needing the hack to in turn avoid the issue with file expansion.

Removed obsolete baseDir prefix from index.adoc.

Original pull request: #94.
2014-09-04 08:44:47 +02:00
Oliver Gierke
ef7f8221b0 DATAREDIS-336 - Use Spring Data Build CSS and fix resources zip content.
We now depend on the Spring Data Build resources zip to refer to the centrally managed stylesheet. Fixed the Asciidoctor setup to copy the CSS from the shared resources into the target folder. Tweaked docsZip task to trigger docbook generation as well as PDF generation before zipping and corrected the includes directives to create the proper zip file structure.

Original pull request: #94.
2014-09-04 08:44:47 +02:00
Oliver Gierke
4d2fd187ab DATAREDIS-336 - Improvements to reference documentation build.
Fixed Asciidoctor source files to avoid as many warnings as possible. Switched to matching AsciidoctorJ version. Fixed doctype definition by making it an option and not an attribute. Switched from backend to backends (as recommended for Asciidoctor 1.5).

Original pull request: #94.
2014-09-04 08:44:47 +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
Greg Turnquist
fe6b75ee2a DATAREDIS-336 - Fine tune build process and formatting.
Original pull request: #94.
2014-09-04 08:44:47 +02:00
Christoph Strobl
5f638fdda3 DATAREDIS-336 - Move to Asciidoctor for reference documentation.
Add Asciidoctor plugin to Gradle. Reformat and extract some content of files that could not be parsed. Added already converted files.

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
fdfd7fe6e7 DATAREDIS-338 - After release cleanups. 2014-08-13 16:29:32 +02:00
Spring Buildmaster
fc303bd878 DATAREDIS-338 - Prepare next development iteration. 2014-08-13 07:26:45 -07:00
Spring Buildmaster
6ff22117b1 DATAREDIS-338 - Release version 1.4.0.RC1 (Evans RC1) 2014-08-13 07:26:41 -07:00
Oliver Gierke
0b272103bc DATAREDIS-338 - Prepare 1.4.0.RC1 (Evans RC1). 2014-08-13 15:05:22 +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