[midPoint-git] [Evolveum/midpoint] 0ef8b2: Make focus normalized data single-valued

mederly noreply at github.com
Mon Sep 12 23:17:52 CEST 2022


  Branch: refs/heads/tmp/db-schema-change-in-46rc1
  Home:   https://github.com/Evolveum/midpoint
  Commit: 0ef8b2879269d89addf2ee377f45ea3b91553d17
      https://github.com/Evolveum/midpoint/commit/0ef8b2879269d89addf2ee377f45ea3b91553d17
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-09-12 (Mon, 12 Sep 2022)

  Changed paths:
    M config/sql/native-new/postgres-new-upgrade.sql
    M config/sql/native-new/postgres-new.sql
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/constants/SchemaConstants.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/FocusTypeUtil.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-correlation-3.xsd
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/correlation/CorrelationCaseDescription.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/indexing/IndexedItemValueNormalizerImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/indexing/IndexingManager.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/TemplateMappingsEvaluation.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/ClockworkSource.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/mappings/IdentitySelectionMappingEvaluationRequest.java
    M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/correlator/correlation/TestCorrelators.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestIdentities.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestIndexing.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/focus/MFocus.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/focus/MFocusIdentity.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/focus/QFocus.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/focus/QFocusIdentity.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/focus/QFocusIdentityMapping.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/focus/QFocusMapping.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/object/QObjectMapping.java
    M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoIdentityDataTest.java
    M repo/repo-sqale/src/test/resources/identity/user-with-identity-data.xml
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/FocusIdentitiesAsserter.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/FocusIdentityAsserter.java
    A repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/FocusNormalizedDataAsserter.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/correlation/AbstractMediumIdMatchCorrelationTest.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/correlation/TestInternalCorrelationMedium.java

  Log Message:
  -----------
  Make focus normalized data single-valued

During a review of "smart correlation" feature we decided to make
normalized data container single-valued with regard to the focus object.

Therefore, it has been moved from identities/identity[]/items/normalized
to identities/normalizedData.

In database, it's been moved from m_focus_identity.itemsNormalized to
m_focus.normalizedData.

The database and model-level code has been updated accordingly.

Work in progress. To be reviewed.




More information about the midPoint-svn mailing list