[midPoint-git] [Evolveum/midpoint] 3c10d8: Add skeleton of SmartIntegrationService

mederly noreply at github.com
Tue Jul 15 10:21:00 CEST 2025


  Branch: refs/heads/midpilot
  Home:   https://github.com/Evolveum/midpoint
  Commit: 3c10d81f7c6fffecde6a35381537c89563efb3f5
      https://github.com/Evolveum/midpoint/commit/3c10d81f7c6fffecde6a35381537c89563efb3f5
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-07-09 (Wed, 09 Jul 2025)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/boot/MidPointSpringApplication.java
    M gui/admin-gui/src/test/java/com/evolveum/midpoint/gui/test/TestMidPointSpringApplication.java
    M model/model-intest/src/test/resources/ctx-model-intest-test-main.xml
    M model/pom.xml
    A model/smart-api/pom.xml
    A model/smart-api/src/main/java/com/evolveum/midpoint/smart/api/DelineationSuggestions.java
    A model/smart-api/src/main/java/com/evolveum/midpoint/smart/api/FocusTypeSuggestions.java
    A model/smart-api/src/main/java/com/evolveum/midpoint/smart/api/SmartIntegrationService.java
    A model/smart-impl/pom.xml
    A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/SmartIntegrationServiceImpl.java
    A model/smart-impl/src/main/resources/ctx-smart-integration.xml
    A model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/TestSmartIntegrationServiceImpl.java
    A model/smart-impl/src/test/resources/ctx-smart-integration-test-main.xml
    A model/smart-impl/src/test/resources/logback-test.xml
    A model/smart-impl/testng-integration.xml
    A model/smart-impl/testng-unit.xml

  Log Message:
  -----------
  Add skeleton of SmartIntegrationService

Added new modules (smart-api, smart-impl) that will host
the smart integration layer.


  Commit: 7aeaccb0335541e9302d6315fee4372730c812ac
      https://github.com/Evolveum/midpoint/commit/7aeaccb0335541e9302d6315fee4372730c812ac
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-07-09 (Wed, 09 Jul 2025)

  Changed paths:
    A model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/smart/DummyBasicScenario.java

  Log Message:
  -----------
  Add skeleton of DummyBasicScenario

This is for smart integration service integration tests.


  Commit: ef5d28c2d5f3acda8210188f9d02865ad9a4162c
      https://github.com/Evolveum/midpoint/commit/ef5d28c2d5f3acda8210188f9d02865ad9a4162c
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-07-09 (Wed, 09 Jul 2025)

  Changed paths:
    M gui/admin-gui/pom.xml
    M infra/schema-pure-jaxb/src/compile/resources/catalog.xml
    M infra/schema/src/main/resources/META-INF/schemas-in-this-module.xml
    M infra/schema/src/main/resources/xml/ns/public/common/common-3.xsd
    M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
    A infra/schema/src/main/resources/xml/ns/public/common/common-smart-integration-3.xsd
    A model/model-api/src/main/java/com/evolveum/midpoint/model/api/util/SmartIntegrationConstants.java
    M model/rest-impl/pom.xml
    A model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/SmartIntegrationRestController.java
    R model/smart-api/src/main/java/com/evolveum/midpoint/smart/api/DelineationSuggestions.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/SmartIntegrationServiceImpl.java

  Log Message:
  -----------
  Add SmartIntegrationRestController

Currently, just two URLs:

- /rpc/suggestDelineations
- /rpc/suggestFocusType

Also, created common-smart-integration-3.xsd for schema
elements related to the smart integration / midPilot project.


  Commit: dba616854fd819f399b5eb4375975166b932541d
      https://github.com/Evolveum/midpoint/commit/dba616854fd819f399b5eb4375975166b932541d
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-07-09 (Wed, 09 Jul 2025)

  Changed paths:
    M model/model-intest/pom.xml
    A model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/smart/TestSmartIntegrationService.java
    A model/model-intest/src/test/resources/smart/resource-dummy-basic.xml
    M model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/TestSmartIntegrationServiceImpl.java

  Log Message:
  -----------
  Add TestSmartIntegrationService

