Commit Graph

98 Commits

Author SHA1 Message Date
Rob Winch
48eb09fc9d LDAP-339: Polish Spring Data Commons 1.11.0
Explicitly add older Spring Data for Spring 3 tests
2015-09-02 09:24:29 -05:00
Thomas Darimont
963232f9a9 LDAP-337 - Enable Java 8 build.
Fixed various JavaDoc errors that would otherwise cause the build to fail with JDK 8.
Upgraded Jacoco Plugin Version to support Java 8.
Increased heap to javadoc task to speed up doc generation.

The build now works fine with Java 7 and Java 8.
2015-08-03 22:32:19 +02:00
Rob Winch
5e56f09402 Update tests to use Hibernate 3.3.2.Final 2015-07-13 15:12:59 -05:00
Andy Wilkinson
b271b1fd66 LDAP-328: DirtiesContext for Integration Tests that have Order issues
The upgrade to JUnit 4.11 has revealed some integration tests whose
success was dependant on them being run in a particular order. To
overcome this the classes containing these tests have been marked
with @DirtiesContext configured to renew the application context after
each test method.
2015-04-28 16:01:23 -05:00
Rob Winch
340a88da4c LDAP-321: ContextSourceTransactionManager overrides isExistingTransaction
PreviouslyIllegalStateException: No value for key PoolingContextSource
would be thrown.

