Commit Graph

101 Commits

Author SHA1 Message Date
Wenkai Yin
6788f891f1 add test for dao metod 2016-06-07 13:41:02 +08:00
Wenkai Yin
f4e6d048b2 add validation to create, update policies and targets 2016-06-06 17:31:47 +08:00
Tan Jiang
e53d2d9900 Merge remote-tracking branch 'upstream/job-service' into job-service 2016-05-30 15:53:55 +08:00
Tan Jiang
05069eeed1 clean up code, update API url of job service 2016-05-30 14:44:03 +08:00
Wenkai Yin
4f0e64c404 support job deletion 2016-05-27 18:46:07 +08:00
Wenkai Yin
1e09cf899b fix 2016-05-27 15:04:20 +08:00
Wenkai Yin
039d94c13d Merge branch 'master' into sync_image
Conflicts:
	api/repository.go
2016-05-26 14:12:26 +08:00
Wenkai Yin
73f69254e2 Merge branch 'master' into modify_authentication_of_repository_api 2016-05-26 14:01:09 +08:00
Tan Jiang
a2d2314708 add tags in db, and support tags in dao and job service api 2016-05-25 16:33:45 +08:00
Wenkai Yin
55bc9de505 Merge remote-tracking branch 'upstream/job-service' into sync_image 2016-05-24 15:03:44 +08:00
Tan Jiang
58e7ab95a4 merge with master 2016-05-24 13:20:11 +08:00
saga92
de51b247f7 make singleton thread safe 2016-05-24 09:41:34 +08:00
Tan Jiang
71b4dde8a9 Merge branch 'job-service' of https://github.com/vmware/harbor into job-service 2016-05-23 19:37:42 +08:00
Wenkai Yin
7449b3604c move target.go to api/ 2016-05-23 18:41:48 +08:00
Wenkai Yin
772280d4e3 add targets api 2016-05-23 16:48:55 +08:00
saga92
2f60bf4f1f add unit test of GetOrmer 2016-05-20 17:35:16 +08:00
saga92
867911e96e format comment 2016-05-20 16:54:24 +08:00
saga92
145e3537ab add orm singleton 2016-05-20 16:36:10 +08:00
Wenkai Yin
cc8a4cbdab Merge remote-tracking branch 'upstream/job-service' into sync_image 2016-05-20 11:50:50 +08:00
Wenkai Yin
7920803735 handle project name is nil 2016-05-20 11:32:12 +08:00
Tan Jiang
fcd0de0ca0 Merge branch 'master' into job-service 2016-05-19 16:12:21 +08:00
Tan Jiang
4510bdb113 provide api to stop running jobs of a policy 2016-05-19 16:10:25 +08:00
wemeya
973ee40fdf fix a sql bug 2016-05-19 14:40:09 +08:00
Wenkai Yin
fa5dbeeaf5 add update method for replication target 2016-05-19 13:08:27 +08:00
wemeya
1f44e2aa8b add a new func to reuse code 2016-05-18 17:48:05 +08:00
wemeya
3e1bf8c862 change code for statistics and project api 2016-05-18 14:36:20 +08:00
wemeya
89fce7ed22 change comment and add sql fields 2016-05-18 10:30:55 +08:00
wemeya
af200d6e4c change func parameter according to travis CI 2016-05-17 17:10:31 +08:00
wemeya
313887967e change api for statistics and project 2016-05-17 17:03:40 +08:00
Tan Jiang
c45a3d205b Merge remote-tracking branch 'upstream/job-service' into job-service 2016-05-17 13:45:21 +08:00
Tan Jiang
bb3bebac13 dao methods for querying policy and jobs 2016-05-16 19:34:24 +08:00
wemeya
facfb03d15 change dao_test file 2016-05-16 18:08:50 +08:00
wemeya
9d1a9c31c2 change dao/porject.go file 2016-05-16 18:02:39 +08:00
wemeya
36e6f5f732 change dao/porject.go file 2016-05-16 17:57:54 +08:00
wemeya
cf08ed8437 change dao_test file 2016-05-16 17:50:27 +08:00
wemeya
ec59807963 change dao_test file 2016-05-16 17:42:36 +08:00
wemeya
9017fe2b56 change code for statistics api and project detail api 2016-05-16 17:31:38 +08:00
Wenkai Yin
5e5fc9b2cb fixes 2016-05-16 13:57:30 +08:00
wemeya
2561371e37 change CI error 2016-05-13 16:46:25 +08:00
wemeya
d30fc97b3f modify code when project list length is 0 2016-05-13 16:39:22 +08:00
wemeya
8c35e6ffa2 change code for statistic and project repo_count, role_id api 2016-05-13 22:45:30 +08:00
Tan Jiang
fd0d291931 Merge branch 'master' into job-service 2016-05-12 17:44:17 +08:00
wemeya
f43d6dab18 change api for statistics and project repo, roleid 2016-05-12 14:56:43 +08:00
wemeya
d4cc5090e4 Merge remote-tracking branch 'upstream/master' 2016-05-11 15:55:03 +08:00
wemeya
8502d3da1b change api for statistics 2016-05-11 15:54:26 +08:00
Daniel Jiang
5ae6d7d16c Merge pull request #195 from ywk253100/sysadmin_has_all_privileges_for_projects
Sysadmin has all privileges for projects
2016-05-11 12:28:11 +08:00
Wenkai Yin
0a5d5b638e add ut for GetAllProjects() 2016-05-10 22:11:07 +08:00
Wenkai Yin
3b8baf0139 add ut for GetAllProjects() 2016-05-10 22:08:36 +08:00
Tan Jiang
2752213ed1 Merge branch 'master' into job-service 2016-05-10 19:45:24 +08:00
Tan Jiang
4541ed27f0 job service rework 2016-05-10 19:38:50 +08:00