computeResourceDataRules

fun computeResourceDataRules(ruleConfigs: List<RuleConfig>, repositoryResourceData: RepositoryResourceData?, params: Map<String, String>): Map<String, Any>

This function computes rules based on the provided facts RepositoryResourceData.resource, RepositoryResourceData.relatedResourcesMap and RepositoryResourceData.relatedResourcesCountMap. The function returns the outcome of the computation in a map; the name of the rule is used as the key.