glance/glance/artifacts
Mike Fedosin 35e35a17bd Domain layer for Artifact Repository
Introduces a layered domain model for Artifact Repository designed
similar to the domain model of v2 Images: a number of proxies for
Artifact Objects, their Repositories and collections split into layers
by appropriate functional aspect.

The following layers are added:
 * Database Repository layer - encapsulates DB APIs;
 * Dependencies Layer - encapsulates dependecy management (artifact ids
   are mapped to the actual Artifact References and back);
 * Location Layer - encapsulates store interaction for Blobs (similar to
   location layer of Images API);
 * Updater layer - wraps the collection-based properties of Artifacts
   for proper updates by JSONPatch calls.

Artifact-specific layers are added into "artifacts" subdirectory of
domain package. A gateway which creates layered proxy is added as well.

Implements-blueprint: artifact-repository

FastTrack

Co-Authored-By: Mike Fedosin <mfedosin@mirantis.com>
Co-Authored-By: Inessa Vasilevskaya <ivasilevskaya@mirantis.com>
Co-Authored-By: Alexander Tivelkov <ativelkov@mirantis.com>

Change-Id: I9b6d0e86c6577929230d58e7403fbefab167f36b
2015-06-09 16:00:46 +00:00
..
domain Domain layer for Artifact Repository 2015-06-09 16:00:46 +00:00
__init__.py Database layer for Artifact Repository 2015-03-27 02:48:15 +03:00
dependency.py Domain layer for Artifact Repository 2015-06-09 16:00:46 +00:00
gateway.py Domain layer for Artifact Repository 2015-06-09 16:00:46 +00:00
location.py Domain layer for Artifact Repository 2015-06-09 16:00:46 +00:00
updater.py Domain layer for Artifact Repository 2015-06-09 16:00:46 +00:00