[midPoint-git] [Evolveum/midpoint] 2ae257: Replace ObjectTypeSuggestionType w/ regular def

mederly noreply at github.com
Fri Aug 15 17:00:41 CEST 2025


  Branch: refs/heads/midpilot
  Home:   https://github.com/Evolveum/midpoint
  Commit: 2ae257ca3a3faf8b6b87375947e56b2cce0beafb
      https://github.com/Evolveum/midpoint/commit/2ae257ca3a3faf8b6b87375947e56b2cce0beafb
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-08-15 (Fri, 15 Aug 2025)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/smart/PageSmartIntegrationTypesSuggestion.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-smart-integration-3.xsd
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/smart/TestSmartIntegrationServiceStory.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/ServiceAdapter.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/StatusInfoImpl.java
    M model/smart-impl/src/test/resources/smart/test-110-expected-object-types.xml
    M model/smart-impl/src/test/resources/smart/test-140-expected-object-types.xml

  Log Message:
  -----------
  Replace ObjectTypeSuggestionType w/ regular def

Instead of returning (artificial) ObjectTypeSuggestionType
from "suggest object types" smart integration method, we
now return the standard ResourceObjectTypeDefinitionType.

It is directly embeddable into the configuration being
created.


  Commit: f975feed3318720b2b757c373074a4c0b3e1c17a
      https://github.com/Evolveum/midpoint/commit/f975feed3318720b2b757c373074a4c0b3e1c17a
  Author: Michal Zelencik <michal.zelencik at evolveum.com>
  Date:   2025-08-15 (Fri, 15 Aug 2025)

  Changed paths:
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/StatisticsComputer.java
    M model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/TestSmartIntegrationServiceImpl.java

  Log Message:
  -----------
  Update affix countns.

We want vocabulary approach and also delimiter based approach.

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


  Commit: 0c3b48844087ab9f20cdfbe60cb8d6a5d38fb830
      https://github.com/Evolveum/midpoint/commit/0c3b48844087ab9f20cdfbe60cb8d6a5d38fb830
  Author: Michal Zelencik <michal.zelencik at evolveum.com>
  Date:   2025-08-15 (Fri, 15 Aug 2025)

  Changed paths:
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/StatisticsComputer.java
    M model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/TestSmartIntegrationServiceImpl.java

  Log Message:
  -----------
  Change LDAP dn attribute handling in statistics computer.

Insted of parsing separate OU fields, we parse whole suffix starting with
first ou occurence.

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


  Commit: 941b6aecc37e4b3b5d521084fff5611cc82b5355
      https://github.com/Evolveum/midpoint/commit/941b6aecc37e4b3b5d521084fff5611cc82b5355
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-08-15 (Fri, 15 Aug 2025)

  Changed paths:
    A config/initial-objects/service/602-origin-artificial-intelligence.xml
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/smart/PageSmartIntegrationTypesSuggestion.java
    A infra/schema/src/main/java/com/evolveum/midpoint/schema/util/AiUtil.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ValueMetadataTypeUtil.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
    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 model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/AbstractInitializedModelIntegrationTest.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/smart/TestSmartIntegrationService.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/smart/TestSmartIntegrationServiceStory.java
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/CommonInitialObjects.java
    M model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/SmartIntegrationRestController.java
    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/ServiceAdapter.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/TypeOperation.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/FocusTypeSuggestionActivityHandler.java
    M model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/TestSmartIntegrationServiceImpl.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java
    A repo/system-init/src/main/resources/initial-objects/service/602-origin-artificial-intelligence.xml

  Log Message:
  -----------
  Mark AI-provided items as such

This commit introduces the concept of "Provided by AI" mark
on individual prism values. Currently, it is implemented by
having a provenance with

    originRef = origin-artificial-intelligence OID

where that object is a new initial object (ServiceType).

The code for manipulating that metadata is in AiUtil class.

Current support is for the data returned by
SmartIntegrationService (all 4 methods).

Related change: For simplicity, the returned value of
suggestFocusType method was changed from QName to
FocusTypeSuggestionType (to handle metadata even on
real values, without the need to use PPVs).


  Commit: 4bf981b639816d59d58b6cc44b40a36cae2dc855
      https://github.com/Evolveum/midpoint/commit/4bf981b639816d59d58b6cc44b40a36cae2dc855
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-08-15 (Fri, 15 Aug 2025)

  Changed paths:
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/StatisticsComputer.java
    M model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/TestSmartIntegrationServiceImpl.java

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/feature/smart-integration-service' into feature/smart-integration-service


Compare: https://github.com/Evolveum/midpoint/compare/0b3361f51249...4bf981b63981

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