registry/docs
Stephen J Day 2aed7c2d0c Webhook notification support in registry webapp
Endpoints are now created at applications startup time, using notification
configuration. The instances are then added to a Broadcaster instance, which
becomes the main event sink for the application. At request time, an event
bridge is configured to listen to repository method calls. The actor and source
of the eventBridge are created from the requeest context and application,
respectively. The result is notifications are dispatched with calls to the
context's Repository instance and are queued to each endpoint via the
broadcaster.

This commit also adds the concept of a RequestID and App.InstanceID. The
request id uniquely identifies each request and the InstanceID uniquely
identifies a run of the registry. These identifiers can be used in the future
to correlate log messages with generated events to support rich debugging.

The fields of the app were slightly reorganized for clarity and a few horrid
util functions have been removed.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-02-03 13:32:37 -08:00
..
api_test.go Handle empty blob files more appropriately 2015-02-02 13:01:49 -08:00
app.go Webhook notification support in registry webapp 2015-02-03 13:32:37 -08:00
app_test.go Update the registry app to use the new storage interfaces 2015-01-16 18:33:28 -08:00
context.go Webhook notification support in registry webapp 2015-02-03 13:32:37 -08:00
helpers.go Move registry package out of repo root 2015-01-06 10:40:22 -08:00
hmac.go Refactor handling of hmac state packing 2015-01-09 14:50:39 -08:00
hmac_test.go Refactor handling of hmac state packing 2015-01-09 14:50:39 -08:00
images.go Update the registry app to use the new storage interfaces 2015-01-16 18:33:28 -08:00
layer.go Update the registry app to use the new storage interfaces 2015-01-16 18:33:28 -08:00
layerupload.go Handle empty blob files more appropriately 2015-02-02 13:01:49 -08:00
tags.go Update the registry app to use the new storage interfaces 2015-01-16 18:33:28 -08:00