Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add on-demand fetching of items for mappings
This commit resolves MID-5772: When a mapping source is incomplete (e.g. $immediateRole/jpegPhoto) we load it on demand. Note that the solution provided here is not 100% finished, from both functional (MID-6001) and performance (MID-6002) point of view. This commit also fixes a fault in RepositoryCache where we considered non-user focus types (e.g. ServiceType, RoleType, OrgType) as loaded fully even with no RETRIEVE options specified. This is not true because they can contain jpegPhoto! Fixing this bug can result in some performance degradation because cache is avoided in more cases than before. See also MID-6003. Other minor changes: - SimpleTaskAdapter was renamed to NullTaskImpl and moved to task-api. - Minor refactorings were done.
- Loading branch information
Showing
23 changed files
with
664 additions
and
505 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
178 changes: 84 additions & 94 deletions
178
model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/MappingImpl.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.