Rewire Application Provider handlers to use ServiceProvider traits #12
Labels
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference
coopcloud_code/projectmycelium_marketplace#12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
8 Application Provider handlers bypass ServiceProvider and show 0 deployments, 0 customer base, and empty revenue charts when running with hero_osis backend.
Affected Handlers
Template-Rendering Handlers
app_provider_section— Main AP dashboard with app gridapp_provider_detail— Individual app detail viewapp_provider_deployments— Deployment managementapp_provider_customers— Customer base viewapp_provider_revenue— Revenue analyticsapp_provider_settings— AP settingsAPI Handlers
app_provider_data_api— ✅ Already partially working (returns 6 apps)app_provider_deployments_api— Returns deployment dataapp_provider_customers_api— Returns customer metricsCurrent State
The JSON API endpoints partially work (returning app counts), but template-rendering handlers still use:
This means the HTML pages show empty data even though the API returns correct counts.
Solution
Replace all
AppProviderService::builder().build()and similar patterns withservices.app_provider.*trait method calls.Acceptance Criteria
AppProviderService::builder()calls remainDependencies
Already fully rewired. Verified — only dead code UserPersistence call remains (commit
9e669d7).