CORD-2509 migrate progran service from static to dynamic load
Change-Id: Ic2bbd8d0107d39b8a94663ec47c46cadbf8632d6
diff --git a/xos/progran-onboard.yaml b/xos/progran-onboard.yaml
deleted file mode 100644
index 87424a3..0000000
--- a/xos/progran-onboard.yaml
+++ /dev/null
@@ -1,32 +0,0 @@
-
-# Copyright 2017-present Open Networking Foundation
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: Onboard the Progran Service
-
-imports:
- - custom_types/xos.yaml
-
-topology_template:
- node_templates:
- servicecontroller#progran:
- type: tosca.nodes.ServiceController
- properties:
- base_url: file:///opt/xos_services/progran/xos/
- # The following will concatenate with base_url automatically, if
- # base_url is non-null.
- xproto: models/
diff --git a/xos/models/models.py b/xos/synchronizer/models/models.py
similarity index 100%
rename from xos/models/models.py
rename to xos/synchronizer/models/models.py
diff --git a/xos/models/progran.xproto b/xos/synchronizer/models/progran.xproto
similarity index 100%
rename from xos/models/progran.xproto
rename to xos/synchronizer/models/progran.xproto
diff --git a/xos/synchronizer/progran_config.yml b/xos/synchronizer/progran_config.yml
index 20892af..d3b209c 100644
--- a/xos/synchronizer/progran_config.yml
+++ b/xos/synchronizer/progran_config.yml
@@ -27,6 +27,7 @@
dependency_graph: "/opt/xos/synchronizers/progran/model_deps"
steps_dir: "/opt/xos/synchronizers/progran/steps"
sys_dir: "/opt/xos/synchronizers/progran/sys"
+models_dir: "/opt/xos/synchronizers/progran/models"
#model_policies_dir: "/opt/xos/synchronizers/progran/model_policies"
logging: