harbor/tests/apitests/python
Daniel Jiang 5f8acc3896 Add middlewares for permission checking for v2 API
When the registry shifts from token auth to basic auth, we'll use the middleware to check permission.
This commit add middlewares for populate the artifact info and check
permission based on request to /v2/* api via security context

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-01-27 12:53:15 +08:00
..
library feat(cicd): try fix sometimes docker push time out 2020-01-20 11:57:03 +08:00
sign_image.sh Add API test case sign image back to travis, despite codacy block it when pulling a pr. 2019-08-16 01:26:36 -07:00
test_add_member_to_private_project.py Add tese case of manage project memebers and modify (#6304) 2018-11-20 14:24:13 +08:00
test_add_replication_rule.py Since harbor 1.8 released, API test for replication was not update yet, so in this PR, replicaiton test will be adapt for harbor 1.8. 2019-08-08 17:06:37 +08:00
test_add_sys_label_to_tag.py Add API test case assign system admin role. (#6413) 2018-12-04 12:26:12 +08:00
test_assign_role_to_ldap_group.py Fix testcase related to LDAP user can not see any logs 2018-08-10 16:17:18 +08:00
test_assign_sys_admin.py API test for system level CVE whitelist 2019-08-14 14:59:58 +08:00
test_del_repo.py Add API test case assign system admin role. (#6413) 2018-12-04 12:26:12 +08:00
test_edit_project_creation.py Support well-formatted error returned from the REST APIs. (#6957) 2019-04-17 16:43:06 +08:00
test_garbage_collection.py Add API test case for user view logs. (#6370) 2018-11-29 18:27:53 +08:00
test_health_check.py Add e2e test case for health check API 2019-10-29 13:48:06 +08:00
test_ldap_admin_role.py Fix admin permission not revoked when removed from LDAP admin group 2019-12-20 13:12:22 +08:00
test_ldap_ping.py Fix issue 6450 Test LDAP server error without save configuration 2019-04-18 14:24:21 +08:00
test_list_helm_charts.py Add API test case scan all images and test case API test case list helm charts. (#6388) 2018-12-03 17:05:06 +08:00
test_manage_project_member.py Add API test case assign system admin role. (#6413) 2018-12-04 12:26:12 +08:00
test_project_level_cve_whitelist.py API test for project level CVE whitelist 2019-08-15 11:37:22 +08:00
test_project_level_policy_content_trust.py Remove 2 redundant functions, pull_harbor_image_successfully and pull_harbor_image_unsuccessfully. 2018-12-04 13:46:07 +08:00
test_project_quota.py Add middlewares for permission checking for v2 API 2020-01-27 12:53:15 +08:00
test_retag.py Add API test case for retag, create a user and 2 projects by this new user, push image to 1st project, and retag this image to 2nd project. (#7300) 2019-04-11 15:05:46 +08:00
test_retention.py adjust wait job timeout 2019-09-20 16:18:03 +08:00
test_robot_account.py feat(cicd) use a smaller docker image for test 2020-01-17 13:09:31 +08:00
test_scan_all_images.py feat(cicd) use a smaller docker image for test 2020-01-17 13:09:31 +08:00
test_scan_image.py update API swagger file 2019-11-05 22:20:14 +08:00
test_sign_image.py Add API test case sign image back to travis, despite codacy block it when pulling a pr. 2019-08-16 01:26:36 -07:00
test_sys_cve_whitelists.py API test for system level CVE whitelist 2019-08-14 14:59:58 +08:00
test_user_group.py Add Harbor API Test based on python API 2018-08-01 10:43:23 +08:00
test_user_view_logs.py Add API test case for user view logs. (#6370) 2018-11-29 18:27:53 +08:00
testutils.py add swagger for tag retention 2019-09-06 17:27:20 +08:00