Apache Service added

Added UI Description for LinuxApache service.
Removed "deploy telnet" checkbox from LinuxTelnet UI description

Change-Id: Iab31dfd32ad6d29e7a74be54e70dfd44af8be428
This commit is contained in:
Alexander Tivelkov 2013-10-25 16:07:47 +04:00
parent 604b17e20a
commit f654e2515a
2 changed files with 77 additions and 9 deletions

View File

@ -0,0 +1,77 @@
name: Linux Apache
type: linuxApacheService
description: >-
<strong> Linux Apache Service </strong>
Demonstrates a linux agent, which installs Apache web server.
unitTemplates:
- {}
forms:
- serviceConfiguration:
fields:
- name: name
type: string
label: Service Name
description: >-
To identify your service in logs please specify a service name
- name: deployApachePHP
label: PHP module
type: boolean
description: >-
Add php support into Apache web server.
initial: false
required: false
widgetMedia:
css: {all: [muranodashboard/css/checkbox.css]}
- name: dcInstances
type: instance
minValue: 1
maxValue: 10
attributeNames: [units, instanceCount]
initial: 1
label: Instance Count
description: Several instances with Apache web Service can be created at one time.
helpText: Enter an integer value between 1 and 10
- name: unitNamingPattern
type: string
label: Hostname
description: >-
For your convenience instance hostname can be specified.
Enter a name or leave blank for random name generation.
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
# temporaryHack
widgetMedia:
js: [muranodashboard/js/support_placeholder.js]
css: {all: [muranodashboard/css/support_placeholder.css]}
- instanceConfiguration:
fields:
- 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
imageType: linux
label: Instance image
description: >-
Select valid image for a service. Image should already be prepared and
registered in glance.
- name: availabilityZone
type: azone
label: Availability zone
description: Select availability zone where service would be installed.
required: false

View File

@ -34,15 +34,6 @@ forms:
hidden: true
attributeNames: units
initial: 1
- name: deployTelnet
type: boolean
label: Deploy Telnet
description: >-
Indicates if the target machine has to get telnet deployed
initial: true
required: false
widgetMedia:
css: {all: [muranodashboard/css/checkbox.css]}
- name: unitNamingPattern
type: string
label: Hostname