Steven Zou
b445683730
Merge pull request #14546 from AllForNothing/doc
...
Update web UI start guideline
2021-03-31 18:50:34 +08:00
Wenkai Yin(尹文开)
28596c3ffb
Refactor registry API ( #14528 )
...
* Refactor registry API
Refactor registry API
Signed-off-by: Wenkai Yin <yinw@vmware.com>
* Fix bugs of replications
1. Fix the scheduled replication doesn't work issue
2. Fix the destination name lost issue when updating replication policy
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2021-03-31 15:49:23 +08:00
Wang Yan
d03a29e531
bump up photon to 4.0
...
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-03-31 13:25:29 +08:00
stonezdj(Daojun Zhang)
70165be3f0
Remove the testing/apitests code from this repo ( #14518 )
...
Moved to the vmware/harbor-boshrelease repo already
Signed-off-by: stonezdj <stonezdj@gmail.com>
2021-03-30 19:07:36 +08:00
DQ
7eebbeebdf
Add jobservice task queue related task
...
add jobservice metrics
add redis client
Signed-off-by: DQ <dengq@vmware.com>
2021-03-30 10:29:36 +00:00
Qian Deng
ee9be8d742
Merge pull request #14463 from ninjadq/metrics_for_job_service
...
Enabled Prometheus for Jobservice
2021-03-30 18:08:28 +08:00
AllForNothing
ec5be8e629
Update web UI start guideline
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-03-30 17:48:16 +08:00
DQ
fbe9cd88f8
Enabled Prometheus for Jobservice
...
* Add prom server on jobservice
* Enabeld configs in templates
* Enabeld jobservice metrics in nginx
Signed-off-by: DQ <dengq@vmware.com>
2021-03-30 08:52:59 +00:00
stonezdj(Daojun Zhang)
dabf6defaf
Merge pull request #14517 from stonezdj/21mar26_remove_x_go_type
...
Replace some x-go-type in swagger
2021-03-26 19:22:03 +08:00
stonezdj
5bc1dc8e77
Replace some x-go-type in swagger
...
Related models:
LdapFailedImportUser
LdapUser
UserGroup
Signed-off-by: stonezdj <stonezdj@gmail.com>
2021-03-26 14:03:02 +08:00
dependabot[bot]
f20f4215c3
Bump pyyaml from 4.2b1 to 5.4 in /make/photon/prepare
...
Bumps [pyyaml](https://github.com/yaml/pyyaml ) from 4.2b1 to 5.4.
- [Release notes](https://github.com/yaml/pyyaml/releases )
- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES )
- [Commits](https://github.com/yaml/pyyaml/commits/5.4 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-25 22:46:56 +00:00
Daniel Jiang
e23b7eab21
Merge pull request #14503 from ninjadq/base_image_4_exporter
...
Base image for exporter
2021-03-26 00:20:19 +08:00
DQ
f5fcc7bd31
Add base image for exporter
...
* Add base
* update Makefile
Signed-off-by: DQ <dengq@vmware.com>
2021-03-25 16:35:57 +08:00
Vadim Bauer
e714a8eacc
Before fetching the repository check if the project has container
...
registry enabled.
closes #14328 #13353
Signed-off-by: Vadim Bauer <vb@container-registry.com>
2021-03-24 10:58:19 +08:00
Will Sun
b74c4b0cfe
Add switch button to password input ( #14484 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-03-24 09:25:52 +08:00
Wang Yan
3e0ba27ec4
update notification policy disable status in swagger ( #14493 )
...
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-03-23 16:45:41 +08:00
Wang Yan
9ef50ed430
refactor notification ( #14406 )
...
* Refactor webhook
refactor notification to new programming model
Signed-off-by: wang yan <wangyan@vmware.com>
2021-03-22 17:27:23 +08:00
Wenkai Yin(尹文开)
b2f0a1f0f5
Merge pull request #14400 from ywk253100/210226_registry
...
Refeactor replication policy APIs
2021-03-22 15:02:46 +08:00
He Weiwei
a2b08446d7
refactor: generate search API by go-swagger ( #14422 )
...
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2021-03-22 14:35:44 +08:00
dependabot[bot]
0ec667c4d8
Bump jinja2 from 2.11.1 to 2.11.3 in /make/photon/prepare
...
Bumps [jinja2](https://github.com/pallets/jinja ) from 2.11.1 to 2.11.3.
- [Release notes](https://github.com/pallets/jinja/releases )
- [Changelog](https://github.com/pallets/jinja/blob/master/CHANGES.rst )
- [Commits](https://github.com/pallets/jinja/compare/2.11.1...2.11.3 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-20 00:43:21 +00:00
Wenkai Yin(尹文开)
634be34236
Merge pull request #14457 from ywk253100/210316_cpu
...
[cherry-pick]Fix the consume too much CPU issue
2021-03-17 14:37:29 +08:00
Will Sun
f0b241c695
Add pagination to replication rules searching ( #14464 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-03-17 14:32:45 +08:00
Wenkai Yin(尹文开)
6fe9ec4ede
Merge pull request #14368 from reasonerjt/update-exempt-labels
...
Update exempt labels to reflect latest releases
2021-03-17 13:56:21 +08:00
Wenkai Yin
8b1817be0f
Fix the consume too much CPU issue
...
1. Update execution status during the upgrade
2. Refine the execution sweeper
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2021-03-17 13:34:24 +08:00
Wenkai Yin
3d7fd070c7
Refeactor replication policy APIs
...
Refeactor replication policy APIs
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2021-03-17 10:57:31 +08:00
Daniel Jiang
7694c131a4
Merge pull request #14455 from wy65701436/fixes-14454
...
fix catalog duplicate result
2021-03-16 15:19:13 +08:00
Wang Yan
ad47007438
fix catalog duplicate result
...
Add distinct to the sql to avoid duplicate records be returned
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-03-16 12:37:33 +08:00
danfengliu
ac7a0f8841
Merge pull request #14445 from danfengliu/fix-api-python-test-log-missing-issue
...
Fix API python tests log missing issue
2021-03-16 12:14:27 +08:00
Daniel Jiang
5ab879a670
Merge pull request #14447 from ywk253100/210315_retention_exec
...
Add upgrade sql file introduced in 2.1.4
2021-03-16 11:14:45 +08:00
danfengliu
068d1d46ca
Fix API python tests log missing issue
...
After debugging for issue of missing some http message logs, we found out that swagger client configuration will be re-initiated by calling models in swagger client, so in API python tests, defination for models must be in front of swagger client defination.
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-03-15 17:23:13 +08:00
Wenkai Yin
43df3bf8a4
Add upgrade sql file introduced in 2.1.4
...
1. Add upgrade sql file introduced in 2.1.4
2. Minor improvement for task/execution to cover corner cases
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2021-03-15 16:48:51 +08:00
Will Sun
f03ca3b087
Modify usage of LDAP ping API on UI ( #14440 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-03-15 15:56:54 +08:00
Will Sun
fb3b1311d8
Support adding label to multiple artifacts ( #14443 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-03-15 15:56:34 +08:00
Will Sun
68d7c91596
Add server driven sorting ( #14426 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-03-15 10:07:31 +08:00
He Weiwei
85f9a49bc8
feat: add sorts support for the projects listing API ( #14425 )
...
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2021-03-12 15:04:08 +08:00
Daniel Jiang
0d4992a41e
API for system CVE allowlist to new model ( #14412 )
...
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2021-03-12 10:23:48 +08:00
Wenkai Yin(尹文开)
4ef93565f3
Merge pull request #14369 from ywk253100/210303_sort
...
Introduce "sort" in query to provide a general solution for sorting
2021-03-11 09:28:34 +08:00
Wenkai Yin
506d1ad465
Introduce "sort" in query to provide a general solution for sorting
...
Introduce "sort" in query to provide a general solution for sorting
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2021-03-11 08:25:49 +08:00
stonezdj(Daojun Zhang)
035caad146
Merge pull request #14351 from stonezdj/21feb26_ldap_refact
...
Move ldap API to new program model
2021-03-10 20:24:41 +08:00
stonezdj
5a35b7a9c4
Move ldap API to new program model
...
Fix some issue with the LDAP connection test
Signed-off-by: stonezdj <stonezdj@gmail.com>
2021-03-10 16:26:45 +08:00
danfengliu
b181d4df16
Merge pull request #14321 from danfengliu/fix-quotas-test-in-upgrade-pipeline
...
Fix quotas test issue in upgrade pipeline
2021-03-10 15:59:33 +08:00
danfengliu
a2fc1bcfaf
Fix quotas test issue in upgrade pipeline
...
1. Change way for quotas verification in upgrade pipeline, prepare specific size of image, then it's an known value for verifcation;
2. Add notary key rotate test;
3. For issue brought by docker 20, clean containerd cache is the only effective way, so both dockerd and containerd should be cache cleard and restarted;
4. Upgrade E2E Dockerfile for importing readable file size package, and other issues;
5. Uncomment project level robot account test in nightly.
6. Get DNS from local setting, and set it into docker deamon config file;
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-03-10 06:27:22 +00:00
Wang Yan
85254ccc22
refactor immutable rule ( #14371 )
...
Migrate immutable realted APIs to v2 swagger
Signed-off-by: wang yan <wangyan@vmware.com>
2021-03-08 17:10:12 +08:00
Will Sun
f0dd9e5aeb
Fix label color issue ( #14387 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-03-08 16:10:19 +08:00
Daniel Jiang
4c47b1777e
Merge pull request #14370 from reasonerjt/oidc-ping-refact
...
Switch API to ping OIDC endpoint to new model
2021-03-05 11:49:30 +08:00
chlins
12f3609e42
fix: add precheck when registry check token expired
...
Signed-off-by: chlins <chlins.zhang@gmail.com>
2021-03-04 18:23:04 +08:00
Wenkai Yin(尹文开)
4c2e698af8
Merge pull request #14341 from heww/refactor-scanner-apis
...
refactor: generate scanner APIs by go-swagger
2021-03-04 17:48:04 +08:00
Daniel Jiang
3c299d70c0
Update exempt labels to reflect latest releases
...
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2021-03-04 17:37:40 +08:00
Daniel Jiang
e96c1cbced
Switch API to ping OIDC endpoint to new model
...
This commit updates the API POST /api/v2.0/system/oidc/ping to new
programming model, in which the code will be generated by go-swagger.
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2021-03-04 15:44:11 +08:00
Daniel Jiang
d36994b8b0
Merge pull request #14361 from danfengliu/remove-python3.7-in-ci-installation
...
Remove python3.7 deployment in CI installtion phase.
2021-03-04 15:42:45 +08:00