Example #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)
Example #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
Example #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']
Example #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)
Example #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)
Example #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
Example #7
0
    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))
Example #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'
        ]
Example #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'
        ]
Example #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(); });'
Example #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
Example #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 = ''
Example #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 = ''
Example #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
Example #15
0
 def __init__(self, config):
     WebModule.__init__(self, config)
Example #16
0
 def __init__(self, config):
     WebModule.__init__(self, config)
Example #17
0
    def __init__(self, config):
        WebModule.__init__(self, config)
        ParseInputMixin.__init__(self, config)

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

        self.rlfsm = RLFSM()
        self.rlfsm.set_read_only(True)
Example #21
0
 def __init__(self, config):
     WebModule.__init__(self, config)
     self.registry = RegistryDatabase()
Example #22
0
 def __init__(self, config):
     WebModule.__init__(self, config)
     self.registry = RegistryDatabase()
     self.history = HistoryDatabase()
Example #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)
Example #25
0
 def __init__(self, config):
     WebModule.__init__(self, config)
     self.history = HistoryDatabase()
Example #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']
Example #27
0
    def __init__(self, config):
        WebModule.__init__(self, config)

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

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