39 lines
803 B
YAML
39 lines
803 B
YAML
Namespaces:
|
|
=: io.murano.windows.activeDirectory
|
|
std: io.murano
|
|
sys: io.murano.system
|
|
|
|
Name: ActiveDirectory
|
|
|
|
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:
|
|
deploy:
|
|
Body:
|
|
- $.primaryController.deploy()
|
|
- $.secondaryControllers.pselect($.deploy())
|
|
- $.reportDeployed(title => 'MS Active Directory',
|
|
unitCount => len(secondaryControllers) + 1)
|
|
|
|
destroy:
|
|
Body:
|
|
- $.reportDestroyed()
|