35e35a17bd
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 |
||
---|---|---|
.. | ||
domain | ||
__init__.py | ||
dependency.py | ||
gateway.py | ||
location.py | ||
updater.py |