summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/src/sdc-app/onboarding/softwareProduct
diff options
context:
space:
mode:
authorKrupaNagabhushan <krupa.nagabhushan@est.tech>2022-04-04 17:49:50 +0100
committerMichael Morris <michael.morris@est.tech>2022-04-08 08:50:48 +0000
commit881438cf4704590573a27aa2717d7bb3552ab573 (patch)
tree88afc1315bca6730896856d27d5f448952f9c6f0 /openecomp-ui/src/sdc-app/onboarding/softwareProduct
parentf64976e64325073e08dce191d99bb807efd98301 (diff)
Delete VSP - Onboarding UI support for VSP deletion
Issue-ID: SDC-3952 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Ib7258fe7002f5db03ccec84e935adfe0d217bfad
Diffstat (limited to 'openecomp-ui/src/sdc-app/onboarding/softwareProduct')
-rw-r--r--openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProductActionHelper.js4
1 files changed, 4 insertions, 0 deletions
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,