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
chart.py
configurations.py Add API test case assign system admin role. (#6413) 2018-12-04 12:26:12 +08:00
docker_api.py
Harbor.py After helm cli test was added to nightly, ca was get by reading from local file, but in helm nighly test, ca file was not in local, it has to be got from harbor api. 2019-08-06 11:28:54 +08:00
label.py Check the existence of name when creating replication rule and fix bugs in testing library (#6381) 2018-11-30 13:32:20 +08:00
project.py
registry.py
replication.py
repository.py
retention.py
sign.py
system.py
user.py