Commit Graph

11168 Commits

Author SHA1 Message Date
Yang Jiao
18b9856dc5 Add imgpkg copy test case
Add this test case to make sure imgpkg copy to Harbor works.

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-04-27 06:25:11 +00:00
Chenyu Zhang
bb53493607
Merge pull request #16593 from chlins/feat/cache-layer-for-artifact
feat: add cache layer for artifact
2022-04-26 10:57:50 +08:00
Shijun Sun
23b22c8288
Fix some css style issues (#16709)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-04-26 09:22:55 +08:00
Shijun Sun
bef9f5f5f1
Provide more useful error info when editing a problematic replication rule (#16736)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-04-26 09:21:46 +08:00
chlins
8c223135e7 feat: add cache layer for artifact (#16739)
Implement cache layer for resource artifact and define common
cache manager and workflow. Also add cache related options to
configuration yaml.

Signed-off-by: chlins <chenyuzh@vmware.com>
2022-04-25 18:01:45 +08:00
Daniel Pacak
fbff7ab5cb
chore(deps): bump Trivy adapter from v0.26.0 to v0.28.0 (#16729)
Trivy replaced the --version flag with version subcommand.

Resolves: #16554
Resolves: #16555

Signed-off-by: Daniel Pacak <pacak.daniel@gmail.com>
2022-04-25 11:00:51 +02:00
Chenyu Zhang
0f6f1e8743
Merge pull request #16723 from tibeer/bug/typo_in_swagger_description
fixed typo in legacy_swagger.yaml file
2022-04-25 16:57:27 +08:00
Yang Jiao
0c8754f585
Merge pull request #16737 from YangJiao0817/add-pull-policy-replication
Add test case for Enable Deployment Security Policy replication
2022-04-25 15:38:14 +08:00
Yang Jiao
1207982925 Add test case for Enable Deployment Security Policy replication
Add test cases for these three different scenarios to ensure that Replication functions correctly after Deployment Security Policy is enabled

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-04-25 02:59:20 +00:00
Tim Beermann
25a5f66568 fixed typo in legaxy_swagger.yaml file
Signed-off-by: Tim Beermann <beermann@osism.tech>
2022-04-20 10:02:22 +02:00
Vadim Bauer
6ff23a4b92
Merge pull request #16712 from alrs/scan-err
pkg/scan: fix dropped error
2022-04-20 07:37:56 +02:00
Lars Lehtonen
ef835e107a
pkg/scan: fix dropped error
Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
2022-04-18 10:34:27 -07:00
Yang Jiao
5eb0c083dd
Merge pull request #16704 from YangJiao0817/add-open-imageScanners-doc-page-testcase
Add open image scanners documentation page test case
2022-04-18 21:21:52 +08:00
Yang Jiao
c5591cba46 Add open image scanners documentation page test case
Add a test case for opening the Image Scanners Documentation Page to ensure this function is correct

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-04-18 09:14:47 +00:00
Yang Jiao
1a981cb4ad
Merge pull request #16705 from YangJiao0817/add-cve-details-testcase
Add open cve details page test case
2022-04-18 17:12:47 +08:00
Chenyu Zhang
7df0c3906d
Merge pull request #16510 from chlins/fix/check-before-update-tag-pulltime
fix: check the existence of the tag before updating pull time
2022-04-18 17:10:15 +08:00
Chenyu Zhang
85d12f6557
Merge pull request #16608 from alrs/blob-err
fix: controller/blob: dropped test error
2022-04-18 17:09:40 +08:00
Yang Jiao
31efa54a9a Add open cve details page test case
Add a test case for opening the CVE Details Page to ensure this function is correct.

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-04-18 06:40:31 +00:00
Yang Jiao
18c9791a71
Merge pull request #16708 from YangJiao0817/add-more-info-testcase1
Add open more info page test case
2022-04-18 13:43:15 +08:00
Yang Jiao
f92a25f793 Add open more info page test case
Add test case that open more info page to ensure correct functionality.

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-04-18 03:30:46 +00:00
Shijun Sun
40191e0bcd
Add dotted line between the artifacts and their accessories (#16701)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-04-18 11:08:43 +08:00
Shijun Sun
02ea4be0de
Update docker building for UI (#16692)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-04-18 11:07:00 +08:00
Yang Jiao
e6e748a3db
Merge pull request #16703 from YangJiao0817/add-open-license-test-case
Add open license test case
2022-04-15 17:20:07 +08:00
Yang Jiao
c1781bfb74 Add open license test case
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-04-15 08:08:05 +00:00
Orlix
527508fca5
Merge pull request #16670 from OrlinVasilev/codeowners
Add CODEOWNERS all maintainers
2022-04-13 14:20:53 +03:00
Orlix
95768b6ad6
Merge pull request #16645 from OrlinVasilev/pr-templating
Add new template file for PRs
2022-04-13 14:20:10 +03:00
Yang Jiao
bda707a457
Merge pull request #16690 from YangJiao0817/fix-s3-test-fail
Add retries to test cases
2022-04-13 17:36:21 +08:00
OrlinVasilev
01cc046459 Add new template file for PRs
Current file is not correct and it's not applied

Signed-off-by: OrlinVasilev <ovasilev@vmware.com>
2022-04-12 22:56:10 +03:00
Shijun Sun
1cc0c44040
Clear some UI building warnings (#16684)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-04-12 20:35:52 +08:00
Yang Jiao
6dfdda7778 Add retries to test cases
Retry to solve the ecs environment s3aws Path not found issue

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-04-12 07:16:55 +00:00
Yang Jiao
f178e2520e
Merge pull request #16664 from YangJiao0817/add-project-tab-routing-testcase
Add project tab routing test case
2022-04-12 11:06:37 +08:00
OrlinVasilev
a836e7ca09 Add CODEOWNERS all maintainers
When we PR comes in all will be assigned as reviewers so we will not miss PR

Signed-off-by: OrlinVasilev <ovasilev@vmware.com>
2022-04-07 16:51:40 +03:00
Shijun Sun
185d38cf49
Improve user setting component (#16665)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-04-07 15:45:00 +08:00
Yang Jiao
4f6042e586 Add project tab routing test case
Add this test case to make sure the project tab routing is routed correctly

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-04-07 06:35:37 +00:00
Wang Yan
bb6693b496
skip policy check on pull cosign signature (#16658)
When user enables the cosign policy and triggers the replication, the harbor adapter will try to  pull the cosign siguature if it has to do the further push.
In this case, it has to skip policy check.

Signed-off-by: wang yan <wangyan@vmware.com>
2022-04-07 09:59:26 +08:00
Shijun Sun
df54e1e13c
Improve copy-artifact component (#16628)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-04-06 10:51:06 +08:00
Yang Jiao
37132786cf
Merge pull request #16622 from YangJiao0817/add-webui-routing-test
Add main menu routing test case
2022-04-06 10:33:07 +08:00
Yang Jiao
376c4f220b Add main menu routing test case
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-03-31 08:53:49 +00:00
Shijun Sun
a5b5e21ec9
Use list user groups API to search groups (#16610)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-03-30 19:46:29 +08:00
stonezdj(Daojun Zhang)
8333b19ff2
Merge pull request #16580 from stonezdj/22feb24_add_group_name_parameter
Update usergroups API to support search by group_name
2022-03-30 13:38:37 +08:00
stonezdj
97a64d551d Update usergroups API to support search by group_name
Add group_name parameter to GET usergroups API
  Related to issue #16408
  UI should also switch from search api to usergroups list api

Signed-off-by: stonezdj <stonezdj@gmail.com>
2022-03-30 10:59:56 +08:00
Chenyu Zhang
374ec5793e
Merge pull request #16605 from chlins/fix/project-creation-validation
fix: return BAD_REQUEST when validate project metadata
2022-03-30 09:55:19 +08:00
Lars Lehtonen
3fcefc8bda
controller/blob: fix dropped test error
Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
2022-03-29 10:34:03 -07:00
chlins
4af3725cc2 fix: return BAD_REQUEST when validate project metadata public value error
Signed-off-by: chlins <chenyuzh@vmware.com>
2022-03-29 14:57:21 +08:00
stonezdj(Daojun Zhang)
1449988353
Delete unused files and functions (#16599)
testing/apitest/apilib is not used after harbor 2.4 refactor
 no testcase removed

Signed-off-by: stonezdj <stonezdj@gmail.com>
2022-03-29 14:19:36 +08:00
Chenyu Zhang
e01a31c433
Merge pull request #16596 from chlins/fix/project-creation-validation
fix: validate project metadata public value
2022-03-29 14:16:33 +08:00
Chenyu Zhang
fe3c0bd183
Merge pull request #16597 from chlins/migrations/correct-project-metadata-public-value
migrations: correct project metadata public value
2022-03-29 14:15:06 +08:00
chlins
f7d10474d1 migrations: correct project metadata public value
Signed-off-by: chlins <chenyuzh@vmware.com>
2022-03-28 15:17:20 +08:00
chlins
7f75a20bdb fix: validate project metadata public value
Signed-off-by: chlins <chenyuzh@vmware.com>
2022-03-28 15:06:27 +08:00
Shijun Sun
a0fcb91492
Remove state restrictions for gc log button (#16585)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-03-25 19:45:29 +08:00