harbor/tests
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
..
apitests/python Switch to basic authentication for registry 2020-01-31 21:46:47 +09:00
e2e-image O 2019-12-17 21:00:08 -08:00
resources Switch registry from docker-hub ot internal harbor registry 2020-01-17 10:43:20 +08:00
robot-cases Switch to basic authentication for registry 2020-01-31 21:46:47 +09:00
robot-indices
testcases
travis Merge pull request #10456 from bitsf/stop_travis 2020-01-18 02:59:41 +08:00
.gitignore add make clean 2019-12-05 14:44:07 +08:00
ca.crt
configharbor.py
coverage4gotest.sh enhance[cicd] introduce github action for CICD 2019-12-17 18:36:33 +08:00
docker-compose.test.yml enhance[cicd] introduce github action for CICD 2019-12-17 18:36:33 +08:00
generateCerts.sh
harbor_ca.crt verify permission of GetRetentionExecTaskLog 2019-08-29 15:01:53 +08:00
harbor_ca.key verify permission of GetRetentionExecTaskLog 2019-08-29 15:01:53 +08:00
harbor_ca.srl
hostcfg.sh add make clean 2019-12-05 14:44:07 +08:00
integration.sh udpate base image to 1.10.0 2019-11-22 16:47:32 +08:00
ldap_test.ldif
ldapprepare.sh
notarytest.sh
private_key.pem
pushimage.sh enhance[cicd] introduce github action for CICD 2019-12-17 18:36:33 +08:00
reg_config.yml Change the clair container to non root user 2019-11-04 11:36:39 +08:00
showtime.sh add make clean 2019-12-05 14:44:07 +08:00
startuptest.sh
swaggerchecker.sh chore[api]:rename API folder to api 2019-12-11 17:41:27 +08:00
testprepare.sh
userlogintest.sh
validatecontainers.sh