LogPolicyResultAction

LogPolicyResultAction

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

Bases: BaseAction

Action that registers on the database a new entry per policy result in the list singlePolicyResults.

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

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