Beispiel #1
0
    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)
Beispiel #2
0
    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
Beispiel #3
0
    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']
Beispiel #4
0
    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)
Beispiel #5
0
    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)
Beispiel #6
0
    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)
        
        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))
Beispiel #8
0
    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'
        ]
Beispiel #9
0
    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'
        ]
Beispiel #10
0
    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(); });'
Beispiel #11
0
    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
Beispiel #12
0
    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 = ''
Beispiel #13
0
    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 = ''
Beispiel #14
0
    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
Beispiel #15
0
 def __init__(self, config):
     WebModule.__init__(self, config)
 def __init__(self, config):
     WebModule.__init__(self, config)
Beispiel #17
0
    def __init__(self, config):
        WebModule.__init__(self, config)
        ParseInputMixin.__init__(self, config)

        self.manager = DeletionRequestManager()
Beispiel #18
0
    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))
Beispiel #19
0
 def __init__(self, config):
     WebModule.__init__(self, config) 
     HTMLMixin.__init__(self, 'Dynamo Detox locks API', 'detox/locks_help.html')
Beispiel #20
0
    def __init__(self, config):
        WebModule.__init__(self, config)

        self.rlfsm = RLFSM()
        self.rlfsm.set_read_only(True)
Beispiel #21
0
 def __init__(self, config):
     WebModule.__init__(self, config)
     self.registry = RegistryDatabase()
Beispiel #22
0
 def __init__(self, config):
     WebModule.__init__(self, config)
     self.registry = RegistryDatabase()
     self.history = HistoryDatabase()
Beispiel #23
0
 def __init__(self, config):
     WebModule.__init__(self, config)
     self.must_authenticate = True
    def __init__(self, config):
        WebModule.__init__(self, config)

        self.dbs = DBS()
        self.registry = RegistryDatabase()
        self.authorized_users = list(config.file_invalidation.authorized_users)
Beispiel #25
0
 def __init__(self, config):
     WebModule.__init__(self, config)
     self.history = HistoryDatabase()
Beispiel #26
0
    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']
Beispiel #27
0
    def __init__(self, config):
        WebModule.__init__(self, config)

        self.rlfsm = RLFSM()
        self.rlfsm.set_read_only(True)
Beispiel #28
0
 def __init__(self, config):
     WebModule.__init__(self, config) 
     HTMLMixin.__init__(self, 'Dynamo application locks API', 'applock/help.html')
Beispiel #29
0
 def __init__(self, config):
     WebModule.__init__(self, config)
     self.must_authenticate = True
Beispiel #30
0
    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']
Beispiel #31
0
 def __init__(self, config):
     WebModule.__init__(self, config)
     HTMLMixin.__init__(self, 'Dynamo Detox locks API',
                        'detox/locks_help.html')
Beispiel #32
0
    def __init__(self, config):
        WebModule.__init__(self, config)
        ParseInputMixin.__init__(self, config)

        self.manager = CopyRequestManager()
Beispiel #33
0
 def __init__(self, config):
     WebModule.__init__(self, config)
     self.require_appmanager = True