From 881438cf4704590573a27aa2717d7bb3552ab573 Mon Sep 17 00:00:00 2001 From: KrupaNagabhushan Date: Mon, 4 Apr 2022 17:49:50 +0100 Subject: Delete VSP - Onboarding UI support for VSP deletion Issue-ID: SDC-3952 Signed-off-by: KrupaNagabhushan Change-Id: Ib7258fe7002f5db03ccec84e935adfe0d217bfad --- .../sdc-app/onboarding/softwareProduct/SoftwareProductActionHelper.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'openecomp-ui/src/sdc-app/onboarding/softwareProduct') diff --git a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProductActionHelper.js b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProductActionHelper.js index 90bf9f9f08..6d74bad7a4 100644 --- a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProductActionHelper.js +++ b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProductActionHelper.js @@ -715,6 +715,10 @@ const SoftwareProductActionHelper = { } }, + softwareProductDelete(itemId) { + return RestAPIUtil.destroy(`${baseUrl()}/${itemId}`); + }, + setIsValidityData(dispatch, { isValidityData }) { dispatch({ type: actionTypes.softwareProductEditor.IS_VALIDITY_DATA_CHANGED, -- cgit 1.2.3-korg