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

virgo47 noreply at github.com
Tue Sep 13 13:52:15 CEST 2022


  Branch: refs/heads/master
  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.


  Commit: 24eed53d0d1ed0ae950c1b79fac38b22396e750e
      https://github.com/Evolveum/midpoint/commit/24eed53d0d1ed0ae950c1b79fac38b22396e750e
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-09-13 (Tue, 13 Sep 2022)

  Changed paths:
    M infra/schema/src/test/java/com/evolveum/midpoint/schema/parser/TestParseUser.java
    M infra/schema/src/test/java/com/evolveum/midpoint/schema/parser/TestParseUserPolyString.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/mapping/SqaleTableMapping.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/accesscert/QAccessCertificationCampaignMapping.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/lookuptable/QLookupTableMapping.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/task/QTaskMapping.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/helpers/ObjectUpdater.java

  Log Message:
  -----------
  Generalize "itemsToSkip" from names to paths

This is to allow more complex "index-only" constructions in repo.

WIP. To review.


  Commit: e75dc84c9f63215d86a3ee24bf2a973edb7e603f
      https://github.com/Evolveum/midpoint/commit/e75dc84c9f63215d86a3ee24bf2a973edb7e603f
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2022-09-13 (Tue, 13 Sep 2022)

  Changed paths:
    M gui/admin-gui/src/frontend/scss/_tiles.scss
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/AbstractPopupTabPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/ObjectBrowserPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/PopupObjectListPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/ContainerableListPanel.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/input/Select2MultiChoicePanel.html
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/input/Select2MultiChoicePanel.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/input/SourceMappingProvider.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/search/AbstractSearchItemWrapper.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/tile/CatalogTile.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/tile/CatalogTilePanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/tile/CatalogTilePanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/factory/panel/ItemPanelContext.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/factory/panel/SourceOrTargetOfMappingPanelFactory.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/component/GenericSingleContainerPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/ResourceDetailsModel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/objectType/attributeMapping/AttributeMappingsTable.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/objectType/attributeMapping/OutboundAttributeMappingsTable.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/systemconfiguration/component/MailServerPanel.html
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/systemconfiguration/component/MailServerPanel.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/systemconfiguration/component/MailServerPanelFactory.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/systemconfiguration/component/MailTransportContentPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/systemconfiguration/component/SmsTransportContentPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/requestAccess/MenuItemLinkPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/requestAccess/RequestAccess.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/requestAccess/RoleCatalogPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/wrapper/ResourceAttributeMappingWrapper.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/wrapper/ResourceWrapper.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/util/GuiDisplayNameUtil.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/search/ReferenceValueSearchPanel.html

  Log Message:
  -----------
  Merge branch 'master' into tmp/db-schema-change-in-46rc1


  Commit: 49ae9d898b920ff232c9bfcbd9e3e80874d12725
      https://github.com/Evolveum/midpoint/commit/49ae9d898b920ff232c9bfcbd9e3e80874d12725
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2022-09-13 (Tue, 13 Sep 2022)

  Changed paths:
    M config/sql/native-new/postgres-new-upgrade.sql
    M config/sql/native-new/postgres-new.sql

  Log Message:
  -----------
  Native repo SQL cleanup for correlation, change #9 was modified.

Change #9 in upgrade script was not published yet, so we could "rebase"
the changes.


  Commit: 11205cfd493591af53bec2e7fbffe2761279480f
      https://github.com/Evolveum/midpoint/commit/11205cfd493591af53bec2e7fbffe2761279480f
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2022-09-13 (Tue, 13 Sep 2022)

  Changed paths:
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/focus/QFocusMapping.java
    M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoIdentityDataTest.java

  Log Message:
  -----------
  Correlation fixes in native repo focus mapping and related tests

Focus/identities are not skipped as a while anymore, instead, we skip
PATH_FOCUS_IDENTITY and PATH_FOCUS_NORMALIZED_DATA (SchemaConstants).


  Commit: e44004ccf937db9869d2a1ff7c5c6d08fcc4a759
      https://github.com/Evolveum/midpoint/commit/e44004ccf937db9869d2a1ff7c5c6d08fcc4a759
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2022-09-13 (Tue, 13 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 infra/schema/src/test/java/com/evolveum/midpoint/schema/parser/TestParseUser.java
    M infra/schema/src/test/java/com/evolveum/midpoint/schema/parser/TestParseUserPolyString.java
    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/mapping/SqaleTableMapping.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/accesscert/QAccessCertificationCampaignMapping.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/lookuptable/QLookupTableMapping.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/object/QObjectMapping.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/task/QTaskMapping.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-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/helpers/ObjectUpdater.java
    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:
  -----------
  Merge branch 'tmp/db-schema-change-in-46rc1'


Compare: https://github.com/Evolveum/midpoint/compare/e9520fc724ee...e44004ccf937


More information about the midPoint-svn mailing list