r***@gmail.com
2018-11-08 05:14:01 UTC
Hi All,
I am seeking out some guidance with respect to an issue I am currently facing with my RMI adapter development.
Problem Statement:
The return attribute from an RMI adapter to ISIM in modify operation are not getting updated in TIM.
Background:
For a business requirement, I am currently developing an RMI adapter using TIM 6.X and TDI 7.2 version. The target resource returns a hash value as a response to every add and modify operation. As a requirement, this hash values should be stored in TIM for recon purpose.
In the Add operation, after creating an account in the target system, I am able to send the hash value (which I got as a response from target) from TDI to TIM and TIM is able to add that attribute/value in the user account. However, in the modify mode when I send an updated hash value back to TIM those values are not getting added/modified/replaced.
The request from TIM to TDI looks something like this
S_WORKENTRY_ATTR
accountid:delete:1234567:S_OPCODE:DELETE, 112233445566778899:S_OPCODE:DELETE, 112233445566:S_OPCODE:ADD,
entryDN:unchanged:BIMPR12:S_OPCODE:UNDEFINED,
eruid:unchanged:BIMPR12:S_OPCODE:UNDEFINED,
ergroup:add:customer-dummy_w:S_OPCODE:ADD, public-dummy_w:S_OPCODE:ADD
In modify operation, I am not sending this hash value attribute to TDI as this hash value is generated by the target system on each operation (Add /Modify). Here the expectation is, on completion of Modify operation at the target, TDI will get an updated hash value which TDI should pass it to TIM to store the updated hash value in TIM.
While setting the updated values in the response to modify operation, I have tried setting the Attribute operation and value operation to all possible combination of Add, Replace, modify in TDI but none of them takes effect in TIM.
( ref: https://www.stephen-swann.co.uk/javadoc/tdi7.0/com/ibm/di/entry/Attribute.html#OPER
work.accountidhash.setOper(Packages.com.ibm.di.entry.Attribute.ATTRIBUTE_ADD);
work.accountidhash.setValueOper(i, Packages.com.ibm.di.entry.AttributeValue.AV_ADD);
)
I am seeking out some guidance with respect to an issue I am currently facing with my RMI adapter development.
Problem Statement:
The return attribute from an RMI adapter to ISIM in modify operation are not getting updated in TIM.
Background:
For a business requirement, I am currently developing an RMI adapter using TIM 6.X and TDI 7.2 version. The target resource returns a hash value as a response to every add and modify operation. As a requirement, this hash values should be stored in TIM for recon purpose.
In the Add operation, after creating an account in the target system, I am able to send the hash value (which I got as a response from target) from TDI to TIM and TIM is able to add that attribute/value in the user account. However, in the modify mode when I send an updated hash value back to TIM those values are not getting added/modified/replaced.
The request from TIM to TDI looks something like this
S_WORKENTRY_ATTR
accountid:delete:1234567:S_OPCODE:DELETE, 112233445566778899:S_OPCODE:DELETE, 112233445566:S_OPCODE:ADD,
entryDN:unchanged:BIMPR12:S_OPCODE:UNDEFINED,
eruid:unchanged:BIMPR12:S_OPCODE:UNDEFINED,
ergroup:add:customer-dummy_w:S_OPCODE:ADD, public-dummy_w:S_OPCODE:ADD
In modify operation, I am not sending this hash value attribute to TDI as this hash value is generated by the target system on each operation (Add /Modify). Here the expectation is, on completion of Modify operation at the target, TDI will get an updated hash value which TDI should pass it to TIM to store the updated hash value in TIM.
While setting the updated values in the response to modify operation, I have tried setting the Attribute operation and value operation to all possible combination of Add, Replace, modify in TDI but none of them takes effect in TIM.
( ref: https://www.stephen-swann.co.uk/javadoc/tdi7.0/com/ibm/di/entry/Attribute.html#OPER
work.accountidhash.setOper(Packages.com.ibm.di.entry.Attribute.ATTRIBUTE_ADD);
work.accountidhash.setValueOper(i, Packages.com.ibm.di.entry.AttributeValue.AV_ADD);
)