Just a basic integration test for SmartIntegrationService.


  Commit: f3d3aa69726693caa6856c3baa2f7ba4d7c8a206
      https://github.com/Evolveum/midpoint/commit/f3d3aa69726693caa6856c3baa2f7ba4d7c8a206
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-07-09 (Wed, 09 Jul 2025)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/SystemConfigurationTypeUtil.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 model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/smart/TestSmartIntegrationService.java
    M model/smart-api/pom.xml
    M model/smart-api/src/main/java/com/evolveum/midpoint/smart/api/SmartIntegrationService.java
    M model/smart-impl/pom.xml
    A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/ServiceClient.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/SmartIntegrationServiceImpl.java

  Log Message:
  -----------
  Improve SmartIntegrationService skeleton

Added dummy ServiceClient implementation plus midPoint-related
logic in SmartIntegrationServiceImpl#suggestFocusType.


  Commit: dd6e039afcb2f65c7eb7ec6b0389fe5d98782460
      https://github.com/Evolveum/midpoint/commit/dd6e039afcb2f65c7eb7ec6b0389fe5d98782460
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-07-10 (Thu, 10 Jul 2025)

  Changed paths:
    M infra/common/src/main/java/com/evolveum/midpoint/common/configuration/api/MidpointConfiguration.java
    A model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/smart/MockServiceClientImpl.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/smart/TestSmartIntegrationService.java
    M model/smart-api/src/main/java/com/evolveum/midpoint/smart/api/SmartIntegrationService.java
    A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/DefaultServiceClientImpl.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/ServiceClient.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/SmartIntegrationServiceImpl.java

  Log Message:
  -----------
  Add system property for smart service URL

It is now possible to run tests with the system property
"midpoint.smartIntegration.serviceUrlOverride" pointing
to custom Smart integration microservice. If not specified,
MockServiceClientImpl will be used.


  Commit: dd7310c0d4eaced787b7e08f742f888654fae5c9
      https://github.com/Evolveum/midpoint/commit/dd7310c0d4eaced787b7e08f742f888654fae5c9
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-07-10 (Thu, 10 Jul 2025)

  Changed paths:
    M model/model-intest/testng-integration-full.xml

  Log Message:
  -----------
  Add TestSmartIntegrationService to test suite


  Commit: 3e7cf8b83e49f1c72c715e6d5606c92434f74453
      https://github.com/Evolveum/midpoint/commit/3e7cf8b83e49f1c72c715e6d5606c92434f74453
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-07-10 (Thu, 10 Jul 2025)

  Changed paths:
    M infra/schema/src/main/resources/xml/ns/public/common/common-smart-integration-3.xsd
    M model/model-intest/src/test/resources/logback-test.xml
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/DefaultServiceClientImpl.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/ServiceClient.java
    M model/smart-impl/src/test/resources/logback-test.xml

  Log Message:
  -----------
  Use prism when calling smart service

This is a PoC to see whether it's feasible to call Python
microservice using prism infrastructure, namely, modeling
the protocol using XSD.


  Commit: 3ebb3b26a376bbf48139232cda785b355ba9ea42
      https://github.com/Evolveum/midpoint/commit/3ebb3b26a376bbf48139232cda785b355ba9ea42
  Author: Michal Zelencik <michal.zelencik at evolveum.com>
  Date:   2025-07-10 (Thu, 10 Jul 2025)

  Changed paths:
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/smart/DummyBasicScenario.java

  Log Message:
  -----------
  Add attributes to dummy class

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


  Commit: aeaa9063250a344c3b8cb7744756afe4604a5737
      https://github.com/Evolveum/midpoint/commit/aeaa9063250a344c3b8cb7744756afe4604a5737
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-07-10 (Thu, 10 Jul 2025)

  Changed paths:
    M infra/schema/src/test/java/com/evolveum/midpoint/schema/parser/AbstractParserTest.java
    M infra/schema/src/test/java/com/evolveum/midpoint/schema/parser/TestParseUser.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/smart/DummyBasicScenario.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/DefaultServiceClientImpl.java

  Log Message:
  -----------
  Remove wrapper elements in smart svc API

The smart integration service is now called in a simpler way,
e.g.:

{ "kind" : "account", "intent" : "default", ... } (request)
{ "focusTypeName":"UserType" } (response)

