harbor/tests/apitests/python/library
Daniel Jiang 2064a1cd6d Switch to basic authentication for registry
1. Add basic authorizer for registry which modify the request
to add basic authorization header to request based on configuration.
2. Set basic auth header for proxy when accessing registry
3. Switche the registry to use basic auth by default and use the basic
authorizer to access Harbor.
4. Make necessary change to test cases, particularly
"test_robot_account.py" and "docker_api.py", because the error is
changed after siwtched to basic auth from token auth.  #10604 is opened
to track the follow up work.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-01-31 21:46:47 +09:00
..
__init__.py
base.py build(clair): internal clair adapter when install with clair 2019-10-17 12:00:51 +08:00
chart.py
configurations.py
docker_api.py Switch to basic authentication for registry 2020-01-31 21:46:47 +09:00
Harbor.py
label.py
project.py add expiration data time when to create a robot account 2020-01-03 13:47:06 +08:00
registry.py
replication.py
repository.py build(clair): internal clair adapter when install with clair 2019-10-17 12:00:51 +08:00
retention.py
sign.py
system.py add e2e test case for project quota 2019-09-15 22:16:11 +08:00
user.py Fix admin permission not revoked when removed from LDAP admin group 2019-12-20 13:12:22 +08:00