Skip to content

Commit

Permalink
Merge pull request #269 from azure-javaee/main
Browse files Browse the repository at this point in the history
Update the graceful shutdown template and tool tip
  • Loading branch information
edburns authored Oct 30, 2024
2 parents acf951c + 0dcb550 commit 0d1071e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 72 deletions.
27 changes: 3 additions & 24 deletions eap-rhel-byos-multivm/src/main/arm/createUiDefinition.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
27 changes: 3 additions & 24 deletions eap-rhel-byos-vmss/src/main/arm/createUiDefinition.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
27 changes: 3 additions & 24 deletions eap-rhel-byos/src/main/arm/createUiDefinition.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 0d1071e

Please sign in to comment.