Skip to content

Commit 46c9d29

Browse files
committed
chore(cassettes): record cassettes for auto-sync tests
1 parent 760583d commit 46c9d29

1 file changed

Lines changed: 227 additions & 0 deletions

File tree

Lines changed: 227 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,227 @@
1+
interactions:
2+
- request:
3+
body:
4+
data:
5+
attributes:
6+
allowedSources:
7+
- 192.168.1.0/24
8+
id: sdk-test-ip-policy
9+
type: ipAllowlistPolicy
10+
headers:
11+
Accept:
12+
- application/vnd.gooddata.api+json
13+
Accept-Encoding:
14+
- gzip, deflate, br
15+
Connection:
16+
- keep-alive
17+
Content-Length:
18+
- '121'
19+
Content-Type:
20+
- application/vnd.gooddata.api+json
21+
X-GDC-VALIDATE-RELATIONS:
22+
- 'true'
23+
X-Requested-With:
24+
- XMLHttpRequest
25+
method: POST
26+
uri: http://localhost:3000/api/v1/entities/ipAllowlistPolicies
27+
response:
28+
body:
29+
string:
30+
data:
31+
attributes:
32+
allowedSources:
33+
- 192.168.1.0/24
34+
id: sdk-test-ip-policy
35+
type: ipAllowlistPolicy
36+
links:
37+
self: http://localhost:3000/api/v1/entities/ipAllowlistPolicies/sdk-test-ip-policy
38+
headers:
39+
Content-Type:
40+
- application/vnd.gooddata.api+json
41+
DATE: &id001
42+
- PLACEHOLDER
43+
Expires:
44+
- '0'
45+
Pragma:
46+
- no-cache
47+
X-Content-Type-Options:
48+
- nosniff
49+
X-GDC-TRACE-ID: *id001
50+
status:
51+
code: 201
52+
message: Created
53+
- request:
54+
body: null
55+
headers:
56+
Accept:
57+
- application/vnd.gooddata.api+json
58+
Accept-Encoding:
59+
- gzip, deflate, br
60+
Connection:
61+
- keep-alive
62+
X-GDC-VALIDATE-RELATIONS:
63+
- 'true'
64+
X-Requested-With:
65+
- XMLHttpRequest
66+
method: GET
67+
uri: http://localhost:3000/api/v1/entities/ipAllowlistPolicies/sdk-test-ip-policy
68+
response:
69+
body:
70+
string:
71+
data:
72+
attributes:
73+
allowedSources:
74+
- 192.168.1.0/24
75+
id: sdk-test-ip-policy
76+
type: ipAllowlistPolicy
77+
links:
78+
self: http://localhost:3000/api/v1/entities/ipAllowlistPolicies/sdk-test-ip-policy
79+
headers:
80+
Content-Type:
81+
- application/vnd.gooddata.api+json
82+
DATE: *id001
83+
Expires:
84+
- '0'
85+
Pragma:
86+
- no-cache
87+
X-Content-Type-Options:
88+
- nosniff
89+
X-GDC-TRACE-ID: *id001
90+
status:
91+
code: 200
92+
message: OK
93+
- request:
94+
body: null
95+
headers:
96+
Accept:
97+
- application/vnd.gooddata.api+json
98+
Accept-Encoding:
99+
- gzip, deflate, br
100+
Connection:
101+
- keep-alive
102+
X-GDC-VALIDATE-RELATIONS:
103+
- 'true'
104+
X-Requested-With:
105+
- XMLHttpRequest
106+
method: GET
107+
uri: http://localhost:3000/api/v1/entities/ipAllowlistPolicies
108+
response:
109+
body:
110+
string:
111+
data:
112+
- attributes:
113+
allowedSources:
114+
- 192.168.1.0/24
115+
id: sdk-test-ip-policy
116+
links:
117+
self: http://localhost:3000/api/v1/entities/ipAllowlistPolicies/sdk-test-ip-policy
118+
type: ipAllowlistPolicy
119+
- attributes:
120+
allowedSources:
121+
- 192.168.0.0/16
122+
id: testIpPolicy
123+
links:
124+
self: http://localhost:3000/api/v1/entities/ipAllowlistPolicies/testIpPolicy
125+
type: ipAllowlistPolicy
126+
links:
127+
next: http://localhost:3000/api/v1/entities/ipAllowlistPolicies?page=1&size=20
128+
self: http://localhost:3000/api/v1/entities/ipAllowlistPolicies?page=0&size=20
129+
headers:
130+
Content-Type:
131+
- application/vnd.gooddata.api+json
132+
DATE: *id001
133+
Expires:
134+
- '0'
135+
Pragma:
136+
- no-cache
137+
X-Content-Type-Options:
138+
- nosniff
139+
X-GDC-TRACE-ID: *id001
140+
status:
141+
code: 200
142+
message: OK
143+
- request:
144+
body:
145+
data:
146+
attributes:
147+
allowedSources:
148+
- 10.0.0.0/8
149+
id: sdk-test-ip-policy
150+
type: ipAllowlistPolicy
151+
headers:
152+
Accept:
153+
- application/vnd.gooddata.api+json
154+
Accept-Encoding:
155+
- gzip, deflate, br
156+
Connection:
157+
- keep-alive
158+
Content-Length:
159+
- '117'
160+
Content-Type:
161+
- application/vnd.gooddata.api+json
162+
X-GDC-VALIDATE-RELATIONS:
163+
- 'true'
164+
X-Requested-With:
165+
- XMLHttpRequest
166+
method: PUT
167+
uri: http://localhost:3000/api/v1/entities/ipAllowlistPolicies/sdk-test-ip-policy
168+
response:
169+
body:
170+
string:
171+
data:
172+
attributes:
173+
allowedSources:
174+
- 10.0.0.0/8
175+
id: sdk-test-ip-policy
176+
type: ipAllowlistPolicy
177+
links:
178+
self: http://localhost:3000/api/v1/entities/ipAllowlistPolicies/sdk-test-ip-policy
179+
headers:
180+
Content-Type:
181+
- application/vnd.gooddata.api+json
182+
DATE: *id001
183+
Expires:
184+
- '0'
185+
Pragma:
186+
- no-cache
187+
X-Content-Type-Options:
188+
- nosniff
189+
X-GDC-TRACE-ID: *id001
190+
status:
191+
code: 200
192+
message: OK
193+
- request:
194+
body: null
195+
headers:
196+
Accept:
197+
- application/vnd.gooddata.api+json
198+
Accept-Encoding:
199+
- gzip, deflate, br
200+
Connection:
201+
- keep-alive
202+
Content-Length:
203+
- '0'
204+
X-GDC-VALIDATE-RELATIONS:
205+
- 'true'
206+
X-Requested-With:
207+
- XMLHttpRequest
208+
method: DELETE
209+
uri: http://localhost:3000/api/v1/entities/ipAllowlistPolicies/sdk-test-ip-policy
210+
response:
211+
body:
212+
string: ''
213+
headers:
214+
Content-Type:
215+
- application/vnd.gooddata.api+json
216+
DATE: *id001
217+
Expires:
218+
- '0'
219+
Pragma:
220+
- no-cache
221+
X-Content-Type-Options:
222+
- nosniff
223+
X-GDC-TRACE-ID: *id001
224+
status:
225+
code: 204
226+
message: No Content
227+
version: 1

0 commit comments

Comments
 (0)