Exemplo n.º 1
0
 def configure(self, config):
     set_attribute(self, 'object_alias', REQUIRED, config)
     set_attribute(self,'object_name','UNKNOWN',config)        
     set_attribute(self,'can_query','1',config)
     set_attribute(self,'is_enabled','1',config)
     set_attribute(self, 'object_lifetime','Per Request', config)
     
     SubServiceNode.configure(self, config)
Exemplo n.º 2
0
    def configure(self, config):
        set_attribute(self, 'object_alias', REQUIRED, config)
        set_attribute(self, 'object_name', 'UNKNOWN', config)
        set_attribute(self, 'can_query', '1', config)
        set_attribute(self, 'is_enabled', '1', config)
        set_attribute(self, 'object_lifetime', 'Per Request', config)

        SubServiceNode.configure(self, config)
Exemplo n.º 3
0
 def configure(self,config):
     set_attribute(self,'position', REQUIRED, config, int)
     set_attribute(self, 'sort_order', 'none', config)
     set_attribute(self, 'type', 'column', config)
     #
     # error_value and error_type are used by logs that invoke functions to
     # there value and may throw an exception.  They are on the fallback
     # column Node primarily out of laziness.
     #
     set_attribute(self, 'column_error_value', 'log_error_value', config)
     set_attribute(self, 'column_error_type', 'log_error_type', config)
     SubServiceNode.configure(self,config)
     return
Exemplo n.º 4
0
 def configure(self, config):
     set_attribute(self, 'position', REQUIRED, config, int)
     set_attribute(self, 'sort_order', 'none', config)
     set_attribute(self, 'type', 'column', config)
     #
     # error_value and error_type are used by logs that invoke functions to
     # there value and may throw an exception.  They are on the fallback
     # column Node primarily out of laziness.
     #
     set_attribute(self, 'column_error_value', 'log_error_value', config)
     set_attribute(self, 'column_error_type', 'log_error_type', config)
     SubServiceNode.configure(self, config)
     return
Exemplo n.º 5
0
 def configuration(self):
     config = SubServiceNode.configuration(self)
     get_attribute(self, 'sort_order', config)
     get_attribute(self, 'position', config, str)
     get_attribute(self, 'type', config)
     get_attribute(self, 'column_error_value', config)
     get_attribute(self, 'column_error_type', config)
     return config
Exemplo n.º 6
0
 def configuration(self):
     config = SubServiceNode.configuration(self)
     get_attribute(self, 'sort_order', config)
     get_attribute(self, 'position', config, str)
     get_attribute(self, 'type', config)
     get_attribute(self, 'column_error_value', config)
     get_attribute(self, 'column_error_type', config)
     return config
Exemplo n.º 7
0
    def configuration(self):
        config = SubServiceNode.configuration(self)
        get_attribute(self, 'object_alias', config)
        get_attribute(self, 'object_name', config)
        get_attribute(self, 'can_query', config)
        get_attribute(self, 'is_enabled', config)
        get_attribute(self, 'object_lifetime', config)

        return config
Exemplo n.º 8
0
 def configuration(self):
     config = SubServiceNode.configuration(self)
     get_attribute(self, 'object_alias', config)
     get_attribute(self,'object_name',config)
     get_attribute(self,'can_query',config)
     get_attribute(self,'is_enabled',config)        
     get_attribute(self, 'object_lifetime', config)
     
     return config    
Exemplo n.º 9
0
 def __init__(self):
     # Overrideable flag to tell Servers to leave authenticating to you.
     self.requires_authentication = 0
     SubServiceNode.__init__(self)
Exemplo n.º 10
0
 def __init__(self):
     # Overrideable flag to tell Servers to leave authenticating to you.
     self.requires_authentication = 0
     SubServiceNode.__init__(self)
Exemplo n.º 11
0
 def configuration(self):
     config = SubServiceNode.configuration(self)
     config['log'] = self.parent
     get_attribute(self, 'upload_interval', config, str)
     return config
Exemplo n.º 12
0
 def configure(self, config):
     set_attribute(self, 'upload_interval', 900, config, int)
     set_attribute(self, 'type', 'exporter', config)
     SubServiceNode.configure(self, config)
     set_attribute(self, 'log', self.parent, config, as_node)
Exemplo n.º 13
0
 def __init__(self):
     SubServiceNode.__init__(self)
     self.running = 0
     self.last_time = 0
     self.success_count = 0
Exemplo n.º 14
0
 def configuration(self):
     config = SubServiceNode.configuration(self)
     config["log"] = self.parent
     get_attribute(self, "upload_interval", config, str)
     return config
Exemplo n.º 15
0
 def configure(self, config):
     set_attribute(self, "upload_interval", 900, config, int)
     set_attribute(self, "type", "exporter", config)
     SubServiceNode.configure(self, config)
     set_attribute(self, "log", self.parent, config, as_node)
Exemplo n.º 16
0
 def __init__(self):
     SubServiceNode.__init__(self)
     self.running = 0
     self.last_time = 0
     self.success_count = 0