You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feat: Add service and application topology graph APIs based on discussion #1398
* feat(api): add GraphServices endpoint for service-level topology
Based on discussion #1398, use ServiceProviderMetadata and ServiceConsumerMetadata
to return provider/consumer application relations as graph nodes and edges for AntV G6.
* feat(api): add GraphApplications endpoint for application-level topology
Traverse provider/consumer service relations to build application-level graph.
Also add idx_service_consumer_service_key index to support efficient serviceKey queries.
* feat(api): add graph models (GraphNode, GraphEdge, GraphData) in pkg/console/model/graph.go
* feat(api): add ApplicationGraphReq, ServiceGraphReq and GetApplicationGraph, GetServiceGraph handlers
* feat(router): register /application/graph and /service/graph routes
* feat(api): fix error handling to use direct err pass-through instead of MeshNotFoundError
logger.Errorf("failed to list consumer apps by provider service key, mesh: %s, serviceKey: %s, err: %s", req.Mesh, provider.Spec.ProviderAppName+":"+provider.Spec.Version+":"+provider.Spec.Group, err)
logger.Errorf("failed to list consumer apps by provider service key, mesh: %s, serviceKey: %s, err: %s", req.Mesh, consumer.Spec.ConsumerAppName+":"+consumer.Spec.Version+":"+consumer.Spec.Group, err)
0 commit comments