[midPoint-git] [Evolveum/midpoint] 743c2c: Smart Integration: Introduce schema match preload ...

Michal Zelenčík noreply at github.com
Mon Apr 13 15:02:31 CEST 2026


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 743c2c63fde77a38861cf48f40a10f8de95440f5
      https://github.com/Evolveum/midpoint/commit/743c2c63fde77a38861cf48f40a10f8de95440f5
  Author: Michal Zelencik <michal.zelencik at evolveum.com>
  Date:   2026-04-13 (Mon, 13 Apr 2026)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/work/WorkDefinitionUtil.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-tasks-3.xsd
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/OperationContext.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/SchemaMatchService.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/SchemaMatchingOperation.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/SmartIntegrationBeans.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/SmartIntegrationServiceImpl.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/objectTypeSuggestion/ObjectTypesSuggestionFocusTypesActivityRun.java
    A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/objectTypeSuggestion/SchemaMatchPreloadActivityHandler.java
    A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/objectTypeSuggestion/SchemaMatchPreloadActivityRun.java
    A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/objectTypeSuggestion/SchemaMatchPreloadWorkDefinition.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/wellknownschemas/WellKnownSchemaDetector.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/wellknownschemas/WellKnownSchemaService.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/wellknownschemas/ad/GroupActiveDirectorySchemaDetector.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/wellknownschemas/ad/OrganizationalUnitActiveDirectorySchemaDetector.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/wellknownschemas/ad/UserActiveDirectorySchemaDetector.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/wellknownschemas/ldap/GroupOfNamesLdapSchemaDetector.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/wellknownschemas/ldap/InetOrgPersonLdapSchemaDetector.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/wellknownschemas/ldap/OrganizationalUnitLdapSchemaDetector.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/wellknownschemas/scim/UserScimSchemaDetector.java

  Log Message:
  -----------
  Smart Integration: Introduce schema match preload background activity

After object type suggestions complete (with focus types assigned), a new
SchemaMatchPreload background task is automatically submitted. It reads the
suggested object types from the source task's work state, groups them by focus
type, and pre-computes schema match results at the object class level for each
unique focus type, caching them via SchemaMatchService.saveSchemaMatch.

- Add SchemaMatchPreloadWorkDefinitionType to common-tasks-3.xsd with
  resourceRef, objectclass, permissions, and sourceTaskRef fields
- Add SchemaMatchPreloadWorkDefinition/ActivityHandler/ActivityRun
- Add SchemaMatchService.computeSchemaMatchByObjectClass: computes schema match
  using an explicit focus type name, without requiring a configured object type
  (kind/intent) on the resource
- Refactor WellKnownSchemaDetector to accept ResourceObjectClassDefinition
  directly instead of ResourceObjectTypeDefinition, enabling detection before
  object types are saved; update all detector implementations accordingly
- Add SmartIntegrationServiceImpl.submitSchemaMatchPreload and wire it into
  ObjectTypesSuggestionFocusTypesActivityRun after focus types are written

Signed-off-by: Michal Zelencik <michal.zelencik at evolveum.com>



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