From f2e43fb0a2c36b484b686d6c22342e72da66f679 Mon Sep 17 00:00:00 2001 From: vasraz Date: Thu, 31 Mar 2022 19:05:00 +0100 Subject: Implement restore of partially deleted VSP Change-Id: I790b6cd8494e8f35c3b9891304f15272e9769a68 Signed-off-by: Vasyl Razinkov Issue-ID: SDC-3935 --- .../org/openecomp/sdc/be/csar/storage/ArtifactStorageManager.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'common-app-api/src') 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 1845f85e98..fce566de66 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 @@ -76,4 +76,11 @@ public interface ArtifactStorageManager { */ void delete(String vspId); + /** + * Check if VSP exists + * + * @param vspId - VSP ID + * @return {@code true} if exists, {@code false} otherwise + */ + boolean exists(String vspId); } -- cgit 1.2.3-korg