Add ArtifactDB to storage 50/160150/12
authorKatarzyna Gorska <k.gorska@samsung.com>
Wed, 15 Nov 2017 16:52:46 +0000 (17:52 +0100)
committerKatarzyna Gorska <k.gorska@samsung.com>
Fri, 15 Dec 2017 11:15:55 +0000 (12:15 +0100)
commit20511f752a15f160353e27872a25c72fe3c6d1a0
tree43c565733bf99301f87e13fe1043982a15c45402
parente6bed09461a36112d1d99028d70ee1860915d4bc
Add ArtifactDB to storage

ArtifactDB is designed to store information about downloaded artifacts.
As for now inserting ArtifactRecord is supported.

More operations (updates, deletes and selects) will be implemented soon.

Close was added to ArtifactManager interface.

Change-Id: I17ac260691d11518bcec5385eaf2689e389feb7f
Signed-off-by: Katarzyna Gorska <k.gorska@samsung.com>
artifactmanager.go
artifacts/artifact_test.go [new file with mode: 0644]
artifacts/artifacts.go
artifacts/artifacts_suite_test.go [new file with mode: 0644]