Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The following allows you to build and run an LDAP container (openldap) with data that's used for testing.  Note that test cases will build the image and start the container so you don't need to do this.  You just need to have docker installed and running as a user that can manage containers.


Go to directory:

Code Block
cd grouper-misc/openldap-dinkel-grouper

...

LDAP tests have methods in LdapProvisionerTestUtils that will remove and recreate containers for each test.  It currently expects to find docker in /usr/bin, /usr/local/bin, or /bin.  For Windows, it'll expect "docker" to be in the path as seen by Java.