Uploaded image for project: 'OpenICF'
  1. OpenICF
  2. OPENICF-1343

LDAP Connector: Unable to use Vlv Index Search Strategy

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: ldap-connector-1.5.4.0, ldap-connector-1.5.5.0
    • Fix Version/s: ldap-connector-1.5.4.0
    • Labels:
      None
    • Environment:
      OpenDJ: 7.0.0-M2020-7.5 d2a28a4c320
      OpenIDM: 7.0.0-SNAPSHOT f0fac87
      LDAPConnector: 1.5.5.0-SNAPSHOT 49890da8ebc

      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.

        Attachments

          Activity

            People

            • Assignee:
              gael Gael Allioux
              Reporter:
              son.nguyen Son Nguyen
              QA Assignee:
              Son Nguyen
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: