Grouper Users - Open Discussion List

Text archives Help


[grouper-users] PSP ChangeLogDataConnector inconsistency


Chronological Thread 
  • From: Paul Engle < >
  • To: " " < >
  • Subject: [grouper-users] PSP ChangeLogDataConnector inconsistency
  • Date: Fri, 28 Feb 2014 14:51:56 -0600


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


  • [grouper-users] PSP ChangeLogDataConnector inconsistency, Paul Engle, 02/28/2014

Archive powered by MHonArc 2.6.16.

Top of page