LogStatusAction

LogStatusAction

class DIRAC.ResourceStatusSystem.PolicySystem.Actions.LogStatusAction.LogStatusAction(name, decisionParams, enforcementResult, singlePolicyResults, clients=None)

Bases: BaseAction

Action that registers on the database a new entry on the <element>Status table. It adds or modifies if the record exists on the table.

__init__(name, decisionParams, enforcementResult, singlePolicyResults, clients=None)
run()

Checks it has the parameters it needs and tries to addOrModify in the database.