Files
fuel-ostf/fuel_health/tests/tests_platform/io.murano.apps.Simple/Classes/Simple.yaml
Tatyana Leontovich bac04dccb2 Rename platfrom tests to keep run ordering
Node plagin run tests in adc order,
as result platfrom tests runs before smoke, that is wrong

So  platfrom_test to tests_platfrom
to get smoke tests executedbefore platform

Closes-Bug: #1465238
Change-Id: I91774614afb7edc0ecec3f5b592b75db224ac543
2015-06-15 16:27:56 +03:00

31 lines
662 B
YAML

Namespaces:
=: io.murano.apps
std: io.murano
sys: io.murano.system
res: io.murano.resources
Name: Simple
Extends: std:Application
Properties:
name:
Contract: $.string().notNull()
instance:
Contract: $.class(res:Instance).notNull()
Methods:
initialize:
Body:
- $.environment: $.find(std:Environment).require()
deploy:
Body:
- If: not $.getAttr(deployed, false)
Then:
- $.environment.reporter.report($this, 'Starting SimpleApp deployment!')
- $.instance.deploy()
- $.environment.reporter.report($this, 'SimpleApp deployment is finished')
- $.setAttr(deployed, true)