def zmanage_editProperties(self, REQUEST=None): 'add some validation' if REQUEST: self.cs = REQUEST.get('cs', '') self.sql = REQUEST.get('sql', '') self.sqlparsed, self.sqlkb = self.parseSqlQuery(self.sql) return RRDDataSource.zmanage_editProperties(self, REQUEST)
def zmanage_editProperties(self, REQUEST=None): 'add some validation' if REQUEST: self.namespace = REQUEST.get('namespace', '') self.wql = REQUEST.get('wql', '') return RRDDataSource.zmanage_editProperties(self, REQUEST)
def getDescription(self): if self.sourcetype == self.JMX: return self.hostname return RRDDataSource.getDescription(self)
def zmanage_editProperties(self, REQUEST=None): "add some validation" if REQUEST: self.namespace = REQUEST.get("namespace", "") self.instance = REQUEST.get("instance", "") return RRDDataSource.zmanage_editProperties(self, REQUEST)
def __init__(self, id, title=None, buildRelations=True): RRDDataSource.__init__(self, id, title, buildRelations)
def __init__(self, id, title=None, buildRelations=True): RRDDataSource.__init__(self, id, title, buildRelations) self.addDataPoints()