/usr/lib/python3/dist-packages/muranoclient/tests/unit/fixture_data/test-app/Classes/testapp.yaml is in python3-muranoclient 1.0.1-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | Namespaces:
=: io.murano.apps.test
std: io.murano
res: io.murano.resources
Name: APP
Extends: std:Application
Properties:
name:
Contract: $.string().notNull()
instance:
Contract: $.class(res:Instance).notNull()
Workflow:
initialize:
Body:
- $.environment: $.find(std:Environment).require()
deploy:
Body:
- $securityGroupIngress:
- ToPort: 23
FromPort: 23
IpProtocol: tcp
External: True
- $.environment.securityGroupManager.addGroupIngress($securityGroupIngress)
- $.instance.deploy()
- $resources: new('io.murano.system.Resources')
- $template: $resources.yaml('Deploy.template')
- $.instance.agent.call($template, $resources)
|