[midPoint-git] [Evolveum/midpoint] 3aa7e2: Smart Integration: Extract schema match related me...

Michal Zelenčík noreply at github.com
Thu Jan 15 15:39:00 CET 2026


  Branch: refs/heads/feature/schema-overfitting
  Home:   https://github.com/Evolveum/midpoint
  Commit: 3aa7e2f95c8238a3e9b6c31cf2918d3a3fb89bc1
      https://github.com/Evolveum/midpoint/commit/3aa7e2f95c8238a3e9b6c31cf2918d3a3fb89bc1
  Author: Michal Zelencik <michal.zelencik at evolveum.com>
  Date:   2026-01-15 (Thu, 15 Jan 2026)

  Changed paths:
    A 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/SmartIntegrationServiceImpl.java

  Log Message:
  -----------
  Smart Integration: Extract schema match related methods into separate file

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

# Conflicts:
#	model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/SmartIntegrationServiceImpl.java


  Commit: b7c1f7a581fe0b99c794e056febdf6ce1c399351
      https://github.com/Evolveum/midpoint/commit/b7c1f7a581fe0b99c794e056febdf6ce1c399351
  Author: Michal Zelencik <michal.zelencik at evolveum.com>
  Date:   2026-01-15 (Thu, 15 Jan 2026)

  Changed paths:
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/SchemaMatchService.java

  Log Message:
  -----------
  Smart Integration: Refactor computeSchemaMatch() method for better maintainability

- processAttributeMatch: Handles validation and processing of individual
  attribute matches, returning null for invalid matches instead of using
  continue statements
- createAttributeDefinition: Eliminates duplicate code for creating
  SiAttributeDefinitionType beans

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


  Commit: 89c128a8a9846e36b97d5c715d30a54d64f31ad5
      https://github.com/Evolveum/midpoint/commit/89c128a8a9846e36b97d5c715d30a54d64f31ad5
  Author: Michal Zelencik <michal.zelencik at evolveum.com>
  Date:   2026-01-15 (Thu, 15 Jan 2026)

  Changed paths:
    M infra/schema/src/main/resources/xml/ns/public/common/common-smart-integration-3.xsd
    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
    A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/knownschemas/KnownSchemaDetector.java
    A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/knownschemas/KnownSchemaMappingProvider.java
    A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/knownschemas/KnownSchemaService.java
    A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/knownschemas/KnownSchemaType.java
    A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/knownschemas/ad/UserActiveDirectoryMappingProvider.java
    A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/knownschemas/ad/UserActiveDirectorySchemaDetector.java
    A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/knownschemas/ldap/InetOrgPersonLdapMappingProvider.java
    A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/knownschemas/ldap/InetOrgPersonLdapSchemaDetector.java
    A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/knownschemas/scim/UserScimMappingProvider.java
    A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/knownschemas/scim/UserScimSchemaDetector.java

  Log Message:
  -----------
  Smart Integration: Add known schema detection framework with AD, LDAP, and SCIM support

Introduces a new framework for detecting and providing mappings for
known schema types. The framework consists of:

- KnownSchemaDetector interface for schema detection logic
- KnownSchemaMappingProvider interface for pre-configured mappings
- KnownSchemaService to manage detectors and providers
- KnownSchemaType enum defining supported schema types

Implementations include:
- ActiveDirectorySchemaDetector and ActiveDirectoryMappingProvider
- LdapSchemaDetector and LdapMappingProvider
- ScimSchemaDetector and ScimMappingProvider

SchemaMatchService and SchemaMatchingOperation updated to integrate
the known schema detection into the schema matching workflow.

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


  Commit: ff669ad07cecc6726f20cfc22a0dbfae9923d1b2
      https://github.com/Evolveum/midpoint/commit/ff669ad07cecc6726f20cfc22a0dbfae9923d1b2
  Author: Michal Zelencik <michal.zelencik at evolveum.com>
  Date:   2026-01-15 (Thu, 15 Jan 2026)

  Changed paths:
    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/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/SmartIntegrationServiceImpl.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/CorrelationSchemaMatchingActivityRun.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/MappingsSchemaMatchingActivityRun.java
    M model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/TestCorrelatorSuggestions.java
    M model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/TestMappingsSuggestionOperation.java
    M model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/TestSmartIntegrationServiceImpl.java

  Log Message:
  -----------
  Smart Integration: Add known schemas and AI merging in schema matching

Extend the schema matching capability to merge known schemas template with
AI predictions during the matching process. When AI provides duplicate we
prefer system suggestion.

Introduce 'useAiServide' input parameter to be able to turn off AI service
if user desires.


  Commit: d0f3221ba2d64d92680442bb94cb3f4353cfec1a
      https://github.com/Evolveum/midpoint/commit/d0f3221ba2d64d92680442bb94cb3f4353cfec1a
  Author: Michal Zelencik <michal.zelencik at evolveum.com>
  Date:   2026-01-15 (Thu, 15 Jan 2026)

  Changed paths:
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/MappingSuggestionOperationFactory.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/knownschemas/KnownSchemaMappingProvider.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/knownschemas/KnownSchemaService.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/knownschemas/ad/UserActiveDirectoryMappingProvider.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/knownschemas/ldap/InetOrgPersonLdapMappingProvider.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/knownschemas/scim/UserScimMappingProvider.java
    M model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/TestMappingsSuggestionOperation.java

  Log Message:
  -----------
  Smart Integration: Add mappings integration with known schema mapping providers

Refactored mapping providers to return AttributeMappingsSuggestionType instead
of raw mapping types, and added outbound mapping suggestions alongside existing
inbound mappings for AD, LDAP (inetOrgPerson), and SCIM schemas. Defined
schema matches are considered when generating mapping suggestions in addition
to defined mappings

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


Compare: https://github.com/Evolveum/midpoint/compare/3aa7e2f95c82%5E...d0f3221ba2d6

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