[midPoint-git] [Evolveum/midpoint] c92281: Persist schema match and wire it into mapping sugg...

Michal Zelenčík noreply at github.com
Mon Oct 20 21:17:54 CEST 2025


  Branch: refs/heads/10915
  Home:   https://github.com/Evolveum/midpoint
  Commit: c9228124affe929a2d112b0c5e1e135f6f704102
      https://github.com/Evolveum/midpoint/commit/c9228124affe929a2d112b0c5e1e135f6f704102
  Author: Michal Zelencik <michal.zelencik at evolveum.com>
  Date:   2025-10-20 (Mon, 20 Oct 2025)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/smart/PageSmartIntegrationDefiningType.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/constants/SchemaConstants.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ShadowObjectTypeStatisticsTypeUtil.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-smart-integration-3.xsd
    M infra/schema/src/main/resources/xml/ns/public/common/common-tasks-3.xsd
    M infra/schema/src/main/resources/xml/ns/public/model/extension-3.xsd
    M model/smart-api/src/main/java/com/evolveum/midpoint/smart/api/SmartIntegrationService.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/MappingsSuggestionOperation.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/SmartIntegrationServiceImpl.java
    A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/MappingsSchemaMatchingActivityRun.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/MappingsSuggestionActivityHandler.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/MappingsSuggestionRemoteServiceCallActivityRun.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/ObjectTypeRelatedSuggestionWorkDefinition.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/Util.java
    M model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/TestSmartIntegrationServiceImpl.java

  Log Message:
  -----------
  Persist schema match and wire it into mapping suggestions.

This change introduces value types for schema match and a new
model extension item to store it. It adds a schema constant,
implements computation of timestamped schema match pairs, and
persists them in a generic object annotated with resource OID,
kind, and intent, with helpers to retrieve the latest. An activity
step now computes or reuses a stored schema match and records its
reference in the parent work state; the remote suggestion step requires
and uses this reference. The mapping suggestion flow is refactored
to consume a precomputed schema match instead of computing it on the fly,
and tasks can optionally reference a specific stored schema match.

The UI and tests were updated accordingly. SmartIntegrationService.
suggestMappings now includes a schemaMatch parameter;
new service methods were added to compute schema match and to
fetch the latest stored match. XSD changes require regeneration and
a rebuild.



To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/midpoint/settings/notifications


More information about the midPoint-svn mailing list