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 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.º 6
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)