Commit Graph

677 Commits

Author SHA1 Message Date
Wenkai Yin
61e1b03a75 add delete state handlers 2016-05-26 11:27:16 +08:00
Wenkai Yin
ce1bdb9212 Merge remote-tracking branch 'upstream/job-service' into sync_image 2016-05-25 16:52:11 +08:00
Wenkai Yin
3f95a954dc add state handler for deleting repository 2016-05-25 16:51:40 +08:00
Daniel Jiang
e5c0491298 Merge pull request #269 from reasonerjt/job-service
add tags in db, and support tags in dao and job service api
2016-05-25 16:38:07 +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
84cfafaeb0 Merge remote-tracking branch 'upstream/job-service' into sync_image 2016-05-25 15:41:11 +08:00
Daniel Jiang
6faf722561 Merge pull request #267 from reasonerjt/job-service
Job service - security
2016-05-25 15:35:56 +08:00
Tan Jiang
b80e727b7f Merge remote-tracking branch 'upstream/job-service' into job-service 2016-05-25 15:26:24 +08:00
Wenkai Yin
0b57345a4d 1.add API for getting logs of job 2.trigger replication by creating policy or enabling policy 3.trigger replication by webhook 2016-05-25 15:25:16 +08:00
Tan Jiang
86112c942b enable secret validation on UI and let job service use this secret to communicate with uI 2016-05-25 15:24:44 +08:00
Wenkai Yin
bba7336674 Merge pull request #264 from ywk253100/sync_image
integrated with new API of project
2016-05-24 16:21:16 +08:00
Wenkai Yin
00b2880cdd integrated with new API of project 2016-05-24 16:19:45 +08:00
Wenkai Yin
e3884bd513 Merge pull request #263 from ywk253100/sync_image
Sync image
2016-05-24 15:08:49 +08:00
Wenkai Yin
55bc9de505 Merge remote-tracking branch 'upstream/job-service' into sync_image 2016-05-24 15:03:44 +08:00
Wenkai Yin
de72efaba8 CRUD of target API 2016-05-24 14:59:36 +08:00
Daniel Jiang
ea8c5bb251 Merge pull request #262 from reasonerjt/job-service
api will handle replication job for a single repo
2016-05-24 13:24:22 +08:00
Tan Jiang
86e44363a7 Merge remote-tracking branch 'upstream/job-service' into job-service 2016-05-24 13:20:52 +08:00
Tan Jiang
58e7ab95a4 merge with master 2016-05-24 13:20:11 +08:00
Tan Jiang
6fcb532da3 Merge branch 'job-service' of https://github.com/vmware/harbor into job-service 2016-05-24 13:16:24 +08:00
Tan Jiang
b537225f16 /replicationJobs api will handle creating a job for a single repository 2016-05-24 13:15:27 +08:00
Daniel Jiang
5374f213c0 Merge pull request #261 from reasonerjt/job-service
store log in fs, provide api for getting log of a job
2016-05-24 11:10:48 +08:00
Tan Jiang
0a2b9b320b remove job_log table 2016-05-24 11:08:49 +08:00
Tan Jiang
616d96496a update the depth in New func 2016-05-24 11:02:03 +08:00
Daniel Jiang
db908edf87 Merge pull request #256 from saga92/master
add orm singleton
2016-05-24 11:01:19 +08:00
saga92
de51b247f7 make singleton thread safe 2016-05-24 09:41:34 +08:00
Tan Jiang
da6f7f8a8c store log in fs, provide api for getting log of a job 2016-05-23 19:39:13 +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
4d1d7799fd add user agent to registry client 2016-05-20 13:16:58 +08:00
Wenkai Yin
cc8a4cbdab Merge remote-tracking branch 'upstream/job-service' into sync_image 2016-05-20 11:50:50 +08:00
Daniel Jiang
48de3f3569 Merge pull request #252 from reasonerjt/job-service
add change in workerpool.go
2016-05-19 16:35:08 +08:00
Tan Jiang
87d0ce336d add change in workerpool.go 2016-05-19 16:32:31 +08:00
Daniel Jiang
37d732bafc Merge pull request #251 from reasonerjt/job-service
stopping running jobs under a policy
2016-05-19 16:17:04 +08:00
Tan Jiang
54cd63023b Merge remote-tracking branch 'upstream/job-service' into job-service 2016-05-19 16:13:03 +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
Wenkai Yin
0b5d736d15 Merge pull request #249 from wemeya/master
fix a sql bug
2016-05-19 14:54:59 +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
Wenkai Yin
91ef155da5 Merge pull request #207 from wemeya/master
add statistics api for projects and repositories
2016-05-19 12:06:22 +08:00
Wenkai Yin
7406c2a9c7 Merge pull request #246 from ywk253100/sync_image
Sync image
2016-05-18 18:21:23 +08:00
Wenkai Yin
9dc931d7c9 rename package name 2016-05-18 18:17:40 +08:00
wemeya
1f44e2aa8b add a new func to reuse code 2016-05-18 17:48:05 +08:00
wemeya
2cd1226ac8 Merge remote-tracking branch 'upstream/master' 2016-05-18 17:46:57 +08:00
Wenkai Yin
e6b1d56c93 Merge remote-tracking branch 'upstream/job-service' into sync_image 2016-05-18 16:37:54 +08:00
Wenkai Yin
4ee50bc8b6 caching the existence of blobs to avoid duplicate checking 2016-05-18 16:37:11 +08:00