Project

General

Profile

Actions

Defect #1155

closed

Acc: Update system entity wish attribute, after provisioning is executed

Added by Radek Tomiška over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Provisioning
Target version:
Start date:
06/27/2018
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

Description

System entity wish attribute is not updated, when provisioning operation is retry from queue and the same system entity exists on target system - wish attribute stays set to true - should be false => CzechIdM knows about system entity on target system, after provisioning is executed.

Actions #1

Updated by Radek Tomiška over 6 years ago

  • Status changed from New to Needs feedback
  • Assignee changed from Radek Tomiška to Ondřej Kopr
  • % Done changed from 0 to 90

I fixed updating wish attribute, after provisioning operation is executed from queue (if system was disabled and system entity previously exists on target system).

Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/f9b6603700c97e55e64b3c0d58e4034004275a96

I added some help for wish attribute:
https://github.com/bcvsolutions/CzechIdMng/commit/e17033a4bce2b2c4d77f81500f34c4fd9584429d

Could you please do a feedback?

Actions #2

Updated by Radek Tomiška over 6 years ago

  • Assignee changed from Ondřej Kopr to Vít Švanda

I created new integration to cover this feature, could you help me pls with correct setting for 'state' attribute mapping?

https://github.com/bcvsolutions/CzechIdMng/commit/e792df24ab350fa7b82821c094fe98d1c265d333#diff-bee8234e9bb929d1576af29588dcd32cR1335

State attribute is changed even he shouldn't be.

Actions #3

Updated by Vít Švanda over 6 years ago

  • Status changed from Needs feedback to Closed
  • Assignee changed from Vít Švanda to Radek Tomiška
  • % Done changed from 90 to 100

I did review and test. Works fine. Tanks for that nice fix and test.
Problem in your test, was in the mapping, where was used transformation "from system", that reverse value. We need only change data type from Boolean to String. I changed it and now test works correctly.

Actions

Also available in: Atom PDF