From 20118c3a3e4b5fd8a7fc2ad534e0762144253c5d Mon Sep 17 00:00:00 2001 From: NotedSalmon Date: Thu, 27 Jun 2024 12:28:55 +0100 Subject: [PATCH 1/3] FISH-5740 changed string.properties to include deployment group in help text. (saves making another autoname help text). Changed dgNew.jsf to include the checkbox for autoname and added code fro, instanceNew.inc to replicate the process of autonaming an instance but use it for a deployment group instead. --- .../cluster/src/main/resources/dg/dgNew.jsf | 18 +++++++++++++----- .../cluster/admingui/Strings.properties | 2 +- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/appserver/admingui/cluster/src/main/resources/dg/dgNew.jsf b/appserver/admingui/cluster/src/main/resources/dg/dgNew.jsf index f6c5056a011..839c47d402f 100644 --- a/appserver/admingui/cluster/src/main/resources/dg/dgNew.jsf +++ b/appserver/admingui/cluster/src/main/resources/dg/dgNew.jsf @@ -38,7 +38,7 @@ only if the new code is made subject to such option by the copyright holder. - Portions Copyright [2018] [Payara Foundation and/or its affiliates] + Portions Copyright [2018-2024] [Payara Foundation and/or its affiliates] --> @@ -69,6 +69,7 @@ } gf.getChildrenNamesList(endpoint="#{sessionScope.REST_URL}/nodes/node", result="#{pageSession.nodesList}"); + setPageSessionAttribute(key="autoNameSelected" value="#{false}"); /> @@ -80,8 +81,12 @@ @@ -114,9 +120,11 @@ - + - + + + Date: Thu, 27 Jun 2024 13:45:03 +0100 Subject: [PATCH 2/3] FISH-8855 updated copyright. --- .../resources/org/glassfish/cluster/admingui/Strings.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appserver/admingui/cluster/src/main/resources/org/glassfish/cluster/admingui/Strings.properties b/appserver/admingui/cluster/src/main/resources/org/glassfish/cluster/admingui/Strings.properties index cfb7f14ffb5..d37d300ee58 100644 --- a/appserver/admingui/cluster/src/main/resources/org/glassfish/cluster/admingui/Strings.properties +++ b/appserver/admingui/cluster/src/main/resources/org/glassfish/cluster/admingui/Strings.properties @@ -37,7 +37,7 @@ # only if the new code is made subject to such option by the copyright # holder. # -# Portions Copyright [2016-2022] [Payara Foundation and/or its affiliates] +# Portions Copyright [2016-2024] [Payara Foundation and/or its affiliates] tree.clusters=Clusters (Deprecated) tree.dgs=Deployment Groups From 712ec52fff620a1acba2735946192017bad276cf Mon Sep 17 00:00:00 2001 From: NotedSalmon Date: Fri, 28 Jun 2024 12:38:43 +0100 Subject: [PATCH 3/3] FISH-8855 added a autoName.helpDg so the help text when creating a new deployment group is specific to deployment groups. --- appserver/admingui/cluster/src/main/resources/dg/dgNew.jsf | 2 +- .../org/glassfish/cluster/admingui/Strings.properties | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/appserver/admingui/cluster/src/main/resources/dg/dgNew.jsf b/appserver/admingui/cluster/src/main/resources/dg/dgNew.jsf index 839c47d402f..661be3745e0 100644 --- a/appserver/admingui/cluster/src/main/resources/dg/dgNew.jsf +++ b/appserver/admingui/cluster/src/main/resources/dg/dgNew.jsf @@ -122,7 +122,7 @@ - + diff --git a/appserver/admingui/cluster/src/main/resources/org/glassfish/cluster/admingui/Strings.properties b/appserver/admingui/cluster/src/main/resources/org/glassfish/cluster/admingui/Strings.properties index d37d300ee58..27772368c42 100644 --- a/appserver/admingui/cluster/src/main/resources/org/glassfish/cluster/admingui/Strings.properties +++ b/appserver/admingui/cluster/src/main/resources/org/glassfish/cluster/admingui/Strings.properties @@ -448,4 +448,5 @@ clusters.ejbTimers.TimerCountCol=Timer Count general.serverNameCol=Server Name autoName=Auto Name -autoName.help=When enabled, will generate a name for your instance/deployment group if none is provided, or will otherwise resolve any name conflicts. +autoName.helpDg=When enabled, will generate a name for your deployment group if none is provided, or will otherwise resolve any name conflicts. +autoName.help=When enabled, will generate a name for your instance if none is provided, or will otherwise resolve any name conflicts.