Commit Graph

6326 Commits

Author SHA1 Message Date
Wenkai Yin
185525e9c8 Implement a default image registry client
Provide a default implemmentation for image registry interface, other adapters can use it directly

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-03-12 20:21:58 +08:00
De Chen
41e290a17f
Merge pull request #6877 from yeya24/patch/fixtypo
fix some typos
2019-03-12 20:07:15 +08:00
Wenkai Yin
5f8c19e5ed
Merge pull request #7125 from ywk253100/190312_update_job_id
Update the job ID in flow controller
2019-03-12 17:26:43 +08:00
Wenkai Yin
7ab21db26a Update the job ID in flow controller
Update the job ID for the task if it is scheduled successfully

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-03-12 15:42:16 +08:00
Mia ZHOU
71998576e6
Merge pull request #7110 from pureshine/fix-gc-bug
Fix returning internal error when setting cron for gc
2019-03-12 10:11:43 +08:00
Wenkai Yin
27b65f4739
Merge pull request #7114 from ywk253100/190311_sync
Sync with branch master
2019-03-11 21:26:02 +08:00
Wenkai Yin
53529b4b1b Merge the sql script into one file
Keep all the sql script for v1.8 in only one file

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-03-11 20:38:45 +08:00
Wenkai Yin
772367498f Merge remote-tracking branch 'upstream/master' into 190311_sync 2019-03-11 20:34:49 +08:00
Wenkai Yin
d76e8b16eb
Merge pull request #7096 from ywk253100/190308_policy_api_bak
Implement replication policy management API
2019-03-11 20:33:27 +08:00
Wenkai Yin
52eb89c6f2
Merge pull request #7113 from ywk253100/190311_harbor_adapter
Provide a null implementation for Harbor adapter
2019-03-11 19:30:48 +08:00
Wenkai Yin
2911ac7a34
Merge pull request #7108 from kofj/policy_manager_ng_ut
Policy manager ng UT
2019-03-11 16:35:50 +08:00
慕薇疯魔
1039800fa9 1. Migration for policy manager.
2. Clear test database after run test.
3. UT for policy manager and dao.

Signed-off-by: 慕薇疯魔 <kfanjian@gmail.com>
2019-03-11 16:01:31 +08:00
FangyuanCheng
e32a34048a Fix returning internal error when setting cron for gc
Signed-off-by: FangyuanCheng <fangyuanc@vmware.com>
2019-03-11 15:43:46 +08:00
Wenkai Yin
c632c1e297
Merge pull request #6947 from kofj/policy_manager_ng
Ng policy manager
2019-03-11 14:45:21 +08:00
Steven Zou
9235cd6d34
Add new two maintainer Fanjian Kong & Mingming Pei
Announcement blog: https://goharbor.io/blogs/welcome-new-maintainers-march-2019/
2019-03-11 14:40:46 +08:00
Frank Kung
5bd5d59a4f 1. Define ng persist replication policy model.
2. Add ng replication policy CURD methods.
3. Implement ng policy manger.

