コード例 #1
0
 def get_xpath_sec_list(self, cluster_id, needs_columns=False):
     """ Returns a list of XPath-based security definitions on the given cluster.
     """
     with closing(self.session()) as session:
         return query.xpath_sec_list(session, cluster_id, needs_columns)
コード例 #2
0
 def get_data(self, session):
     return xpath_sec_list(session, self.request.input.cluster_id, False)
コード例 #3
0
ファイル: odb.py プロジェクト: bboerner/zato
 def get_xpath_sec_list(self, cluster_id, needs_columns=False):
     """ Returns a list of XPath-based security definitions on the given cluster.
     """
     with closing(self.session()) as session:
         return query.xpath_sec_list(session, cluster_id, needs_columns)
コード例 #4
0
ファイル: xpath.py プロジェクト: Aayush-Kasurde/zato
 def get_data(self, session):
     return xpath_sec_list(session, self.request.input.cluster_id, False)