Files
deb-murano/functionaltests/api/v1/DummyTestApp/Classes/SecondaryController.yaml
Sergey Murashov 809ea6f700 Changed tests for murano repository
Change base methods for actions with packages
and add tests for this actions

Change-Id: Ib6af8933c18ea9670a388dca53f1c55a92180208
2014-04-25 10:22:34 +04:00

29 lines
715 B
YAML

Namespaces:
=: io.murano.windows.Dummy
std: io.murano
sys: io.murano.system
Name: SecondaryController
Extends: Controller
Workflow:
initialize:
Body:
- $.super($.initialize())
- $.domain: $.find(ActiveDirectory).require()
deploy:
Body:
- $.super($.deploy())
- $.host.joinDomain($.domain)
- $resources: new(sys:Resources)
- $template: $resources.json('CreateSecondaryDC.template').bind(dict(
domain => $.domain.name,
recoveryPassword => $.recoveryPassword,
domainAccountName => $.domain.adminAccountName,
domainPassword => $.domain.adminPassword
))
- $.host.agent.call($template, $resources)
#