Commit Graph

73 Commits

Author SHA1 Message Date
Christoph Strobl
d3fe2f2e56 DATAKV-159 - Integrate DATACMNS Java 8 upgrade.
Related to: DATACMNS-867
2017-03-24 10:11:44 +01:00
Oliver Gierke
c148347e93 DATAKV-162 - Updated changelog. 2017-03-02 11:10:57 +01:00
Christoph Strobl
d637e26421 DATAKV-163 - Use Spring 5 compatible version of AnnotatedElementUtils.findAnnotationAttributes. 2017-02-01 13:49:03 +01:00
Oliver Gierke
32d8252cda DATAKV-155 - Updated changelog. 2017-01-26 12:12:29 +01:00
Oliver Gierke
7ac63a5ac5 DATAKV-156 - Updated changelog. 2017-01-26 12:12:04 +01:00
Mark Paluch
5444ea20f7 DATAKV-157 - Migrate ticket references in test code to Spring Framework style. 2017-01-13 09:56:35 +01:00
Oliver Gierke
4d21c1e4b5 DATAKV-148 - Updated changelog. 2016-12-21 19:35:21 +01:00
Oliver Gierke
191d12c1e9 DATAKV-141 - Updated changelog. 2016-12-21 18:42:53 +01:00
Oliver Gierke
33ac8d5fab DATAKV-153 - Adapt API in KeyValueRepositoryFactoryBean.
Related ticket: DATACMNS-891.
2016-12-15 16:19:26 +01:00
Mark Paluch
e0380b0ac3 DATAKV-152 - Register KeyValueRepositoryFactory in spring.factories.
This is required for the switch in support for multi-store detection.

Related ticket: DATACMNS-952.
2016-12-05 17:04:12 +01:00
Oliver Gierke
14447c0a92 DATAKV-149 - Prepare 2.0 M1 (Kay). 2016-11-23 10:35:08 +01:00
Oliver Gierke
ac1f6d4f80 DATAKV-149 - Updated changelog. 2016-11-23 10:34:57 +01:00
Christoph Strobl
f9ac897ecc DATAKV-150 - Fix compile error after switch to Spring 5. 2016-11-07 15:05:07 +01:00
Oliver Gierke
5fd6024fd0 DATAKV-146 - Updated changelog. 2016-11-03 18:56:39 +01:00
Oliver Gierke
ecf3fd4c2d DATAKV-144 - Updated changelog. 2016-09-29 14:42:02 +02:00
Oliver Gierke
753ab82d54 DATAKV-145 - Updated changelog. 2016-09-29 11:50:46 +02:00
Oliver Gierke
ba614279f8 DATAKV-143 - Updated changelog. 2016-09-21 07:35:15 +02:00
Oliver Gierke
4a3eb39f29 DATAKV-139 - Updated changelog. 2016-09-20 11:57:07 +02:00
Christoph Strobl
37c9aa4012 DATAKV-142 - Consider PartTree.isLimiting() and PartTree.getMaxResults() when creating queries.
We now pick up result size limiting constraints from the query method name. This allows usage of `findTopN` and `findFirst` keywords.

Original pull request: #22.
2016-09-12 13:12:31 +02:00
Oliver Gierke
6a4337f69a DATAKV-133 - Prepare 1.2 M1 (Ingalls). 2016-07-27 13:51:37 +02:00
Oliver Gierke
2df87c1175 DATAKV-133 - Updated changelog. 2016-07-27 13:51:28 +02:00
Oliver Gierke
aa3148a867 DATAKV-134 - Updated changelog. 2016-06-15 14:31:47 +02:00
Christoph Strobl
0ad24ece59 DATAKV-137 - Polishing.
Remove whitespaces & unused imports, fix warnings.

Original Pull Request: #20
2016-06-14 08:16:42 +02:00
Mark Paluch
302dfd407c DATAKV-137 - Fix cached query execution.
We now make sure that cached SpelCriteria's use the appropriate EvaluationContext containing parameters from the request instead of using the EvaluationContext of the cached query.

Original Pull Request: #20
2016-06-14 08:16:22 +02:00
Christoph Strobl
66534d2ae0 DATAKV-136 - Choose SecureRandom algorithm based on operating system and availability.
We now distinguish between operating systems when choosing a SecureRandom algorithm. Additionally we check the availability of the implementations and choose the first one available.

Original pull request: #21.
2016-06-13 13:19:50 +02:00
Oliver Gierke
906a6daa3f DATAKV-132 - Updated changelog. 2016-04-06 23:14:23 +02:00
Oliver Gierke
9098e70274 DATAKV-130 - Prepare 1.1 GA (Hopper). 2016-04-06 16:34:45 +02:00
Oliver Gierke
23a0fc9de2 DATAKV-130 - Updated changelog. 2016-04-06 16:34:34 +02:00
Oliver Gierke
062814da5a DATAKV-128 - Prepare 1.1 RC1 (Hopper). 2016-03-18 11:06:57 +01:00
Oliver Gierke
44b90141f7 DATAKV-128 - Updated changelog. 2016-03-18 11:06:47 +01:00
Mark Paluch
6d29f62f1e DATAKV-112 - Polishing.
Updated license header. Fixed documentation reference.

