Merge "Update UI definitions to 2.2 version" into stable/liberty

This commit is contained in:
Jenkins 2015-09-28 15:29:02 +00:00 committed by Gerrit Code Review
commit b2f0c30e49
30 changed files with 40 additions and 221 deletions

View File

@ -22,8 +22,6 @@ Name: ApacheHttpServer
Extends: std:Application Extends: std:Application
Properties: Properties:
name:
Contract: $.string().notNull()
enablePHP: enablePHP:
Contract: $.bool() Contract: $.bool()

View File

@ -10,7 +10,7 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
Version: 2.1 Version: 2.2
Templates: Templates:
customJoinNet: customJoinNet:
@ -22,7 +22,6 @@ Templates:
Application: Application:
?: ?:
type: io.murano.apps.apache.ApacheHttpServer type: io.murano.apps.apache.ApacheHttpServer
name: $.appConfiguration.name
enablePHP: $.appConfiguration.enablePHP enablePHP: $.appConfiguration.enablePHP
instance: instance:
?: ?:
@ -46,13 +45,6 @@ Forms:
description: Apache License, Version 2.0 description: Apache License, Version 2.0
hidden: true hidden: true
required: false required: false
- name: name
type: string
label: Application Name
initial: 'ApacheHttpServer'
description: >-
Enter a desired name for the application. Just A-Z, a-z, 0-9, dash and
underline are allowed
- name: enablePHP - name: enablePHP
label: Enable PHP label: Enable PHP
type: boolean type: boolean

View File

@ -11,9 +11,6 @@ Extends: std:Application
Properties: Properties:
name:
Contract: $.string().notNull()
instance: instance:
Contract: $.class(res:Instance).notNull() Contract: $.class(res:Instance).notNull()

View File

@ -10,7 +10,7 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
Version: 2.1 Version: 2.2
Templates: Templates:
customJoinNet: customJoinNet:
@ -22,7 +22,6 @@ Templates:
Application: Application:
?: ?:
type: io.murano.conflang.chef.GitChef type: io.murano.conflang.chef.GitChef
name: $.appConfiguration.name
instance: instance:
?: ?:
type: io.murano.resources.LinuxMuranoInstance type: io.murano.resources.LinuxMuranoInstance
@ -45,13 +44,6 @@ Forms:
description: ' ' description: ' '
hidden: true hidden: true
required: false required: false
- name: name
type: string
label: Application Name
initial: 'Git (Chef)'
description: >-
Enter a desired name for the application. Just A-Z, a-z, 0-9, dash and
underline are allowed
- name: assignFloatingIP - name: assignFloatingIP
type: boolean type: boolean
label: Assign Floating IP label: Assign Floating IP

View File

@ -11,8 +11,6 @@ Extends: std:Application
Properties: Properties:
name:
Contract: $.string().notNull()
port: port:
Contract: $.string().notNull() Contract: $.string().notNull()
instance: instance:

View File

@ -10,7 +10,7 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
Version: 2.1 Version: 2.2
Templates: Templates:
customJoinNet: customJoinNet:
@ -22,7 +22,6 @@ Templates:
Application: Application:
?: ?:
type: io.murano.conflang.fiware.OrionChef type: io.murano.conflang.fiware.OrionChef
name: $.appConfiguration.name
port: $.appConfiguration.port port: $.appConfiguration.port
instance: instance:
?: ?:
@ -46,13 +45,6 @@ Forms:
description: ' ' description: ' '
hidden: true hidden: true
required: false required: false
- name: name
type: string
label: Application Name
initial: 'Orion'
description: >-
Enter a desired name for the application. Just A-Z, a-z, 0-9, dash and
underline are allowed
- name: port - name: port
type: integer type: integer
label: Port label: Port

View File

@ -21,8 +21,6 @@ Name: CloudFoundry
Extends: std:Application Extends: std:Application
Properties: Properties:
name:
Contract: $.string().notNull()
instance: instance:
Contract: $.class(res:Instance).notNull() Contract: $.class(res:Instance).notNull()

