def getSchemaPages(self, path): retDict = gConfig.getOptions( "%s/Schema/%s" % (self.webSection, path), listOrdered=True) if retDict['OK']: return retDict['Value'] else: return []
def getShortcutsForGroup( self, group ): groupSection = "%s/Shortcuts/%s" % ( self.webSection, group ) retVal = gConfig.getOptions( groupSection, listOrdered = True ) if retVal[ 'OK' ]: names = retVal[ 'Value' ] else: names = [] entries = [] for entryName in names: actionPath = gConfig.getValue( "%s/%s" % ( groupSection, entryName ) ) entries.append( ( entryName, actionPath ) ) return entries
def getFTSSites(): FTS = gConfig.getOptions("%s/FTSEndpoints" % g_BaseResourcesSection) return FTS
def getFTSSites(): FTS = gConfig.getOptions("%s/FTSEndpoints" %g_BaseResourcesSection) return FTS