Related tickets: DATAKV-112, DATAKV-117
Original pull request: #18.
2016-03-10 17:08:18 +01:00
Christoph Strobl
fae6d418b6 DATAKV-117 - Pass on type information to KV Adapter.
Original pull request: #18.
2016-03-10 17:08:18 +01:00
Christoph Strobl
551b27deb2 DATAKV-112 - Make caching repository queries more explicit.
We introduced an explicit CachingKeyValuePartTreeQuery and allow setting the gernal repository query stategy via QueryCreatorType.
By default queries will not be cached.

Original pull request: #18.
2016-03-10 17:08:18 +01:00
Mark Paluch
b40c8c1ed6 DATAKV-129 - Polishing.
Updated license header.

Original pull request: #19.
2016-03-10 17:06:47 +01:00
Christoph Strobl
070be6e47d DATAKV-129 - Allow usage of @AliasFor with @KeySpace.
We now allow using Spring's meta-annotation programming model. Own meta-annotations can be composed using @KeySpace and @AliasFor annotation.
Example for a custom meta-annotation corresponding to @KeySpace("sessions") when it's used with @SessionsKeyspace class MyEntity {…}:

@Persistent
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE })
@KeySpace
public @interface SessionsKeyspace {

	@AliasFor(annotation = KeySpace.class, attribute = "value")
	String name() default "sessions";
}

Original pull request: #19.
2016-03-10 17:06:47 +01:00
Oliver Gierke
2cce00f1fe DATAKV-126 - Updated changelog. 2016-02-23 14:27:23 +01:00
Oliver Gierke
cd93bced7f DATAKV-124 - Prepare 1.1 M1 (Hopper). 2016-02-12 15:36:20 +01:00
Oliver Gierke
683bcb3559 DATAKV-124 - Updated changelog. 2016-02-12 15:36:13 +01:00
Oliver Gierke
874b2bc880 DATAKV-123 - Introduced dedicated KeyValueRepositoryFactoryBean.createRepositoryFactory(…).
We now expose a dedicated method for implementors to use to create the repository factory instance based on the configuration of the factory.

Added unit tests to make sure the factory bean fails fast if it's configured improperly.

Original Pull Request: #17
2016-02-11 10:02:17 +01:00
Oliver Gierke
40fe2addac DATAKV-115 - Polishing.
Introduced dedicated constructor on SpelCriteria to default the EvaluationContext to StandardEvaluationContext. Switched to ternary if in KeyValuePartTreeQuery for both application of Pageable and Sort. Tweaked unit test to actually compile in Eclipse.

Original pull request: #16.
2016-02-09 15:51:47 +01:00
Christoph Strobl
e22ee22e58 DATAKV-115 - Make derived finder execution thread-safe.
We now make sure separate SpelExpression and EvaluationContext for each and every derived finder execution to assert the expression context cannot be accidentally overridden.

Original pull request: #16.
2016-02-09 15:50:19 +01:00
Oliver Gierke
62276f3d69 DATAKV-122 - Updated changelog. 2015-12-18 10:54:22 +01:00
Oliver Gierke
d1df6d5e76 DATAKV-121 - Added support for projections on repository query methods.
Repository methods can now return interfaces that act as projections on the original entity instances stored in the repository.

Related ticket: DATACMNS-89.
2015-12-14 19:57:34 +01:00
Oliver Gierke
e7efe2912c DATAKV-119 - Upgraded to Querydsl 4. 2015-11-17 13:43:29 +01:00
Oliver Gierke
7ac4f5ff93 DATAKV-118 - Updated changelog. 2015-11-16 08:59:47 +01:00
Oliver Gierke
d7b2c0f499 DATAKV-114 - Polishing.
Polished newly added unit tests. Added missing license header and JavaDoc where necessary. More speaking variable names. Removed unnecessary code from test domain type.

Original pull request: #15.
2015-11-02 06:33:39 +01:00
Martin Macko
95c56c8dd4 DATAKV-114 - Fixed NullPointerException in SpelQueryEngine.
Original pull request: #15.
2015-11-02 06:31:28 +01:00
Martin Macko
b24129bddd DATAKV-111 - Fix typos in reference documentation. 2015-10-31 15:14:46 +01:00
Oliver Gierke
44839d2982 DATAKV-110 - Prepare 1.0.0.RELEASE (Gosling GA). 2015-09-01 09:44:23 +02:00
Oliver Gierke
3a717b4497 DATAKV-110 - Updated changelog. 2015-09-01 09:44:20 +02:00