View File

@ -10,7 +10,7 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
Version: 2.1 Version: 2.2
Templates: Templates:
customJoinNet: customJoinNet:
@ -22,7 +22,6 @@ Templates:
Application: Application:
?: ?:
type: io.murano.apps.paas.CloudFoundry type: io.murano.apps.paas.CloudFoundry
name: $.appConfiguration.name
instance: instance:
?: ?:
type: io.murano.resources.LinuxMuranoInstance type: io.murano.resources.LinuxMuranoInstance
@ -44,13 +43,6 @@ Forms:
description: Apache License, Version 2.0 description: Apache License, Version 2.0
hidden: true hidden: true
required: false required: false
- name: name
type: string
label: Application Name
initial: CF
description: >-
Enter a desired name for the application. Just A-Z, a-z, 0-9, dash and
underline are allowed
- name: assignFloatingIP - name: assignFloatingIP
type: boolean type: boolean
label: Assign Floating IP label: Assign Floating IP

View File

@ -21,9 +21,6 @@ Name: CloudFoundryDiego
Extends: std:Application Extends: std:Application
Properties: Properties:
name:
Contract: $.string().notNull()
instance: instance:
Contract: $.class(res:Instance).notNull() Contract: $.class(res:Instance).notNull()

View File

@ -10,7 +10,7 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
Version: 2.1 Version: 2.2
Templates: Templates:
customJoinNet: customJoinNet:
@ -22,7 +22,6 @@ Templates:
Application: Application:
?: ?:
type: io.murano.apps.paas.CloudFoundryDiego type: io.murano.apps.paas.CloudFoundryDiego
name: $.appConfiguration.name
instance: instance:
?: ?:
type: io.murano.resources.LinuxMuranoInstance type: io.murano.resources.LinuxMuranoInstance
@ -44,13 +43,6 @@ Forms:
description: Apache License, Version 2.0 description: Apache License, Version 2.0
hidden: true hidden: true
required: false required: false
- name: name
type: string
label: Application Name
initial: CF
description: >-
Enter a desired name for the application. Just A-Z, a-z, 0-9, dash and
underline are allowed
- name: assignFloatingIP - name: assignFloatingIP
type: boolean type: boolean
label: Assign Floating IP label: Assign Floating IP

View File

@ -21,8 +21,6 @@ Name: Guacamole
Extends: std:Application Extends: std:Application
Properties: Properties:
name:
Contract: $.string().notNull()
username: username:
Contract: $.string().notNull() Contract: $.string().notNull()
password: password:
@ -55,5 +53,5 @@ Methods:
- $address: $.server.instance.floatingIpAddress - $address: $.server.instance.floatingIpAddress
Else: Else:
- $address: $.server.instance.ipAddresses[0] - $address: $.server.instance.ipAddresses[0]
- $._environment.reporter.report($this, 'Guacamole {0} is available at http://{1}:{2}/guacamole'.format($.name, $address, 8080)) - $._environment.reporter.report($this, 'Guacamole application is available at http://{1}:{2}/guacamole'.format($address, 8080))
- $.setAttr(deployed, true) - $.setAttr(deployed, true)

View File

@ -10,12 +10,11 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
Version: 2 Version: 2.2
Application: Application:
?: ?:
type: io.murano.apps.Guacamole type: io.murano.apps.Guacamole
name: $.appConfiguration.name
username: $.appConfiguration.username username: $.appConfiguration.username
password: $.appConfiguration.password password: $.appConfiguration.password
server: $.appConfiguration.server server: $.appConfiguration.server
@ -28,13 +27,6 @@ Forms:
description: Apache License, Version 2.0 description: Apache License, Version 2.0
hidden: true hidden: true
required: false required: false
- name: name
type: string
label: Application Name
initial: Guacamole
description: >-
Enter a desired name for the application. Just A-Z, a-z, 0-9, dash and
underline are allowed
- name: username - name: username
type: string type: string
label: Username label: Username

View File

