blob: 25f2a3197946826a11d2ea89789db16ff32b3170 [file] [log] [blame]
tosca_definitions_version: tosca_simple_yaml_1_0
description: Onboard the exampleservice
imports:
- custom_types/xos.yaml
topology_template:
node_templates:
exampleservice:
type: tosca.nodes.ServiceController
properties:
base_url: file:/opt/xos/onboard/exampleservice/
exampleservice_models:
type: tosca.nodes.ServiceControllerResource
properties:
kind: models
format: python
url: models.py
requirements:
- controller:
node: exampleservice
relationship: tosca.relationships.UsedByController
exampleservice_admin:
type: tosca.nodes.ServiceControllerResource
properties:
kind: admin
format: python
url: admin.py
requirements:
- controller:
node: exampleservice
relationship: tosca.relationships.UsedByController
exampleservice_synchronizer:
type: tosca.nodes.ServiceControllerResource
properties:
kind: synchronizer
format: manifest
url: synchronizer/manifest
requirements:
- controller:
node: exampleservice
relationship: tosca.relationships.UsedByController