application.actions.ts |
GetApplication, CreateNewApplication, UpdateExistingApplication, RestageApplication |
apps/${guid}, apps, apps/${guid}/restage |
app-metadata.actions.ts |
GetAppStatsAction, GetAppEnvVarsAction, GetAppSummaryAction |
apps/${guid}/{stats,env,summary} |
application-service-routes.actions.ts |
GetAppServiceBindings |
apps/${guid}/service_bindings |
organization.actions.ts |
GetAllOrganizations, DeleteOrganization, CreateOrganization, UpdateOrganization |
organizations[/${guid}] |
space.actions.ts |
GetSpace, GetAllAppsInSpace, CreateSpace, UpdateSpace, GetAllSpaceUsers, GetAllServicesForSpace, GetServiceInstancesForSpace |
spaces[/${guid}/...] |
app-event.actions.ts |
GetAllAppEvents |
events (v2-only; live path now uses /pp/v1/cf/audit_events/{cnsi} → CAPI v3 /v3/audit_events) |
users.actions.ts |
GetAllCfUsersAsAdmin, GetCfUser, ChangeCfUserRole, AddCfUserRole, RemoveCfUserRole |
users[/${guid}], {spaces|orgs}/${guid}/${role}/... |
service-instances.actions.ts |
GetServiceInstance, DeleteServiceInstance, CreateServiceInstance, UpdateServiceInstance, ListServiceBindingsForInstance |
service_instances[/${guid}], service_bindings |
service-bindings.actions.ts |
CreateServiceBinding, DeleteServiceBinding, FetchAllServiceBindings |
service_bindings[/${guid}] |
service.actions.ts |
GetAllServices, GetService, GetServicePlansForService |
services[/${guid}[/service_plans]] |
service-plan.actions.ts |
GetServicePlanServiceInstances |
service_plan/${guid}/service_instances |
service-plan-visibility.actions.ts |
GetServicePlanVisibilities |
service_plan_visibilities (v2-only flat-list; v3 replacement already at /pp/v1/cf/service_plans/{cnsi}/{planGuid}/visibility) |
user-provided-service.actions.ts |
GetAllUserProvidedServices, GetUserProvidedService, DeleteUserProvidedInstance |
user_provided_service_instances[/${guid}] |
quota-definitions.actions.ts |
GetSpaceQuotaDefinition, AssociateSpaceQuota, DisassociateSpaceQuota, CreateQuotaDefinition, UpdateQuotaDefinition, DeleteQuotaDefinition, CreateSpaceQuotaDefinition, UpdateSpaceQuotaDefinition, DeleteSpaceQuotaDefinition |
quota_definitions[/${guid}], space_quota_definitions[/${guid}[/spaces/${guid}]] |
Summary
The ngrx runtime was removed as part of the Angular signals refactor. As a result, approximately 47 legacy
ICFAction/PaginatedActionclasses insrc/frontend/packages/cloud-foundry/src/actions/that carry raw CF v2 API path strings are now dead code — they are registered in entity catalog builder maps that are never invoked, andStore<T>.dispatch()is never called anywhere in the codebase.These classes represent the full set of CF v2 API paths that were in use before the v3 migration. They should be removed to reduce maintenance burden, eliminate confusion about which API version Stratos uses, and make the codebase accurately reflect that all live frontend HTTP calls now go through the native v3 handlers at
/pp/v1/cf/....Affected files
All files are under
src/frontend/packages/cloud-foundry/src/actions/:application.actions.tsGetApplication,CreateNewApplication,UpdateExistingApplication,RestageApplicationapps/${guid},apps,apps/${guid}/restageapp-metadata.actions.tsGetAppStatsAction,GetAppEnvVarsAction,GetAppSummaryActionapps/${guid}/{stats,env,summary}application-service-routes.actions.tsGetAppServiceBindingsapps/${guid}/service_bindingsorganization.actions.tsGetAllOrganizations,DeleteOrganization,CreateOrganization,UpdateOrganizationorganizations[/${guid}]space.actions.tsGetSpace,GetAllAppsInSpace,CreateSpace,UpdateSpace,GetAllSpaceUsers,GetAllServicesForSpace,GetServiceInstancesForSpacespaces[/${guid}/...]app-event.actions.tsGetAllAppEventsevents(v2-only; live path now uses/pp/v1/cf/audit_events/{cnsi}→ CAPI v3/v3/audit_events)users.actions.tsGetAllCfUsersAsAdmin,GetCfUser,ChangeCfUserRole,AddCfUserRole,RemoveCfUserRoleusers[/${guid}],{spaces|orgs}/${guid}/${role}/...service-instances.actions.tsGetServiceInstance,DeleteServiceInstance,CreateServiceInstance,UpdateServiceInstance,ListServiceBindingsForInstanceservice_instances[/${guid}],service_bindingsservice-bindings.actions.tsCreateServiceBinding,DeleteServiceBinding,FetchAllServiceBindingsservice_bindings[/${guid}]service.actions.tsGetAllServices,GetService,GetServicePlansForServiceservices[/${guid}[/service_plans]]service-plan.actions.tsGetServicePlanServiceInstancesservice_plan/${guid}/service_instancesservice-plan-visibility.actions.tsGetServicePlanVisibilitiesservice_plan_visibilities(v2-only flat-list; v3 replacement already at/pp/v1/cf/service_plans/{cnsi}/{planGuid}/visibility)user-provided-service.actions.tsGetAllUserProvidedServices,GetUserProvidedService,DeleteUserProvidedInstanceuser_provided_service_instances[/${guid}]quota-definitions.actions.tsGetSpaceQuotaDefinition,AssociateSpaceQuota,DisassociateSpaceQuota,CreateQuotaDefinition,UpdateQuotaDefinition,DeleteQuotaDefinition,CreateSpaceQuotaDefinition,UpdateSpaceQuotaDefinition,DeleteSpaceQuotaDefinitionquota_definitions[/${guid}],space_quota_definitions[/${guid}[/spaces/${guid}]]Notes
// FLAG (A6)comments explicitly noting their v2-shaped request bodies (CreateNewApplication,CreateSpace) — these were intentionally flagged during the write-path migration as needing cleanup.service_plan_visibilitiesis a v2-only endpoint with no v3 flat-list equivalent; the backend already implements the v3 per-plan path.GetAllAppEventstargets the v2/eventsendpoint; the live replacement isCnsiAuditEventsSource→/v3/audit_events.IUserProvidedServiceInstanceData(an interface, not an action class) is still imported in two active files and should be kept or migrated to an appropriate types file before removinguser-provided-service.actions.ts.Acceptance criteria
IUserProvidedServiceInstanceDatainterface is relocated to a types file if still needed, or removed if unused.FLAG (A6)comments are resolved.