def __init__(self): self.environment = Environment.Environment() self.logger = Logger.Logger() self.card_storage = CardStorage.CardStorage() self.favourite_storage = FavouriteStorage.FavouriteStorage() self.query_storage = QueryStorage.QueryStorage() self.so_storage = ShoutOutStorage.ShoutOutStorage()
def __init__(self): super().__init__() self.environment = Environment.Environment() self.logger = Logger.Logger() self.token = None self.consumer = None self.client = None self.regex = RegEx.RegEx() self.init_api() self.card_transfer = CardTransfer.CardTransfer()
def __init__(self): super().__init__() self.environment = Environment.Environment() self.logger = Logger.Logger() self.confluence = Confluence( self.environment.get_endpoint_confluence_host(), username=self.environment.get_endpoint_confluence_user(), password=self.environment.get_endpoint_confluence_password()) self.card_transfer = CardTransfer.CardTransfer() self.regex = RegEx.RegEx()
def __init__(self): self.notification_storage = NotificationStorage.NotificationStorage() self.logger = Logger.Logger()
def __init__(self): self.logger = Logger.Logger() self.so_storage = ShoutOutStorage.ShoutOutStorage()
def __init__(self): self.logger = Logger.Logger() self.environment = Environment.Environment() self.storage = CardStorage.CardStorage()
def __init__(self): self.storage = CardStorage.CardStorage() self.logger = Logger.Logger()
def __init__(self): self.logger = Logger.Logger()
def __init__(self): self.card_storage = CardStorage.CardStorage() self.favourite_storage = FavouriteStorage.FavouriteStorage() self.logger = Logger.Logger()
def __init__(self): self.environment = Environment.Environment() self.mongo = MongoClient(self.environment.get_endpoint_mongo_db_cloud()) self.logger = Logger.Logger() self.card_transfer = CardTransfer.CardTransfer()
def __init__(self): self.storage = FavouriteStorage.FavouriteStorage() self.logger = Logger.Logger()
def __init__(self): self.info = Info.Info() self.logger = Logger.Logger()
def __init__(self): self.logger = Logger.Logger() self.environment = Environment.Environment() self.mongo = None self.connect_mongodb()
from bin.service import ConfluenceAPI from bin.service import Gitlab from bin.service import Jira from bin.service import Logger from bin.service import Environment import threading logger = Logger.Logger() environment = Environment.Environment() try: confluence_done = False jira_done = False git_done = False def confluence_thread(): global confluence_done print('--- confluence thread started ---') confluence = ConfluenceAPI.ConfluenceAPI() confluence.sync_entries(0) confluence_done = True def jira_thread(): global jira_done print('--- jira thread started ---') jira = Jira.Jira() jira.sync_entries(0) jira_done = True def git_thread(): global git_done
def __init__(self): self.search = ContextSearch.ContextSearch() self.storage = CardStorage.CardStorage() self.latest = Latest.Latest() self.logger = Logger.Logger()
def __init__(self): self.storage = CardStorage.CardStorage() self.context_search = ContextSearch.ContextSearch() self.sci_kit_learn = SciKitLearn.SciKitLearn() self.logger = Logger.Logger()
def __init__(self): self.card_storage = CardStorage.CardStorage() self.query_storage = QueryStorage.QueryStorage() self.logger = Logger.Logger()
def __init__(self): self.info = Info.Info() self.logger = Logger.Logger() self.environment = Environment.Environment()