Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-653

uPortal GroupStore - ws queries for channels

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • HEAD
    • 2.0.0
    • None
    • None

    Description

      Arnaud Deman:

      I am working on the uPortal/Grouper integration with the Internet2
      GroupStore.

      I have noticed there is unnecessary queries with ids of channels
      resulting in SubjectNotFoundException for the web service.

      May be that's specific to our context, but as we know that our Gropuer groups
      don't contain channel definitions, these operations could be avoided.

      In the method findContainingGroups(IGroupMember) in the class GrouperEntityGroupStore
      I have added this test based on the type of the underlying entity:

      public Iterator findContainingGroups(IGroupMember gm) throws GroupsException {

      final List<IEntityGroup> parents = new LinkedList<IEntityGroup>();

      if (gm.getEntityType() == IChannelDefinition.class)

      { return parents.iterator(); }

      (...)

      Does this sound reasonable?

      Attachments

        Activity

          People

            shilen.patel@at.internet2.edu Shilen Patel (duke.edu)
            shilen.patel@at.internet2.edu Shilen Patel (duke.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: