diff options
author | vasraz <vasyl.razinkov@est.tech> | 2022-03-24 16:38:00 +0000 |
---|---|---|
committer | Michael Morris <michael.morris@est.tech> | 2022-03-28 08:37:43 +0000 |
commit | 4307dbb5f0dc5da60e55f3473259cfd059d14770 (patch) | |
tree | acb1afb19475a772f9169ed0e8f49ea722905a6c /common-app-api | |
parent | 0902d2829ce984730085c816b649bed957ac0d99 (diff) |
Implement VSP deletion from Storage
Change-Id: I06d86696570b2751f152dffc06fd580ef8c0c705
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3924
Diffstat (limited to 'common-app-api')
-rw-r--r-- | common-app-api/src/main/java/org/openecomp/sdc/be/csar/storage/ArtifactStorageManager.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/common-app-api/src/main/java/org/openecomp/sdc/be/csar/storage/ArtifactStorageManager.java b/common-app-api/src/main/java/org/openecomp/sdc/be/csar/storage/ArtifactStorageManager.java index f7d611b717..9a4bc00162 100644 --- a/common-app-api/src/main/java/org/openecomp/sdc/be/csar/storage/ArtifactStorageManager.java +++ b/common-app-api/src/main/java/org/openecomp/sdc/be/csar/storage/ArtifactStorageManager.java @@ -68,4 +68,11 @@ public interface ArtifactStorageManager { InputStream get(final String vspId, final String versionId); void delete(ArtifactInfo artifactInfo); + + /** + * Delete all versions and VSP itself + * + * @param vspId - VSP ID + */ + void delete(String vspId); } |