示例#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)
示例#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
示例#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']
示例#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)
示例#5
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))
示例#6
0
文件: rates.py 项目: ellenlee1/dynamo
    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'
        ]
示例#7
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'
        ]
示例#8
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(); });'
示例#9
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
示例#10
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 = ''
示例#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
示例#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 = ''
示例#13
0
 def __init__(self, config):
     WebModule.__init__(self, config)
     HTMLMixin.__init__(self, 'Dynamo Detox locks API',
                        'detox/locks_help.html')
示例#14
0
 def __init__(self, config):
     WebModule.__init__(self, config)
     self.must_authenticate = True
示例#15
0
 def __init__(self, config):
     WebModule.__init__(self, config)
     self.must_authenticate = True
示例#16
0
 def __init__(self, config):
     WebModule.__init__(self, config)
示例#17
0
文件: data.py 项目: cpausmit/dynamo
 def __init__(self, config):
     WebModule.__init__(self, config)
示例#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))
示例#19
0
文件: deletion.py 项目: kpark1/dynamo
    def __init__(self, config):
        WebModule.__init__(self, config)
        ParseInputMixin.__init__(self, config)

        self.manager = DeletionRequestManager()
示例#20
0
    def __init__(self, config):
        WebModule.__init__(self, config)

        self.rlfsm = RLFSM()
        self.rlfsm.set_read_only(True)
示例#21
0
 def __init__(self, config):
     WebModule.__init__(self, config) 
     HTMLMixin.__init__(self, 'Dynamo Detox locks API', 'detox/locks_help.html')
示例#22
0
 def __init__(self, config):
     WebModule.__init__(self, config)
     self.registry = RegistryDatabase()
     self.history = HistoryDatabase()
示例#23
0
 def __init__(self, config):
     WebModule.__init__(self, config)
     self.registry = RegistryDatabase()
示例#24
0
 def __init__(self, config):
     WebModule.__init__(self, config)
     self.history = HistoryDatabase()
示例#25
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']
    def __init__(self, config):
        WebModule.__init__(self, config)

        self.dbs = DBS()
        self.registry = RegistryDatabase()
        self.authorized_users = list(config.file_invalidation.authorized_users)
示例#27
0
文件: rates.py 项目: ellenlee1/dynamo
    def __init__(self, config):
        WebModule.__init__(self, config)

        self.rlfsm = RLFSM()
        self.rlfsm.set_read_only(True)
示例#28
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']
示例#29
0
 def __init__(self, config):
     WebModule.__init__(self, config)
     self.require_appmanager = True
示例#30
0
    def __init__(self, config):
        WebModule.__init__(self, config)
        ParseInputMixin.__init__(self, config)

        self.manager = CopyRequestManager()
示例#31
0
 def __init__(self, config):
     WebModule.__init__(self, config) 
     HTMLMixin.__init__(self, 'Dynamo application locks API', 'applock/help.html')