Mark Paluch
37250cd9cb
Update copyright year to 2021.
...
Closes #237 .
2021-01-07 11:56:15 +01:00
Mark Paluch
71ee9011e9
DATALDAP-157 - Migrate tests to JUnit 5.
2020-05-07 11:38:32 +02:00
Mark Paluch
b72676b1f1
DATALDAP-139 - Update copyright years to 2020.
2020-01-07 08:57:27 +01:00
Spring Operator
3dc8768cdb
DATALDAP-108 - URL Cleanup.
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/ ) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 53 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
Original Pull Request: #18
2019-03-22 18:24:26 +01:00
Spring Operator
9934a1e796
DATALDAP-108 - URL Cleanup.
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.
* http://www.springframework.org/schema/data/ldap/spring-ldap.xsd (404) with 2 occurrences migrated to:
https://www.springframework.org/schema/data/ldap/spring-ldap.xsd ([https](https://www.springframework.org/schema/data/ldap/spring-ldap.xsd ) result 404).
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* http://maven.apache.org/xsd/maven-4.0.0.xsd with 1 occurrences migrated to:
https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd ) result 200).
* http://www.springframework.org/schema/beans/spring-beans.xsd with 3 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans.xsd ([https](https://www.springframework.org/schema/beans/spring-beans.xsd ) result 200).
* http://www.springframework.org/schema/ldap/spring-ldap.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/ldap/spring-ldap.xsd ([https](https://www.springframework.org/schema/ldap/spring-ldap.xsd ) result 200).
# Ignored
These URLs were intentionally ignored.
* http://maven.apache.org/POM/4.0.0 with 2 occurrences
* http://www.springframework.org/schema/beans with 6 occurrences
* http://www.springframework.org/schema/data/ldap with 4 occurrences
* http://www.springframework.org/schema/ldap with 2 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 4 occurrences
Original Pull Request: #13
2019-03-20 13:12:59 +01:00
Mark Paluch
1db49a1485
DATALDAP-100 - Update copyright years to 2019.
2019-01-02 14:07:51 +01:00
Mark Paluch
4d4f6e98b1
DATALDAP-65 - Fix query execution without predicates using Querydsl.
...
Query execution without a predicate now no longer fails but falls back to LdapOperations.findAll(…). Previously, we did not initialize the filter of LdapQuery which caused an IllegalStateException in LdapOperations.find(…).
2018-03-29 13:35:51 +02:00
Mark Paluch
3c47cd0e1c
DATALDAP-64 - Export composable repositories via CDI.
...
We now export composable repositories through our CDI extension. Repositories can now be customized either by a single custom implementation (as it was before) and by providing fragment interfaces along their fragment implementation.
This change aligns CDI support with the existing RepositoryFactory support we provide within a Spring application context.
2018-03-12 16:31:13 +01:00
Mark Paluch
b40531fa54
DATALDAP-60 - Add LdapMappingContext and LdapPersistentEntity.
...
Add mapping context infrastructure for usage with Spring Data REST.
2018-02-19 10:14:06 +01:00
Mark Paluch
bc5908a030
DATALDAP-56 - Update copyright years to 2018.
2018-01-08 16:53:39 +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
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
f6fff99bcc
DATALDAP-37 - Polishing.
...
Fixed capitalization of Querydsl related classes.
2017-05-19 11:00:27 +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
a873bf1d29
DATALDAP-21 - Adapt API changes after Mockito 2.7 update.
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
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
9bbf0389e2
Initial import.
2016-11-21 15:53:45 +01:00