118 lines
4.1 KiB
YAML
118 lines
4.1 KiB
YAML
name: ASP.NET Application Web Farm
|
|
type: aspNetAppFarm
|
|
|
|
description: >-
|
|
<strong> The ASP.NET Farm Service </strong> installs a custom application
|
|
on a load-balanced array of IIS servers
|
|
|
|
unitTemplates:
|
|
- {}
|
|
|
|
forms:
|
|
- - name: title
|
|
type: string
|
|
required: false
|
|
hidden: true
|
|
attributeNames: false
|
|
description: >-
|
|
The ASP.NET application will be installed on a number of IIS Web
|
|
Servers, and load balancing will be configured.
|
|
- name: name
|
|
type: string
|
|
label: Service Name
|
|
description: >-
|
|
Enter a desired name for a service. Just A-Z, a-z, 0-9, dash and
|
|
underline are allowed.
|
|
minLength: 2
|
|
maxLength: 64
|
|
regexpValidator: '^[-\w]+$'
|
|
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
|
|
initial: Administrator
|
|
attributeNames: credentials.username
|
|
- name: adminPassword
|
|
type: password
|
|
attributeNames: [adminPassword, credentials.password]
|
|
label: Administrator password
|
|
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
|
|
a minimum of 8 characters.
|
|
|
|
Once you forget your password you won't be able to
|
|
operate the service until recovery password would be entered. So it's
|
|
better for Recovery and Administrator password to be different."
|
|
- name: domain
|
|
type: domain
|
|
label: Domain
|
|
required: false
|
|
description: >-
|
|
Service can be joined to the Active Directory domain. If you want to
|
|
create an AD domain create the AD Service first.
|
|
helpText: Optional field for a domain to which service can be joined
|
|
- name: repository
|
|
type: string
|
|
label: Git repository
|
|
description: >-
|
|
URL of a git repository with the application you want to deploy.
|
|
regexpValidator: '/(\w+://)(.+@)*([\w\d\.]+)(:[\d]+)?/*(.*)/i'
|
|
errorMessages:
|
|
invalid: Enter correct git repository url
|
|
helpText: Enter a valid git repository URL
|
|
- name: loadBalancerPort
|
|
type: integer
|
|
label: Load Balancer port
|
|
minValue: 1
|
|
maxValue: 65536
|
|
initial: 80
|
|
description: Specify port number where Load Balancer will be running
|
|
helpText: Enter an integer value from 1 to 65536
|
|
- name: unitNamingPattern
|
|
type: string
|
|
label: Hostname template
|
|
description: >-
|
|
"For your convenience all instance hostnames can be named
|
|
in the same way. Enter a name and use # character for incrementation.
|
|
For example, host# turns into host1, host2, etc. Please follow Windows
|
|
hostname restrictions."
|
|
required: false
|
|
#regexpValidator: '^(([a-zA-Z0-9#][a-zA-Z0-9-#]*[a-zA-Z0-9#])\.)*([A-Za-z0-9#]|[A-Za-z0-9#][A-Za-z0-9-#]*[A-Za-z0-9#])$'
|
|
helpText: Optional field for a machine hostname template
|
|
- - name: title
|
|
type: string
|
|
required: false
|
|
hidden: true
|
|
attributeNames: false
|
|
descriptionTitle: Instance Configuration
|
|
description: Specify some instance parameters on which service would be created.
|
|
- name: flavor
|
|
type: flavor
|
|
label: Instance flavor
|
|
description: >-
|
|
Select registered in Openstack flavor. Consider that service performance
|
|
depends on this parameter.
|
|
required: false
|
|
- name: osImage
|
|
type: image
|
|
label: Instance image
|
|
description: >-
|
|
Select valid image for a service. Image should already be prepared and
|
|
registered in glance.
|
|
required: false
|
|
- name: availabilityZone
|
|
type: azone
|
|
label: Availability zone
|
|
description: Select availability zone where service would be installed.
|
|
required: false
|