This repository was archived by the owner on Jul 25, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdelay.req.bundle
More file actions
120 lines (120 loc) · 8.27 KB
/
delay.req.bundle
File metadata and controls
120 lines (120 loc) · 8.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<!--
Copyright (c) 2018 CA. All rights reserved.
This software may be modified and distributed under the terms
of the MIT license. See the LICENSE file for details.
-->
<l7:Bundle xmlns:l7="http://ns.l7tech.com/2010/04/gateway-management">
<l7:References>
<l7:Item>
<l7:Name>Delay Assertion</l7:Name>
<l7:Id>d7ea430516034fb2a607c7a0067d6611</l7:Id>
<l7:Type>FOLDER</l7:Type>
<l7:Resource>
<l7:Folder folderId="0000000000000000ffffffffffffec76" id="d7ea430516034fb2a607c7a0067d6611">
<l7:Name>Delay Assertion</l7:Name>
</l7:Folder>
</l7:Resource>
</l7:Item>
<l7:Item>
<l7:Name>delay</l7:Name>
<l7:Id>d7ea430516034fb2a607c7a0067d6651</l7:Id>
<l7:Type>SERVICE</l7:Type>
<l7:Resource>
<l7:Service id="d7ea430516034fb2a607c7a0067d6651">
<l7:ServiceDetail folderId="d7ea430516034fb2a607c7a0067d6611" id="d7ea430516034fb2a607c7a0067d6651">
<l7:Name>delay</l7:Name>
<l7:Enabled>true</l7:Enabled>
<l7:ServiceMappings>
<l7:HttpMapping>
<l7:UrlPattern>/delay</l7:UrlPattern>
<l7:Verbs>
<l7:Verb>GET</l7:Verb>
<l7:Verb>POST</l7:Verb>
<l7:Verb>PUT</l7:Verb>
<l7:Verb>DELETE</l7:Verb>
</l7:Verbs>
</l7:HttpMapping>
</l7:ServiceMappings>
<l7:Properties>
<l7:Property key="internal">
<l7:BooleanValue>false</l7:BooleanValue>
</l7:Property>
<l7:Property key="soap">
<l7:BooleanValue>false</l7:BooleanValue>
</l7:Property>
<l7:Property key="tracingEnabled">
<l7:BooleanValue>false</l7:BooleanValue>
</l7:Property>
<l7:Property key="wssProcessingEnabled">
<l7:BooleanValue>false</l7:BooleanValue>
</l7:Property>
</l7:Properties>
</l7:ServiceDetail>
<l7:Resources>
<l7:ResourceSet tag="policy">
<l7:Resource type="policy"><?xml version="1.0" encoding="UTF-8"?>
<wsp:Policy xmlns:L7p="http://www.layer7tech.com/ws/policy" xmlns:wsp="http://schemas.xmlsoap.org/ws/2002/12/policy">
<wsp:All wsp:Usage="Required">
<wsp:OneOrMore wsp:Usage="Required">
<wsp:All wsp:Usage="Required">
<L7p:ComparisonAssertion>
<L7p:CaseSensitive booleanValue="false"/>
<L7p:Expression1 stringValue="${request.http.parameters.delay}"/>
<L7p:ExpressionIsVariable booleanValue="false"/>
<L7p:Operator operatorNull="null"/>
<L7p:Predicates predicates="included">
<L7p:item dataType="included">
<L7p:Type variableDataType="string"/>
</L7p:item>
<L7p:item binary="included">
<L7p:CaseSensitive booleanValue="false"/>
<L7p:Operator operator="EMPTY"/>
<L7p:RightValue stringValue=""/>
</L7p:item>
</L7p:Predicates>
</L7p:ComparisonAssertion>
<L7p:HardcodedResponse>
<L7p:Base64ResponseBody stringValue="RGVsYXkgdGltZSBub3Qgc3BlY2lmaWVkLiBTcGVjaWZ5IGl0IHVzaW5nIHRoZSBgZGVsYXlgIHF1ZXJ5IHBhcmFtZXRlci4gRm9yIGV4YW1wbGU6IDwvYnI+Cgo8YSBocmVmPSIke3JlcXVlc3QudXJsfT9kZWxheT01MDAiPiR7cmVxdWVzdC51cmx9P2RlbGF5PTUwMDwvYT4g"/>
<L7p:ResponseContentType stringValue="text/html; charset=UTF-8"/>
<L7p:Response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kZWxheU1pbGxpU2VjcQB+AAR4cHQAICR7cmVxdWVzdC5odHRwLnBhcmFtZXRlcnMuZGVsYXl9dAAYRGVsYXlBc3NlcnRpb24tMS4wLjAuamFydAAFRGVsYXl0AAVEZWxheXQABURlbGF5cA==</L7p:base64SerializedValue>
</L7p:CustomAssertion>
<L7p:HardcodedResponse>
<L7p:Base64ResponseBody stringValue="RGVsYXllZDogJHtyZXF1ZXN0Lmh0dHAucGFyYW1ldGVycy5kZWxheX0="/>
<L7p:ResponseContentType stringValue="text/plain; charset=UTF-8"/>
</L7p:HardcodedResponse>
</wsp:All>
<L7p:HardcodedResponse>
<L7p:Base64ResponseBody stringValue="RmFpbGVkIHRvIGZvciBpbnB1dDogJHtyZXF1ZXN0Lmh0dHAucGFyYW1ldGVycy5kZWxheX0="/>
<L7p:ResponseContentType stringValue="text/plain; charset=UTF-8"/>
<L7p:ResponseStatus stringValue="400"/>
</L7p:HardcodedResponse>
</wsp:OneOrMore>
</wsp:All>
</wsp:Policy>
</l7:Resource>
</l7:ResourceSet>
</l7:Resources>
</l7:Service>
</l7:Resource>
</l7:Item>
</l7:References>
<l7:Mappings>
<l7:Mapping action="NewOrExisting" srcId="0000000000000000ffffffffffffec76"
type="FOLDER">
<l7:Properties>
<l7:Property key="FailOnNew">
<l7:BooleanValue>true</l7:BooleanValue>
</l7:Property>
</l7:Properties>
</l7:Mapping>
<l7:Mapping action="NewOrExisting" srcId="d7ea430516034fb2a607c7a0067d6611"
type="FOLDER"/>
<l7:Mapping action="NewOrExisting" srcId="d7ea430516034fb2a607c7a0067d6651"
type="SERVICE"/>
</l7:Mappings>
</l7:Bundle>