Commit Graph

19 Commits

Author SHA1 Message Date
Wenkai Yin
39edccf549 filter policies by name and project ID 2016-06-13 16:49:46 +08:00
Wenkai Yin
e8cad0f9f3 pass golint 2016-06-06 17:42:16 +08:00
Wenkai Yin
f4e6d048b2 add validation to create, update policies and targets 2016-06-06 17:31:47 +08:00
wy65701436
9c655e710b Change to get uri from http request, and response with relative path of resource. 2016-04-24 21:10:15 -07:00
wy65701436
94422e9a71 add post return, add the URI to header location. 2016-04-22 02:57:39 -07:00
Wenkai Yin
85869f1b81 repo tag delete 2016-04-15 13:17:32 +08:00
victoriazhengwf
da326282ea Import beego in api/base.go 2016-03-27 18:17:56 -07:00
victoriazhengwf
c8f3644622 Remove 'import beego' in api package 2016-03-27 18:13:33 -07:00
victoriazhengwf
474ae23cdb Use new logger for api package 2016-03-27 17:50:09 -07:00
victoriazhengwf
43041be61b Update logger for api/base.go 2016-03-25 02:22:07 -07:00
victoriazhengwf
e1fa43178a Use new logger 2016-03-24 23:55:53 -07:00
Tan Jiang
3e942e3db7 use the method in standard lib 2016-03-08 11:53:13 +08:00
Tan Jiang
615e4973c1 enable basic authentication 2016-03-07 22:27:47 +08:00
Tan Jiang
2cabd9c187 fix package comment issue 2016-02-26 18:54:14 +08:00
Tan Jiang
4a24d642b7 add comments to pass golint 2016-02-26 18:35:55 +08:00
yinw
4a0b069994 golint refactor for model 2016-02-26 10:15:01 +08:00
Tan Jiang
40fc5d8f4b fix issues except comments related in main, auth, api packages 2016-02-25 13:40:08 +08:00
Tan Jiang
ecedb882a1 replace status codes with constants in net/http 2016-02-24 14:31:52 +08:00
Tan Jiang
f859348ac6 Initial commit 2016-02-01 19:59:10 +08:00