[OPENICF-1343] LDAP Connector: Unable to use Vlv Index Search Strategy Created: 30/Jun/20  Updated: 21/Jul/20  Resolved: 21/Jul/20

Status: Closed
Project: OpenICF
Component/s: Generic JNDI based LDAP Connector
Affects Version/s: ldap-connector-1.5.4.0, ldap-connector-1.5.5.0
Fix Version/s: ldap-connector-1.5.4.0

Type: Bug Priority: Major
Reporter: Son Nguyen Assignee: Gael Allioux
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OpenDJ: 7.0.0-M2020-7.5 d2a28a4c320
OpenIDM: 7.0.0-SNAPSHOT f0fac87
LDAPConnector: 1.5.5.0-SNAPSHOT 49890da8ebc


Verified Version/s:
QA Assignee: Son Nguyen

 Description   

Our automated test found Vlv Index Search Strategy not working anymore.

When trying to use the Vlv Index Search Strategy we are expecting to see that strategy being used in the IDM log, search for the pattern 'VLV Search Strategy used for search operation'.

Pyforge test can be run as

./run-pybot.py -s *ldap.opendj.configuration* -t use_VlvIndexSearchStrategy OpenIDM

Steps to reproduce:

  1. Install IDM with DJ, configure provisioner in 'sync-with-ldap-groups' samples directory
  2. Update configurationProperties as follows:
    "useBlocks":"true",
    "usePagedResultControl":"false",
    
  3. Query the ldap account:
    curl --header "X-OpenIDM-Username: openidm-admin" --header "X-OpenIDM-Password: openidm-admin" --request  GET http://localhost:8080/openidm/system/ldap/account?_queryId=query-all-ids
    

    Response:

    {"result":[{"_id":"fa39d316-9439-4d39-adce-f0365179e818"},{"_id":"11fedbb3-07f4-495c-9fe1-9a8d116d03b1"}],"resultCount":2,"pagedResultsCookie":null,"totalPagedResultsPolicy":"NONE","totalPagedResults":-1,"remainingPagedResults":-1}
    
  4. Search for the pattern "VLV Search Strategy used for search operation" in IDM log, expecting to find it at least once.


 Comments   
Comment by Son Nguyen [ 21/Jul/20 ]

Fixed in the PR https://stash.forgerock.org/projects/QA/repos/pyforge/pull-requests/17753/overview

Generated at Sun Jan 17 00:56:57 UTC 2021 using Jira 7.13.12#713012-sha1:6e07c38070d5191bbf7353952ed38f111754533a.