Commit Graph

29 Commits

Author SHA1 Message Date
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
Steven Zou
61eefbaf6c add api testing for harbor including image pull and push 2017-12-08 16:16:50 +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