blob: 1c45faad767011654fdc536f22e0df549617ed61 [file] [log] [blame]
Scott Baker46831592016-06-20 17:32:04 -07001#!/usr/bin/env python
2
3# This imports and runs ../../xos-observer.py
4
5import importlib
6import os
7import sys
Matteo Scandolo8974c182017-06-02 14:48:57 -07008from xosconfig import Config
9
10config_file = os.path.abspath(os.path.dirname(os.path.realpath(__file__)) + '/fabric_config.yaml')
11Config.init(config_file, 'synchronizer-config-schema.yaml')
12
Scott Baker71c20eb2017-03-14 21:35:18 -070013observer_path = os.path.join(os.path.dirname(os.path.realpath(__file__)),"../../synchronizers/new_base")
Scott Baker46831592016-06-20 17:32:04 -070014sys.path.append(observer_path)
15mod = importlib.import_module("xos-synchronizer")
16mod.main()