exampleservice onboard recipe
diff --git a/xos/onboard/exampleservice/exampleservice-onboard.yaml b/xos/onboard/exampleservice/exampleservice-onboard.yaml
index 0095e44..25f2a31 100644
--- a/xos/onboard/exampleservice/exampleservice-onboard.yaml
+++ b/xos/onboard/exampleservice/exampleservice-onboard.yaml
@@ -9,22 +9,38 @@
node_templates:
exampleservice:
type: tosca.nodes.ServiceController
- base_url: file:/opt/xos/onboard/exampleservice/
+ properties:
+ base_url: file:/opt/xos/onboard/exampleservice/
exampleservice_models:
type: tosca.nodes.ServiceControllerResource
- kind: models
- format: python
- url: models.py
+ properties:
+ kind: models
+ format: python
+ url: models.py
+ requirements:
+ - controller:
+ node: exampleservice
+ relationship: tosca.relationships.UsedByController
exampleservice_admin:
type: tosca.nodes.ServiceControllerResource
- kind: admin
- format: python
- url: admin.py
+ properties:
+ kind: admin
+ format: python
+ url: admin.py
+ requirements:
+ - controller:
+ node: exampleservice
+ relationship: tosca.relationships.UsedByController
exampleservice_synchronizer:
type: tosca.nodes.ServiceControllerResource
- kind: synchronizer
- format: manifest
- url: synchronizer/manifest
+ properties:
+ kind: synchronizer
+ format: manifest
+ url: synchronizer/manifest
+ requirements:
+ - controller:
+ node: exampleservice
+ relationship: tosca.relationships.UsedByController