예제 #1
0
 def get(self):
     # This assumes both the DataCache and the parentage cache list
     # get periodically updated.
     # In case of problems, the WMStats cherrypy threads logs need to be checked
     if DataCache.isEmpty():
         raise DataCacheEmpty()
     else:
         return rows(DataCache.getParentDatasetList())
예제 #2
0
 def get(self):
     # This assumes DataCahe is periodically updated.
     # If data is not updated, need to check, dataCacheUpdate log
     if DataCache.isEmpty():
         raise DataCacheEmpty()
     else:
         return rows(
             DataCache.filterData(ACTIVE_STATUS_FILTER,
                                  ["OutputModulesLFNBases"]))
예제 #3
0
 def get(self):
     # This assumes DataCahe is periodically updated.
     # If data is not updated, need to check, dataCacheUpdate log
     if DataCache.isEmpty():
         raise DataCacheEmpty()
     else:
         return rows(
             DataCache.filterData(ACTIVE_NO_CLOSEOUT_FILTER, [
                 "InputDataset", "OutputDatasets", "MCPileup", "DataPileup"
             ]))