def __init__(self, config): WebModule.__init__(self, config) HTMLMixin.__init__(self, 'Historic file transfers (only 100)', 'transfers/history_list.html') self.stylesheets = ['/css/transfers/monitor.css'] # Instantiate the JSON producer self.history = FileTransferHistory(config)
def __init__(self, config): WebModule.__init__(self, config) HTMLMixin.__init__(self, 'Dynamo inventory statistics', 'inventory/stats.html') self.stylesheets = ['/css/inventory/stats.css'] self.scripts = ['/js/utils.js', '/js/inventory/stats.js'] self.default_constraints = config.inventory.stats.default_constraints
def __init__(self, config): WebModule.__init__(self, config) HTMLMixin.__init__(self, 'Transfer Activity', 'transfers/activity.html') self.stylesheets = ['/css/transfers/monitor.css'] self.scripts = ['/js/plotly-jan2018.min.js', '/js/utils.js', '/js/transfers/activity.js']
def __init__(self, config): WebModule.__init__(self, config) HTMLMixin.__init__(self, 'Current file transfers', 'transfers/monitor_static.html') self.stylesheets = ['/css/transfers/monitor.css'] # Instantiate the JSON producer self.current = CurrentFileTransfers(config)
def __init__(self, config): WebModule.__init__(self, config) self.copy_manager = CopyRequestManager() self.copy_manager.set_read_only() self.dele_manager = DeletionRequestManager() self.dele_manager.set_read_only() self.mysql_hist = HistoryDatabase(config.get('history', None))
def __init__(self, config): WebModule.__init__(self, config) HTMLMixin.__init__(self, 'Current file transfers', 'transfers/rates.html') self.stylesheets = ['/css/transfers/monitor.css'] self.scripts = [ '/js/utils.js', '/js/transfers/rates.js', '/js/plotly-jan2018.min.js' ]
def __init__(self, config): WebModule.__init__(self, config) HTMLMixin.__init__(self, 'Deletion Activity', 'deletions/activity.html') self.stylesheets = ['/css/deletions/monitor.css'] self.scripts = [ '/js/plotly-jan2018.min.js', '/js/utils.js', '/js/deletions/activity.js' ]
def __init__(self, config): WebModule.__init__(self, config) HTMLMixin.__init__(self, 'Current file transfers', 'transfers/queue.html') self.stylesheets = ['/css/transfers/monitor.css'] self.scripts = [ '/js/utils.js', '/js/transfers/queue.js', '/js/plotly-jan2018.min.js' ] self.header_script = '$(document).ready(function() { initPage(); });'
def __init__(self, config): WebModule.__init__(self, config) HTMLMixin.__init__(self, 'Detox deletion results', 'detox/monitor.html') self.history = HistoryDatabase() self.stylesheets = ['/css/detox/monitor.css'] self.scripts = ['/js/utils.js', '/js/detox/monitor.js'] with open(HTMLMixin.contents_path + '/html/detox/monitor_titleblock.html') as source: self.titleblock = source.read() self.default_partition = config.detox.default_partition self.test_cycle = False
def __init__(self, config): WebModule.__init__(self, config) self.detox_history = DetoxHistoryBase() # The partition that shows up when the page is opened with no arguments self.default_partition = config.detox.default_partition # List of partitions whose timestamp can go red if the update has not happened for a long while self.monitored_partitions = config.detox.monitored_partitions self.operation = 'deletion' self.partition_id = 0 self.cycle = 0 self.comment = '' self.timestamp = ''
def __init__(self, config): WebModule.__init__(self, config) HTMLMixin.__init__(self, 'Dynamo Detox locks API', 'detox/locks_help.html')
def __init__(self, config): WebModule.__init__(self, config) self.must_authenticate = True
def __init__(self, config): WebModule.__init__(self, config)
def __init__(self, config): WebModule.__init__(self, config) self.copy_manager = CopyRequestManager() self.copy_manager.set_read_only() self.mysql_hist = HistoryDatabase(config.get('history', None))
def __init__(self, config): WebModule.__init__(self, config) ParseInputMixin.__init__(self, config) self.manager = DeletionRequestManager()
def __init__(self, config): WebModule.__init__(self, config) self.rlfsm = RLFSM() self.rlfsm.set_read_only(True)
def __init__(self, config): WebModule.__init__(self, config) self.registry = RegistryDatabase() self.history = HistoryDatabase()
def __init__(self, config): WebModule.__init__(self, config) self.registry = RegistryDatabase()
def __init__(self, config): WebModule.__init__(self, config) self.history = HistoryDatabase()
def __init__(self, config): WebModule.__init__(self, config) HTMLMixin.__init__(self, 'Suspended file transfers', 'transfers/held.html') self.stylesheets = ['/css/transfers/held.css'] self.scripts = ['/js/utils.js', '/js/transfers/held.js']
def __init__(self, config): WebModule.__init__(self, config) self.dbs = DBS() self.registry = RegistryDatabase() self.authorized_users = list(config.file_invalidation.authorized_users)
def __init__(self, config): WebModule.__init__(self, config) HTMLMixin.__init__(self, 'Current file transfers', 'transfers/monitor.html') self.stylesheets = ['/css/transfers/monitor.css'] self.scripts = ['/js/utils.js', '/js/transfers/monitor.js']
def __init__(self, config): WebModule.__init__(self, config) self.require_appmanager = True
def __init__(self, config): WebModule.__init__(self, config) ParseInputMixin.__init__(self, config) self.manager = CopyRequestManager()
def __init__(self, config): WebModule.__init__(self, config) HTMLMixin.__init__(self, 'Dynamo application locks API', 'applock/help.html')