Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 3a3cac32d713b4668f58f19512effc630c5af790
https://github.com/openSUSE/open-build-service/commit/3a3cac32d713b4668f58f1...
Author: Björn Geuken
Date: 2017-07-27 (Thu, 27 Jul 2017)
Changed paths:
M src/api/spec/models/user_ldap_strategy_spec.rb
A src/api/spec/support/shared_examples/a_ldap_connection.rb
Log Message:
-----------
[ci] ldap: Add rspec tests for establishing a connection
Commit: 3202d8d16bfd4061b5b85930cf4b08041da590d9
https://github.com/openSUSE/open-build-service/commit/3202d8d16bfd4061b5b859...
Author: Björn Geuken
Date: 2017-07-27 (Thu, 27 Jul 2017)
Changed paths:
M src/api/app/models/user_ldap_strategy.rb
Log Message:
-----------
[api] Refactor UserLdapStrategy::initialize_ldap_con
Refactors the loop we use to retry connecting to the LDAP server.
Commit: ac236f095b674dc0b914e1c003549ffbc3ac1051
https://github.com/openSUSE/open-build-service/commit/ac236f095b674dc0b914e1...
Author: Björn Geuken
Date: 2017-07-27 (Thu, 27 Jul 2017)
Changed paths:
M src/api/app/models/user_ldap_strategy.rb
Log Message:
-----------
[api] Further refactor UserLdapStrategy::initialize_ldap_con
* Refactor code
* Document behaviour of loop
Commit: f5e8c4cd1ffcb2a1b61e66cd4dd065ca2b0418b1
https://github.com/openSUSE/open-build-service/commit/f5e8c4cd1ffcb2a1b61e66...
Author: Björn Geuken
Date: 2017-07-27 (Thu, 27 Jul 2017)
Changed paths:
M src/api/app/models/user_ldap_strategy.rb
Log Message:
-----------
[api] Refactor UserLdapStrategy::try_ldap_con
* Move finding correct LDAP port to separate method
* Shorten and simplify establishing a connection to the LDAP server
Commit: 3b0a1cc6923bc678c71d5722e4821b722625536e
https://github.com/openSUSE/open-build-service/commit/3b0a1cc6923bc678c71d57...
Author: Björn Geuken
Date: 2017-07-27 (Thu, 27 Jul 2017)
Changed paths:
M src/api/spec/models/user_ldap_strategy_spec.rb
A src/api/spec/support/shared_contexts/setup_ldap_mock.rb
Log Message:
-----------
[ci] Move code that sets up ldap mocking to a shared context
We are going to need the mock for other tests that rely on an
established connection to a ldap server.
This will allow to reuse the code.
Commit: ce0d9585c3c984fcdb93bf516d88e9b19d84f390
https://github.com/openSUSE/open-build-service/commit/ce0d9585c3c984fcdb93bf...
Author: Björn Geuken
Date: 2017-07-27 (Thu, 27 Jul 2017)
Changed paths:
M src/api/app/models/user_ldap_strategy.rb
M src/api/spec/models/user_ldap_strategy_spec.rb
A src/api/spec/support/shared_contexts/setup_ldap_mock.rb
A src/api/spec/support/shared_examples/a_ldap_connection.rb
Log Message:
-----------
Merge pull request #3453 from bgeuken/ldap_con_tests
Ldap con tests
Compare: https://github.com/openSUSE/open-build-service/compare/3d2513193aa1...ce0d95...