Commit Graph

6066 Commits

Author SHA1 Message Date
Wenkai Yin
1c9b7e07bf
Merge pull request #7130 from ywk253100/190312_registry_client
Implement a default image registry client
2019-03-12 21:35:26 +08:00
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
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
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
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
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
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
wang yan
e373167546 update gc api to support raw cron string
Signed-off-by: wang yan <wangyan@vmware.com>
2019-03-05 16:31:35 +08:00
De Chen
2bc2a44db8
Merge branch 'replication_ng' into registries-management 2019-03-05 16:22:34 +08:00
Wenkai Yin
e1a7bfa32d
Merge pull request #6917 from yuanshuhan/replication_ng
scheduler module for replication
2019-03-05 16:15:31 +08:00
danfengliu
98c6889053 Configuration item verify_remote_cert is no longer useful, so it was delete from data population script
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-03-05 15:53:14 +08:00
cd1989
b00098d492 Add unit tests and fix CI
Signed-off-by: cd1989 <chende@caicloud.io>
2019-03-05 15:37:36 +08:00
Wenkai Yin
937ee46ae0
Merge branch 'replication_ng' into replication_ng 2019-03-05 15:20:21 +08:00
stonezdj(Daojun Zhang)
dffb971366
Merge pull request #7055 from stonezdj/bug7038
Remove verify_remote_cert
2019-03-05 14:54:02 +08:00