Signed-off-by: Frank Kung <kfanjian@gmail.com>
Signed-off-by: 慕薇疯魔 <kfanjian@gmail.com>
2019-03-11 11:13:10 +08:00
danfengliu
a618a2c2ac
Button was not clicked successfully in keyword < Delete Repo>, but the click action returned pass, so I add a checkpoint after clicking the delete button, make sure the pop info had disappeared, it means delete button was clicked successfully. (#7071)
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-03-11 10:34:53 +08:00
Wenkai Yin
258b22a9a5 Fix bug in replication
This commit fixes bugs found in the implement of replciation NG

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-03-10 20:57:59 +08:00
stonezdj(Daojun Zhang)
0b4c589133
Merge pull request #7106 from wy65701436/fix-notary-migrate
add script to fix migration issue on notary
2019-03-09 13:37:18 +08:00
wang yan
f49b5910d2 disable non zern check on wait for db ready
Signed-off-by: wang yan <wangyan@vmware.com>
2019-03-09 12:52:38 +08:00
Wenkai Yin
d1f4c20e64 Implement replication policy management API
This commit implements the replication policy management API

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-03-09 01:32:51 +08:00
Wenkai Yin
272508e509 Provide a null implementation for Harbor adapter
This commit provides a null implementation for Harbor adapter to fill data for the listing adapter API

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-03-09 01:10:25 +08:00
wang yan
7d6cdefae6 add script to fix migration issue on notary
The script is to fix the issue #7091, notary upgrade failure from mysql to pqsl.

Signed-off-by: wang yan <wangyan@vmware.com>
2019-03-08 20:29:23 +08:00
Qian Deng
b0f158c4c8 Add migratior script
Add migrator template and script

Signed-off-by: Qian Deng <dengq@vmware.com>
2019-03-08 16:46:14 +08:00
Qian Deng
7b7cb82f86 Enhance: refactor the format of harbor.yml
refactor the format of the harbor.yml configuration items

Signed-off-by: Qian Deng <dengq@vmware.com>
2019-03-08 16:46:13 +08:00
Qian Deng
ab7c81dac6 Fix: the adminserver caused regression
Remove some code related to adminserver
Fix some issues by adminserver removeing

Signed-off-by: Qian Deng <dengq@vmware.com>
2019-03-08 16:46:13 +08:00
Qian Deng
5f80fe7b8a Refacotr the prepare script base on the proposal https://github.com/goharbor/community/pull/22
Signed-off-by: Qian Deng <dengq@vmware.com>
2019-03-08 16:46:13 +08:00
Steven Zou
83aca2885e
Merge pull request #7037 from ywk253100/190227_adapter_interface
Refactor the adapter interface
2019-03-08 16:09:56 +08:00
Wenkai Yin
0b08291a2f
Merge branch 'replication_ng' into 190227_adapter_interface 2019-03-08 13:01:39 +08:00
Steven Zou
b5b377bcae
Merge pull request #7046 from ywk253100/190228_operation_api
Implement replication operation API
2019-03-08 12:41:26 +08:00
Steven Zou
511a6dc9de
Merge pull request #7092 from idvoretskyi/patch-1
Harbor project contact information updated
2019-03-08 12:30:43 +08:00
Daniel Jiang
7ae071bdb0
Merge pull request #7094 from goharbor/jonasrosland-patch-2
Update OWNERS based on clouderati's request
2019-03-08 12:28:54 +08:00
Wenkai Yin
6742e0ceda Refactor the adapter interface
This commit refactors the Adapter interface and adjust the code in the flow controller and repository handler

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-03-08 12:26:17 +08:00
Wenkai Yin
ec2a7f9239 Implement replication operation API
This commit implements the replication operation related APIs

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-03-08 10:06:33 +08:00
Jonas Rosland
e1f9242d28 Update OWNERS based on clouderati's request
Removal of James Zabala as core maintainer for Harbor based on his request to step down, found here:
https://github.com/goharbor/community/pull/61

Signed-off-by: jonasrosland <jrosland@vmware.com>
2019-03-07 12:44:47 -05:00
Ihor Dvoretskyi
b0fbbd5fab Harbor project contact information updated
Mailing lists updated + minor tweaks to the Slack links.

Signed-off-by: Ihor Dvoretskyi <ihor@linux.com>
2019-03-07 12:30:11 -05:00
Steven Zou
2cce835784
Merge pull request #7079 from ywk253100/190304_adapter_api
Implement replication adapter API
2019-03-07 19:23:20 +08:00
jwangyangls
fc0654f028
Merge pull request #7088 from jwangyangls/proxyAuthenticator
add http auth proxy selection in system configuration
2019-03-07 17:26:59 +08:00
Fangyuan Cheng
41f443d3e3
Merge pull request #7083 from pureshine/support-cron
Refactoring gc ui support cron
2019-03-07 16:52:44 +08:00
Yogi_Wang
e281b6523e add http auth proxy selection in system configuration
Signed-off-by: Yogi_Wang <yawang@vmware.com>
2019-03-07 16:52:17 +08:00
Wenkai Yin
db7a709aad
Merge pull request #7063 from heww/users-search
Add users search API
2019-03-07 15:58:26 +08:00
FangyuanCheng
0d242fc0ba Refactoring gc ui support cron
Signed-off-by: FangyuanCheng <fangyuanc@vmware.com>
2019-03-07 13:31:09 +08:00
stonezdj(Daojun Zhang)
f7745baf30
Merge pull request #6599 from stonezdj/pr6161
Add new parameter ldap_group_membership_attribute (PR#6161)
2019-03-07 13:26:26 +08:00
He Weiwei
20556aebd2 Add users search API
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-03-07 12:47:26 +08:00
Wenkai Yin
7f49151115 Implement replication adapter API
This commit implements the replication adapter API

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-03-06 15:01:33 +08:00
Wenkai Yin
c9498410a9
Merge pull request #6833 from cd1989/registries-management
Implement registries manager and APIs for NG replication
2019-03-06 14:33:43 +08:00
Daniel Jiang
002094dbbb
Merge pull request #7075 from wy65701436/cron-str
update gc api to support raw cron string
2019-03-06 13:36:52 +08:00
Qian Deng
542d1fbf5a
Merge pull request #7080 from ninjadq/fix_global_search_issue_when_chart_enabled
Fix: global search not work when chart enabled
2019-03-06 11:11:54 +08:00
Qian Deng
b68f09cf41 Fix: global search not work when chart enabled
Global search result data does not contain the chart info when chart is empty

Signed-off-by: Qian Deng <dengq@vmware.com>
2019-03-06 10:37:41 +08:00
Wenkai Yin
ebad53bf5f
Merge pull request #7078 from danfengliu/remove-config-item-verify-remote-cert
Configuration item verify_remote_cert is no longer useful, so it was …
2019-03-05 19:30:12 +08:00