@ -9,9 +9,6 @@ Name: HDPSandbox
Extends: std:Application Extends: std:Application
Properties: Properties:
name:
Contract: $.string().notNull()
instance: instance:
Contract: $.class(res:Instance).notNull() Contract: $.class(res:Instance).notNull()

View File

@ -1,4 +1,4 @@
Version: 2.1 Version: 2.2
Templates: Templates:
customJoinNet: customJoinNet:
@ -10,7 +10,6 @@ Templates:
Application: Application:
?: ?:
type: io.murano.apps.HDPSandbox type: io.murano.apps.HDPSandbox
name: $.appConfiguration.name
instance: instance:
?: ?:
type: io.murano.resources.LinuxMuranoInstance type: io.murano.resources.LinuxMuranoInstance
@ -24,15 +23,6 @@ Application:
customNetworks: switch($.instanceConfiguration.network[0], $=null=>list(), $!=null=>$customJoinNet) customNetworks: switch($.instanceConfiguration.network[0], $=null=>list(), $!=null=>$customJoinNet)
Forms: Forms:
- appConfiguration:
fields:
- name: name
type: string
label: Application Name
initial: 'HDP-Sandbox'
description: >-
Enter a desired name for the application. Just A-Z, a-z, 0-9, dash and
underline are allowed
- instanceConfiguration: - instanceConfiguration:
fields: fields:
- name: flavor - name: flavor

View File

@ -24,8 +24,6 @@ Extends:
Properties: Properties:
instance: instance:
Contract: $.class(res:Instance).notNull() Contract: $.class(res:Instance).notNull()
name:
Contract: $.string().notNull()
database: database:
Contract: $.string() Contract: $.string()
username: username:

View File

@ -10,7 +10,7 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
Version: 2.1 Version: 2.2
Templates: Templates:
customJoinNet: customJoinNet:
@ -22,7 +22,6 @@ Templates:
Application: Application:
?: ?:
type: io.murano.databases.MySql type: io.murano.databases.MySql
name: $.appConfiguration.name
database: $.initDatabaseConfiguration.database database: $.initDatabaseConfiguration.database
username: $.initDatabaseConfiguration.username username: $.initDatabaseConfiguration.username
password: $.initDatabaseConfiguration.password password: $.initDatabaseConfiguration.password
@ -34,35 +33,13 @@ Application:
image: $.instanceConfiguration.osImage image: $.instanceConfiguration.osImage
keyname: $.instanceConfiguration.keyPair keyname: $.instanceConfiguration.keyPair
availabilityZone: $.instanceConfiguration.availabilityZone availabilityZone: $.instanceConfiguration.availabilityZone
assignFloatingIp: $.appConfiguration.assignFloatingIP assignFloatingIp: $.instanceConfiguration.assignFloatingIP
networks: networks:
useEnvironmentNetwork: $.instanceConfiguration.network[0]=null useEnvironmentNetwork: $.instanceConfiguration.network[0]=null
useFlatNetwork: false useFlatNetwork: false
customNetworks: switch($.instanceConfiguration.network[0], $=null=>list(), $!=null=>$customJoinNet) customNetworks: switch($.instanceConfiguration.network[0], $=null=>list(), $!=null=>$customJoinNet)
Forms: Forms:
- appConfiguration:
fields:
- name: license
type: string
description: Apache License, Version 2.0
hidden: true
required: false
- name: name
type: string
label: Application Name
initial: MySqlDB
description: >-
Enter a desired name for the application. Just A-Z, a-z, 0-9, dash and
underline are allowed
- name: assignFloatingIP
type: boolean
label: Assign Floating IP
description: >-
Select to true to assign floating IP automatically
initial: false
required: false
- initDatabaseConfiguration: - initDatabaseConfiguration:
fields: fields:
- name: title - name: title
@ -112,6 +89,13 @@ Forms:
description: >- description: >-
Select valid image for the application. Image should already be prepared and Select valid image for the application. Image should already be prepared and
registered in glance. registered in glance.
- name: assignFloatingIP
type: boolean
label: Assign Floating IP
description: >-
Select to true to assign floating IP automatically
initial: false
required: false
- name: keyPair - name: keyPair
type: keypair type: keypair
label: Key Pair label: Key Pair

