Created
February 11, 2015 01:56
-
-
Save baskaran-md/6e1a6fb8d1e56270974f to your computer and use it in GitHub Desktop.
Conditional Flows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Flow name="UseCase1"> | |
<!-- Cassandra Heavy! --> | |
<Request> | |
<Step> | |
<FaultRules/> | |
<Name>ValidateKey</Name> | |
<Condition>request.queryparam._excludeVerify != "false"</Condition> | |
</Step> | |
<Step> | |
<FaultRules/> | |
<Name>LimitBySlowQuota</Name> | |
<Condition>request.queryparam._excludeSlowQuota != "false"</Condition> | |
</Step> | |
</Request> | |
<Condition>request.queryparam._test = "usecase1"</Condition> | |
<Response/> | |
</Flow> | |
<Flow name="cache_L2"> | |
<Request> | |
<Step> | |
<FaultRules/> | |
<Name>ResponseCache_L2</Name> | |
</Step> | |
</Request> | |
<Response> | |
<Step> | |
<FaultRules/> | |
<Name>ResponseCache_L2</Name> | |
</Step> | |
<Step> | |
<FaultRules/> | |
<Name>SetCacheHeader</Name> | |
</Step> | |
</Response> | |
<Condition>(request.queryparam._test = "usecase1") OR (request.queryparam._test = "cache_l2")</Condition> | |
</Flow> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment