Wenkai Yin
4deb7dc239
Fix bug of swagger for repository API
...
Fix bug of swagger for repository API
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-02-25 16:23:20 +08:00
Wenkai Yin(尹文开)
b156c74f6a
Merge pull request #10831 from wy65701436/readonly-global
...
add readonly to beego middleware
2020-02-25 16:10:55 +08:00
wang yan
b336875ebf
add readonly to beego middleware
...
Signed-off-by: wang yan <wangyan@vmware.com>
2020-02-25 15:00:39 +08:00
Wenkai Yin(尹文开)
5f9c976e95
Merge pull request #10837 from heww/scan-api
...
feat(scan): add scan API in v2.0
2020-02-25 14:45:19 +08:00
Wenkai Yin(尹文开)
90d1c9f287
Merge pull request #10834 from ywk253100/200225_repo
...
Implement the API to get the specified repository
2020-02-25 14:39:52 +08:00
He Weiwei
55a21cd444
feat(scan): add scan API in v2.0
...
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2020-02-25 06:01:37 +00:00
stonezdj(Daojun Zhang)
a7e5873f46
Merge pull request #10821 from stonezdj/20200224_remove_notification
...
Remove registry notification and change core health check url
2020-02-25 13:34:37 +08:00
Wang Yan
2a17ed8d5e
Merge pull request #10836 from bitsf/fix_cicd_build
...
feat(cicd) fix some build problem
2020-02-25 13:14:11 +08:00
jwangyangls
3174734473
Merge pull request #10819 from jwangyangls/add-ut-oci
...
Add copy artifact and update repo info and add ut
2020-02-25 12:43:04 +08:00
Ziming Zhang
94230b5e19
feat(cicd) fix some build problem
...
Signed-off-by: Ziming Zhang <zziming@vmware.com>
2020-02-25 12:05:39 +08:00
Wenkai Yin
bb3ff0d752
Implement the API to get the specified repository
...
Implement the API to get the specified repository
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-02-25 12:02:50 +08:00
stonezdj
6005101c95
Remove registry notification and change /api/ping
...
Update config.yaml.jinja to remove notification
Change api/ping in core/Dockerfile
Signed-off-by: stonezdj <stonezdj@gmail.com>
2020-02-25 11:24:21 +08:00
Yogi_Wang
92f84f2aee
Add copy artifact and update repo info and add ut
...
Signed-off-by: Yogi_Wang <yawang@vmware.com>
2020-02-25 10:39:03 +08:00
danfengliu
aa71fc43cf
Merge pull request #10802 from danfengliu/update-repo-api-for-v2.0
...
Upgrade repository API tests to V2.0
2020-02-25 09:56:39 +08:00
Wenkai Yin(尹文开)
bf4d141a77
Merge pull request #10827 from reasonerjt/refresh-notary-test-data
...
Refresh notary test data
2020-02-25 08:08:27 +08:00
lucperkins
7bd2f8be1d
Fix filename
...
Signed-off-by: lucperkins <lucperkins@gmail.com>
2020-02-24 11:33:46 -08:00
Wang Yan
61ea8d514b
Merge pull request #10803 from wy65701436/gc-oci
...
Revise the GC job flow
2020-02-25 02:11:27 +08:00
Daniel Jiang
340726f7d3
Refresh notary test data
...
Refresh the valid signature data before it's expired
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-02-24 19:46:17 +08:00
Wang Yan
948d45604c
Revise the GC job flow,
...
1, set harbor to readonly
2, select the candidate artifacts from Harbor DB.
3, call registry API(--delete-untagged=false) to delete manifest bases on the results of #2
4, clean keys of redis DB of registry, clean artifact trash and untagged from DB.
5, roll back readonly.
Signed-off-by: wang yan <wangyan@vmware.com>
2020-02-24 18:29:55 +08:00
danfengliu
4933bb634f
Upgrade repository API tests to V2.0
...
Enable _xsrf in cookies in swagger.yaml, so that scripts don't have to handle it.
Signed-off-by: danfengliu <danfengl@vmware.com>
2020-02-24 18:15:25 +08:00
Wenkai Yin(尹文开)
7a2090b6ca
Merge pull request #10817 from ywk253100/200220_registry_client
...
Reimplement the registry client
2020-02-24 16:26:57 +08:00
Wenkai Yin
528f598268
Reimplement the registry client
...
This commit reimplements the registry client under directory src/pkg/registry and removes the useless code
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-02-24 14:36:26 +08:00
stonezdj(Daojun Zhang)
c2a77c2825
Merge pull request #10751 from ywk253100/200213_delete_useless
...
Remove dead code
2020-02-24 10:22:58 +08:00
Will Sun
ca871d0eb5
Merge pull request #10790 from AllForNothing/routing-modify
...
Improve routing and UI for artifact pages
2020-02-24 09:39:36 +08:00
Wenkai Yin(尹文开)
c446774d23
Merge pull request #10816 from reasonerjt/merge-art-mani-middleware
...
Merge artifactInfo and ManifestInfo
2020-02-24 08:10:32 +08:00
Daniel Jiang
7ffa7cd940
Merge pull request #10736 from ywk253100/200216_cnab_resolver
...
Implement the resolver for CNAB
2020-02-24 02:27:50 +08:00
Daniel Jiang
46c72ae372
Merge artifactInfo and ManifestInfo
...
This commit gets rid of middleware info middleware, and make artifact
info the single source of truth in terms of the artifact a request
handles. Fixes #10574
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-02-23 18:07:19 +08:00
Wenkai Yin
bd204464f3
Remove dead code
...
Remove dead code
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-02-23 17:11:46 +08:00
dechen
e642a73280
Set redis idle timeout for core
...
Signed-off-by: dechen <xxyydream@gmail.com>
2020-02-23 12:31:56 +08:00
Wenkai Yin
ab3aad4d50
Implement the resolver for CNAB
...
This commit introduces a new resolver to resolver metadata for CNAB
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-02-23 07:23:22 +08:00
He Weiwei
f36152a560
feat(vulnerability): assemble vulnerabilities info for artifact ( #10800 )
...
1. Assemble scan overview to artifact when scanner enabled in the
project of the artifact.
2. Set addition link for vulnerabilities to artifact when scanner
enabled in the project of the artifact.
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2020-02-22 13:29:58 +08:00
Wang Yan
1765abc985
Merge pull request #10810 from stonezdj/20200217_notifier_move
...
Move core/notifier to pkg/notifier
2020-02-22 11:39:29 +08:00
stonezdj
29aa59ff18
Move core/notifier to pkg/notifier
...
Update package reference in related components
Signed-off-by: stonezdj <stonezdj@gmail.com>
2020-02-22 11:05:27 +08:00
Michael Michael
36a5b9cecf
Merge pull request #10809 from lucperkins/lperkins/swagger-link
...
Update Swagger link
2020-02-21 13:39:27 -06:00
lucperkins
d4709066e6
Update Swagger link
...
Signed-off-by: lucperkins <lucperkins@gmail.com>
2020-02-21 11:27:41 -08:00
Michael Michael
9280d90596
Merge pull request #10808 from lucperkins/lperkins/fix-filenames
...
Fix Markdown filenames
2020-02-21 13:19:08 -06:00
Michael Michael
19058d45e2
Merge pull request #10807 from lucperkins/lperkins/link-fix-follow-up
...
Fix link
2020-02-21 13:18:47 -06:00
lucperkins
099a838ffe
Fix Markdown filenames
...
Signed-off-by: lucperkins <lucperkins@gmail.com>
2020-02-21 10:57:21 -08:00
lucperkins
88eaaf155f
Fix links
...
Signed-off-by: lucperkins <lucperkins@gmail.com>
2020-02-21 10:35:10 -08:00
Michael Michael
fced80a62f
Merge pull request #10804 from goharbor/wwp-weighting
...
Adjusted weightings for Working with Projects
2020-02-21 10:57:55 -06:00
Wenkai Yin(尹文开)
f7d248b968
Merge pull request #10789 from ywk253100/200203_upgrade
...
Upgrade the artifact table
2020-02-21 21:24:34 +08:00
Wenkai Yin
9312b788dc
Upgrade the artifact table
...
Split the table artifact into artifact and tags, and populate related data
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-02-21 20:37:31 +08:00
He Weiwei
d1cef70cd1
refactor(scan,auth): remove bearer token auth support for scan job ( #10781 )
...
Harbor v2.0 has changed to use basic auth to pull image so remove bearer
token support for scan job
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2020-02-21 17:58:24 +08:00
Stuart Clements
ea01d0e766
Adjusted weightings for Working with Projects
2020-02-21 10:43:26 +01:00
AllForNothing
8bff170c89
Improve routing and UI for artifact pages
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2020-02-21 15:00:49 +08:00
He Weiwei
88fcacd4b7
feat(middleware): add blob middlewares ( #10710 )
...
1. Add middleware to record the accepted blob size for stream blob
upload.
2. Add middleware to create blob and associate it with project after blob upload
complete.
3. Add middleware to sync blobs, create blob for manifest and associate blobs
with the manifest after put manifest.
4. Add middleware to associate blob with project after mount blob.
5. Cleanup associations for the project when artifact deleted.
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2020-02-20 23:20:34 +08:00
Michael Michael
902e4826a6
Merge pull request #10793 from goharbor/fixing-links
...
Fixing lots of links
2020-02-20 09:18:52 -06:00
Ziming
0bc32410f3
Merge pull request #10742 from bitsf/oci_tag_retention
...
requirement(oci) implement tag retention for oci
not include ChartClient yet
2020-02-20 20:31:49 +08:00
Stuart Clements
972b10c1f7
Fixing lots of links
2020-02-20 13:02:41 +01:00
danfengliu
6cbeb2c25c
Merge pull request #10730 from danfengliu/make_swagger_client_for_v2
...
Build python swagger client for V2.0
2020-02-20 19:43:46 +08:00