fix: approval legacy route prefix and jobengine orchestrator alias
- Fix approval.client.ts legacy URL from /api/release-orchestrator/ to /api/v1/release-orchestrator/ matching gateway route config - Add orchestrator.stella-ops.local alias to jobengine container so gateway route translation resolves correctly - Update sprint execution log with QA iteration results (40/40 pages clean) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -34,7 +34,7 @@ export class ApprovalHttpClient implements ApprovalApi {
|
||||
private readonly http = inject(HttpClient);
|
||||
private readonly queueBaseUrl = '/api/v2/releases/approvals';
|
||||
private readonly detailBaseUrl = '/api/v1/approvals';
|
||||
private readonly legacyBaseUrl = '/api/release-orchestrator/approvals';
|
||||
private readonly legacyBaseUrl = '/api/v1/release-orchestrator/approvals';
|
||||
|
||||
listApprovals(filter?: ApprovalFilter): Observable<ApprovalRequest[]> {
|
||||
if (filter?.urgencies?.length || (filter?.statuses?.length ?? 0) > 1) {
|
||||
@@ -63,20 +63,20 @@ export class ApprovalHttpClient implements ApprovalApi {
|
||||
|
||||
getPromotionPreview(releaseId: string, targetEnvironmentId: string): Observable<PromotionPreview> {
|
||||
return this.http.get<PromotionPreview>(
|
||||
`/api/release-orchestrator/releases/${releaseId}/promotion-preview`,
|
||||
`/api/v1/release-orchestrator/releases/${releaseId}/promotion-preview`,
|
||||
{ params: { targetEnvironmentId } }
|
||||
);
|
||||
}
|
||||
|
||||
getAvailableEnvironments(releaseId: string): Observable<TargetEnvironment[]> {
|
||||
return this.http.get<TargetEnvironment[]>(
|
||||
`/api/release-orchestrator/releases/${releaseId}/available-environments`
|
||||
`/api/v1/release-orchestrator/releases/${releaseId}/available-environments`
|
||||
);
|
||||
}
|
||||
|
||||
submitPromotionRequest(releaseId: string, request: PromotionRequestDto): Observable<ApprovalRequest> {
|
||||
return this.http.post<ApprovalRequest>(
|
||||
`/api/release-orchestrator/releases/${releaseId}/promote`,
|
||||
`/api/v1/release-orchestrator/releases/${releaseId}/promote`,
|
||||
request
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user