CORD-2657 Migrate templateservice to dynamic load
Change-Id: I7780175afcb18eadb91369f588887277b70fd3b4
diff --git a/xos/synchronizer/models/service.xproto b/xos/synchronizer/models/service.xproto
new file mode 100644
index 0000000..8c90164
--- /dev/null
+++ b/xos/synchronizer/models/service.xproto
@@ -0,0 +1,11 @@
+option app_label = "templateservice";
+option name = "templateservice";
+
+message TemplateService (Service){
+ option verbose_name = "Template Service";
+}
+
+
+message TemplateServiceInstance (TenantWithContainer){
+ option verbose_name = "Template Service Instance";
+}
diff --git a/xos/synchronizer/service_config.yaml b/xos/synchronizer/service_config.yaml
index 2127fcd..6d1e960 100644
--- a/xos/synchronizer/service_config.yaml
+++ b/xos/synchronizer/service_config.yaml
@@ -14,7 +14,7 @@
# limitations under the License.
-name: templateservice-synchronizer
+name: templateservice
accessor:
username: xosadmin@opencord.org
password: "@/opt/xos/services/templateservice/credentials/xosadmin@opencord.org"
@@ -25,3 +25,4 @@
steps_dir: "/opt/xos/synchronizers/templateservice/steps"
sys_dir: "/opt/xos/synchronizers/templateservice/sys"
model_policies_dir: "/opt/xos/synchronizers/templateservice/model_policies"
+models_dir: "/opt/xos/synchronizers/templateservice/models"
\ No newline at end of file