Fix instance count field for farm services.

Fixed visibility and default value for ASP.NET and
default value for IIS farms.

Change-Id: Ia2d2eaa17c6f8c3e53da4745b03a2b27ff6738fe
Fixes: bug MRN-863.
This commit is contained in:
Timur Sufiev 2013-08-27 11:40:20 +04:00
parent 9f8ecd9a0d
commit 5f5b6f6e89
2 changed files with 15 additions and 10 deletions

View File

@ -31,11 +31,6 @@ forms:
errorMessages:
invalid: Just letters, numbers, underscores and hyphens are allowed.
helpText: Just letters, numbers, underscores and hyphens are allowed.
- name: dcInstances
type: instance
hidden: true
attributeNames: units
initial: 1
- name: username
type: string
hidden: true
@ -48,8 +43,8 @@ forms:
descriptionTitle: Passwords
description: >-
Windows requires strong password for service administration.
Your password should have at least one letter in each
register, a number and a special character. Password length should be
Your password should have at least one letter in each
register, a number and a special character. Password length should be
a minimum of 7 characters.
- name: domain
type: domain
@ -68,6 +63,16 @@ forms:
errorMessages:
invalid: Enter correct git repository url
helpText: Enter a valid git repository URL
- name: dcInstances
type: instance
label: Instance Count
description: >-
Several instances with ASP.NET application can be created at one time.
attributeNames: units
minValue: 2
maxValue: 100
initial: 2
helpText: Enter an integer value between 2 and 100
- name: loadBalancerPort
type: integer
label: Load Balancer port

View File

@ -53,13 +53,13 @@ forms:
helpText: Optional field for a domain to which service can be joined
- name: dcInstances
type: instance
minValue: 1
minValue: 2
maxValue: 100
attributeNames: [units, instanceCount]
initial: 1
initial: 2
label: Instance Count
description: Several instances with IIS Service can be created at one time.
helpText: Enter an integer value between 1 and 100
helpText: Enter an integer value between 2 and 100
- name: loadBalancerPort
type: integer
label: Load Balancer port