CORD-1053 refactored onboarding recipe for exampleservice
Change-Id: I0477395ca176c1b8068309a46226b5a181607c1e
diff --git a/xos/exampleservice-onboardnew.yaml b/xos/exampleservice-onboardnew.yaml
new file mode 100644
index 0000000..7e61f70
--- /dev/null
+++ b/xos/exampleservice-onboardnew.yaml
@@ -0,0 +1,25 @@
+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_services/exampleservice/xos/
+ # The following will concatenate with base_url automatically, if
+ # base_url is non-null.
+ models: models.py
+ admin: admin.py
+ tosca_custom_types: exampleservice.yaml
+ tosca_resource: tosca/resources/exampleservice.py, tosca/resources/exampletenant.py
+ rest_service: api/service/exampleservice.py
+ rest_tenant: api/tenant/exampletenant.py
+ private_key: file:///opt/xos/key_import/exampleservice_rsa
+ public_key: file:///opt/xos/key_import/exampleservice_rsa.pub
+ no_build: true
+ image: xosproject/exampleservice-synchronizer
\ No newline at end of file