-
Notifications
You must be signed in to change notification settings - Fork 0
refactor(ai-core): typesafe handlers decoupled from service impl #70
Copy link
Copy link
Open
Labels
Description
Schmarvinius
opened on Jun 11, 2026
Issue body actions
- Remove AICoreServiceImpl field from AbstractCrudHandler / all handlers. Obtain the service reference from EventContext at invocation time instead.
- Replace string-literal event names ("resourceGroupForTenant", "stop", etc.) with compile-safe constants either generated via CDS build (cds4j generated event context interfaces) or declared as String constants on the interface/entity.
- Switch to typesafe handler APIs: define typed EventContext subinterfaces for each action (e.g., ResourceGroupForTenantContext, StopDeploymentContext) so handlers declare typed parameters instead of doing Map extraction from context.get("data").
- Verify that DeploymentHandler, ResourceGroupHandler, ConfigurationHandler, MockEntityHandler, and AICoreApplicationServiceHandler are also decoupled.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Fields
Give feedbackNo fields configured for issues without a type.