harbor/tests/robot-cases
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
..
Group1-Nightly Switch registry from docker-hub ot internal harbor registry 2020-01-17 10:43:20 +08:00
Group2-Longevity Replacing copyright notices with "Copyright Project Harbor Authors". 2018-09-19 16:59:36 +00:00
Group3-Upgrade Remove whitelist verifcation since it's not ready 2019-12-27 10:24:45 +08:00
Group0-BAT Switch to basic authentication for registry 2020-01-31 21:46:47 +09:00
Group0-Distro-Harbor Replacing copyright notices with "Copyright Project Harbor Authors". 2018-09-19 16:59:36 +00:00
Group0-Util Switch registry from docker-hub ot internal harbor registry 2020-01-17 10:43:20 +08:00