View File

@ -24,8 +24,6 @@ Extends:
Properties: Properties:
instance: instance:
Contract: $.class(res:Instance).notNull() Contract: $.class(res:Instance).notNull()
name:
Contract: $.string().notNull()
database: database:
Contract: $.string() Contract: $.string()
username: username:

View File

@ -10,7 +10,7 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
Version: 2.1 Version: 2.2
Templates: Templates:
customJoinNet: customJoinNet:
@ -22,7 +22,6 @@ Templates:
Application: Application:
?: ?:
type: io.murano.databases.PostgreSql type: io.murano.databases.PostgreSql
name: $.appConfiguration.name
database: $.initDatabaseConfiguration.database database: $.initDatabaseConfiguration.database
username: $.initDatabaseConfiguration.username username: $.initDatabaseConfiguration.username
password: $.initDatabaseConfiguration.password password: $.initDatabaseConfiguration.password
@ -34,34 +33,13 @@ Application:
image: $.instanceConfiguration.osImage image: $.instanceConfiguration.osImage
keyname: $.instanceConfiguration.keyPair keyname: $.instanceConfiguration.keyPair
availabilityZone: $.instanceConfiguration.availabilityZone availabilityZone: $.instanceConfiguration.availabilityZone
assignFloatingIp: $.appConfiguration.assignFloatingIP assignFloatingIp: $.instanceConfiguration.assignFloatingIP
networks: networks:
useEnvironmentNetwork: $.instanceConfiguration.network[0]=null useEnvironmentNetwork: $.instanceConfiguration.network[0]=null
useFlatNetwork: false useFlatNetwork: false
customNetworks: switch($.instanceConfiguration.network[0], $=null=>list(), $!=null=>$customJoinNet) customNetworks: switch($.instanceConfiguration.network[0], $=null=>list(), $!=null=>$customJoinNet)
Forms: Forms:
- appConfiguration:
fields:
- name: license
type: string
description: Apache License, Version 2.0
hidden: true
required: false
- name: name
type: string
label: Application Name
initial: PostgreDB
description: >-
Enter a desired name for the application. Just A-Z, a-z, 0-9, dash and
underline are allowed
- name: assignFloatingIP
type: boolean
label: Assign Floating IP
description: >-
Select to true to assign floating IP automatically
initial: false
required: false
- initDatabaseConfiguration: - initDatabaseConfiguration:
fields: fields:
- name: title - name: title
@ -110,6 +88,13 @@ Forms:
description: >- description: >-
Select valid image for the application. Image should already be prepared and Select valid image for the application. Image should already be prepared and
registered in glance. registered in glance.
- name: assignFloatingIP
type: boolean
label: Assign Floating IP
description: >-
Select to true to assign floating IP automatically
initial: false
required: false
- name: keyPair - name: keyPair
type: keypair type: keypair
label: Key Pair label: Key Pair

View File

@ -11,9 +11,6 @@ Extends: std:Application
Properties: Properties:
name:
Contract: $.string().notNull()
port: port:
Contract: $.string().notNull() Contract: $.string().notNull()

View File

@ -10,7 +10,7 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
Version: 2.1 Version: 2.2
Templates: Templates:
customJoinNet: customJoinNet:
@ -22,7 +22,6 @@ Templates:
Application: Application:
?: ?:
type: io.murano.conflang.puppet.MySQLPuppet type: io.murano.conflang.puppet.MySQLPuppet
name: $.appConfiguration.name
port: $.appConfiguration.port port: $.appConfiguration.port
instance: instance:
?: ?:
@ -52,13 +51,6 @@ Forms:
description: 'MySQL port' description: 'MySQL port'
required: true required: true
initial: 3306 initial: 3306
- name: name
type: string
label: Application Name
initial: 'MySQL (Puppet)'
description: >-
Enter a desired name for the application. Just A-Z, a-z, 0-9, dash and
underline are allowed
- name: assignFloatingIP - name: assignFloatingIP
type: boolean type: boolean
label: Assign Floating IP label: Assign Floating IP

