InfoGetter

InfoGetter

Module used to map the policies with the CS.

DIRAC.ResourceStatusSystem.Utilities.InfoGetter.getPoliciesThatApply(decisionParams)

Method that sanitizes the input parameters and returns the policies that match them. Matches the input dictionary with the policies configuration in the CS. It returns a list of policy dictionaries that matched.

DIRAC.ResourceStatusSystem.Utilities.InfoGetter.getPolicyActionsThatApply(decisionParams, singlePolicyResults, policyCombinedResults)

Method that sanitizes the input parameters and returns the policies actions that match them. Matches the input dictionary with the policy actions configuration in the CS. It returns a list of policy actions names that matched.

DIRAC.ResourceStatusSystem.Utilities.InfoGetter.postProcessingPolicyList(policiesThatApply)

Put here any “hacky” post-processing