예제 #1
0
 def __init__(self, pandaconfig, server, resturl):
     TaskAction.__init__(self, pandaconfig, server, resturl)
     #each PanDAAction needs to know the PandaServer URLs to use
     self.pandaurls = self.server.get(self.resturl.replace(
         'workflowdb', 'info'),
                                      data={'subresource':
                                            'backendurls'})[0]['result'][0]
예제 #2
0
 def __init__(self,
              config,
              crabserver,
              procnum=-1,
              myproxylen=MINPROXYLENGTH):
     TaskAction.__init__(self, config, crabserver, procnum)
     self.myproxylen = myproxylen
예제 #3
0
 def __init__(self, *args, **kwargs):
     TaskAction.__init__(self, *args, **kwargs)
     with self.config.TaskWorker.envForCMSWEB:
         configDict = {
             "cacheduration": 1,
             "pycurl": True
         }  # cache duration is in hours
         self.resourceCatalog = CRIC(logger=self.logger,
                                     configDict=configDict)
예제 #4
0
 def __init__(self, *args, **kwargs):
     TaskAction.__init__(self, *args, **kwargs)
     self.sbj = SiteDBJSON({
         "key": self.config.TaskWorker.cmskey,
         "cert": self.config.TaskWorker.cmscert
     })
예제 #5
0
 def __init__(self, *args, **kwargs):
     self.task = None
     self.proxy = None
     self.workflow = None
     TaskAction.__init__(self, *args, **kwargs)
예제 #6
0
 def __init__(self, *args, **kwargs):
     TaskAction.__init__(self, *args, **kwargs)
     with self.config.TaskWorker.envForCMSWEB:
         configDict = {"cacheduration": 1, "pycurl": True} # cache duration is in hours
         self.resourceCatalog = CRIC(logger=self.logger, configDict=configDict)
예제 #7
0
 def __init__(self, pandaconfig, server, resturl):
     TaskAction.__init__(self, pandaconfig, server, resturl)
예제 #8
0
 def __init__(self, config, crabserver, procnum=-1, rucioClient=None):
     TaskAction.__init__(self, config, crabserver, procnum)
     self.rucioClient = rucioClient
     self.task = None
     self.proxy = None
     self.workflow = None
예제 #9
0
 def __init__(self, config, server, resturi, procnum=-1, myproxylen=MINPROXYLENGTH):
     TaskAction.__init__(self, config, server, resturi, procnum)
     self.myproxylen = myproxylen
예제 #10
0
 def __init__(self, *args, **kwargs):
     TaskAction.__init__(self, *args, **kwargs)
     with self.config.TaskWorker.envForCMSWEB:
         self.resourceCatalog = CRIC(logger=self.logger)
예제 #11
0
 def __init__(self, config, server, resturl, myproxylen=MINPROXYLENGTH):
     TaskAction.__init__(self, config, server, resturl)
     self.myproxylen = myproxylen
예제 #12
0
 def __init__(self, *args, **kwargs):
     TaskAction.__init__(self, *args, **kwargs)
     self.sbj = SiteDBJSON({"key":self.config.TaskWorker.cmskey,
                       "cert":self.config.TaskWorker.cmscert})
예제 #13
0
 def __init__(self, *args, **kwargs):
     self.task = None
     self.proxy = None
     self.workflow = None
     TaskAction.__init__(self, *args, **kwargs)
예제 #14
0
 def __init__(self, pandaconfig, server, resturl):
     TaskAction.__init__(self, pandaconfig, server, resturl)
예제 #15
0
 def __init__(self, pandaconfig, server, resturl):
     TaskAction.__init__(self, pandaconfig, server, resturl)
     #each PanDAAction needs to know the PandaServer URLs to use
     self.pandaurls = self.server.get(self.resturl.replace('workflowdb', 'info'), data={'subresource':'backendurls'})[0]['result'][0]