Example #1
0
 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
Example #3
0
def getFTSSites():
    FTS = gConfig.getOptions("%s/FTSEndpoints" % g_BaseResourcesSection)
    return FTS
Example #4
0
def getFTSSites():
  FTS = gConfig.getOptions("%s/FTSEndpoints" %g_BaseResourcesSection)
  return FTS