CORD-2657 Migrate templateservice to dynamic load

Change-Id: I7780175afcb18eadb91369f588887277b70fd3b4
diff --git a/xos/service.xproto b/xos/synchronizer/models/service.xproto
similarity index 100%
rename from xos/service.xproto
rename to xos/synchronizer/models/service.xproto
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
diff --git a/xos/templateservice-onboard.yaml b/xos/templateservice-onboard.yaml
index 3d62c64..ed29a62 100644
--- a/xos/templateservice-onboard.yaml
+++ b/xos/templateservice-onboard.yaml
@@ -29,7 +29,6 @@
           base_url: file:///opt/xos_services/templateservice/xos/
           # The following will concatenate with base_url automatically, if
           # base_url is non-null.
-          xproto: ./
           private_key: file:///opt/xos/key_import/templateservice_rsa
           public_key: file:///opt/xos/key_import/templateservice_rsa.pub