apigeelint
Version:
Node module and tool to lint a bundle for an Apigee API Proxy or sharedflow.
43 lines (42 loc) • 1.27 kB
text/xml
<ProxyEndpoint name="default">
<PreFlow name="PreFlow">
<Request>
<Step>
<Name>OAuth-v10a-1</Name>
</Step>
<Step>
<Name>OAuth-Get-Info-1</Name>
</Step>
<Step>
<Name>OAuth-Delete-Info-1</Name>
</Step>
</Request>
<Response/>
</PreFlow>
<Flows>
<Flow name="GetProducts">
<Description/>
<Request/>
<Response/>
<Condition>(proxy.pathsuffix MatchesPath "/products") and (request.verb = "GET")</Condition>
</Flow>
<Flow name="GetProductDetails">
<Description/>
<Request/>
<Response/>
<Condition>(proxy.pathsuffix MatchesPath "/products/*") and (request.verb = "GET")</Condition>
</Flow>
</Flows>
<PostFlow name="PostFlow">
<Request/>
<Response/>
</PostFlow>
<HTTPProxyConnection>
<BasePath>/products-api</BasePath>
<VirtualHost>secure</VirtualHost>
</HTTPProxyConnection>
<RouteRule name="default">
<TargetEndpoint>default</TargetEndpoint>
</RouteRule>
</ProxyEndpoint>