def __init__(self, context):
     super(ZepFacade, self).__init__(context)
     config = getGlobalConfiguration()
     zep_url = config.get('zep-uri', 'http://localhost:8084')
     schema = getUtility(IQueueSchema)
     self.client = ZepServiceClient(zep_url, schema)
     self.configClient = ZepConfigClient(zep_url, schema)
     self.heartbeatClient = ZepHeartbeatClient(zep_url, schema)
     self._guidManager = IGUIDManager(context.dmd)
示例#2
0
 def __init__(self):
     config = getGlobalConfiguration()
     schema = getUtility(IQueueSchema)
     zep_url = config.get('zep-uri', 'http://localhost:8084')
     self._configClient = ZepConfigClient(zep_url, schema)
     self._initialized = False