Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions proxies/live/apiproxy/policies/FlowCalloutSingleASIDApply.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<FlowCallout async="false" continueOnError="false" enabled="true" name="FlowCalloutSingleASIDApply">
<DisplayName>FlowCallout.SingleASIDApply</DisplayName>
<SharedFlowBundle>SingleASIDApply</SharedFlowBundle>
</FlowCallout>
16 changes: 16 additions & 0 deletions proxies/live/apiproxy/proxies/default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,19 @@
</Request>
<Condition>(proxy.pathsuffix MatchesPath "/enhanced-verify-api-key") and ((request.verb = "GET") or (request.verb = "HEAD"))</Condition>
</Flow>
<Flow name="SingleASIDApply">
<Description/>
<Request>
<Step>
<Name>OauthV2.VerifyAccessToken</Name>
</Step>
<Step>
<Name>FlowCalloutSingleASIDApply</Name>
</Step>
</Request>
<Response/>
<Condition>(proxy.pathsuffix MatchesPath "/single-asid") and ((request.verb = "GET") or (request.verb = "HEAD"))</Condition>
</Flow>
</Flows>
<PreFlow/>
<PostClientFlow name="PostClientFlow">
Expand Down Expand Up @@ -156,6 +169,9 @@
<RouteRule name="NoRouteExtendedAttributes">
<Condition>(proxy.pathsuffix MatchesPath "/extended-attributes") and ((request.verb = "GET") or (request.verb = "HEAD"))</Condition>
</RouteRule>
<RouteRule name="NoRouteSingleASIDApply">
<Condition>(proxy.pathsuffix MatchesPath "/single-asid") and ((request.verb = "GET") or (request.verb = "HEAD"))</Condition>
</RouteRule>
<RouteRule name="shared-flow-testing-target">
<TargetEndpoint>shared-flow-testing-target</TargetEndpoint>
</RouteRule>
Expand Down