grouper-users - [grouper-users] RE: Subject API "lifecycle"/"interruption of service" issue....
Subject: Grouper Users - Open Discussion List
List archive
[grouper-users] RE: Subject API "lifecycle"/"interruption of service" issue....
Chronological Thread
- From: "Hyzer, Chris" <>
- To: "Black, Carey M." <>, "" <>
- Subject: [grouper-users] RE: Subject API "lifecycle"/"interruption of service" issue....
- Date: Fri, 14 Apr 2017 20:11:07 +0000
- Accept-language: en-US
- Authentication-results: osu.edu; dkim=none (message not signed) header.d=none;osu.edu; dmarc=none action=none header.from=isc.upenn.edu;
- Ironport-phdr: 9a23:5R0qMxD3M1SqiX2OSRm1UyQJP3N1i/DPJgcQr6AfoPdwSPXyr8bcNUDSrc9gkEXOFd2CrakV1ayM6+u5BTNIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSijewZbJ/IA+ooQnNucUanIRvJ6QswRbVv3VEfPhby3l1LlyJhRb84cmw/J9n8ytOvv8q6tBNX6bncakmVLJUFDspPXw7683trhnDUBCA5mAAXWUMkxpHGBbK4RfnVZrsqCT6t+592C6HPc3qSL0/RDqv47t3RBLulSwKLCAy/n3JhcNsjaJbuBOhqAJ5w47Ie4GeKf5ycrrAcd8GWWZNW8BcXDFDDIyhdYsCF+oPM/hFoYnhqVUArhW+CgutBOzzxTBFnWX50bEm3+k7DQ3KwBIsEtQTu3rUttX1M6ISXPi7wKfKzTTCbu1Z2S3l5IPVbB0hoeuMXbNrccbf1EIiEAbFgUmQqY3lPjKayP4NvnOa7+p7Se2jkXMnqxlvrTipwMcgkJfGiZ8Iyl3d8yhy3Yg7Jdq9SEFhYN6kFoNdtyOHOIRtXswvR2VltDw7yrIboZK7fjUFx487yBPbb/GLaY6I7QjmVOmPJzpzmXFreKqnihqs7ESty/fwW8eq3FpQsyZIkcXAumoN2hDN8sSLV/Vw8lu71TuLygzf8P9ILV0wmKbBNpIswL89m5wOukrZBCD2gl/5jKqOe0Uk5Oeo7+Pnb63+qJKAMIF4lg/zPr0zl8O9H+g0Kw8OUHOF9uim073j4FH5T65Njv0rlKnWrYrWJdwBpq6+Hw9azJos6wq+Dzeh1tQUh34HLE9ZeBKDiIjpPFLOLOrkAve4hlSgiDZrx/bYMb39GpjBMGXPnbb7cbtz9UJQ0hc/wNND655OCrwNPur/Wkrru9zZCh85PRa0w+HiCNhl04MRRWKPA6+YMazMq1+F/eMvI/KQa4MPpTb9M+Yq5/jojXMjh1ASYLSp0YMNaH+kBvRmP1mZYX30j9cOC2cKuRc+TPT0h12YSDJTem2yULwm5jEgE4+mCYbDRpuxgLyawiu3BJxWZmZaCl+SC3focZuLW+sSZC6IPMBujyEEBvCdTNpr/xWnvwy+g5FuNOfFsghe/9q33tx87O6VzEtp3TtvEoKQ33zbCyk+kXkPWic7xuViukFn0X+C17R1mfpVCYYV6v9UGE9uOoTb0vR3EZXvQQ/bZf+ITkqrWNOrHWt3Q94slYwgeUF4Tp+CnwLOxW7iKL8PlqfBTMgx+aLNzXXrD8dmwDDbzKQniR8rTtYZZj7uvbJ26wWGX92BqE6ejav/MP1EhCM=
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Can you add a null source for that one? Here is an example: ######################################### ## Configuration for source id: jdbc99 ## Source configName: jdbc99 ######################################### subjectApi.source.jdbc99.id = jdbc99 # this is a friendly name for the source subjectApi.source.jdbc99.name = jdbc99 is some legacy source that isnt used anymore # the adapter class implements the interface: edu.internet2.middleware.subject.Source # adapter class must extend: edu.internet2.middleware.subject.provider.BaseSourceAdapter # edu.internet2.middleware.grouper.subj.GrouperJdbcSourceAdapter2 : if doing JDBC this should be used if possible. All subject data in one table/view. # edu.internet2.middleware.grouper.subj.GrouperJdbcSourceAdapter : oldest JDBC source. Put freeform queries in here # edu.internet2.middleware.grouper.subj.GrouperJndiSourceAdapter : used for LDAP # edu.internet2.middleware.subject.provider.NullSourceAdapter : returns not found. You can use if you phase out a subject source subjectApi.source.jdbc99.adapterClass = edu.internet2.middleware.subject.provider.NullSourceAdapter # the 1st sort attribute for lists on screen that are derived from member table (e.g. search for member in group) # you can have up to 5 sort attributes
subjectApi.source.jdbc99.param.sortAttribute0.value = WHATEVER # the 1st search attribute for lists on screen that are derived from member table (e.g. search for member in group) # you can have up to 5 search attributes
subjectApi.source.jdbc99.param.searchAttribute0.value = WHATEVER From: [mailto:]
On Behalf Of Black, Carey M. Any input on this? -- Carey Matthew From: []
On Behalf Of Black, Carey M. All, I have stumbled into a behavior of Grouper that I think should be improved. For a several reasons. However, maybe I am not seeing some other designed way to deal with this condition. The setup: I added a new Subject API to grouper. However, I knew it was “temporary” as I was just “trying it out”. ( Let’s call it “TEMP”.) I then removed the definition of the Subject API and now the Grouper UI is unable to display the memberships of any group that has any member from that TEMP Subject API. Error message when viewing a group in the New UI: “ Error: Cant find source with id: 'TEMP', Possible source id's: 'g:gsa', 'grouperEntities', 'grouperExternal', 'jdbc', 'g:isa', , Problem
calling method viewGroup on edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2Group “ ( And no members of the group are displayed at all. ) While I doubt it would be common to add or remove Subject APIs. I am sure this kind of event is part of “the long lifecycle” of using Grouper. From a conceptual point, I think it would be useful for Grouper to tolerate the “failed to find” and “failed to get data” from a Subject API to allow for a transition model between Subject API sources. Basically keep the “old references”
while layering in the new (replacement) references to the new Subject API. If both Subject API’s (old and new) are available, then I think life is currently good. It is when the “old” is removed that it appears to impact, at least, the functionality of the
UI. Is there a way to tell grouper to “Just use the data you have” when the subject API is undefined? ( removed subject api definition) Is there a way to tell grouper to “Just use the data you have” when the subject API fails to return data? ( intermittent incident/outage of Subject System ) Is there a way to give grouper a “dummy subject API configuration” that would just return the data that Grouper already has for the subject API? Is there some documentation for “How to remove a Subject API” from Grouper that I did not yet find and follow? Are there other ideas/details about adding/removing Subject API’s that I should be aware of? Thanks in advance. -- Carey Matthew |
- [grouper-users] Subject API "lifecycle"/"interruption of service" issue...., Black, Carey M., 04/11/2017
- [grouper-users] RE: Subject API "lifecycle"/"interruption of service" issue...., Black, Carey M., 04/13/2017
- [grouper-users] RE: Subject API "lifecycle"/"interruption of service" issue...., Hyzer, Chris, 04/14/2017
- [grouper-users] RE: Subject API "lifecycle"/"interruption of service" issue...., Black, Carey M., 04/19/2017
- [grouper-users] RE: Subject API "lifecycle"/"interruption of service" issue...., Hyzer, Chris, 04/14/2017
- [grouper-users] RE: Subject API "lifecycle"/"interruption of service" issue...., Black, Carey M., 04/13/2017
Archive powered by MHonArc 2.6.19.