Stephen Day
c5183a446b
Merge pull request #369 from stevvooe/http-request-status-context-manager
...
context, registry/handlers: instantiate http context before dispatch
2015-04-15 23:23:40 -07:00
Stephen Day
78baf3f2e1
Merge pull request #364 from ncdc/resumable-digest-optional
...
Use a build flag to disable resumable digests
2015-04-15 23:22:25 -07:00
Stephen Day
75983a4a7f
Merge pull request #364 from ncdc/resumable-digest-optional
...
Use a build flag to disable resumable digests
2015-04-15 23:22:25 -07:00
Stephen Day
2380699cf8
Merge pull request #366 from stevvooe/log-version
...
cmd/registry: correctly log application version
2015-04-15 23:21:38 -07:00
Stephen J Day
136f0ed8bb
Instantiate http context before dispatch
...
Ensure that the status is logged in the context by instantiating before the
request is routed to handlers. While this requires some level of hacking to
acheive, the result is that the context value of "http.request.status" is as
accurate as possible for each request.
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-04-15 19:53:36 -07:00
Stephen J Day
7420a3de10
Instantiate http context before dispatch
...
Ensure that the status is logged in the context by instantiating before the
request is routed to handlers. While this requires some level of hacking to
acheive, the result is that the context value of "http.request.status" is as
accurate as possible for each request.
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-04-15 19:53:36 -07:00
Stephen J Day
cc8285f74c
Provide access to response writer in Context
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-04-15 19:18:40 -07:00
Stephen Day
e16c23bb43
Merge pull request #368 from dmcgowan/upload-api-docs-update
...
Update final upload chunk api doc
2015-04-15 19:09:00 -07:00
Andy Goldstein
480d864fc4
Use a build flag to disable resumable digests.
...
Signed-off-by: Andy Goldstein <agoldste@redhat.com>
2015-04-16 01:19:57 +00:00
Andy Goldstein
7fdd395653
Use a build flag to disable resumable digests.
...
Signed-off-by: Andy Goldstein <agoldste@redhat.com>
2015-04-16 01:19:57 +00:00
Stephen Day
7792f3882a
Merge pull request #365 from dtan4/fix-doc-markdown
...
doc: modify markdown format in distribution.md
2015-04-15 18:03:51 -07:00
Derek McGowan
16174241d1
Update final upload chunk api doc
...
Updates description about content length and location
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2015-04-15 17:55:15 -07:00
Derek McGowan
21504560e1
Update final upload chunk api doc
...
Updates description about content length and location
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2015-04-15 17:55:15 -07:00
Daisuke Fujita
4cacbb4faf
Modify markdown format in distribution.md
...
Signed-off-by: Daisuke Fujita <dtanshi45@gmail.com>
2015-04-16 09:22:24 +09:00
Stephen J Day
600de20037
Correctly log application version
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-04-15 16:37:39 -07:00
Steven Taylor
2bd5eb9d7c
What if authConfig or factory is Null?
...
Signed-off-by: Steven Taylor <steven.taylor@me.com>
2015-04-15 15:35:18 -07:00
Stephen Day
030006a6d7
Merge pull request #362 from RichardScothern/username-context
...
Add username to context
2015-04-15 12:26:26 -07:00
Richard
9898552656
Add auth.user.name to logging context
2015-04-15 10:34:24 -07:00
Richard
cb6a6125f6
Add auth.user.name to logging context
2015-04-15 10:34:24 -07:00
Stephen Day
ab2499df98
Merge pull request #360 from RichardScothern/gorelic-verbose
...
Enable configuration of new relic STDOUT logging
2015-04-14 14:55:17 -07:00
Richard
c359a6d172
Enable configuration of new relic STDOUT logging
2015-04-14 13:16:10 -07:00
Antonio Murdaca
ad3d879929
Refactor utils/utils, fixes #11923
...
Signed-off-by: Antonio Murdaca <me@runcom.ninja>
2015-04-14 01:37:36 +02:00
Stephen Day
1c22aefa5e
Merge pull request #355 from dmcgowan/compose-nginx-forward
...
Update nginx proxy setting to set forward headers
2015-04-13 15:14:39 -07:00
Derek McGowan
566768558c
Update nginx proxy setting to set forward headers
...
Set forward headers so the IP and scheme get sent to the registry. This allows the registry to set a proper redirect with the correct scheme when HTTPS is being used.
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2015-04-13 14:03:10 -07:00
Olivier Gambier
75919b7dcc
Merge pull request #353 from kennethlimcp/patch-1
...
server --> serve
2015-04-13 07:29:54 -07:00
Kenneth Lim
f5a104dbcd
server --> serve
...
Possible typo?
2015-04-13 22:11:48 +08:00
Richard Scothern
e5eddbc762
Merge pull request #343 from stevvooe/tracing-driver
...
context, storagedriver: trace function calls to Base storage driver
2015-04-10 16:55:57 -07:00
Richard Scothern
90af0f9b7a
Merge pull request #343 from stevvooe/tracing-driver
...
context, storagedriver: trace function calls to Base storage driver
2015-04-10 16:55:57 -07:00
Stephen J Day
12bf470b2f
Trace function calls to Base storage driver
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-04-10 16:42:36 -07:00
Stephen J Day
730ce83cdf
Trace function calls to Base storage driver
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-04-10 16:42:36 -07:00
Stephen J Day
d8ac79f643
Contextual tracing support for logs
...
This adds WithTrace function to the context package that allows users to trace
a time span between a trace allocation and returned function call. The
resulting context includes ids that will allow for future dapper-like analysis.
Please see the godoc addition for details.
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-04-10 16:42:30 -07:00
Stephen Day
aa752f68a1
Merge pull request #338 from dmcgowan/nginx_v1_v2_deployment
...
docs: add nginx configuration for v1 and v2 registry
2015-04-10 16:35:50 -07:00
Stephen Day
ad76574d74
Merge pull request #336 from RichardScothern/docs
...
doc/spec: documentation for the Image Manifest V2 format
2015-04-10 16:26:27 -07:00
Stephen Day
7cfc6fd062
Merge pull request #350 from RichardScothern/s3-rootpath
...
Update S3 configuration documentation
2015-04-10 16:22:38 -07:00
Stephen Day
65f19a7e02
Merge pull request #349 from RichardScothern/348
...
Prevent Close() from being called after Finish()
2015-04-10 16:21:01 -07:00
Stephen Day
41dd70c901
Merge pull request #349 from RichardScothern/348
...
Prevent Close() from being called after Finish()
2015-04-10 16:21:01 -07:00
Richard
e564ac59c3
Documentation for the Image Manifest V2 specification
2015-04-10 16:13:32 -07:00
Richard
172449f91b
Update S3 configuration documentation to accurately reflect rootdirectory name
2015-04-10 16:08:03 -07:00
Richard
4ac515fde4
Prevent Close() from being called after Finish()
2015-04-10 16:00:05 -07:00
Richard
3d529094fa
Prevent Close() from being called after Finish()
2015-04-10 16:00:05 -07:00
Stephen Day
680d89b315
Merge pull request #347 from stevvooe/nanosecond-logging-timestamps
...
main: nanosecond logging timestamps
2015-04-10 15:48:58 -07:00
Derek McGowan
6f087829c9
Add nginx configuration for v1 and v2 registry
...
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2015-04-10 15:16:13 -07:00
Tibor Vass
0120d1c7db
Merge pull request #11478 from dmcgowan/v2-vendored-api
...
Use v2 api from distribution
2015-04-10 17:22:38 -04:00
Stephen J Day
e10094141f
Use nanosecond granularity timestmaps in log messages
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-04-10 13:56:19 -07:00
Stephen J Day
85de3967aa
Update logrus package for configurable TimestampFormat
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-04-10 13:54:53 -07:00
Stephen Day
664a827bfb
Merge pull request #307 from dmcgowan/namespace-interface
...
Rename top level registry interface to namespace
2015-04-10 12:58:01 -07:00
Stephen Day
18d099be74
Merge pull request #307 from dmcgowan/namespace-interface
...
Rename top level registry interface to namespace
2015-04-10 12:58:01 -07:00
Derek McGowan
e83e37618f
Rename top level registry interface to namespace
...
Registry is intended to be used as a repository service than an abstract collection of repositories. Namespace better describes a collection of repositories retrievable by name.
The registry service serves any repository in the global scope.
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2015-04-09 19:21:33 -07:00
Derek McGowan
142d62798e
Rename top level registry interface to namespace
...
Registry is intended to be used as a repository service than an abstract collection of repositories. Namespace better describes a collection of repositories retrievable by name.
The registry service serves any repository in the global scope.
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2015-04-09 19:21:33 -07:00
Stephen J Day
36a076995b
Disassociate instance id from application
...
This moves the instance id out of the app so that it is associated with an
instantiation of the runtime. The instance id is stored on the background
context. This allows allow contexts using the main background context to
include an instance id for log messages. It also simplifies the application
slightly.
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-04-09 18:45:39 -07:00