View File

@ -22,9 +22,6 @@ Name: Rally
Extends: std:Application Extends: std:Application
Properties: Properties:
name:
Contract: $.string().notNull()
instance: instance:
Contract: $.class(res:LinuxMuranoInstance).notNull() Contract: $.class(res:LinuxMuranoInstance).notNull()

View File

@ -10,7 +10,7 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
Version: 2.1 Version: 2.2
Templates: Templates:
customJoinNet: customJoinNet:
@ -22,7 +22,6 @@ Templates:
Application: Application:
?: ?:
type: org.openstack.Rally type: org.openstack.Rally
name: $.appConfiguration.name
instance: instance:
?: ?:
type: io.murano.resources.LinuxMuranoInstance type: io.murano.resources.LinuxMuranoInstance
@ -45,13 +44,6 @@ Forms:
description: Apache License, Version 2.0 description: Apache License, Version 2.0
hidden: true hidden: true
required: false required: false
- name: name
type: string
label: Application Name
initial: 'Rally'
description: >-
Enter a desired name for the application. Just A-Z, a-z, 0-9, dash and
underline are allowed
- name: assignFloatingIP - name: assignFloatingIP
type: boolean type: boolean
label: Assign Floating IP label: Assign Floating IP

View File

@ -22,9 +22,6 @@ Name: Tomcat
Extends: std:Application Extends: std:Application
Properties: Properties:
name:
Contract: $.string().notNull()
instance: instance:
Contract: $.class(res:Instance).notNull() Contract: $.class(res:Instance).notNull()

View File

@ -10,7 +10,7 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
Version: 2.1 Version: 2.2
Templates: Templates:
customJoinNet: customJoinNet:
@ -22,7 +22,6 @@ Templates:
Application: Application:
?: ?:
type: io.murano.apps.apache.Tomcat type: io.murano.apps.apache.Tomcat
name: $.appConfiguration.name
instance: instance:
?: ?:
type: io.murano.resources.LinuxMuranoInstance type: io.murano.resources.LinuxMuranoInstance
@ -31,34 +30,13 @@ Application:
image: $.instanceConfiguration.osImage image: $.instanceConfiguration.osImage
keyname: $.instanceConfiguration.keyPair keyname: $.instanceConfiguration.keyPair
availabilityZone: $.instanceConfiguration.availabilityZone availabilityZone: $.instanceConfiguration.availabilityZone
assignFloatingIp: $.appConfiguration.assignFloatingIP assignFloatingIp: $.instanceConfiguration.assignFloatingIP
networks: networks:
useEnvironmentNetwork: $.instanceConfiguration.network[0]=null useEnvironmentNetwork: $.instanceConfiguration.network[0]=null
useFlatNetwork: false useFlatNetwork: false
customNetworks: switch($.instanceConfiguration.network[0], $=null=>list(), $!=null=>$customJoinNet) customNetworks: switch($.instanceConfiguration.network[0], $=null=>list(), $!=null=>$customJoinNet)
Forms: Forms:
- appConfiguration:
fields:
- name: license
type: string
description: Apache License, Version 2.0
hidden: true
required: false
- name: name
type: string
label: Application Name
initial: Tomcat
description: >-
Enter a desired name for the application. Just A-Z, a-z, 0-9, dash and
underline are allowed
- name: assignFloatingIP
type: boolean
label: Assign Floating IP
description: >-
Select to true to assign floating IP automatically
initial: false
required: false
- instanceConfiguration: - instanceConfiguration:
fields: fields:
- name: title - name: title
@ -80,6 +58,13 @@ Forms:
description: >- description: >-
Select a valid image for the application. Image should already be prepared and Select a valid image for the application. Image should already be prepared and
registered in glance. registered in glance.
- name: assignFloatingIP
type: boolean
label: Assign Floating IP
description: >-
Select to true to assign floating IP automatically
initial: false
required: false
- name: keyPair - name: keyPair
type: keypair type: keypair
label: Key Pair label: Key Pair

