A Routing represents a router. Through routing, we can implement AB test, traffic direction and other advanced features.
Unique Identifier
Routing Name
The cluster to which the routing traffic goes.
The API for which the routing is
Routing Condition. When the condition is met, Gateway executes this routing strategy. The routing condition can set the arguement expressions of cookie
、querystring
、header
、json body
,path value
. If not set, all traffic is matched.
Currently support Split
, which refers to redirecting a certain percentage of eligible requests to the target cluster and direct the rest to the API matching phase and then to the original cluster destination.
If set to 50, 50% of traffic is being routed according to RoutingStrategy
.
Routing is valid only if status is UP
.