blob: 0eddd510ac24dd6c04372fded3fa2553d260424b [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
exampleservice_tosca_types:
type: tosca.nodes.ServiceControllerResource
properties:
kind: tosca_custom_types
format: yaml
url: exampleservice.yaml
requirements:
- controller:
node: exampleservice
relationship: tosca.relationships.UsedByController