summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProduct.js
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProduct.js')
-rw-r--r--openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProduct.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProduct.js b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProduct.js
index d3d7b96a5d..1362165d1f 100644
--- a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProduct.js
+++ b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProduct.js
@@ -140,6 +140,7 @@ const buildNavigationBarProps = ({
candidateOnboardingOrigin,
onboardingOrigin
} = currentSoftwareProduct;
+ let { isValidationDisabled } = softwareProduct.softwareProductValidation;
const groups = [
{
id: id,
@@ -177,6 +178,20 @@ const buildNavigationBarProps = ({
meta
},
{
+ id: enums.SCREEN.SOFTWARE_PRODUCT_VALIDATION,
+ name: i18n('Validation'),
+ disabled: false,
+ hidden: isValidationDisabled,
+ meta
+ },
+ {
+ id: enums.SCREEN.SOFTWARE_PRODUCT_VALIDATION_RESULTS,
+ name: i18n('Validation Results'),
+ disabled: false,
+ hidden: isValidationDisabled,
+ meta
+ },
+ {
id: enums.SCREEN.SOFTWARE_PRODUCT_ATTACHMENTS,
name: i18n('Attachments'),
disabled: false,
@@ -586,6 +601,8 @@ const mapActionsToProps = (
case enums.SCREEN.SOFTWARE_PRODUCT_ATTACHMENTS:
case enums.SCREEN.SOFTWARE_PRODUCT_PROCESSES:
case enums.SCREEN.SOFTWARE_PRODUCT_NETWORKS:
+ case enums.SCREEN.SOFTWARE_PRODUCT_VALIDATION:
+ case enums.SCREEN.SOFTWARE_PRODUCT_VALIDATION_RESULTS:
case enums.SCREEN.SOFTWARE_PRODUCT_DEPENDENCIES:
case enums.SCREEN.SOFTWARE_PRODUCT_ACTIVITY_LOG:
case enums.SCREEN.SOFTWARE_PRODUCT_COMPONENTS: