danfengliu
b0c1adab8d
add retry for make swagger client ( #6813 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-01-24 17:09:32 +08:00
danfengliu
257eebfebe
Add space adaptor for regexp when create a new project, we loose the criteria to match the project name because the return json datat may be shown in different lines . ( #6768 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-01-24 09:38:46 +08:00
He Weiwei
3f8e06a8bc
Support master role for project member create and update apis ( #6780 )
...
* Support master role for project member create and update apis
Signed-off-by: He Weiwei <hweiwei@vmware.com>
* Fix description for role_id in swagger.yaml
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-01-23 14:56:23 +08:00
He Weiwei
ae061482ae
Add Can method to securty.Context interface ( #6779 )
...
* Add Can method to securty.Context interface
Signed-off-by: He Weiwei <hweiwei@vmware.com>
* Improve mockSecurityContext Can method
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-01-23 14:32:37 +08:00
Dan Norris
fa4280887d
Fix Swagger client generation for a few chartrepo endpoints
...
It looks like the Swagger for `ChartVersions` and `ChartVersionDetails`
were missing fields to properly generate a client.
This fixes the problem by adding the correct `refs` so that the client
produces an output when making an API call.
In Go, this generates something like:
```Go
/*GetChartrepoRepoChartsNameVersionOK handles this case with default header values.
Successfully retrieved the chart version
*/
type GetChartrepoRepoChartsNameVersionOK struct {
Payload *models.ChartVersionDetails
}
...
/*GetChartrepoRepoChartsNameOK handles this case with default header values.
Retrieved all versions of the specified chart
*/
type GetChartrepoRepoChartsNameOK struct {
Payload models.ChartVersions
}
```
Signed-off-by: Dan Norris <dan.norris@netapp.com>
2019-01-22 08:59:06 -08:00
Wenkai Yin
5abfa2de3a
Merge pull request #6759 from danfengliu/debug-go-into-project-in-harbor-nightly-migrate-offline
...
Keyword <Go Into Project> has modified, but verify.robot didn't adapt…
2019-01-18 16:28:42 +08:00
Mia ZHOU
1ca9fb59b5
Merge pull request #6770 from ninjadq/fix_issue_global_search_cannot_reload_data
...
Fix: data not reload when global serach navigate to same location
2019-01-18 14:30:36 +08:00
Qian Deng
276202cfa9
Fix issue data not reload when global serach going to a location that has the same url
...
Just add a reload option on router module. This feature is introduced in angular5, we can solve this issue easily.
Signed-off-by: Qian Deng <dengq@vmware.com>
2019-01-18 13:34:32 +08:00
danfengliu
f29960628a
Keyword <Go Into Project> has modified, but verify.robot didn't adapt this keyword.
...
Modifications:
1.Add paramenter hasimage in data.json
2.Modify Harbor-Pages\Verify.robot to pass it to <Go Into Project>
3.Add loop and exception-catch in <Go Into Project> to prevent using Sleep and failure by exception(this exception was caused by short time of paga loading)
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-01-17 17:46:17 +08:00
Steven Zou
4b7997250a
Merge pull request #6756 from wy65701436/robot-api
...
Add API implementation of robot account
2019-01-17 16:47:01 +08:00
wang yan
903e15235e
Update validation and error message per comments
2019-01-17 15:33:05 +08:00
wang yan
4cde11892a
update the conflict check with DB unique constrain error message
...
Signed-off-by: wang yan <wangyan@vmware.com>
2019-01-17 13:13:55 +08:00
Yan
1af0f3c3b9
Add API implementation of robot account
...
Add API implementation of robot account
1. POST /api/project/pid/robots
2, GET /api/project/pid/robots/id?
3, PUT /api/project/pid/robots/id
4, DELETE /api/project/pid/robots/id
Signed-off-by: wang yan <wangyan@vmware.com>
2019-01-17 13:13:55 +08:00
He Weiwei
8dab10bbed
Merge pull request #6765 from heww/rename-ram
...
Rename ram to rbac
2019-01-17 11:50:14 +08:00
He Weiwei
bacfe64979
Rename ram to rbac
...
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-01-16 18:20:30 +08:00
Wenkai Yin
f8d9653419
Merge pull request #6737 from ywk253100/190109_health_check
...
Implement the unified health check API
2019-01-16 18:14:14 +08:00
He Weiwei
76bee7a9fc
Merge pull request #6710 from heww/security-by-ram
...
Implement current security interfaces using ram
2019-01-16 17:47:13 +08:00
Wenkai Yin
be4455ec1b
Implement the unified health check API
...
The commit implements an unified health check API for all Harbor services
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-01-16 17:21:04 +08:00
He Weiwei
ebd26c0105
Implement current security interfaces using ram
...
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-01-16 16:08:17 +08:00
Wenkai Yin
1987d7cb8f
Merge pull request #6751 from danfengliu/Add-WaitUntil-In-Keywords-Stage3
...
add wait until in keyword <Create An New Project>
2019-01-16 10:16:42 +08:00
danfengliu
fd5e109583
add wait until in keyword <Create An New Project>
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-01-15 17:46:46 +08:00
Steven Zou
464bdf71cd
Merge pull request #6727 from wy65701436/robot-dao
...
Add dao of robot account
2019-01-14 19:34:23 +08:00
Wenkai Yin
60425676ac
Merge pull request #6733 from danfengliu/Add-WaitUntil-In-Keywords-Stage2
...
Add wait until in <Multi-delete Object> and <Project Should Display>
2019-01-14 17:22:39 +08:00
danfengliu
73b9e95464
Add wait until in <Multi-delete Object> and <Project Should Display>
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-01-14 15:19:30 +08:00
danfengliu
de30438d01
modify a code error by copy mistake ( #6736 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-01-14 11:02:11 +08:00
wang yan
d349c256e8
add support for query nil
...
Signed-off-by: wang yan <wangyan@vmware.com>
2019-01-11 16:19:42 +08:00
Daniel Jiang
a1d4bfd332
Merge pull request #6344 from reasonerjt/bump-up-golang
...
Bump up golang to 1.11.2
2019-01-11 16:15:59 +08:00
Fangyuan Cheng
ee821315b2
Merge pull request #6734 from pureshine/getstudy
...
add ui_contribution_get_started document
2019-01-11 15:26:57 +08:00
Daniel Jiang
5d59d6fab8
Bump up golang to 1.11.2
...
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-01-11 14:44:32 +08:00
wang yan
6bd6fbd4ad
Add fuzzy match and delete funt per review comments
...
Signed-off-by: wang yan <wangyan@vmware.com>
2019-01-11 14:26:49 +08:00
FangyuanCheng
0fb141e4ee
add get_study document
...
Signed-off-by: FangyuanCheng <fangyuanc@vmware.com>
2019-01-11 14:01:21 +08:00
danfengliu
0b27037e34
Two modifications in PR:1. Due to GUI change on position of "project creation" configuration, script must be adjust with the corresponding change; 2. Fixed a issue of no exception caught when http request has error, all the system config will be set by a common request function. ( #6715 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-01-11 13:40:08 +08:00
jwangyangls
c80d9d95b2
Merge pull request #6724 from jwangyangls/upgrade_clr_1.0.3_issue
...
fix_bug about ui and test
2019-01-11 12:26:03 +08:00
System Administrator
27c180bf20
fix_bug
...
Signed-off-by: Yogi_Wang <wang1084@126.com>
2019-01-11 11:00:46 +08:00
wang yan
c6ae1388ec
Add dao of robot account
...
Signed-off-by: wang yan <wangyan@vmware.com>
2019-01-10 14:51:33 +08:00
Daniel Jiang
80af81154c
Merge pull request #6702 from wy65701436/robot-db-scheme
...
Add DB table for robot account
2019-01-10 14:25:58 +08:00
Wenkai Yin
db4c1a3896
Merge pull request #6717 from wy65701436/bump-up-180
...
Promte version on master to v1.8.0
2019-01-10 14:24:21 +08:00
Wenkai Yin
60a58cba11
Merge pull request #6619 from danfengliu/robot-script-refector-of-sign-in-harbor
...
Robot script refactor for keyword sign-in-harbor
2019-01-10 13:42:15 +08:00
wang yan
38f8d62508
Promte version on master to v1.8.0
...
Signed-off-by: wang yan <wangyan@vmware.com>
2019-01-09 17:41:47 +08:00
wang yan
db09f9f101
Update token length and upper case the sql key words
...
Signed-off-by: wang yan <wangyan@vmware.com>
2019-01-09 10:00:54 +08:00
wang yan
362a0638d0
Add DB table for robot account
...
This commit is to add DB scheme for robot account and update the db orm releated.
Signed-off-by: wang yan <wangyan@vmware.com>
2019-01-08 18:46:16 +08:00
Daniel Jiang
b5788f0695
Merge pull request #6671 from heww/ram
...
Add ram pkg
2019-01-08 15:39:36 +08:00
Mia ZHOU
45685b49d6
Merge pull request #6708 from zhoumeina/cherry_pick_disable_retag
...
disable retag function if with admiral
2019-01-08 15:04:10 +08:00
jwangyangls
07ad9d1dd5
Merge pull request #6701 from jwangyangls/upgrade_clr_1.0.3_issue
...
Upgrade clr 1.0.0 issue
2019-01-08 14:17:17 +08:00
Meina Zhou
b7153798b5
disable retag function if with admiral
...
Signed-off-by: Meina Zhou <meinaz@vmware.com>
2019-01-08 13:49:54 +08:00
danfengliu
d853adce46
Robot scripts refactor for keyword sign-in-harbor and other few keywords, mainly on replacing 'sleep' to 'wait until', and also add a checkpoint in "Go Into Project" keyword to verify the result of loading a project page.
...
Modify Switch To Log and Back To projects
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-01-08 13:44:14 +08:00
Mia ZHOU
d4b7271721
Merge pull request #6707 from pureshine/fix-xpath
...
fix xpath of project and log
2019-01-08 13:41:42 +08:00
Yogi_Wang
10d74eabd7
upgrade clarity components to 1.0 and fix issue
...
Signed-off-by: Yogi_Wang <Yogiwang@Yogi-WangdeMacBook-Pro.local>
2019-01-08 12:50:26 +08:00
FangyuanCheng
55e868bd9f
fix test case for project link
...
Signed-off-by: FangyuanCheng <fangyuanc@vmware.com>
2019-01-08 11:28:03 +08:00
Wenkai Yin
821c4a3746
Merge pull request #6682 from ywk253100/190102_upgrade
...
Update the upgrade sql to rename the duplicate records
2019-01-07 16:22:50 +08:00