[midPoint-git] [Evolveum/midpoint] 9ee46e: Improve internal manual correlation

mederly noreply at github.com
Sat Feb 26 18:57:45 CET 2022


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 9ee46ed1cc0961c06c489ad4258462e08d003686
      https://github.com/Evolveum/midpoint/commit/9ee46ed1cc0961c06c489ad4258462e08d003686
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-02-26 (Sat, 26 Feb 2022)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ObjectTypeUtil.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/cases/ApprovalContextUtil.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/cases/CaseRelatedUtils.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/cases/CorrelationCaseUtil.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/correlator/CorrelationResult.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/correlator/Correlator.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/correlator/CorrelatorConfiguration.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/correlator/idmatch/IdMatchService.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/BaseCorrelator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/CorrelationCaseManager.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/composite/CompositeCorrelator.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/composite/CompositeCorrelatorFactory.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/expression/ExpressionCorrelator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/filter/FilterCorrelator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/idmatch/IdMatchCorrelator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/idmatch/IdMatchCorrelatorFactory.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/idmatch/IdMatchServiceImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/noop/NoOpCorrelator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/CorrelationProcessing.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/PreMappingsEvaluation.java
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/correlator/DummyCorrelator.java
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/idmatch/DummyIdMatchServiceImpl.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/CsvResource.java
    A repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/ResourceTester.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/TestTask.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/ShadowAsserter.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/UserAsserter.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/correlation/AbstractCorrelationTest.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/correlation/AbstractIdMatchTest.java
    A testing/story/src/test/java/com/evolveum/midpoint/testing/story/correlation/TestCorrelationSimple.java
    A testing/story/src/test/resources/correlation/simple/object-template-user.xml
    A testing/story/src/test/resources/correlation/simple/resource-hr.csv
    A testing/story/src/test/resources/correlation/simple/resource-hr.xml
    A testing/story/src/test/resources/correlation/simple/resource-target.csv
    A testing/story/src/test/resources/correlation/simple/resource-target.xml
    A testing/story/src/test/resources/correlation/simple/system-configuration.xml
    A testing/story/src/test/resources/correlation/simple/task-import-hr.xml
    A testing/story/src/test/resources/correlation/simple/task-import-target.xml

  Log Message:
  -----------
  Improve internal manual correlation

1. Introducing "composite" correlator that can invoke component
(child) correlators. They can have different levels of authority
(principal, authoritative, or non-authoritative). Their responses
are combined - according to those levels - and provided as an overall
correlation result.

Work in progress! Preliminary implementation.

2. Changed correlation case completion process. Now we complete the
correlation right at that time - recording timestamps, correlation
situation, and resulting owner. The next synchronization does not need
to invoke the correlator(s) anymore; it just takes this data and uses
it.

Unrelated changes:
- Slightly improved working with CsvResource (in tests).


  Commit: 8f41cfcc13939f76464df6a6034054b6556b388f
      https://github.com/Evolveum/midpoint/commit/8f41cfcc13939f76464df6a6034054b6556b388f
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-02-26 (Sat, 26 Feb 2022)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/constants/ExpressionConstants.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-notifications-3.xsd
    M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/notifiers/AbstractGeneralNotifier.java
    M model/notifications-impl/src/test/java/com/evolveum/midpoint/notifications/impl/NotificationsTest.java

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


Compare: https://github.com/Evolveum/midpoint/compare/a7b6e12a3396...8f41cfcc1393


More information about the midPoint-svn mailing list