[SEBA-494] Setting required core version

Change-Id: Ifae6ed2e722fb874bd57e02c76e3821d30da879e
diff --git a/Dockerfile.synchronizer b/Dockerfile.synchronizer
index 1c97b18..e26ec41 100644
--- a/Dockerfile.synchronizer
+++ b/Dockerfile.synchronizer
@@ -12,9 +12,11 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+# docker build -t xosproject/simpleexampleservice-synchronizer:candidate -f Dockerfile.synchronizer .
+
 # xosproject/simpleexampleservice-synchronizer
 
-FROM xosproject/xos-synchronizer-base:2.1.54
+FROM xosproject/xos-synchronizer-base:2.2.1
 
 COPY xos/synchronizer /opt/xos/synchronizers/simpleexampleservice
 COPY VERSION /opt/xos/synchronizers/simpleexampleservice/
diff --git a/VERSION b/VERSION
index 18efdb9..befa759 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.1.8
+1.1.9-dev
diff --git a/xos/synchronizer/config.yaml b/xos/synchronizer/config.yaml
index 9f80c69..898bf30 100644
--- a/xos/synchronizer/config.yaml
+++ b/xos/synchronizer/config.yaml
@@ -15,6 +15,7 @@
 
 
 name: simpleexampleservice
+core_version: ">=2.2.1"
 accessor:
   username: xosadmin@opencord.org
   password: "@/opt/xos/services/simpleexampleservice/credentials/xosadmin@opencord.org"
diff --git a/xos/synchronizer/simpleexampleservice-synchronizer.py b/xos/synchronizer/simpleexampleservice-synchronizer.py
index fde1b86..14b3747 100644
--- a/xos/synchronizer/simpleexampleservice-synchronizer.py
+++ b/xos/synchronizer/simpleexampleservice-synchronizer.py
@@ -20,14 +20,11 @@
 from xossynchronizer import Synchronizer
 from xosconfig import Config
 
-base_config_file = os.path.abspath(os.path.dirname(
-    os.path.realpath(__file__)) + '/config.yaml')
-mounted_config_file = os.path.abspath(os.path.dirname(
-    os.path.realpath(__file__)) + '/mounted_config.yaml')
+base_config_file = os.path.abspath(os.path.dirname(os.path.realpath(__file__)) + '/config.yaml')
+mounted_config_file = os.path.abspath(os.path.dirname(os.path.realpath(__file__)) + '/mounted_config.yaml')
 
 if os.path.isfile(mounted_config_file):
-    Config.init(base_config_file, 'synchronizer-config-schema.yaml',
-                mounted_config_file)
+    Config.init(base_config_file, 'synchronizer-config-schema.yaml', mounted_config_file)
 else:
     Config.init(base_config_file, 'synchronizer-config-schema.yaml')