[CORD-2796][CORD-3007] Creating RCORD Service
Change-Id: Ie7791a68b7e15c61dde04c126fa091c32fb71b21
diff --git a/xos-profiles/rcord-lite/templates/_helpers.tpl b/xos-profiles/rcord-lite/templates/_helpers.tpl
index 54ed1fa..8a503d0 100644
--- a/xos-profiles/rcord-lite/templates/_helpers.tpl
+++ b/xos-profiles/rcord-lite/templates/_helpers.tpl
@@ -49,5 +49,3 @@
{{/*
The R-CORD synchronizer loads R-CORD-specific models into the core
*/}}
-
-
diff --git a/xos-profiles/rcord-lite/values.yaml b/xos-profiles/rcord-lite/values.yaml
index 7367f04..15b3a3c 100644
--- a/xos-profiles/rcord-lite/values.yaml
+++ b/xos-profiles/rcord-lite/values.yaml
@@ -187,6 +187,7 @@
- custom_types/nodelabel.yaml
- custom_types/onosapp.yaml
- custom_types/onosservice.yaml
+ - custom_types/rcordservice.yaml
- custom_types/site.yaml
- custom_types/service.yaml
- custom_types/servicedependency.yaml
@@ -209,7 +210,7 @@
name: fabric
must-exist: true
service#rcord:
- type: tosca.nodes.Service
+ type: tosca.nodes.RCORDService
properties:
name: rcord
rcord_volt:
diff --git a/xos-services/rcord/templates/_helpers.tpl b/xos-services/rcord/templates/_helpers.tpl
index 9e26ecb..16d836a 100644
--- a/xos-services/rcord/templates/_helpers.tpl
+++ b/xos-services/rcord/templates/_helpers.tpl
@@ -52,6 +52,9 @@
username: {{ .Values.xosAdminUser | quote }}
password: {{ .Values.xosAdminPassword | quote }}
endpoint: xos-core:50051
+required_models:
+ - RCORDService
+ - RCORDSubscriber
dependency_graph: "/opt/xos/synchronizers/rcord/model-deps"
sys_dir: "/opt/xos/synchronizers/rcord/sys"
models_dir: "/opt/xos/synchronizers/rcord/models"