Requires 1a1365ea6f794b89724d32e0917e2a57bb742ca1 in prism.


  Commit: 8e4f9d5bcf226c20db01ec65625c0635dba38546
      https://github.com/Evolveum/midpoint/commit/8e4f9d5bcf226c20db01ec65625c0635dba38546
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-07-11 (Fri, 11 Jul 2025)

  Changed paths:
    M model/smart-impl/pom.xml

  Log Message:
  -----------
  Add missing dependency


  Commit: 4dc360fb5be7d03d77ae106c5d77739f2eeb70a1
      https://github.com/Evolveum/midpoint/commit/4dc360fb5be7d03d77ae106c5d77739f2eeb70a1
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-07-11 (Fri, 11 Jul 2025)

  Changed paths:
    M infra/schema/src/main/resources/xml/ns/public/common/common-smart-integration-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/SmartIntegrationServiceImpl.java

  Log Message:
  -----------
  Add API for more SmartIntegrationService methods


  Commit: 7b9f3c4f4b81812e55847222c66f022bd085b399
      https://github.com/Evolveum/midpoint/commit/7b9f3c4f4b81812e55847222c66f022bd085b399
  Author: tchrapovic <chrapovic.tadeas at gmail.com>
  Date:   2025-07-11 (Fri, 11 Jul 2025)

  Changed paths:
    M model/smart-api/pom.xml

  Log Message:
  -----------
  Fix build issue - add missing dependency


  Commit: bc6497ceea0c913f612e5481801ba3262988c6cc
      https://github.com/Evolveum/midpoint/commit/bc6497ceea0c913f612e5481801ba3262988c6cc
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-07-14 (Mon, 14 Jul 2025)

  Changed paths:
    M infra/schema/src/main/resources/xml/ns/public/common/common-smart-integration-3.xsd
    M infra/schema/src/main/resources/xml/ns/public/model/extension-3.xsd
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/SmartIntegrationServiceImpl.java

  Log Message:
  -----------
  Add a draft of statistical info about shadows

This is related to the "suggest object types" method.
Work in progress.


  Commit: 137784145e246b4ca6fe5746a559e25816b801ec
      https://github.com/Evolveum/midpoint/commit/137784145e246b4ca6fe5746a559e25816b801ec
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-07-14 (Mon, 14 Jul 2025)

  Changed paths:
    M infra/schema/src/main/resources/xml/ns/public/common/common-smart-integration-3.xsd
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/util/SmartIntegrationConstants.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/SmartIntegrationServiceImpl.java

  Log Message:
  -----------
  Rename suggestDelineations to suggestObjectTypes

This is more precise and consistent with UI flows.


  Commit: 1e795a56bc27ba68978551c993529b3dfcfaa8cd
      https://github.com/Evolveum/midpoint/commit/1e795a56bc27ba68978551c993529b3dfcfaa8cd
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-07-14 (Mon, 14 Jul 2025)

  Changed paths:
    M infra/schema/src/test/java/com/evolveum/midpoint/schema/AbstractSchemaTest.java
    M infra/schema/src/test/java/com/evolveum/midpoint/schema/TestParseGenericObject.java

  Log Message:
  -----------
  Adapt schema tests

After introducing extension for GenericObjectType,
some schema tests started failing because of the change
of type name of the extension container. (This behavior
may or may not be 100% correct, because there could be
more extensions for one object type, but it is this way
for now.)

This commit adapts the tests.


  Commit: 41a475aabb18ac61e82c46b075b22711719fbb61
      https://github.com/Evolveum/midpoint/commit/41a475aabb18ac61e82c46b075b22711719fbb61
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-07-14 (Mon, 14 Jul 2025)

  Changed paths:
    M infra/schema/src/main/resources/xml/ns/public/common/common-smart-integration-3.xsd

  Log Message:
  -----------
  Update smart integration schema

- Added attribute statistics, based on a call with
Martin and Vierka today.
- Added part of "suggest object types" python interface.
- Experimenting with "Si" (smart integration) prefix for the
python interface types, to avoid collisions.


Compare: https://github.com/Evolveum/midpoint/compare/ad0730554796...41a475aabb18

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