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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user