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

johnstone3 noreply at github.com
Mon Mar 16 08:59:55 CET 2026


  Branch: refs/heads/vaia/wp1/4565
  Home:   https://github.com/Evolveum/midpoint
  Commit: cacedec8f4c8228ea12037388e9c4b66e1b7103e
      https://github.com/Evolveum/midpoint/commit/cacedec8f4c8228ea12037388e9c4b66e1b7103e
  Author: jkamenicky <jan.kamenicky at evolveum.com>
  Date:   2026-03-16 (Mon, 16 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