danfengliu
1cc04183cb
add test case for edit project creation;
...
fixed some space and import issues coddcy;
remove a lib;
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-15 10:32:21 +08:00
danfengliu
90fda71e4a
Recovery repository.py for calling wrong create function ( #6268 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-13 12:53:46 +08:00
danfengliu
6289275118
Modify script call create project ( #6263 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-12 23:39:16 +08:00
danfengliu
205a658afb
Only modify lib-project for seq of return ( #6261 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-12 16:59:55 +08:00
danfengliu
ce8a585858
modfiy repo
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-08 10:33:14 +08:00
danfengliu
9265754936
modify codacy errors in target
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-08 10:33:14 +08:00
danfengliu
a6151175e3
add lib for target
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-08 10:33:14 +08:00
danfengliu
e6f5f62c53
Modify for codacy again
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-08 10:33:14 +08:00
danfengliu
0b84ec84d9
Modify for codacy
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-08 10:33:14 +08:00
danfengliu
660bfdf677
add test case of add a replication rule
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-08 10:33:14 +08:00
danfengliu
1979d17550
add tc add-sys-label-to-tag and del-repo
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-02 17:16:43 +08:00
danfengliu
894e0591bb
add new api tests ( #6127 )
...
Add API test libraries which were based on swagger doc,
it's including user and project , also add one scenario
test case which is test_add_member_to_private_project to
verify a user can see a project when the uesr is the member of it.
Delete 2 old test case.Delete a quota.
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-10-31 13:13:31 +08:00
陈德
a1b4729aa7
Add more unit tests
...
Signed-off-by: 陈德 <chende@caicloud.io>
2018-10-18 00:26:25 +08:00
Yan
002e5a2b70
Enable api tests in travis ( #5900 )
...
This commit is to enable parallel run jobs with travis, and add API for DB and API for LDAP in travis.
Signed-off-by: wang yan <wangyan@vmware.com>
2018-09-19 17:49:43 +08:00
Qian Deng
7873a0312a
Rename harbor-ui to harbor-core
...
1. Update the nginx.conf
2. Update Makefile
3. Update docker-compose
4. Update image name
5. Rename folder ui to core
6. Change the harbor-ui's package name to core
7. Remove unused static file on harbor-core
8. Remove unused code for harbor-portal
Signed-off-by: Qian Deng <dengq@vmware.com>
2018-09-19 16:35:13 +08:00
Daniel Jiang
dcf4e2ee78
Update import path in go code
...
vmware -> goharbor
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2018-08-23 17:50:53 +08:00
Wenkai Yin
f71f02deee
Fix module not found error in API test ( #5647 )
...
Reload the python path to fix the module not found error in API E2E test
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2018-08-17 10:55:19 +08:00
Wenkai Yin
95c0c259ec
Add E2E API test cases for replication based on labels ( #5639 )
...
This commit creates a new E2E API test case to verify the replication based on label
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2018-08-16 18:36:27 +08:00
stonezdj
94f852b826
Fix testcase related to LDAP user can not see any logs
2018-08-10 16:17:18 +08:00
Yan
9c86d0b86f
Update ldap user pwd for nightly ( #5571 )
2018-08-09 16:38:27 +08:00
stonezdj
edcb2fbf05
Add Harbor API Test based on python API
...
Correct swagger.yaml format
Add make task swagger_client to gen and install python client.
Add LDAP related Test
2018-08-01 10:43:23 +08:00
Yan
efdb57548f
add admin job api ( #5344 )
...
It supports Harbor admin to trigger job either manual or
schedule. The job will be populated to job service to execute.
The api includes:
1. POST /api/system/gc
2, GET /api/system/gc/:id
3, GET /api/system/gc/:id/log
4, PUT/GET/POST /api/system/gc/schedule
2018-07-20 19:22:37 +08:00
Yan
ae257433cc
Fully migrate harbor db to postgresql ( #4689 )
...
* Merge harbor db to postgres
2018-04-27 02:27:12 -07:00
Steven Zou
bb292aab96
Fix the failure api test cases because API implementation changed
2018-04-16 15:39:19 +08:00
Wenkai Yin
a54b7dd4c0
Merge remote-tracking branch 'upstream/master' into 171219_merge
2017-12-15 08:48:57 +08:00
Steven Zou
bdb26139d7
change the hostname placeholder for the ldap concourse environment to 30.0.0.3
2017-12-17 15:15:05 +08:00
Steven Zou
d7f99d5604
add api testing suite for ldap scenario: no user creation and user deleting cases comparing to the general scenario
2017-12-15 18:56:20 +08:00
Steven Zou
42fb5c9f8e
add proxy settings to the API client for the api-testing part
2017-12-15 13:19:03 +08:00
Wenkai Yin
665a54edc3
Merge remote-tracking branch 'upstream/master' into 171213_merge
2017-12-13 13:40:24 +08:00
Steven Zou
61eefbaf6c
add api testing for harbor including image pull and push
2017-12-08 16:16:50 +08:00
Wenkai Yin
31cf6c078e
Implement replication policy manager
2017-11-16 10:55:03 +08:00
Wenkai Yin
5cef58baa1
update according to the comments
2017-11-08 17:53:41 +08:00
Wenkai Yin
51d5df0849
Update replication policy API to support trigger and filter
2017-11-02 14:59:26 +08:00
Wenkai Yin
66b2d0d3f3
Apply project level policies to standalone Harbor
...
The following features are only enabled in integration mode, this commit moves
these to standalone Harbor:
- Content trust policy: only signed images can be pulled
- Vulnerability policy: only images whose severity is below the threshold can be pulled
- Automatic scan policy: automatic scan pushed images
2017-10-19 17:33:28 +08:00
Wenkai Yin
6e9ec3f22c
refactor statistics API
2017-06-26 14:15:01 +08:00
Wenkai Yin
6b4ae098db
update
2017-06-09 18:24:52 +08:00
Wenkai Yin
20cf8de0f7
Merge remote-tracking branch 'upstream/master' into 170608_project
2017-06-09 16:41:13 +08:00
Wenkai Yin
e97d7dab85
refactor GET /projects
2017-06-09 16:41:02 +08:00
Wenkai Yin
b2380818fd
support query logs according to conditions
2017-06-08 14:44:08 +08:00
Wenkai Yin
d6a6f67596
refactor search API to return more info
2017-03-06 17:47:05 +08:00
wemeya
7f949b1a95
add test for ldap.go ( #1307 )
...
LGTM
2017-01-19 10:09:56 +08:00
wemeya
ce0a44010d
add test file for systeminfo.go ( #1288 )
...
LGTM
2017-01-06 15:41:07 +08:00
wemeya
c0f3d7d749
add test case for user
2016-09-22 16:28:12 +08:00
zgdxiaoxiao
bfb5db7c97
swagger bugfix
2016-09-21 10:43:04 +08:00
zgdxiaoxiao
198149599d
update api test and swagger.yaml(updated)
2016-09-02 16:05:55 +08:00
zgdxiaoxiao
02d5281f0c
project api test and bugfix
...
1.add project api test
2.bugfix:the type of public in project.go is fixed to int32
2016-08-30 18:26:41 +08:00
yhua
60cae7357f
add new structs from swagger auto gen code
2016-08-15 14:36:42 +08:00
yhua
74702a0be7
add api testing framework
2016-08-10 14:34:56 +08:00
yhua123
c6f1d1f0b0
Update hbapisearch_test.go
...
go vet ./...
tests/apitests/hbapisearch_test.go:11: Println call ends with newline
2016-06-20 14:39:22 +08:00
yhua123
3157559c4e
Update hbapidelrpo_test.go
...
fix go vet ./...
tests/apitests/hbapidelrpo_test.go:12: Println call ends with newline
tests/apitests/hbapidelrpo_test.go:20: Println call ends with newline
tests/apitests/hbapidelrpo_test.go:35: Println call ends with newline
tests/apitests/hbapidelrpo_test.go:42: Println call ends with newline
2016-06-20 14:38:55 +08:00
yhua123
5c500cf4a1
Update hbapiaddprj_test.go
...
fix go vet ./...
tests/apitests/hbapiaddprj_test.go:12: Println call ends with newline
2016-06-20 14:36:47 +08:00
yhua123
f1b5ee1522
Create hbapidelrpo_test.go
...
add new test case for delete repo API
2016-06-15 11:20:34 +08:00
Wenkai Yin
6c543e6cac
Merge pull request #334 from yhua123/patch-1
...
Update harborapi.go
2016-06-14 17:38:47 +08:00
yhua123
21bd0ba9fa
Update hbapiaddprj_test.go
...
fix one issue, project name should be lower case.
2016-06-14 14:31:35 +08:00
yhua123
97c78c635c
Update harborapi.go
...
1 add one new API test interface: delete repository
2 fix one sling usage issue
2016-06-14 13:47:11 +08:00
yhua
bd8f311d1b
test for travis and github lib(1)
2016-06-07 14:55:04 +08:00
yhua
2f8ec6461b
test for travis and github lib
2016-06-07 14:40:37 +08:00
yhua
00f69eb327
automation testing
2016-06-07 12:19:48 +08:00