From 7e822951fd90b4d92af789b4a3f02b91c23f433a Mon Sep 17 00:00:00 2001 From: Denis Fateyev Date: Thu, 10 Feb 2022 20:32:18 +0600 Subject: [PATCH] JE-61765 [Open Liberty][Collaboration] Package installed w/o storage node for Collaborator --- configs/settings.yaml | 1 + scripts/beforeinit.js | 3 +++ 2 files changed, 4 insertions(+) diff --git a/configs/settings.yaml b/configs/settings.yaml index 51f22a5f..40a9628e 100644 --- a/configs/settings.yaml +++ b/configs/settings.yaml @@ -66,6 +66,7 @@ fields: name: storage caption: Attach dedicated NFS Storage with dynamic volume provisioning value: true + default: true showIf: true: - type: checkbox diff --git a/scripts/beforeinit.js b/scripts/beforeinit.js index 99786001..581c76bb 100644 --- a/scripts/beforeinit.js +++ b/scripts/beforeinit.js @@ -72,12 +72,14 @@ if (!prod && dev){ if (!devStorage){ f[6].disabled = true; f[6].value = false; + f[6]['default'] = false; } } if (prod && !prodStorage){ f[6].disabled = true; f[6].value = false; + f[6]['default'] = false; } if (!prod && !dev || group.groupType == 'trial'){ @@ -89,6 +91,7 @@ if (!prod && !dev || group.groupType == 'trial'){ f[3].markup = "Production and Development topologies are not available for " + group.groupType + " account. Please upgrade your account."; f[3].height = 60; f[6].value = false; + f[6]['default'] = false; f.push({ "type": "compositefield",