Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
    attributeAssign.getAttributeValueDelegate().assignValue(
        RuleUtils.ruleThenElName(),
        "${myRuleUtils.removeMemberFromGroupId(ownerGroupId, memberId)}");

sdf

Troubleshooting rules

To troubleshoot rules, set the logging debug level, and check the grouper logs.  Edit the log4j.properties:

Code Block

log4j.logger.edu.internet2.middleware.grouper.rules = DEBUG

Developers could also debug and set breakpoints in the RuleEngine class

To do:

  • document examples in GSH / API / shorthand for all use cases
  • add an API for easy rule assignment
  • rules on notification events
  • test the membership update, and other unit tests
  • add daemon for add groups with privs
  • gsh to run daemon part so that when rule is established, the daemon part syncs everything up