View File

@ -22,8 +22,6 @@ Name: WordPress
Extends: std:Application Extends: std:Application
Properties: Properties:
name:
Contract: $.string().notNull()
server: server:
Contract: $.class(srv:ApacheHttpServer).notNull() Contract: $.class(srv:ApacheHttpServer).notNull()
database: database:

View File

@ -10,12 +10,11 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
Version: 2 Version: 2.2
Application: Application:
?: ?:
type: io.murano.apps.WordPress type: io.murano.apps.WordPress
name: $.appConfiguration.name
database: $.appConfiguration.database database: $.appConfiguration.database
server: $.appConfiguration.server server: $.appConfiguration.server
monitoring: $.appConfiguration.zabbix monitoring: $.appConfiguration.zabbix
@ -32,13 +31,6 @@ Forms:
description: Apache License, Version 2.0 description: Apache License, Version 2.0
hidden: true hidden: true
required: false required: false
- name: name
type: string
label: Application Name
initial: 'WordPress'
description: >-
Enter a desired name for the application. Just A-Z, a-z, 0-9, dash and
underline are allowed
- name: database - name: database
type: io.murano.databases.MySql type: io.murano.databases.MySql
label: Database Server label: Database Server

View File

@ -22,8 +22,6 @@ Name: ZabbixAgent
Extends: std:Application Extends: std:Application
Properties: Properties:
name:
Contract: $.string().notNull()
hostname: hostname:
Contract: $.string().notNull() Contract: $.string().notNull()
probe: probe:

View File

@ -10,12 +10,11 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
Version: 2 Version: 2.2
Application: Application:
?: ?:
type: io.murano.apps.ZabbixAgent type: io.murano.apps.ZabbixAgent
name: $.appConfiguration.name
hostname: $.appConfiguration.hostname hostname: $.appConfiguration.hostname
server: $.appConfiguration.server server: $.appConfiguration.server
probe: $.appConfiguration.probeMethod probe: $.appConfiguration.probeMethod
@ -29,14 +28,6 @@ Forms:
description: Apache License, Version 2.0 description: Apache License, Version 2.0
hidden: true hidden: true
required: false required: false
- name: name
type: string
label: Application Name
initial: ZabbixAgent
description: >-
Enter a desired name for the application. Just A-Z, a-z, 0-9, dash and
underline are allowed
- name: hostname - name: hostname
type: string type: string
label: HostName label: HostName

View File

@ -22,8 +22,6 @@ Name: ZabbixServer
Extends: std:Application Extends: std:Application
Properties: Properties:
name:
Contract: $.string().notNull()
instance: instance:
Contract: $.class(res:Instance).notNull() Contract: $.class(res:Instance).notNull()
database: database:

View File

@ -10,7 +10,7 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
Version: 2.1 Version: 2.2
Templates: Templates:
customJoinNet: customJoinNet:
@ -22,7 +22,6 @@ Templates:
Application: Application:
?: ?:
type: io.murano.apps.ZabbixServer type: io.murano.apps.ZabbixServer
name: $.appConfiguration.name
database: $.dbConfiguration.database database: $.dbConfiguration.database
username: $.dbConfiguration.username username: $.dbConfiguration.username
password: $.dbConfiguration.password password: $.dbConfiguration.password
@ -48,13 +47,6 @@ Forms:
description: Apache License, Version 2.0 description: Apache License, Version 2.0
hidden: true hidden: true
required: false required: false
- name: name
type: string
label: Application Name
initial: ZabbixServer
description: >-
Enter a desired name for the application. Just A-Z, a-z, 0-9, dash and
underline are allowed
- name: assignFloatingIP - name: assignFloatingIP
type: boolean type: boolean
label: Assign Floating IP label: Assign Floating IP