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
diff --git a/xos/synchronizer/docker-compose.yml b/xos/synchronizer/docker-compose.yml
index 78a620e..551094a 100644
--- a/xos/synchronizer/docker-compose.yml
+++ b/xos/synchronizer/docker-compose.yml
@@ -16,7 +16,7 @@
- /opt/cord_profile/node_key:/opt/cord_profile/node_key:ro
- /opt/cord/build/platform-install/credentials/xosadmin@opencord.org:/opt/xos/services/exampleservice/credentials/xosadmin@opencord.org
external_links:
- - rcord_xos_redis_1:redis
+ - rcordbs_xos_redis_1:redis
logging:
driver: "json-file"
options: