-
Notifications
You must be signed in to change notification settings - Fork 829
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a docker service using openldap/slapd #3228
Add a docker service using openldap/slapd #3228
Conversation
8201998
to
2405c1b
Compare
2405c1b
to
31533d7
Compare
45cf16c
to
4224087
Compare
@strehle I would like your approval here. Adding LDAP as a docker container so that developers can easily create and tear down LDAP schemas. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok except the changes in uaa.yml
please check if you have another option for it
Currently used by the openldap service in docker compose
This service gets populated with the same data set as the in memory albeit, the InMemoryLDAPServer and slapd use two separate file for data now InMemoryLdapServer uses ./uaa/src/test/resources/ldap_init.ldif (same as before) docker-compose uses ./scripts/ldap/ldap_slapd_data.ldif (new, copy of ldap_init.ldif for now) docker-compose uses ./scripts/ldap/ldap_slapd_schema.ldif (new, copy of ldap_db_init.ldif for now)) The old scripts still use ./uaa/src/test/resources/ldap_db_init.ldif but will be removed in future PR
4224087
to
860ed17
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks
@coolgang123 @fhanik you can merge |
Continuation of Test Confidence Journey
Reason for this PR: Turns out that once LDAP(openldap) started failing, some tests where rewritten and then those tests removed features that were tested. LDAP encryption with StartTLS was disabled. This PR provides the following
javax.net.debug
flag to be set for integrationTestI would like to remove the
@EnabledIfProfile
on so that integration tests always require LDAP and startTLS to be tested. This requires a modification to the Github test runners