SEBA-405 Update SimpleExampleService to use synchronizer library
Change-Id: Ibe0d8cd56325cdc2f6f7a4752c4012fad4162121
diff --git a/xos/synchronizer/steps/sync_simpleexampleserviceinstance.py b/xos/synchronizer/steps/sync_simpleexampleserviceinstance.py
index c8e7c52..73c5859 100644
--- a/xos/synchronizer/steps/sync_simpleexampleserviceinstance.py
+++ b/xos/synchronizer/steps/sync_simpleexampleserviceinstance.py
@@ -16,25 +16,16 @@
import os
import sys
-from synchronizers.new_base.syncstep import SyncStep
-from synchronizers.new_base.modelaccessor import *
+from xossynchronizer.steps.syncstep import SyncStep
from xosconfig import Config
from multistructlog import create_logger
log = create_logger(Config().get('logging'))
class SyncSimpleExampleServiceInstance(SyncStep):
-
- provides = [SimpleExampleServiceInstance]
-
- observes = SimpleExampleServiceInstance
-
+ observes = "SimpleExampleServiceInstance"
requested_interval = 0
- template_name = "simpleexampleserviceinstance_playbook.yaml"
-
- service_key_name = "/opt/xos/synchronizers/exampleservicenew/simpleexampleservice_private_key"
-
def __init__(self, *args, **kwargs):
super(SyncSimpleExampleServiceInstance, self).__init__(*args, **kwargs)