[midPoint-git] [Evolveum/midpoint] 941b6a: Mark AI-provided items as such

mederly noreply at github.com
Fri Aug 15 16:59:39 CEST 2025


  Branch: refs/heads/feature/smart-integration-service
  Home:   https://github.com/Evolveum/midpoint
  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/0c3b48844087...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