Skip to content

Commit bd81ffb

Browse files
authored
Merge pull request #21 from edburns/edburns-msft-15-update-properties-for-base-image
Address open issues to resolve #23
2 parents 4b7dc77 + 45e7f98 commit bd81ffb

File tree

2 files changed

+22
-8
lines changed

2 files changed

+22
-8
lines changed

pom.xml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
<groupId>com.ibm.websphere.azure</groupId>
2222
<artifactId>azure.websphere-traditional.cluster</artifactId>
23-
<version>1.3.8</version>
23+
<version>1.3.12</version>
2424

2525
<parent>
2626
<groupId>com.microsoft.azure.iaas</groupId>
@@ -38,8 +38,11 @@
3838
<azure.apiVersion2>2019-06-01</azure.apiVersion2>
3939
<cluster.start>c2efe274-0dc2-50f3-b51f-338a3fe01afb</cluster.start>
4040
<cluster.end>9c5dbfce-a6b9-5659-96bc-ca0cf429122a</cluster.end>
41-
<image.publisher>microsoft_javaeeonazure_test</image.publisher>
42-
<image.offer>2021-zheng-image-offer-preview</image.offer>
43-
<image.sku>2021-zheng-rhel-with-websphere</image.sku>
41+
<!-- This is the "Partner ID" in Partner Center" -->
42+
<image.publisher>ibm-usa-ny-armonk-hq-6275750-ibmcloud-aiops</image.publisher>
43+
<!-- This is the "Offer ID" of the "Azure Virtual Machine" offer type -->
44+
<image.offer>2021-04-27-twas-cluster-base-image</image.offer>
45+
<!-- This is the "Plan ID" of the plan within the "Azure Virtual Machine" offer -->
46+
<image.sku>2021-04-27-twas-cluster-base-image</image.sku>
4447
</properties>
4548
</project>

src/main/arm/createUiDefinition.json

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"type": "Microsoft.Common.InfoBox",
4141
"options": {
4242
"icon": "Info",
43-
"text": "Accept the IBM License Agreement to proceed with the deployment. <a href='https://www.ibm.com/software/sla/sladb.nsf/searchlis/?searchview&searchorder=4&searchmax=0&query=%225724-H88%22' target='_blank'>Learn more</a>"
43+
"text": "Accept the IBM License Agreement to proceed with the deployment. <a href='https://ibm.biz/tWASNDLicenseAzureVMs' target='_blank'>IBM WebSphere Application Server Network Deployment</a>."
4444
}
4545
},
4646
{
@@ -52,6 +52,15 @@
5252
"required": true,
5353
"validationMessage": "The deployment will not proceed unless you accept the IBM License Agreement."
5454
}
55+
},
56+
{
57+
"name": "About",
58+
"type": "Microsoft.Common.InfoBox",
59+
"options": {
60+
"icon": "None",
61+
"text": "Template version ${project.version}"
62+
},
63+
"visible": "[bool('${template.version.visible}')]"
5564
}
5665
],
5766
"steps": [
@@ -89,11 +98,11 @@
8998
"type": "Microsoft.Common.TextBox",
9099
"label": "Number of VMs",
91100
"defaultValue": "4",
92-
"toolTip": "The number of virtual machines to create, with 1 deployment manager and 1 to 4 worker nodes.",
101+
"toolTip": "The number of virtual machines to create, with one deployment manager and one to four worker nodes.",
93102
"constraints": {
94103
"required": true,
95104
"regex": "^(2|3|4|5)$",
96-
"validationMessage": "Number of virtual machines to deploy, limit 5 because this offer uses a single storage account."
105+
"validationMessage": "Please pick a value between 2 and 5. You need at least two virtual machines: one deployment manager and at least one worker node. The upper limit is five because this offer uses a single storage account."
97106
}
98107
},
99108
{
@@ -222,7 +231,9 @@
222231
},
223232
"toolTip": "Password for WebSphere administrator.",
224233
"constraints": {
225-
"required": true
234+
"required": true,
235+
"regex": "^(?=.*[A-Z])(?=.*[a-z])(?=.*\\d)[A-Za-z\\d]{12,}$",
236+
"validationMessage": "The password must contain at least 12 characters, with at least 1 uppercase letter, 1 lowercase letter and 1 number, and special characters are not allowed."
226237
}
227238
}
228239
]

0 commit comments

Comments
 (0)