Skip to content

Commit

Permalink
Logging
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilbonte21 committed Jan 25, 2024
1 parent 5b4a2fc commit 38d3e0c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.stream.Collectors;


public class RangerBasePlugin {
Expand Down Expand Up @@ -306,6 +307,8 @@ public void setPolicies(ServicePolicies policies) {
List<RangerPolicy> abacPolicies = policies.getAbacPolicies().getPolicies();

PoliciesStore.getInstance().setResourcePolicies(resourcePolicies);
LOG.info("Setting tag policies : "+ tagPolicies.size());
LOG.info("Setting tag policies : "+ tagPolicies.stream().map(x -> x.getGuid()).collect(Collectors.toList()));
PoliciesStore.getInstance().setTagPolicies(tagPolicies);
PoliciesStore.getInstance().setAbacPolicies(abacPolicies);
}
Expand Down

0 comments on commit 38d3e0c

Please sign in to comment.