murano/murano_tempest_tests/extras/MockApp/Classes/mock_muranopl.yaml

28 lines
515 B
YAML

Namespaces:
=: io.murano.apps
std: io.murano
# Name: MockApp # use name from the manifest
Extends: std:Application
Properties:
userName:
Contract: $.string()
Methods:
testAction:
Usage: Action
Body:
- $this.find(std:Environment).reporter.report($this, 'Completed')
getCredentials:
Usage: Action
Body:
- Return:
credentials:
uri: localhost
deploy:
Body:
- $this.find(std:Environment).reporter.report($this, 'Follow the white rabbit')