Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
None
Description
The current fail safe feature seems to apply on a per group basis. Add fail safe options for loader jobs that add a list of groups. Starting with this:
############################################
|
# Fail-safe 2 - Group list - managed groups
|
############################################
|
|
# For group lists, if groupLikeString is specified, you can use this fail-safe to prevent too
|
# many groups from having their memberships cleared out because they are managed by the loader
|
# (i.e. match the groupLikeString) but don't have memberships in the group query.
|
loader.failsafe.groupList.managedGroups.use = false
|
|
# Only applicable if the number of managed groups (i.e. match the groupLikeString) that have
|
# members in Grouper before the loader starts is at least this amount.
|
loader.failsafe.groupList.managedGroups.minManagedGroups = 200
|
|
# If the group list meets the criteria above and the percentage of groups that are managed by
|
# the loader (i.e. match the groupLikeString) that currently have members in Grouper but
|
# wouldn't after the job runs is greater than this percentage, then don't remove members,
|
# log it as an error and fail the job. An admin would need to change this param in the config,
|
# and run the job manually, then change this config back.
|
loader.failsafe.groupList.managedGroups.maxPercentRemove = 30
|