Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions frontend/src/app/api/health/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ import { proxyToBackend } from "@/lib/server/proxy";
export async function GET(request: NextRequest) {
return proxyToBackend(request, "/health", { method: "GET" });
}

export const maxDuration = 60;
2 changes: 2 additions & 0 deletions frontend/src/app/api/v2/actions/[action_id]/approve/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ export async function POST(request: NextRequest, { params }: { params: Promise<{
const { action_id } = await params;
return proxyToBackend(request, `/v2/actions/${encodeURIComponent(action_id)}/approve`, { method: "POST" });
}

export const maxDuration = 60;
2 changes: 2 additions & 0 deletions frontend/src/app/api/v2/actions/[action_id]/reject/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ export async function POST(request: NextRequest, { params }: { params: Promise<{
return proxyToBackend(request, `/v2/actions/${encodeURIComponent(action_id)}/reject`,
{ method: "POST", body, contentType: "application/json" });
}

export const maxDuration = 60;
2 changes: 2 additions & 0 deletions frontend/src/app/api/v2/actions/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ import { proxyToBackend } from "@/lib/server/proxy";
export async function GET(request: NextRequest) {
return proxyToBackend(request, `/v2/actions${request.nextUrl.search}`, { method: "GET" });
}

export const maxDuration = 60;
2 changes: 2 additions & 0 deletions frontend/src/app/api/v2/actions/run/[run_id]/propose/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ export async function POST(request: NextRequest, { params }: { params: Promise<{
const { run_id } = await params;
return proxyToBackend(request, `/v2/actions/run/${encodeURIComponent(run_id)}/propose`, { method: "POST" });
}

export const maxDuration = 60;
2 changes: 2 additions & 0 deletions frontend/src/app/api/v2/assurance/run/[run_id]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ export async function GET(request: NextRequest, { params }: { params: Promise<{
const { run_id } = await params;
return proxyToBackend(request, `/v2/assurance/run/${encodeURIComponent(run_id)}`, { method: "GET" });
}

export const maxDuration = 60;
2 changes: 2 additions & 0 deletions frontend/src/app/api/v2/calibration/metrics/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ import { proxyToBackend } from "@/lib/server/proxy";
export async function GET(request: NextRequest) {
return proxyToBackend(request, `/v2/calibration/metrics${request.nextUrl.search}`, { method: "GET" });
}

export const maxDuration = 60;
2 changes: 2 additions & 0 deletions frontend/src/app/api/v2/certificates/[run_id]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ export async function GET(request: NextRequest, { params }: { params: Promise<{
const { run_id } = await params;
return proxyToBackend(request, `/v2/certificates/${encodeURIComponent(run_id)}`, { method: "GET" });
}

export const maxDuration = 60;
2 changes: 2 additions & 0 deletions frontend/src/app/api/v2/certificates/run/[run_id]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ export async function POST(request: NextRequest, { params }: { params: Promise<{
const { run_id } = await params;
return proxyToBackend(request, `/v2/certificates/run/${encodeURIComponent(run_id)}`, { method: "POST" });
}

export const maxDuration = 60;
2 changes: 2 additions & 0 deletions frontend/src/app/api/v2/defects/[family_id]/label/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ export async function PATCH(request: NextRequest, { params }: { params: Promise<
return proxyToBackend(request, `/v2/defects/${encodeURIComponent(family_id)}/label`,
{ method: "PATCH", body, contentType: "application/json" });
}

export const maxDuration = 60;
2 changes: 2 additions & 0 deletions frontend/src/app/api/v2/defects/[id]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ export async function GET(request: NextRequest, { params }: { params: Promise<{
const { id } = await params;
return proxyToBackend(request, `/v2/defects/${encodeURIComponent(id)}`, { method: "GET" });
}

export const maxDuration = 60;
2 changes: 2 additions & 0 deletions frontend/src/app/api/v2/defects/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ import { proxyToBackend } from "@/lib/server/proxy";
export async function GET(request: NextRequest) {
return proxyToBackend(request, `/v2/defects${request.nextUrl.search}`, { method: "GET" });
}

export const maxDuration = 60;
2 changes: 2 additions & 0 deletions frontend/src/app/api/v2/gate/run/[run_id]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ export async function POST(request: NextRequest, { params }: { params: Promise<{
const { run_id } = await params;
return proxyToBackend(request, `/v2/gate/run/${encodeURIComponent(run_id)}`, { method: "POST" });
}

export const maxDuration = 60;
2 changes: 2 additions & 0 deletions frontend/src/app/api/v2/ingest/report/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ export async function POST(request: NextRequest) {
const formData = await request.formData();
return proxyToBackend(request, "/v2/ingest/report", { method: "POST", body: formData });
}

export const maxDuration = 60;
2 changes: 2 additions & 0 deletions frontend/src/app/api/v2/integrations/github/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ export async function POST(request: NextRequest) {
contentType: "application/json",
});
}

export const maxDuration = 60;
2 changes: 2 additions & 0 deletions frontend/src/app/api/v2/orgs/join/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ export async function POST(request: NextRequest) {
contentType: "application/json",
});
}

export const maxDuration = 60;
2 changes: 2 additions & 0 deletions frontend/src/app/api/v2/orgs/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ export async function POST(request: NextRequest) {
contentType: "application/json",
});
}

export const maxDuration = 60;
2 changes: 2 additions & 0 deletions frontend/src/app/api/v2/repo/index/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ export async function POST(request: NextRequest) {
contentType: "application/json",
});
}

export const maxDuration = 60;
2 changes: 2 additions & 0 deletions frontend/src/app/api/v2/repo/tests/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ export async function GET(request: NextRequest) {
method: "GET",
});
}

export const maxDuration = 60;
2 changes: 2 additions & 0 deletions frontend/src/app/api/v2/triage/run/[run_id]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ export async function GET(request: NextRequest, { params }: { params: Promise<{
const { run_id } = await params;
return proxyToBackend(request, `/v2/triage/run/${encodeURIComponent(run_id)}`, { method: "GET" });
}

export const maxDuration = 60;
Loading