CORD-2476 migrate exampleservice to dynamic load
Change-Id: If71abedf21dd83d1b74cb30cb6ba4b9e7ed7ab6d
diff --git a/xos/exampleservice-onboard.yaml b/xos/exampleservice-onboard.yaml
index 0261330..31fe911 100644
--- a/xos/exampleservice-onboard.yaml
+++ b/xos/exampleservice-onboard.yaml
@@ -29,7 +29,5 @@
base_url: file:///opt/xos_services/exampleservice/xos/
# The following will concatenate with base_url automatically, if
# base_url is non-null.
- xproto: ./
private_key: file:///opt/xos/key_import/exampleservice_rsa
public_key: file:///opt/xos/key_import/exampleservice_rsa.pub
-
diff --git a/xos/synchronizer/exampleservice_config.yaml b/xos/synchronizer/exampleservice_config.yaml
index 275a09f..57e1f80 100644
--- a/xos/synchronizer/exampleservice_config.yaml
+++ b/xos/synchronizer/exampleservice_config.yaml
@@ -14,7 +14,7 @@
# limitations under the License.
-name: exampleservice-synchronizer
+name: exampleservice
accessor:
username: xosadmin@opencord.org
password: "@/opt/xos/services/exampleservice/credentials/xosadmin@opencord.org"
@@ -27,3 +27,4 @@
steps_dir: "/opt/xos/synchronizers/exampleservice/steps"
sys_dir: "/opt/xos/synchronizers/exampleservice/sys"
model_policies_dir: "/opt/xos/synchronizers/exampleservice/model_policies"
+models_dir: "/opt/xos/synchronizers/exampleservice/models"
diff --git a/xos/exampleservice.xproto b/xos/synchronizer/models/exampleservice.xproto
similarity index 100%
rename from xos/exampleservice.xproto
rename to xos/synchronizer/models/exampleservice.xproto