ForwardDISET
- class DIRAC.RequestManagementSystem.Agent.RequestOperations.ForwardDISET.ForwardDISET(operation=None, csPath=None)
Bases:
OperationHandlerBase
- class ForwardDISET
functor forwarding DISET operations
There are fundamental differences in behavior between the forward diset for DIPS service and the one for DiracX: * dips call will be done with the server certificates and use the delegated DN field * diracx call will be done with the credentials setup by request tasks * dips call are just RPC call, they do not execute the logic of the client (that is anyway not relied upon for now) * diracx calls will effectively call the client entirely.
- __init__(operation=None, csPath=None)
c’tor
- createRMSRecord(status, nbObject)
This method is used to create a record given some parameters for sending it to the ES backend. It is used inside DMS/Agent/RequestOperations and this method is designed particularly for file type of objects.
- Parameters:
status – This can be one of these i.e. Attempted, Failed, or Successful.
nbObject – This is number of objects in question.
- Returns:
a dictionary.
- getProxyForLFN(lfn)
get proxy for lfn
- Parameters:
lfn (str) – LFN
- Returns:
S_ERROR or S_OK( “/path/to/proxy/file” )
- getWaitingFilesList()
prepare waiting files list, update Attempt, filter out MaxAttempt
- makeProperty(name, value, readOnly=False)
Add property :name: to class
This also creates a private :_name: attribute If you want to make read only property, set :readOnly: flag to True :warn: could raise AttributeError if :name: of :_name: is already defined as an attribute
- classmethod rssClient()
ResourceStatusClient getter
- rssSEStatus(se, status, retries=2)
check SE :se: for status :status:
- setOperation(operation)
operation and request setter
- property shifter