[midPoint-git] [Evolveum/midpoint] d126a3: Fix working with OperationResult in Handler
mederly
noreply at github.com
Thu Mar 17 13:18:28 CET 2022
Branch: refs/heads/support-4.4
Home: https://github.com/Evolveum/midpoint
Commit: d126a3f0c23b117e455904d4368c7b3a978f6418
https://github.com/Evolveum/midpoint/commit/d126a3f0c23b117e455904d4368c7b3a978f6418
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2022-03-17 (Thu, 17 Mar 2022)
Changed paths:
A infra/schema/src/main/java/com/evolveum/midpoint/schema/ObjectHandler.java
M model/report-impl/src/main/java/com/evolveum/midpoint/report/impl/activity/ClassicCollectionReportExportActivityRun.java
M model/report-impl/src/main/java/com/evolveum/midpoint/report/impl/activity/ClassicDashboardReportExportActivityRun.java
M model/report-impl/src/main/java/com/evolveum/midpoint/report/impl/activity/ExportActivitySupport.java
M model/report-impl/src/main/java/com/evolveum/midpoint/report/impl/activity/ReportDataCreationActivityRun.java
M model/report-impl/src/main/java/com/evolveum/midpoint/report/impl/controller/ContainerableReportDataSource.java
M model/report-impl/src/main/java/com/evolveum/midpoint/report/impl/controller/ReportDataSource.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resourceobjects/EntitlementConverter.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resourceobjects/ResourceObjectConverter.java
M provisioning/ucf-api/src/main/java/com/evolveum/midpoint/provisioning/ucf/api/ConnectorInstance.java
R provisioning/ucf-api/src/main/java/com/evolveum/midpoint/provisioning/ucf/api/ObjectHandler.java
A provisioning/ucf-api/src/main/java/com/evolveum/midpoint/provisioning/ucf/api/UcfObjectHandler.java
M provisioning/ucf-api/src/main/java/com/evolveum/midpoint/provisioning/ucf/api/connectors/AbstractManualConnectorInstance.java
M provisioning/ucf-impl-builtin/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/builtin/async/provisioning/AsyncProvisioningConnectorInstance.java
M provisioning/ucf-impl-builtin/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/builtin/async/update/AsyncUpdateConnectorInstance.java
M provisioning/ucf-impl-connid/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/ConnectorInstanceConnIdImpl.java
M provisioning/ucf-impl-connid/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/SearchExecutor.java
M provisioning/ucf-impl-connid/src/test/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/TestUcfDummy.java
M provisioning/ucf-impl-connid/src/test/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/TestUcfDummyMulti.java
M provisioning/ucf-impl-connid/src/test/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/TestUcfOpenDj.java
Log Message:
-----------
Fix working with OperationResult in Handler
OperationResult should be filled-in according to the code call
structure, i.e. called code should use the result of the parent.
The use of Handler interface, passing values to be processed but without
the corresponding OperationResult, is not correct in this respect.
So here are the following changes:
1. Introduced ObjectHandler interface that contains not only the value
but also the OperationResult instance. [TODO: better name?]
2. Used ObjectHandler for iterative processing in reports, instead of
Handler.
3. Renamed ObjectHandler in UCF API to UcfObjectHandler, to avoid naming
collisions.
Related to MID-7737.
(cherry picked from commit 27de9e7a67c6bdb2d762e5322a7cf924fa6bf035)
More information about the midPoint-svn
mailing list