Commit Graph

248 Commits

Author SHA1 Message Date
Mark Paluch
b15d3205d9 DATALDAP-54 - Updated changelog. 2018-01-24 12:22:11 +01:00
Mark Paluch
bc5908a030 DATALDAP-56 - Update copyright years to 2018. 2018-01-08 16:53:39 +01:00
Mark Paluch
6697510745 DATALDAP-53 - Updated changelog. 2017-11-27 16:43:43 +01:00
Mark Paluch
562e83d023 DATALDAP-52 - Updated changelog. 2017-11-27 15:58:45 +01:00
Mark Paluch
0133ec92a3 DATALDAP-5 - Polishing.
Replace Mongo leftovers from initial skeleton code.
2017-11-09 14:45:24 +01:00
Mark Paluch
a5810ffa0f DATALDAP-5 - Add CDI extension for LDAP repositories.
We now provide a CDI extension to create LDAP repositories in a CDI container. LDAP repositories require a LdapOperations bean as underlying resource manager for LDAP access.

class LdapTemplateProducer {

  @Produces
  @Singleton
  public LdapTemplate createLdapTemplate() {

    LdapTemplate ldapTemplateMock = …
    return ldapTemplateMock;
  }
}

class RepositoryClient {

  @Inject
  PersonRepository repository;
}
2017-11-09 14:45:24 +01:00
Oliver Gierke
1fa3a279d7 DATALDAP-49 - Updated changelog. 2017-10-27 16:36:51 +02:00
Oliver Gierke
65b0263431 DATALDAP-46 - Updated changelog. 2017-10-11 19:01:39 +02:00
Mark Paluch
3c36c7e50c DATALDAP-47 - Prepare 2.0 GA (Kay). 2017-10-02 11:09:17 +02:00
Mark Paluch
f0e230cbe8 DATALDAP-47 - Updated changelog. 2017-10-02 11:09:13 +02:00
Oliver Gierke
bde85f7c9e DATALDAP-43 - Prepare 2.0 RC3 (Kay). 2017-09-11 17:23:52 +02:00
Oliver Gierke
9cc35bd85c DATALDAP-43 - Updated changelog. 2017-09-11 17:23:46 +02:00
Mark Paluch
6ba2656d82 DATALDAP-44 - Updated changelog. 2017-09-11 12:44:00 +02:00
Mark Paluch
b3f1bbc882 DATALDAP-45 - Introduced usage of nullable annotations for API validation.
Mark all packages with Spring Frameworks @NonNullApi. Add Spring's @Nullable to methods, parameters and fields that take or produce null values. Adapt using code to make sure the IDE can evaluate the null flow properly. Introduce methods that return required (non-null) values.
2017-07-28 10:47:12 +02:00
Oliver Gierke
1a10d2ffa1 DATALDAP-41 - Updated changelog. 2017-07-27 00:48:58 +02:00
Oliver Gierke
4003dfddb3 DATALDAP-42 - Prepare 2.0 RC2 (Kay). 2017-07-25 15:33:33 +02:00
Oliver Gierke
f4055def3f DATALDAP-42 - Updated changelog. 2017-07-25 15:33:27 +02:00
Oliver Gierke
3221473724 DATALDAP-40 - Prepare 2.0 RC1 (Kay). 2017-07-25 09:48:01 +02:00
Oliver Gierke
2b7fa5e818 DATALDAP-40 - Updated changelog. 2017-07-25 09:47:56 +02:00
Oliver Gierke
e77f2ffb00 DATALDAP-39 - Updated changelog. 2017-07-24 22:20:42 +02:00
Mark Paluch
802743888c DATALDAP-36 - Prepare 2.0 M4 (Kay). 2017-06-14 17:03:00 +02:00
Mark Paluch
6e5ca563de DATALDAP-36 - Updated changelog. 2017-06-14 17:02:58 +02:00
Mark Paluch
e37f3d5554 DATALDAP-34 - Updated changelog. 2017-06-08 11:56:19 +02:00
Oliver Gierke
f6fff99bcc DATALDAP-37 - Polishing.
Fixed capitalization of Querydsl related classes.
2017-05-19 11:00:27 +02:00
Oliver Gierke
18e5d2301c DATALDAP-37 - Adapt to API changes in QuerydslPredicateExecutor.findOne(…).
Related ticket: DATACMNS-1059.
2017-05-19 11:00:27 +02:00
Mark Paluch
06516ec651 DATALDAP-32 - Prepare 2.0 M3 (Kay). 2017-05-09 11:22:12 +02:00
Mark Paluch
7b8e90bfa4 DATALDAP-32 - Updated changelog. 2017-05-09 11:22:07 +02:00
Jens Schauder
4733f7e6e2 DATALDAP-35 - Adapt to API changes in repository interfaces.
Related ticket: DATACMNS-944
2017-05-03 18:02:23 +02:00
Oliver Gierke
210e766fa0 DATALDAP-33 - Updated changelog. 2017-04-19 20:01:46 +02:00
Oliver Gierke
af3b0a57ba DATALDAP-24 - Updated changelog. 2017-04-19 11:50:48 +02:00
Oliver Gierke
e4de0a022f DATALDAP-29 - Prepare 2.0 M2 (Kay). 2017-04-04 21:12:02 +02:00
Oliver Gierke
b2adf693d4 DATALDAP-29 - Updated changelog. 2017-04-04 21:11:54 +02:00
John Blum
70730ea113 DATALDAP-28 - Rename getRepositoryFactoryClassName to getRepositoryFactoryBeanClassName. 2017-03-24 13:05:40 -07:00
Oliver Gierke
a873bf1d29 DATALDAP-21 - Adapt API changes after Mockito 2.7 update. 2017-03-24 09:24:32 +01:00
Mark Paluch
2569ee07eb DATALDAP-21 - Java 8 code cleanup.
Replace explicit type arguments with diamond syntax.
2017-03-24 09:24:32 +01:00
Mark Paluch
27f46fb124 DATALDAP-21 - Integrate Data Commons Java 8 upgrade branch. 2017-03-24 09:24:32 +01:00
Juraj Martinka
5984451742 DATALDAP-25 - Fix link to spring-ldap docs in reference documentation.
Remove superfluous .RELEASE from spring-ldap documentation link.

