Team,
in the API proxy, I have a ProxyEndpoint-1.xml, which has
FaultRules,PreFlow,PostFlow,Flows,HTTPProxyConnection configuration.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ProxyEndpoint name="ProxyEndpoint-1">
<Description/>
<FaultRules/>
<PreFlow name="PreFlow">
<Request/>
<Response/>
</PreFlow>
<PostFlow name="PostFlow">
<Request/>
<Response/>
</PostFlow>
<Flows name="a">
<Flow name ="a1">
<Condition > a1</Condition>
</Flow>
<Flow name ="a2">
<Condition > a2</Condition>
</Flow>
</Flows>
<HTTPProxyConnection>
<BasePath>/test/v1</BasePath>
<Properties/>
<VirtualHost>default</VirtualHost>
</HTTPProxyConnection>
<RouteRule name="default">
<TargetEndpoint>default</TargetEndpoint>
</RouteRule>
</ProxyEndpoint>
For more readability, I would like to create a new proxy flow XML -say ProxyEndpoint-2 in my API - which has its own set of flows -conditions (b1) – This proxy XML have the same HTTP Proxy Connections -BasePath.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ProxyEndpoint name="ProxyEndpoint-2">
<Description/>
<FaultRules/>
<Flows name="b">
<Flow name ="b1">
<Condition > b1</Condition>
</Flow>
</Flows>
<RouteRule name="b1">
<TargetEndpoint>b1</TargetEndpoint>
</RouteRule>
</ProxyEndpoint>
When I do this - I am not able to deploy my Proxy.. what I am missing??? How to achieve this