Story #3927
eliminate the need for openLDAP install to allow truer unit testing
100%
Description
this will benefit several CN packages that use LDAP, especially cn_nodeRegistry
see especially https://github.com/trevershick/ldap-test-utils for the initial approach
else mockito? http://java.dzone.com/articles/mocking-out-ldapjndi-unit
Subtasks
History
#1 Updated by Rob Nahf over 10 years ago
- Description updated (diff)
#2 Updated by Rob Nahf over 10 years ago
Robert reports that unboundID is a deadend because they don't implement getContext(), which our LDAPService class relies on heavily. It would require a major refactor of our code to plugin.
A new alternative he found is:
https://cwiki.apache.org/confluence/display/DIRxSRVx11/4.2.+Using+ApacheDS+for+unit+tests
it might be less obvious on how to add our own schemas, though:
robert: this is worrisome
[3:04pm] robert: >Adding your own schema
[3:04pm] robert: > Work in progress
[3:04pm] robert: >This paragraph is totally outdated. It should be rewriten from scratch !
[3:04pm] robert: considering we need to add our own schema
#3 Updated by Robert Waltz almost 10 years ago
- Product Version set to 1.4.0
- Assignee changed from Rob Nahf to Robert Waltz
- Milestone changed from None to CCI-1.4
#4 Updated by Robert Waltz almost 10 years ago
- Status changed from New to In Progress
#5 Updated by Robert Waltz almost 10 years ago
- Product Version changed from 1.4.0 to 2.0.0
- Milestone changed from CCI-1.4 to CCI-2.0
#6 Updated by Robert Waltz over 9 years ago
- Category changed from d1_cn_node_registry to d1_test_resources
#7 Updated by Robert Waltz over 9 years ago
- Due date set to 2014-10-01
- Start date set to 2014-10-01
- Target version set to Maintenance Backlog
#8 Updated by Robert Waltz over 9 years ago
- Target version changed from Maintenance Backlog to Release Backlog
#9 Updated by Robert Waltz over 9 years ago
- Target version changed from Release Backlog to CCI-1.5.1
- Due date changed from 2014-10-01 to 2014-10-02
#10 Updated by Robert Waltz over 9 years ago
- Target version deleted (
CCI-1.5.1) - Due date deleted (
2015-01-06) - Start date deleted (
2014-10-01)
#11 Updated by Robert Waltz over 9 years ago
- Target version set to CCI-2.0.0
- Due date set to 2015-01-06
- Start date set to 2014-12-01
#12 Updated by Dave Vieglais almost 9 years ago
- Milestone changed from CCI-2.0 to None
- Target version changed from CCI-2.0.0 to Release Backlog
- % Done changed from 0 to 30
Moving to release backlog. This functionality is not required for v2.0, though certainly would be helpful.
#13 Updated by Robert Waltz over 7 years ago
- % Done changed from 30 to 100
- Status changed from In Progress to Closed
#14 Updated by Robert Waltz over 7 years ago
- Target version deleted (
Release Backlog)