Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] PSP ChangeLogDataConnector inconsistency

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] PSP ChangeLogDataConnector inconsistency


Chronological Thread 
  • From: David Langenberg <>
  • To: Paul Engle <>
  • Cc: "" <>
  • Subject: Re: [grouper-users] PSP ChangeLogDataConnector inconsistency
  • Date: Thu, 1 May 2014 17:57:33 -0600

Sorry, this seems to have dropped somehow, I think you've hit a bug which will be solved by me getting GRP-951 finished as the delete is on a Membership object & not a member object.

Dave


On Fri, Feb 28, 2014 at 1:51 PM, Paul Engle <> wrote:

All,

I'm trying to get the change log to provision attributes assigned to
members, and I'm seeing inconsistent behavior. Here is the data
connector I have defined:

  <resolver:DataConnector
        id="MemberAttributeAssignValueChangeLogDataConnector"
        xsi:type="psp-grouper-changelog:ChangeLogDataConnector">
        <grouper:Filter xsi:type="grouper:AND">
                <grouper:Filter
                        xsi:type="psp-grouper-changelog:ChangeLogEntry"
                        category="attributeAssignValue" />
                <grouper:Filter
                        xsi:type="psp-grouper-changelog:ChangeLogAttributeAssignType"
                        attributeAssignType="member" />
        </grouper:Filter>
  </resolver:DataConnector>


(modeled after the similar data connectors for group & stem attributes
in the grouper-to-openldap example files)


When I add an attribute, it seems to pick up the change log entry just fine:

2014-02-28 13:36:00,483: [DefaultQuartzScheduler_Worker-7] DEBUG
ChangeLogDataConnector.resolve(108) - ChangeLog data connector
'MemberAttributeAssi
gnValueChangeLogDataConnector' - Change log entry
ChangeLogEntry[timestamp=2014-02-28
13:35:39.774,sequence=10889568,category=attributeAssignValue,a
ctionname=addAttributeAssignValue,contextId=95aa064db3364259957aa17932623b86]
returning {id=id, attributeAssignId=attributeAssignId, attributeDefNam
eId=attributeDefNameId, attributeDefNameName=attributeDefNameName,
value=value, valueType=valueType, actionName=actionName,
changeLogCategory=change
LogCategory, sequenceNumber=sequenceNumber, createdOn=createdOn,
etc:attribute:vpn:name=etc:attribute:vpn:name,
attributeAssignType=attributeAssignT
ype, memberSubjectId=memberSubjectId}


However, when the attribute value is deleted, I get:

2014-02-28 13:48:00,149: [DefaultQuartzScheduler_Worker-5] DEBUG
ChangeLogDataConnector.resolve(98) - ChangeLog data connector
'MemberAttributeAssignValueChangeLogDataConnector' - Ignoring changelog
'ChangeLogEntry[timestamp=2014-02-28
13:46:56.708,sequence=10889569,category=membership,actionname=deleteMembership,contextId=2a978208312e4a96aa7a4840658b7402]'


Have I hit a bug? On a lark, I added the etc:attribute:mailLocalAddress
attribute to my test grouper instance to see if the example code for
group attributes works. It seems to exhibit the same behavior. Adding
the attribute value works, but deleting it doesn't.

  -paul


--
Paul D. Engle              |  Rice University
Sr. Systems Administrator  |  Information Technology - MS119
(713)348-4702              |  PO Box 1892
           |  Houston, TX 77252-1892



--
David Langenberg
Identity & Access Management
The University of Chicago


  • Re: [grouper-users] PSP ChangeLogDataConnector inconsistency, David Langenberg, 05/01/2014

Archive powered by MHonArc 2.6.16.

Top of Page