Project

General

Profile

Story #3927

eliminate the need for openLDAP install to allow truer unit testing

Added by Rob Nahf over 10 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Robert Waltz
Category:
d1_test_resources
Target version:
-
Start date:
2014-10-01
Due date:
% Done:

100%

Story Points:
Sprint:

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

Task #6486: Update CN_Rest_Service to use new test suite frameworkClosedRobert Waltz

Task #6487: Update Identity package to incorporate new LDAP Test SuiteClosedRobert Waltz

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)

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)