summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/src/sdc-app/onboarding/OnboardingConstants.js
diff options
context:
space:
mode:
authorandre.schmid <andre.schmid@est.tech>2019-07-16 10:01:17 +0000
committerPiotr Darosz <piotr.darosz@nokia.com>2019-07-24 05:24:37 +0000
commit6692cde32bc3e588cfb6bf30fd99e21a903e0444 (patch)
treef099e5eaaaf18ea35a2b7e14f3d89c5b5c2d8637 /openecomp-ui/src/sdc-app/onboarding/OnboardingConstants.js
parent38b3b95830568296bde457cd33f79277765f5704 (diff)
Fix view attachment for onboarded CSAR packages
Fixes the problem to view attachments for a onboarded CSAR package. Every time the attachments link was clicked the process package was being called. The package processing can only happen once, while uploading the package. This solution changes the Attachment link action to a view action without package processing. Change-Id: I5bded800c060adfb8cc80a8512bc8eecf07557b8 Issue-ID: SDC-2443 Signed-off-by: andre.schmid <andre.schmid@est.tech>
Diffstat (limited to 'openecomp-ui/src/sdc-app/onboarding/OnboardingConstants.js')
-rw-r--r--openecomp-ui/src/sdc-app/onboarding/OnboardingConstants.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/openecomp-ui/src/sdc-app/onboarding/OnboardingConstants.js b/openecomp-ui/src/sdc-app/onboarding/OnboardingConstants.js
index cf8ff12387..919344e366 100644
--- a/openecomp-ui/src/sdc-app/onboarding/OnboardingConstants.js
+++ b/openecomp-ui/src/sdc-app/onboarding/OnboardingConstants.js
@@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -95,6 +95,8 @@ export const enums = keyMirror({
'SOFTWARE_PRODUCT_ATTACHMENTS_SETUP',
SOFTWARE_PRODUCT_ATTACHMENTS_VALIDATION:
'SOFTWARE_PRODUCT_ATTACHMENTS_VALIDATION',
+ SOFTWARE_PRODUCT_ATTACHMENTS_VIEW_VALIDATION:
+ 'SOFTWARE_PRODUCT_ATTACHMENTS_VIEW_VALIDATION',
SOFTWARE_PRODUCT_PROCESSES: breadcrumbsEnum.SOFTWARE_PRODUCT_PROCESSES,
SOFTWARE_PRODUCT_DEPLOYMENT:
breadcrumbsEnum.SOFTWARE_PRODUCT_DEPLOYMENT,