GatewayApp
@SpringBootApplication public class GatewayApp
io/agentscope/builder/GatewayApp.java:38–44网关应用,承载智能体的部署、调度与服务化运行。位于 io.agentscope.builder 包。核心成员包括 main。
Entry point for the builder gateway plane.
A thin Spring Cloud Gateway (Server WebFlux) edge: pure path-based routing with no business logic, no database, and no security of its own — authentication stays enforced by the target plane (JWT on user APIs, internal token on plane-to-plane APIs).
-
Session turn traffic (events, SSE stream, hands-stats) and the worker HTTP API route to the data plane;
-
everything else under
/api/**(catalog, environments, memory stores, vaults, deployments, session lifecycle) plus the console SPA routes to the control plane; -
plane-to-plane traffic (
/api/internal/**,/api/outbound/**) is dialed directly between planes; if such a call does hit the gateway it falls through to the control plane, which still enforces the internal token (or 404s) — nothing is exposed.
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public static void main(String[] args)static | 设置主。 Performs the main operation. |
方法详情Method Detail
main
public static void main(String[] args)
设置主。
Performs the main operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
args | String[] | 参数(类型 `String[]`)。The args. |
io/agentscope/builder/GatewayApp.java:41–43