Commit Graph

1734 Commits

Author SHA1 Message Date
Mark Paluch
c43264d21f DATAREDIS-861 - After release cleanups. 2018-09-21 07:46:17 -04:00
Mark Paluch
1cffa182a6 DATAREDIS-861 - Prepare next development iteration. 2018-09-21 07:46:16 -04:00
Mark Paluch
17b5181f5c DATAREDIS-861 - Release version 2.1 GA (Lovelace). 2018-09-21 07:08:39 -04:00
Mark Paluch
426bd11bef DATAREDIS-861 - Prepare 2.1 GA (Lovelace). 2018-09-21 07:07:51 -04:00
Mark Paluch
f3e7995ec4 DATAREDIS-861 - Updated changelog. 2018-09-21 07:07:49 -04:00
Christoph Strobl
45cbb21849 DATAREDIS-869 - Polishing.
Rename parameters and add methods with new nomenclature.

Original Pull Request: #355
2018-09-20 10:49:20 +02:00
Mark Paluch
169b1bd174 DATAREDIS-869 - Adapt to nomenclature change about Master/Replica.
We now renamed RedisStaticMasterSlaveConfiguration and StaticMasterSlaveConnectionProvider to RedisStaticMasterReplicaConfiguration respective StaticMasterReplicaConnectionProvider to reflect changes in Redis nomenclature regarding replication.

Original Pull Request: #355
2018-09-20 10:48:46 +02:00
Mark Paluch
a7352f5612 DATAREDIS-869 - Use changed nomenclature in documentation and readme.
Original Pull Request: #355
2018-09-20 10:48:17 +02:00
Christoph Strobl
e253d49f4a DATAREDIS-870 - Upgrade to Lettuce 5.1.0.RELEASE 2018-09-20 10:46:59 +02:00
Mark Paluch
b7545e50e6 DATAREDIS-868 - Include documentation about Repository Object Mapping Fundamentals.
Related ticket: DATACMNS-1374.
2018-09-18 13:22:32 +02:00
Mark Paluch
1ff6661f13 DATAREDIS-854 - Updated changelog. 2018-09-10 14:15:52 +02:00
Mark Paluch
dcb373b70e DATAREDIS-856 - Updated changelog. 2018-09-10 10:20:58 +02:00
Mark Paluch
fd03df48e1 DATAREDIS-862 - Document that Redis Repositories do not work with transactions.
Original pull request: #354.
2018-09-04 10:40:01 +02:00
Mark Paluch
0366154754 DATAREDIS-741 - Polishing.
Outline entity declaration. Fix indentation and typos.

Original pull request: #354.
2018-09-04 10:39:59 +02:00
Christoph Strobl
aaf032445b DATAREDIS-741 - Improve repository operation documentation.
Original pull request: #354.
2018-09-04 10:39:54 +02:00
Mark Paluch
5688d56eab DATAREDIS-708 - Move BGREWRITEAOF and BGSAVE tests to unit tests.
Run tests against Lettuce connection mocks to not interfere with running Redis background processes.

Original Pull Request: #347
2018-08-28 09:57:54 +02:00
Oliver Gierke
1289323f63 DATAREDIS-853 - After release cleanups. 2018-08-20 10:56:53 +02:00
Oliver Gierke
c0babf2d1b DATAREDIS-853 - Prepare next development iteration. 2018-08-20 10:56:52 +02:00
Oliver Gierke
beef8b7eff DATAREDIS-853 - Release version 2.1 RC2 (Lovelace). 2018-08-20 10:40:11 +02:00
Oliver Gierke
1c63d58a7b DATAREDIS-853 - Prepare 2.1 RC2 (Lovelace). 2018-08-20 10:39:43 +02:00
Oliver Gierke
8d97544b5a DATAREDIS-853 - Updated changelog. 2018-08-20 10:39:40 +02:00
Mark Paluch
33e6e8e76e DATAREDIS-844 - Updated changelog. 2018-07-27 11:45:25 +02:00
Mark Paluch
7b4a4c9cc3 DATAREDIS-845 - Updated changelog. 2018-07-26 16:23:58 +02:00
Mark Paluch
c1508df13a DATAREDIS-836 - After release cleanups. 2018-07-26 12:32:28 +02:00
Mark Paluch
013ee9f35e DATAREDIS-836 - Prepare next development iteration. 2018-07-26 12:32:25 +02:00
Mark Paluch
1bd6e216dd DATAREDIS-836 - Release version 2.1 RC1 (Lovelace). 2018-07-26 12:06:35 +02:00
Mark Paluch
9e1ff1a747 DATAREDIS-836 - Prepare 2.1 RC1 (Lovelace). 2018-07-26 12:04:30 +02:00
Mark Paluch
70d7b30e28 DATAREDIS-836 - Updated changelog. 2018-07-26 12:04:27 +02:00
Mark Paluch
c6ecd4603d DATAREDIS-843 - Polishing.
Improve test stability to not concurrently create atomic counter instances.
2018-07-24 16:25:50 +02:00
Mark Paluch
eff0d29723 DATAREDIS-852 - Polishing.
Refactor lower/upper bound retrieval into LettuceConverters for a consistent lower/upper boundary return value. Use minus one (-1) as the upper bound index to always retrieve the last element if the upper boundary is not bounded.

