Commit Graph

77 Commits

Author SHA1 Message Date
Wenkai Yin
59559561d8 add sqlite support 2016-10-11 13:13:28 +08:00
Tan Jiang
bf5bb463d9 fix fd leak issue in registry client 2016-09-29 16:17:18 +08:00
Wenkai Yin
f77485b926 1. record the local time when token is issued to avoid the mismatch of time for client and registry 2.recover the env variable 2016-09-13 18:02:49 +08:00
Wenkai Yin
7538bbf066 UT for package utils 2016-08-19 17:09:28 +08:00
Wenkai Yin
3d909bd0bd add UT for package utils 2016-08-11 17:58:17 +08:00
Tan Jiang
fde17725d5 Update decrypt for backward compatibility 2016-08-05 13:47:46 +08:00
Tan Jiang
318d10186e Use AES to encrypt password for target 2016-08-04 11:35:52 +08:00
Wenkai Yin
3b827e36f5 support pagination for listing repositories, jobs and access logs
update
2016-08-01 17:54:12 +08:00
yhua
d746bfc9f2 add *_empty_test.go for actual go test coverage 2016-07-29 18:39:29 +08:00
Wenkai Yin
3d558b54b4 close connection immediately when it is not used anymore 2016-07-14 18:15:24 +08:00
Wenkai Yin
ceece3a56d update 2016-07-04 17:21:58 +08:00
Wenkai Yin
1c2babda0a move ProjectSorter to package model to avoid package import cycle 2016-06-27 14:46:06 +08:00
Wenkai Yin
3305e0406d fix #412 2016-06-27 14:37:26 +08:00
Wenkai Yin
9e039c6a8e Merge remote-tracking branch 'upstream/master' into new-ui-with-sync-image
Conflicts:
	utils/registry/registry.go
2016-06-24 14:59:20 +08:00
Tan Jiang
23d1acb24a fixes #398 2016-06-24 01:37:37 +08:00
Tan Jiang
7bd1888b73 handle pagination in catalog api 2016-06-24 00:21:14 +08:00
Wenkai Yin
eebf520ed5 pass go test 2016-06-23 13:02:36 +08:00
Wenkai Yin
5fbe2c1a72 token request posted to token service directly 2016-06-23 12:14:26 +08:00
Wenkai Yin
7862bd8033 insecure config 2016-06-22 12:03:50 +08:00
Wenkai Yin
c1a8846a68 1. modify registry client 2. add https support 2016-06-21 16:39:03 +08:00
Wenkai Yin
ba08c24369 bug fix: there's access log generated each time when view the manifest of a repository. 2016-06-20 22:55:36 +08:00
Wenkai Yin
8c6ea744c2 modify test codes of registry client to pass test 2016-06-01 15:09:10 +08:00
Tan Jiang
05069eeed1 clean up code, update API url of job service 2016-05-30 14:44:03 +08:00
Wenkai Yin
cdac114955 support tag transfer and deletion 2016-05-27 10:45:21 +08:00
Tan Jiang
b80e727b7f Merge remote-tracking branch 'upstream/job-service' into job-service 2016-05-25 15:26:24 +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
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
Tan Jiang
616d96496a update the depth in New func 2016-05-24 11:02:03 +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
Wenkai Yin
772280d4e3 add targets api 2016-05-23 16:48:55 +08:00
Wenkai Yin
4d1d7799fd add user agent to registry client 2016-05-20 13:16:58 +08:00
Wenkai Yin
e4cb015d34 stream the transmission of blobs 2016-05-17 18:23:45 +08:00
Tan Jiang
0e4d358bd7 Merge branch 'master' into job-service 2016-05-13 18:56:40 +08:00
Wenkai Yin
0e7daf9bd4 guarantee the read-write operation for cache token is atomic 2016-05-13 18:54:44 +08:00
Wenkai Yin
81d2d515c9 fix golint errors 2016-05-13 18:54:44 +08:00
Wenkai Yin
be4601b2fc remove useless code 2016-05-13 18:54:44 +08:00
Wenkai Yin
1144a1a289 add ut for registry client 2016-05-13 18:54:44 +08:00
Wenkai Yin
4a823facad guarantee the read-write operation for cache token is atomic 2016-05-13 16:09:43 +08:00
Wenkai Yin
3ff3128921 fix golint errors 2016-05-13 15:37:12 +08:00
Wenkai Yin
3d2ec19ac1 remove useless code 2016-05-13 14:21:04 +08:00
Wenkai Yin
7e9c1d73ba sync image 2016-05-12 13:41:48 +08:00
Wenkai Yin
9378d5a345 add ut for registry client 2016-05-10 22:01:38 +08:00
Wenkai Yin
f5bf0c1a3f bug fix 2016-05-10 10:59:59 +08:00
Wenkai Yin
f2a180e617 update 2016-04-29 17:46:00 +08:00
Wenkai Yin
bf53ca9a47 handler from=repo 2016-04-29 16:59:54 +08:00
Wenkai Yin
0a873bc046 Merge remote-tracking branch 'upstream/master' into registry_api_util_update
Conflicts:
	api/repository.go
2016-04-29 15:18:22 +08:00
Wenkai Yin
545ca4135c token expires 2016-04-29 14:59:00 +08:00
Wenkai Yin
fbe341bf5d update 2016-04-28 18:49:59 +08:00
Wenkai Yin
65fe14d2d3 add log 2016-04-27 18:03:56 +08:00