[midPoint-git] [Evolveum/midpoint] d01223: Improve microservice API definitions

mederly noreply at github.com
Mon Jul 21 16:48:36 CEST 2025


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

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

  Log Message:
  -----------
  Improve microservice API definitions

- added the documentation
- fixed delineation data in SiSuggestFocusTypeRequestType
- removed obsolete structures


  Commit: 7a8228253534ec6e6af57b82fbeb6f7f054c800e
      https://github.com/Evolveum/midpoint/commit/7a8228253534ec6e6af57b82fbeb6f7f054c800e
  Author: Michal Zelencik <michal.zelencik at evolveum.com>
  Date:   2025-07-21 (Mon, 21 Jul 2025)

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

  Log Message:
  -----------
  Udpate value counts statistics.

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


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

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceSchemaFactory.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/statistics/AbstractStatisticsPrinter.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/statistics/Data.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/statistics/Formatting.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ShadowObjectClassStatisticsTypeUtil.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/smart/TestSmartIntegrationService.java
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
    M model/smart-api/src/main/java/com/evolveum/midpoint/smart/api/SmartIntegrationService.java
    A model/smart-api/src/main/java/com/evolveum/midpoint/smart/api/info/ObjectClassInfo.java
    A model/smart-api/src/main/java/com/evolveum/midpoint/smart/api/info/ObjectClassInfoPrinter.java
    A model/smart-api/src/main/java/com/evolveum/midpoint/smart/api/info/ObjectTypesSuggestionStatusInfoPrinter.java
    A model/smart-api/src/main/java/com/evolveum/midpoint/smart/api/info/StatusInfo.java
    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/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/activities/StatisticsComputationActivityRun.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/StatisticsComputer.java

  Log Message:
  -----------
  Add some pieces to smart integration service

In order to completely cover first steps of smart integration,
this commit adds the following to the SmartIntegrationService:

- ObjectClassInfo and StatusInfo records
- methods:
  - createNewResource
  - getLatestStatistics
  - listSuggestObjectTypesOperationStatuses

Also:

- Setting HTTP version to 1.1 to avoid issues with the current
python microservice implementation (temporary, as it has side
effects).
- Temporarily fixes StatisticsComputer (non-string attributes).


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

  Changed paths:
    M gui/admin-gui/pom.xml
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/page/PageAdminLTE.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/util/ModelServiceLocator.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/basic/BasicResourceWizardPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/basic/ResourceTemplate.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/smart/PageSmartIntegrationDefiningTypes.html
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/smart/PageSmartIntegrationDefiningTypes.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/smart/PageSmartIntegrationStart.html
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/smart/PageSmartIntegrationStart.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/smart/PageSmartIntegrationTypesSuggestion.html
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/smart/PageSmartIntegrationTypesSuggestion.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/smart/RealResourceStatus.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/smart/ResourceStatus.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/resources/PageResources.java
    M gui/admin-gui/src/test/java/com/evolveum/midpoint/web/AbstractGuiIntegrationTest.java
    M gui/admin-gui/src/test/java/com/evolveum/midpoint/web/AbstractGuiUnitTest.java

  Log Message:
  -----------
  Add naive UI support for 1st smart int steps

Covers:

- importing a connector+config (later assumed to be provided by WP1)
- suggesting object types (~ delineation)
- suggesting focus type


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

  Changed paths:
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/AbstractEmptyModelIntegrationTest.java
    A model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/smart/DummyDirectoryScenario.java
    A model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/smart/DummyHrScenario.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/smart/TestSmartIntegrationService.java
    A model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/smart/TestSmartIntegrationServiceStory.java
    A model/model-intest/src/test/resources/smart/story/resource-dummy-directory.xml
    A model/model-intest/src/test/resources/smart/story/resource-dummy-hr.xml
    M model/model-intest/testng-integration-full.xml

  Log Message:
  -----------
  Add TestSmartIntegrationServiceStory

This will be a comprehensive story test, starting with an empty
resource definition (connector only), stepping through delineation,
focus type suggestion, etc, until the resource is completely
defined.

Work in progress. Currently only object types and focus types are
suggested.


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

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

  Log Message:
  -----------
  Add missing dependencies


Compare: https://github.com/Evolveum/midpoint/compare/610e970e23e3...1f31556e8ceb

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