Task #2505
closed
Don't import synchronization token when importing a system (exclusion of fields)
Added by Alena Peterová about 4 years ago.
Updated about 4 years ago.
Description
Version 10.4.6
When importing a system, the synchronization token is imported together with the whole system.
This is dangerous - you can import older or newer token (e.g. from test do production) and you wouldn't notice it.
What is the goal here?
- First: A token will cleared after each import.
- Second: A token should be excluded from export/import (old value will be unchanged on the target IdM).
First is trivial, second is much more complex new feature.
- Status changed from New to In Progress
- Target version set to 10.6.0
Vít Švanda wrote:
What is the goal here?
- First: A token will cleared after every import.
- Second: A token should be excluded from export/import (old value will be unchanged on target IdM).
The second - the token should be excluded. The reason is that if we clear it or import a different token, then the next synchronization processes different records than what is expected.
I suspected that the second option would win :-) .
Sorry :-)
I think there are more fields that could be somehow excluded - e.g. creator, modifier etc. Because now you can see a lot of "changes" when you run import (or dry run), but a lot of them are not important.
I agree. Here is good to note, that content of DTO is not compare the during the import. So each existed DTO if is exactly same as target will be logged as updated. I will like to implement comparing on the field level, but this is different story (feature).
- Status changed from In Progress to Needs feedback
- Assignee changed from Vít Švanda to Radek Tomiška
- % Done changed from 0 to 90
- Subject changed from Don't import synchronization token when importing a system to Don't import synchronization token when importing a system (exclusion of fields)
- Status changed from Needs feedback to Resolved
- Assignee changed from Radek Tomiška to Vít Švanda
- % Done changed from 90 to 100
I did test and code review, it works and code looks nice, thx!
- Status changed from Resolved to Closed
Also available in: Atom
PDF