예제 #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
파일: monitor.py 프로젝트: cpausmit/dynamo
    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)
예제 #6
0
파일: stats.py 프로젝트: kpark1/dynamo
    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
예제 #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))
예제 #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'
        ]
예제 #9
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'
        ]
예제 #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(); });'
예제 #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)

        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 = ''
예제 #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
예제 #15
0
파일: data.py 프로젝트: cpausmit/dynamo
 def __init__(self, config):
     WebModule.__init__(self, config)
예제 #16
0
 def __init__(self, config):
     WebModule.__init__(self, config)
예제 #17
0
파일: deletion.py 프로젝트: kpark1/dynamo
    def __init__(self, config):
        WebModule.__init__(self, config)
        ParseInputMixin.__init__(self, config)

        self.manager = DeletionRequestManager()
예제 #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
 def __init__(self, config):
     WebModule.__init__(self, config) 
     HTMLMixin.__init__(self, 'Dynamo Detox locks API', 'detox/locks_help.html')
예제 #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)
     self.registry = RegistryDatabase()
예제 #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.must_authenticate = True
예제 #24
0
    def __init__(self, config):
        WebModule.__init__(self, config)

        self.dbs = DBS()
        self.registry = RegistryDatabase()
        self.authorized_users = list(config.file_invalidation.authorized_users)
예제 #25
0
파일: history.py 프로젝트: cpausmit/dynamo
 def __init__(self, config):
     WebModule.__init__(self, config)
     self.history = HistoryDatabase()
예제 #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']
예제 #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, 'Dynamo application locks API', 'applock/help.html')
예제 #29
0
 def __init__(self, config):
     WebModule.__init__(self, config)
     self.must_authenticate = True
예제 #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']
예제 #31
0
 def __init__(self, config):
     WebModule.__init__(self, config)
     HTMLMixin.__init__(self, 'Dynamo Detox locks API',
                        'detox/locks_help.html')
예제 #32
0
    def __init__(self, config):
        WebModule.__init__(self, config)
        ParseInputMixin.__init__(self, config)

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