Original pull request: #1.
2017-03-09 18:46:36 +02:00
Oliver Gierke
d7153ff0ca DATALDAP-20 - Updated changelog. 2017-03-02 11:11:02 +01:00
Oliver Gierke
cf11d74354 DATALDAP-19 - Updated changelog. 2017-01-26 12:14:56 +01:00
Oliver Gierke
d40e391870 DATALDAP-16 - Update changelog. 2017-01-26 12:14:48 +01:00
Oliver Gierke
4a65f19223 DATALDAP-9 - Adapt API in LdapRepositoryFactoryBean.
Related ticket: DATACMNS-891.
2016-12-15 16:18:42 +01:00
Mark Paluch
5096ae32a2 DATALDAP-7 - Polishing.
Reformat code with Spring Data formatter. Add JavaDoc to overrides and constructors. Add missing assertions to public entry points. Remove since tags from JavaDoc.
2016-12-06 11:59:54 +01:00
Mark Paluch
d594183e8d DATALDAP-7 - Migrate tests to AssertJ.
Switch remaining tests to AssertJ.
2016-12-06 11:27:10 +01:00
Mark Paluch
1e35b624b7 DATALDAP-2- Support repositoryBaseClass and considerNestedRepositories in @EnableLdapRepositories annotation.
We now support nested repository interfaces and customization via EnableLdapRepositories.repositoryBaseClass.

  @Configuration
  @EnableLdapRepositories(considerNestedRepositories = true, repositoryBaseClass = CustomizedLdapRepository.class)
  public class Config {
    // …
  }
2016-12-06 11:11:49 +01:00
Mark Paluch
ba9f653c95 DATALDAP-1 - Polishing.
Split XML configuration into infrastructure and test-specific parts. Add test logging configuration. Rename test classes to end with Tests suffix.
2016-12-06 10:18:38 +01:00
Mark Paluch
39b6b4d6af DATALDAP-1 - Create namespace handler and XML schema.
Spring Data LDAP now uses its own Namespace: http://www.springframework.org/schema/data/ldap. Using XML configuration for Spring LDAP and Spring Data LDAP requires both namespaces to be declared.

<beans xmlns="http://www.springframework.org/schema/beans"
		xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
		xmlns:ldap="http://www.springframework.org/schema/ldap"
		xmlns:data-ldap="http://www.springframework.org/schema/data/ldap"
		xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
		http://www.springframework.org/schema/ldap http://www.springframework.org/schema/ldap/spring-ldap.xsd
		http://www.springframework.org/schema/data/ldap http://www.springframework.org/schema/data/ldap/spring-ldap.xsd">

	<ldap:context-source password="apassword" url="ldap://localhost:389" username="uid=admin"/>

	<ldap:ldap-template/>

	<data-ldap:repositories base-package="org.springframework.data.ldap.config"/>

</beans>
2016-12-06 10:18:35 +01:00
Mark Paluch
864725367a DATALDAP-6 - Register LdapRepositoryFactory in spring.factories.
This is required for the switch in support for multi-store detection.

Related ticket: DATACMNS-952.
2016-12-06 09:30:07 +01:00
Mark Paluch
9bbf0389e2 Initial import. 2016-11-21 15:53:45 +01:00