From 0dcb550ed55bb8bcfac2f5b96fa456171c5c2526 Mon Sep 17 00:00:00 2001 From: Harsha Cherukuri Date: Wed, 30 Oct 2024 13:42:54 -0400 Subject: [PATCH] Update the graceful shutdown template and tool tip: --- .../src/main/arm/createUiDefinition.json | 27 +++---------------- .../src/main/arm/createUiDefinition.json | 27 +++---------------- .../src/main/arm/createUiDefinition.json | 27 +++---------------- 3 files changed, 9 insertions(+), 72 deletions(-) diff --git a/eap-rhel-byos-multivm/src/main/arm/createUiDefinition.json b/eap-rhel-byos-multivm/src/main/arm/createUiDefinition.json index 2fc835fdd..b2f594054 100644 --- a/eap-rhel-byos-multivm/src/main/arm/createUiDefinition.json +++ b/eap-rhel-byos-multivm/src/main/arm/createUiDefinition.json @@ -427,38 +427,17 @@ }, "visible": true }, - { - "name": "setgracefulShutdownTimeout", - "type": "Microsoft.Common.OptionsGroup", - "label": "Do you want to configure Graceful Shutdown Timeout?", - "defaultValue": "No", - "toolTip": "Select 'Yes' to provide Graceful Shutdown Timeout and indicate the maximum number of seconds to wait for requests to complete before the server shuts down.", - "constraints": { - "allowedValues": [ - { - "label": "Yes", - "value": true - }, - { - "label": "No", - "value": false - } - ], - "required": false - } - }, { "name": "gracefulShutdownTimeout", "type": "Microsoft.Common.TextBox", - "visible": "[steps('jbossEAPSettings').setgracefulShutdownTimeout]", - "label": "Graceful Shutdown Timeout", + "label": "Graceful shutdown timeout in seconds (-1 to disable)", "defaultValue": "-1", "constraints": { "required": false, "regex": "^[a-zA-Z0-9+_.-]{1,30}(@[a-zA-Z0-9.-]+){0,1}$", - "validationMessage": "Please enter a Graceful Shutdown Timeout in seconds" + "validationMessage": "Please enter a graceful shutdown timeout in seconds" }, - "toolTip": "Please enter a Graceful Shutdown Timeout in seconds" + "toolTip": "Please enter a graceful shutdown timeout in seconds (-1 to disable)" }, { "name": "connectToSatelliteServer", diff --git a/eap-rhel-byos-vmss/src/main/arm/createUiDefinition.json b/eap-rhel-byos-vmss/src/main/arm/createUiDefinition.json index 5b495f86e..cfa1cd7c9 100644 --- a/eap-rhel-byos-vmss/src/main/arm/createUiDefinition.json +++ b/eap-rhel-byos-vmss/src/main/arm/createUiDefinition.json @@ -382,38 +382,17 @@ }, "visible": true }, - { - "name": "setgracefulShutdownTimeout", - "type": "Microsoft.Common.OptionsGroup", - "label": "Do you want to configure Graceful Shutdown Timeout?", - "defaultValue": "No", - "toolTip": "Select 'Yes' to provide Graceful Shutdown Timeout and indicate the maximum number of seconds to wait for requests to complete before the server shuts down.", - "constraints": { - "allowedValues": [ - { - "label": "Yes", - "value": true - }, - { - "label": "No", - "value": false - } - ], - "required": false - } - }, { "name": "gracefulShutdownTimeout", "type": "Microsoft.Common.TextBox", - "visible": "[steps('jbossEAPSettings').setgracefulShutdownTimeout]", - "label": "Graceful Shutdown Timeout", + "label": "Graceful shutdown timeout in seconds (-1 to disable)", "defaultValue": "-1", "constraints": { "required": false, "regex": "^[a-zA-Z0-9+_.-]{1,30}(@[a-zA-Z0-9.-]+){0,1}$", - "validationMessage": "Please enter a Graceful Shutdown Timeout in seconds" + "validationMessage": "Please enter a graceful shutdown timeout in seconds" }, - "toolTip": "Please enter a Graceful Shutdown Timeout in seconds" + "toolTip": "Please enter a graceful shutdown timeout in seconds (-1 to disable)" }, { "name": "connectToSatelliteServer", diff --git a/eap-rhel-byos/src/main/arm/createUiDefinition.json b/eap-rhel-byos/src/main/arm/createUiDefinition.json index f8e50f9c6..ee3e7bcf2 100644 --- a/eap-rhel-byos/src/main/arm/createUiDefinition.json +++ b/eap-rhel-byos/src/main/arm/createUiDefinition.json @@ -363,38 +363,17 @@ }, "visible": true }, - { - "name": "setgracefulShutdownTimeout", - "type": "Microsoft.Common.OptionsGroup", - "label": "Do you want to configure Graceful Shutdown Timeout?", - "defaultValue": "No", - "toolTip": "Select 'Yes' to provide Graceful Shutdown Timeout and indicate the maximum number of seconds to wait for requests to complete before the server shuts down.", - "constraints": { - "allowedValues": [ - { - "label": "Yes", - "value": true - }, - { - "label": "No", - "value": false - } - ], - "required": false - } - }, { "name": "gracefulShutdownTimeout", "type": "Microsoft.Common.TextBox", - "visible": "[steps('jbossEAPSettings').setgracefulShutdownTimeout]", - "label": "Graceful Shutdown Timeout", + "label": "Graceful shutdown timeout in seconds (-1 to disable)", "defaultValue": "-1", "constraints": { "required": false, "regex": "^[a-zA-Z0-9+_.-]{1,30}(@[a-zA-Z0-9.-]+){0,1}$", - "validationMessage": "Please enter a Graceful Shutdown Timeout in seconds" + "validationMessage": "Please enter a graceful shutdown timeout in seconds" }, - "toolTip": "Please enter a Graceful Shutdown Timeout in seconds" + "toolTip": "Please enter a graceful shutdown timeout in seconds (-1 to disable)" }, { "name": "connectToSatelliteServer",