Rewrite UI API clients from /api/v2/releases to /api/v1/release-orchestrator

Completes Sprint 323 TASK-001 using Option C (direct URL rewrite):
- release-management.client.ts: readBaseUrl and legacyBaseUrl now use
  /api/v1/release-orchestrator/releases, eliminating the v2 proxy dependency
- All 15+ component files updated: activity, approvals, runs, versions,
  bundle-organizer, sidebar queries, topology pages
- Spec files updated to match new URL patterns
- Added /releases/activity and /releases/versions backend route aliases
  in ReleaseEndpoints.cs with ListActivity and ListVersions handlers
- Fixed orphaned audit-log-dashboard.component import → audit-log-table
- Both Angular build and JobEngine build pass clean

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
master
2026-04-01 00:16:32 +03:00
parent f96c6cb9ed
commit a4c4690fef
22 changed files with 257 additions and 138 deletions

View File

@@ -107,6 +107,7 @@ Completion criteria:
| 2026-03-31 | Verified existing Console proxy rewrites in `devops/docker/Dockerfile.console`; no new proxy edits were required in this closeout. | Developer (BE) |
| 2026-03-31 | Shipped Platform environment compatibility endpoints, deterministic JobEngine evidence/dashboard updates, and deterministic Scanner registry fallback digests. | Developer (BE) |
| 2026-03-31 | Verification completed with targeted xUnit runners: Platform `6/6`, JobEngine `3/3`, Scanner `2/2`, ReleaseOrchestrator environment coverage `27/27`. | Developer (BE) |
| 2026-04-01 | TASK-001 strengthened: all UI API clients rewritten from `/api/v2/releases/*` and `/api/v1/releases/*` to `/api/v1/release-orchestrator/*` (Option C). Added `/releases/activity` and `/releases/versions` backend route aliases. Fixed orphaned audit-log-dashboard.component import. Both builds pass. | Developer (FE+BE) |
## Decisions & Risks
- TASK-001 was resolved by validating existing proxy rewrites rather than introducing more Console changes late in the sprint.