Skip to content

VAIA/WP1/4565 Add support for parallel execution of attributes and endpoints discovery#542

Open
johnstone3 wants to merge 1 commit intomasterfrom
vaia/wp1/4565
Open

VAIA/WP1/4565 Add support for parallel execution of attributes and endpoints discovery#542
johnstone3 wants to merge 1 commit intomasterfrom
vaia/wp1/4565

Conversation

@johnstone3
Copy link

@johnstone3 johnstone3 commented Mar 11, 2026

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.

@johnstone3 johnstone3 force-pushed the vaia/wp1/4565 branch 3 times, most recently from 551511e to cacedec Compare March 16, 2026 07:59
@johnstone3 johnstone3 changed the title [WIP] VAIA/WP1/4565 Add support for parallel execution of attributes and endpoints discovery VAIA/WP1/4565 Add support for parallel execution of attributes and endpoints discovery Mar 16, 2026
…dpoints 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.
@johnstone3 johnstone3 marked this pull request as ready for review March 16, 2026 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant