26f486cc1d
Now, functional tests would be located in murano/tests folder Group all unit tests to the corresponding folder under tests Run only unit tests in Opentack gate Change-Id: I5ebea265fd7cdef7e77a47eedae40d23f91638d0 Partly-Closes-Bug: #1349383
46 lines
1.0 KiB
YAML
46 lines
1.0 KiB
YAML
Namespaces:
|
|
=: io.murano.windows.Dummy
|
|
std: io.murano
|
|
sys: io.murano.system
|
|
|
|
Name: Dummy
|
|
|
|
Extends: std:Application
|
|
|
|
Properties:
|
|
name:
|
|
Contract: $.string().notNull()
|
|
|
|
primaryController:
|
|
Contract: $.class(PrimaryController).notNull()
|
|
|
|
secondaryControllers:
|
|
Contract: [$.class(SecondaryController).notNull()]
|
|
|
|
adminAccountName:
|
|
Contract: $.string().notNull()
|
|
Default: Administrator
|
|
|
|
adminPassword:
|
|
Contract: $.string().notNull()
|
|
Default: P@ssw0rd
|
|
|
|
Workflow:
|
|
initialize:
|
|
Body:
|
|
- $.environment: $.find(std:Environment).require()
|
|
- $.resources: new(sys:Resources)
|
|
|
|
deploy:
|
|
Body:
|
|
- $securityGroupIngress: $.resources.json('DomainSecurity.json')
|
|
- $.environment.securityGroups.addGroupIngress($securityGroupIngress)
|
|
|
|
- $.primaryController.deploy()
|
|
- $.secondaryControllers.pselect($.deploy())
|
|
- $.reportDeployed(title => 'Dummy',
|
|
unitCount => len(secondaryControllers) + 1)
|
|
|
|
destroy:
|
|
- $.reportDestroyed()
|