This is now fixed since isExistingTransaction is now provided.
2015-04-28 13:07:03 -05:00
Rob Winch
db833104e4 LDAP-311: Add spring-data-commons to samples and test projects 2015-04-24 11:20:50 -05:00
Mattias Hellborg Arthursson
4e1717d68a Final(?) tweaks to sonar setup. 2013-11-19 08:01:55 +01:00
Mattias Hellborg Arthursson
6de0506587 Excluding generated source from sonar analysis. Including integration tests in coverage. 2013-11-19 06:52:42 +01:00
Mattias Hellborg Arthursson
156919c5f3 Attempting to get coverage to include integration tests. 2013-11-18 20:06:55 +01:00
Mattias Hellborg Arthursson
f89daf692e LDAP-282: Minor tweaks to naming in LdapNameBuilder. Added methods for appending distinguished name strings. 2013-11-18 13:36:16 +01:00
Mattias Hellborg Arthursson
98e4db9ae5 LDAP-264: Handle SizeLimitException explicitly, ignoring and aborting unless explicitly specified otherwise. 2013-11-18 11:51:14 +01:00
Mattias Hellborg Arthursson
7610961d25 LDAP-279: Configuration tweaks. Removed simple-odm sample. 2013-11-08 08:49:55 +01:00
Mattias Hellborg Arthursson
9f81a8918c LDAP-280: Now updating id in created/updated objects. 2013-11-07 15:51:09 +01:00
Mattias Hellborg Arthursson
6ac6afb912 LDAP-56: Removed obsolete file. 2013-11-05 09:02:19 +01:00
Mattias Hellborg Arthursson
d3414775c4 LDAP-56: Specific configuration when running integration tests against Active Directory. 2013-11-05 09:00:38 +01:00
Mattias Hellborg Arthursson
2eba25811e LDAP-56: generic integration tests are now configurable to run against a local LDAP server rather than startin in-process ApacheDS. 2013-10-25 10:46:28 +02:00
Mattias Hellborg Arthursson
c2abc9660e LDAP-248: DirContextAdapter now handles javax.naming.Name instances properly with regards to equality
LDAP-274: ODM now uses standard Spring converter (if present).
LDAP-275: Support for different Collection types in ODM
2013-10-24 10:25:22 +02:00
Mattias Hellborg Arthursson
27593ac973 LDAP-271: Now propertly handling setting values to null and updating when using ODM. 2013-10-22 08:51:20 +02:00
Mattias Hellborg Arthursson
7823b329b4 LDAP-269: Basic QueryDSL support. 2013-10-22 08:06:12 +02:00
Mattias Hellborg Arthursson
983d183bb1 LDAP-266: Finishing up spring-data repository support. 2013-10-14 16:09:28 +02:00
Mattias Hellborg Arthursson
2c3d1935dc LDAP-266: Integration tests of automatic repository support. 2013-10-14 09:21:24 +02:00
Mattias Hellborg Arthursson
1e2a060459 LDAP-273: Converted to slf4j 2013-10-10 14:21:23 +02:00
Mattias Hellborg Arthursson
c98110b8c2 LDAP-266: Initial effort for automatic repository support. 2013-10-10 13:32:45 +02:00
Mattias Hellborg Arthursson
41fc6306ae LDAP-267: Implemented support for DataSource and Hibernate integration with namespace configuration. 2013-10-09 08:14:10 +02:00
Mattias Hellborg Arthursson
e43233fd86 LDAP-267: BaseLdapPath support with namespace configuration. 2013-10-09 07:41:02 +02:00
Mattias Hellborg Arthursson
795701fd58 LDAP-267: Added integration tests and modified samples to use new xml namespace. 2013-10-08 08:17:49 +02:00
Mattias Hellborg Arthursson
a8f22899db LDAP-268: Additional integration test cases for @DnAttribute annotations 2013-10-07 07:06:50 +02:00
Mattias Hellborg Arthursson
78b9617bf1 LDAP-265, LDAP-268: Added the ability to automatically map to/from DN values in ODM. Added some much needed unit tests for ODM functionality. 2013-09-29 16:11:14 +02:00
Mattias Hellborg Arthursson
1b814e3631 LDAP-265: Moved ODM functionality to core and added methods in LdapTemplate. 2013-09-27 10:43:07 +02:00
Mattias Hellborg Arthursson
27682b0b53 LDAP-263: authentication methods for LdapQuery. Documentation updated to reflect fluent API changes. 2013-09-24 16:55:54 +02:00
Mattias Hellborg Arthursson
b141cfd4cb LDAP-263: Fluent API for building LDAP queries. 2013-09-23 15:53:26 +02:00
Mattias Hellborg Arthursson
9687edf625 LDAP-101: Added eager invalidation of dead pooled connections. 2013-09-11 10:37:59 +02:00
Mattias Hellborg Arthursson
14bf8b48a2 LDAP-256: Now requiring TempEntryRenamingStrategy to be explicitly configured. Updated transaction documentation to reflect this and use tx:annotation-config syntax. 2013-09-09 13:37:09 +02:00
Mattias Hellborg Arthursson
d6f8f6e488 LDAP-258: Some minor restructuring to avoid (irrelevant, but ugly and build failing) package tangles in test cases. 2013-09-09 10:08:10 +02:00
Mattias Hellborg Arthursson
66bc1968db Cleaned up usage of DistinguishedName from satellite modules, samples and tests. 2013-08-30 10:44:51 +02:00
Mattias Hellborg Arthursson
ed605be49a LDAP-258: Deprecated DistinguishedName and associated classes. Removed unnecessary usage in core. 2013-08-30 08:00:38 +02:00
Mattias Hellborg Arthursson
d54c43cc62 Updated copyright notice. 2013-08-16 13:30:46 +02:00
Mattias Hellborg Arthursson
63692ed30a LDAP-251: Some additional tweaks to the gradle build
- Made sure Main-Class is specified in odm jar
- Fixed source inclusions/exclusions for idea and eclipse plugins
- Made sure idea and eclipse plugins depend on javacc task
- Removed pom files from build.
2013-08-16 08:44:22 +02:00
Mattias Hellborg Arthursson
cc14bf3319 LDAP-179: DataSource connections not being released when LDAP connection fails in JDBC integrated transaction.
Now cleaning up in DataSource and Hibernate transaction managers in doBegin if failing to create LDAP transaction.
2013-08-14 12:17:38 +02:00
Mattias Hellborg Arthursson
cfabe261e8 LDAP-119: modifyAttributes produces invalid SchemaViolationException in a particular use case
Now checking if all current values are deleted; if so issuing a REPLACE modification istead of individual DELETE and ADD.
2013-08-14 11:17:23 +02:00
Mattias Hellborg Arthursson
abfde5e5a0 LDAP-119: Integration test case for workaround. 2013-08-14 11:05:08 +02:00
Mattias Hellborg Arthursson
837bc489ef LDAP-232: Finalized migration to ApacheDS 1.5.5 for integration tests. 2013-08-14 10:36:46 +02:00
Mattias Hellborg Arthursson
cb360c38ac LDAP-232: starting upgrade to apache directory server. 2013-08-13 15:34:51 +02:00
Mattias Hellborg Arthursson
0e496203ef LDAP-183: LdapTemplate caches password with pooled connections
Now explicitly disabling native Java LDAP connection pooling for ContextSource#getContext(String principal, String credentials)
2013-08-13 09:51:46 +02:00
Mattias Hellborg Arthursson
45fcf782cf LDAP-168, LDAP-244: Added warning when using the default TempEntryRenamingStrategy.
Fixed failing test.
2013-08-12 09:03:42 +02:00
Mattias Hellborg Arthursson
d08192d8aa LDAP-244, LDAP-168: Problems with recursive elements and transactions.
Added a couple of integration test cases, and clarified in documentation.
2013-08-12 08:35:41 +02:00
Mattias Hellborg Arthursson
895af4a44f LDAP-247: Using Spring Security and Spring LDAP together requires that BaseLdapPathBeanPostProcessor implements interface Ordered
BaseLdapPathBeanPostProcessor now implements Ordered.
Integration test from original issue comments to verify that the change fixes the problem.
2013-07-30 10:14:05 +02:00
Mattias Hellborg Arthursson
88574847c2 Changed all embedded LDAP server ports to 1888, since it appears CI tests might be helped by this. 2013-07-30 06:13:30 +02:00
Rob Winch
8b350a874d Convert to Gradle
This commit converts the build to a Gradle based build. It also setup sonar
integration at https://sonar.springsource.org/dashboard/index/11620

Currently tests in the samples fail on the CI server and are disabled. The
tests were not enabled for the maven based build either.

Issue: LDAP-251
2013-07-10 11:33:07 -05:00
Ulrik Sandberg
ed7ef2a573 Applied patch from Ben Hale for Maven3 S3 deploys. 2011-02-24 18:06:02 +00:00