feat: Show Registered Services on Ingress Proxy page

Replace "Instance Routes" with "Registered Services" on the Central
Ingress page. Services are fetched from /api/v1/services and display
name, domain, backend, source, reach level, and backend type.

Central no longer manages instances directly — it shows services
registered by Wild Cloud, Wild Works, and itself.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-09 05:43:32 +00:00
parent 57a597fe5a
commit 75a82becb9
4 changed files with 76 additions and 34 deletions

View File

@@ -1,5 +1,26 @@
import { apiClient } from './client';
// Services
export interface RegisteredService {
name: string;
source: string;
domain: string;
backend: {
address: string;
type: string;
health?: string;
};
reach: string;
tls?: string;
}
export const servicesApi = {
async list(): Promise<{ services: RegisteredService[] }> {
return apiClient.get('/api/v1/services');
},
};
// HAProxy
export interface HaproxyInstanceRoute {