[midPoint-git] [Evolveum/midpoint] 551511: VAIA/WP1/4565 Add support for parallel execution o...

johnstone3 noreply at github.com
Sun Mar 15 23:10:27 CET 2026


  Branch: refs/heads/vaia/wp1/4565
  Home:   https://github.com/Evolveum/midpoint
  Commit: 551511ee2dc7fc4b904d0aff1c8bf58acd212013
      https://github.com/Evolveum/midpoint/commit/551511ee2dc7fc4b904d0aff1c8bf58acd212013
  Author: jkamenicky <jan.kamenicky at evolveum.com>
  Date:   2026-03-15 (Sun, 15 Mar 2026)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/work/WorkDefinitionUtil.java
    M model/smart-impl/pom.xml
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/conndev/ConnectorDevelopmentBackend.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/conndev/ConnectorDevelopmentServiceImpl.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/conndev/OfflineBackend.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/conndev/RestBackend.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/conndev/ServiceClient.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/conndev/activity/DiscoverObjectClassDetailsActivityHandler.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/conndev/activity/DiscoverObjectClassInformationActivityHandler.java
    A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/util/CompletableFutureUtil.java
    M model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/AbstractSmartIntegrationTest.java
    A model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/TestDiscoverObjectClassDetails.java
    A model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/testdata/DiscoverObjectClassDetailsTestData.java
    A model/smart-impl/src/test/resources/codegen/mock/openproject/responseJobFinishedTemplate.json

  Log Message:
  -----------
  VAIA/WP1/4565 Add support for parallel execution of attributes and endpoints discovery

Rewrite DiscoverObjectClassDetailsActivityHandler from LocalActivityRun to PlainIterativeActivityRun, enabling parallel execution of ATTRIBUTES and ENDPOINTS discovery via midPoint's worker threads mechanism (workerThreads=2).

Fix incorrect WorkDefinitionsType constant (F_DISCOVER_OBJECT_CLASS_INFORMATION -> F_DISCOVER_OBJECT_CLASS_DETAILS) and remove erroneous @PreDestroy unregistration that referenced wrong work definition type in DiscoverObjectClassDetailsActivityHandler.

Overload submitTask in ConnectorDevelopmentServiceImpl to accept ActivityDefinitionType directly, allowing caller to pass distribution configuration (workerThreads) alongside the work definition.



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