[midPoint-git] [Evolveum/midpoint] 27de9e: Fix working with OperationResult in Handler

mederly noreply at github.com
Wed Mar 16 09:05:14 CET 2022


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 27de9e7a67c6bdb2d762e5322a7cf924fa6bf035
      https://github.com/Evolveum/midpoint/commit/27de9e7a67c6bdb2d762e5322a7cf924fa6bf035
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-03-16 (Wed, 16 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
    M provisioning/ucf-api/src/main/java/com/evolveum/midpoint/provisioning/ucf/api/UcfObjectFound.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.


  Commit: b5c78482c379f9c03a7c5c977ef01a47bae1c0a9
      https://github.com/Evolveum/midpoint/commit/b5c78482c379f9c03a7c5c977ef01a47bae1c0a9
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-03-16 (Wed, 16 Mar 2022)

  Changed paths:
    M infra/schema/src/test/java/com/evolveum/midpoint/schema/TestDeltaConverter.java

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/master'


Compare: https://github.com/Evolveum/midpoint/compare/cf21294cf9ef...b5c78482c379


More information about the midPoint-svn mailing list