Original pull request: #353.
2018-07-24 15:26:04 +02:00
michele
3a7d871119 DATAREDIS-852 - Return always a lower/upper bound range index using Range.Bound.unbounded() with Lettuce.
We now return in List, String, and ZSet commands a lower/upper bound range index to prevent NullPointerException. Previously, unbounded ranges could render null values that were attempted to cast to primitives.

Original pull request: #353.
2018-07-24 15:24:34 +02:00
Christoph Strobl
2dfe1e2b4e DATAREDIS-843 - Polishing.
Remove usage of deprecated methods, enable ignored test and move to AssertJ.

Original Pull Request: #349
2018-07-12 11:02:03 +02:00
Mark Paluch
a0d8b3a4c6 DATAREDIS-843 - Polishing.
Remove unnecessary unboxing and final keywords from arguments in method signatures.

Original Pull Request: #349
2018-07-12 11:02:03 +02:00
Mark Paluch
191244b1a4 DATAREDIS-843 - Adapt compare-and-set to changed transaction rollback response.
We now consider a transactional rollback that returns an empty EXEC result as rollback for the CAS (compare-and-set) operation. Previously, we checked only that the response of EXEC is not null. A rollback returns an empty list which was previously considered a successful CAS operation.

The code for CAS is now extracted to CompareAndSet and is reused from RedisAtomic implementations.

Original Pull Request: #349
2018-07-12 11:02:03 +02:00
Mark Paluch
322cfabb17 DATAREDIS-849 - Add support for immutable objects.
We now support immutable objects for saving (e.g. object without a provided Id) and loading (i.e. persistence constructor declares a subset of properties). New instances are created using wither methods/Kotlin copy(…) methods if an immutable object requires association with an Id.

Association of the Id to its object moved from RedisKeyValueAdapter to RedisKeyValueTemplate.
2018-07-12 10:44:33 +02:00
jsajadi
3defab118e DATAREDIS-850 - Fix assertion for expireTimeout in ReactiveStringCommands.pSetEx(…).
We now correctly assert the expireTimeout parameter.

Original pull request: #351.
2018-07-09 09:41:29 +02:00
Christoph Strobl
9e74556f74 DATAREDIS-696 - Add support for REPLACE option to RESTORE.
We bypass the lack of driver support by directly executing a custom command.

Original pull request: #344.
2018-07-02 11:44:18 +02:00
Mark Paluch
64dee51919 DATAREDIS-829 - Updated changelog. 2018-06-13 21:39:54 +02:00
Mark Paluch
7a16ead356 DATAREDIS-828 - Updated changelog. 2018-06-13 15:01:59 +02:00
Christoph Strobl
caeaab508f DATAREDIS-840 - Polishing.
Introduce dedicated Subscription.close() to unsubscribe() and punsubscribe().

Original Pull Request: #346
2018-06-12 10:34:42 +02:00
Mark Paluch
c9e1803c3a DATAREDIS-840 - Polishing.
Fix code comment. Reformat code.

Original Pull Request: #346
2018-06-12 10:24:48 +02:00
Mark Paluch
bb1dd8b379 DATAREDIS-840 - Catch unsubscribe exceptions when stopping RedisMessageListenerContainer.
We now catch exceptions that may occur during unsubscription from the subscribed patterns/channels.
Previously, RuntimeExceptions were not caught and prevented a fast shutdown of the ApplicationContext.

Original Pull Request: #346
2018-06-12 10:24:08 +02:00
Mark Paluch
afd8606e19 DATAREDIS-842 - Polishing.
Reformat code. Add author tags. Add integration test.

Original pull request: #345.
2018-06-06 12:27:12 +02:00
Ruben Cervilla
e61beb441f DATAREDIS-842 - Consider database index when connecting to Redis using Redis Sentinel.
Original pull request: #345.
2018-06-06 12:23:16 +02:00
Oliver Gierke
7bfafa3ed5 DATAREDIS-839 - Get rid of unnecessary stubbings in MappingRedisEntityInformation.
Related tickets: DATACMNS-1333.
2018-06-01 14:22:41 +02:00
Christoph Strobl
2b2995af7e DATAREDIS-771 - Polishing.
Add test and update documentation.

Original Pull Request: #342
2018-05-23 11:16:01 +02:00
Mark Paluch
86606be850 DATAREDIS-771 - Polishing.
Improve error message for unsupported PartTree keywords.

Original Pull Request: #342
2018-05-23 11:15:11 +02:00
Mark Paluch
d73a0e1677 DATAREDIS-771 - Add support for IsTrue and IsFalse keywords in repository query methods.
We now support IsTrue and IsFalse keywords usage in repository query methods to create queries with predicates for boolean fields values without requiring to pass a boolean argument.

class Person {

    @Id String id;

    @Indexed Boolean alive;
}

interface PersonRepository extends Repository<Person, String> {

    Person findByAliveIsTrue();

    Person findByAliveIsFalse();
}

Original Pull Request: #342
2018-05-23 11:14:39 +02:00
Christoph Strobl
127aa26f68 DATAREDIS-830 - Polishing.
Move Subscription initialization and update comments.

Original Pull Request: #341
2018-05-22 12:38:34 +02:00
Mark Paluch
e766b18d8e DATAREDIS-830 - Polishing.
Reformat code. Add override-comments. Encapsulate connection in LettuceSubscription. Fix typos.

Original Pull Request: #341
2018-05-22 12:38:03 +02:00