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)
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