Commit Graph

53 Commits

Author SHA1 Message Date
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
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
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
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
de72efaba8 CRUD of target API 2016-05-24 14:59:36 +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
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
Wenkai Yin
994b4e290b registry v2 API util 2016-04-27 17:59:43 +08:00
Wenkai Yin
5b32c4cfbb using medie type of distribution 2016-04-25 13:31:58 +08:00
Wenkai Yin
de29bd4468 modify httpclient 2016-04-22 17:32:25 +08:00
Wenkai Yin
e7f48783f2 add methods about blob 2016-04-21 14:55:15 +08:00
Wenkai Yin
9cbfb5fe2a modify comment 2016-04-20 13:06:19 +08:00
Wenkai Yin
a34e290afe modify credential interface 2016-04-19 10:31:33 +08:00
Wenkai Yin
0b6e620f86 add credential interface 2016-04-18 18:24:08 +08:00
Wenkai Yin
4dc81927d3 remove useless code 2016-04-17 22:39:10 +08:00
Wenkai Yin
92d58f6287 provide NewClient() func 2016-04-15 17:06:19 +08:00
Wenkai Yin
0cd7175a6b handler non-200 status code for standardAuthHandler 2016-04-15 17:01:59 +08:00
Wenkai Yin
39beda438c bug fix: user does not have admin role if user is nil 2016-04-15 16:52:48 +08:00