~ubuntu-branches/debian/sid/lexicon/sid

« back to all changes in this revision

Viewing changes to tests/fixtures/cassettes/rackspace/IntegrationTests/test_Provider_when_calling_delete_record_by_filter_should_remove_record.yaml

  • Committer: Package Import Robot
  • Author(s): Ana Custura
  • Date: 2018-03-02 22:36:08 UTC
  • Revision ID: package-import@ubuntu.com-20180302223608-4e2sghral3uifgq7
Tags: upstream-2.1.21
ImportĀ upstreamĀ versionĀ 2.1.21

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
interactions:
 
2
- request:
 
3
    body: !!python/unicode '{"auth": {"RAX-KSKEY:apiKeyCredentials": {"username":
 
4
      "foo", "apiKey": "bar"}}}'
 
5
    headers:
 
6
      Accept: ['*/*']
 
7
      Accept-Encoding: ['gzip, deflate']
 
8
      Connection: [keep-alive]
 
9
      Content-Length: ['116']
 
10
      Content-Type: [application/json]
 
11
      User-Agent: [python-requests/2.18.4]
 
12
    method: POST
 
13
    uri: https://identity.api.rackspacecloud.com/v2.0/tokens
 
14
  response:
 
15
    body: {string: !!python/unicode '{"access":{"token":{"expires":"2018-02-01T14:48:55.411Z","RAX-AUTH:issued":"2018-01-31T15:02:35.411Z","RAX-AUTH:authenticatedBy":["APIKEY"],"id":"placeholder_auth_token","tenant":{"name":"placeholder_auth_account","id":"placeholder_auth_account"}}}}'}
 
16
    headers:
 
17
      connection: [keep-alive]
 
18
      content-length: ['14511']
 
19
      content-security-policy: [default-src 'self']
 
20
      content-type: [application/json]
 
21
      date: ['Wed, 31 Jan 2018 15:02:35 GMT']
 
22
      server: [nginx]
 
23
      strict-transport-security: [max-age=15552000; includeSubDomains]
 
24
      vary: ['Accept, Accept-Encoding, X-Auth-Token']
 
25
      x-content-type-options: [nosniff]
 
26
      x-frame-options: [DENY]
 
27
      x-node-id: [ord-02]
 
28
      x-tenant-id: [placeholder_auth_account]
 
29
      x-trans-id: [eyJyZXF1ZXN0SWQiOiI1MjViMTcxNy1hZmU0LTQ4MDYtYjU5ZC02YWJjYThmODUxOWYiLCJvcmlnaW4iOm51bGx9]
 
30
      x-xss-protection: [1; mode=block]
 
31
    status: {code: 200, message: OK}
 
32
- request:
 
33
    body: !!python/unicode '{}'
 
34
    headers:
 
35
      Accept: ['*/*']
 
36
      Accept-Encoding: ['gzip, deflate']
 
37
      Connection: [keep-alive]
 
38
      Content-Length: ['2']
 
39
      Content-Type: [application/json]
 
40
      User-Agent: [python-requests/2.18.4]
 
41
      X-Auth-Token: [!!python/unicode 'placeholder_auth_token']
 
42
    method: GET
 
43
    uri: https://dns.api.rackspacecloud.com/v1.0/placeholder_auth_account/domains?name=capsulecd.com
 
44
  response:
 
45
    body: {string: !!python/unicode '{"domains":[{"name":"capsulecd.com","id":1234567,"emailAddress":"hostmaster@capsulecd.com","updated":"2018-01-31T15:02:34.000+0000","created":"2017-09-21T21:02:56.000+0000"}],"totalEntries":1}'}
 
46
    headers:
 
47
      content-length: ['211']
 
48
      content-type: [application/json]
 
49
      date: ['Wed, 31 Jan 2018 15:02:35 GMT']
 
50
      server: [Jetty(8.0.y.z-SNAPSHOT)]
 
51
      via: [1.1 Repose (Repose/2.13.2)]
 
52
      x-api-version: [1.0.37]
 
53
    status: {code: 200, message: OK}
 
54
- request:
 
55
    body: !!python/unicode '{"records": [{"data": "challengetoken", "type": "TXT",
 
56
      "name": "delete.testfilt.capsulecd.com", "ttl": 3600}]}'
 
57
    headers:
 
58
      Accept: ['*/*']
 
59
      Accept-Encoding: ['gzip, deflate']
 
60
      Connection: [keep-alive]
 
61
      Content-Length: ['122']
 
62
      Content-Type: [application/json]
 
63
      User-Agent: [python-requests/2.18.4]
 
64
      X-Auth-Token: [!!python/unicode 'placeholder_auth_token']
 
65
    method: POST
 
66
    uri: https://dns.api.rackspacecloud.com/v1.0/placeholder_auth_account/domains/1234567/records
 
67
  response:
 
68
    body: {string: !!python/unicode '{"request":"{\"records\": [{\"data\": \"challengetoken\",
 
69
        \"type\": \"TXT\", \"name\": \"delete.testfilt.capsulecd.com\", \"ttl\": 3600}]}","status":"RUNNING","verb":"POST","jobId":"e00ef6eb-4780-4135-9de1-4f9cf556fa90","callbackUrl":"https://dns.api.rackspacecloud.com/v1.0/placeholder_auth_account/status/e00ef6eb-4780-4135-9de1-4f9cf556fa90","requestUrl":"https://dns.api.rackspacecloud.com/v1.0/placeholder_auth_account/domains/1234567/records"}'}
 
70
    headers:
 
71
      content-length: ['425']
 
72
      content-type: [application/json]
 
73
      date: ['Wed, 31 Jan 2018 15:02:36 GMT']
 
74
      server: [Jetty(8.0.y.z-SNAPSHOT)]
 
75
      via: [1.1 Repose (Repose/2.13.2)]
 
76
      x-api-version: [1.0.37]
 
77
    status: {code: 202, message: Accepted}
 
78
- request:
 
79
    body: null
 
80
    headers:
 
81
      Accept: ['*/*']
 
82
      Accept-Encoding: ['gzip, deflate']
 
83
      Connection: [keep-alive]
 
84
      Content-Type: [application/json]
 
85
      User-Agent: [python-requests/2.18.4]
 
86
      X-Auth-Token: [!!python/unicode 'placeholder_auth_token']
 
87
    method: GET
 
88
    uri: https://dns.api.rackspacecloud.com/v1.0/placeholder_auth_account/status/e00ef6eb-4780-4135-9de1-4f9cf556fa90?showDetails=true
 
89
  response:
 
90
    body: {string: !!python/unicode '{"request":"{\"records\": [{\"data\": \"challengetoken\",
 
91
        \"type\": \"TXT\", \"name\": \"delete.testfilt.capsulecd.com\", \"ttl\": 3600}]}","status":"COMPLETED","response":{"records":[{"name":"delete.testfilt.capsulecd.com","id":"TXT-1614049","type":"TXT","data":"challengetoken","ttl":3600,"updated":"2018-01-31T15:02:36.000+0000","created":"2018-01-31T15:02:36.000+0000"}]},"verb":"POST","jobId":"e00ef6eb-4780-4135-9de1-4f9cf556fa90","callbackUrl":"https://dns.api.rackspacecloud.com/v1.0/placeholder_auth_account/status/e00ef6eb-4780-4135-9de1-4f9cf556fa90","requestUrl":"https://dns.api.rackspacecloud.com/v1.0/placeholder_auth_account/domains/1234567/records"}'}
 
92
    headers:
 
93
      content-length: ['654']
 
94
      content-type: [application/json]
 
95
      date: ['Wed, 31 Jan 2018 15:02:37 GMT']
 
96
      server: [Jetty(8.0.y.z-SNAPSHOT)]
 
97
      via: [1.1 Repose (Repose/2.13.2)]
 
98
      x-api-version: [1.0.37]
 
99
    status: {code: 200, message: OK}
 
100
- request:
 
101
    body: !!python/unicode '{}'
 
102
    headers:
 
103
      Accept: ['*/*']
 
104
      Accept-Encoding: ['gzip, deflate']
 
105
      Connection: [keep-alive]
 
106
      Content-Length: ['2']
 
107
      Content-Type: [application/json]
 
108
      User-Agent: [python-requests/2.18.4]
 
109
      X-Auth-Token: [!!python/unicode 'placeholder_auth_token']
 
110
    method: GET
 
111
    uri: https://dns.api.rackspacecloud.com/v1.0/placeholder_auth_account/domains/1234567/records?content=challengetoken&per_page=100&type=TXT&name=delete.testfilt.capsulecd.com
 
112
  response:
 
113
    body: {string: !!python/unicode '{"records":[{"name":"delete.testfilt.capsulecd.com","id":"TXT-1614049","type":"TXT","data":"challengetoken","ttl":3600,"updated":"2018-01-31T15:02:36.000+0000","created":"2018-01-31T15:02:36.000+0000"}]}'}
 
114
    headers:
 
115
      content-length: ['215']
 
116
      content-type: [application/json]
 
117
      date: ['Wed, 31 Jan 2018 15:02:37 GMT']
 
118
      server: [Jetty(8.0.y.z-SNAPSHOT)]
 
119
      via: [1.1 Repose (Repose/2.13.2)]
 
120
      x-api-version: [1.0.37]
 
121
    status: {code: 200, message: OK}
 
122
- request:
 
123
    body: !!python/unicode '{}'
 
124
    headers:
 
125
      Accept: ['*/*']
 
126
      Accept-Encoding: ['gzip, deflate']
 
127
      Connection: [keep-alive]
 
128
      Content-Length: ['2']
 
129
      Content-Type: [application/json]
 
130
      User-Agent: [python-requests/2.18.4]
 
131
      X-Auth-Token: [!!python/unicode 'placeholder_auth_token']
 
132
    method: DELETE
 
133
    uri: https://dns.api.rackspacecloud.com/v1.0/placeholder_auth_account/domains/1234567/records/TXT-1614049
 
134
  response:
 
135
    body: {string: !!python/unicode '{"request":"{}","status":"RUNNING","verb":"DELETE","jobId":"bd0a592a-ebbc-4704-b80d-90b32106c0e5","callbackUrl":"https://dns.api.rackspacecloud.com/v1.0/placeholder_auth_account/status/bd0a592a-ebbc-4704-b80d-90b32106c0e5","requestUrl":"https://dns.api.rackspacecloud.com/v1.0/placeholder_auth_account/domains/1234567/records/TXT-1614049"}'}
 
136
    headers:
 
137
      content-length: ['303']
 
138
      content-type: [application/json]
 
139
      date: ['Wed, 31 Jan 2018 15:02:37 GMT']
 
140
      server: [Jetty(8.0.y.z-SNAPSHOT)]
 
141
      via: [1.1 Repose (Repose/2.13.2)]
 
142
      x-api-version: [1.0.37]
 
143
    status: {code: 202, message: Accepted}
 
144
- request:
 
145
    body: null
 
146
    headers:
 
147
      Accept: ['*/*']
 
148
      Accept-Encoding: ['gzip, deflate']
 
149
      Connection: [keep-alive]
 
150
      Content-Type: [application/json]
 
151
      User-Agent: [python-requests/2.18.4]
 
152
      X-Auth-Token: [!!python/unicode 'placeholder_auth_token']
 
153
    method: GET
 
154
    uri: https://dns.api.rackspacecloud.com/v1.0/placeholder_auth_account/status/bd0a592a-ebbc-4704-b80d-90b32106c0e5?showDetails=true
 
155
  response:
 
156
    body: {string: !!python/unicode '{"request":"{}","status":"COMPLETED","verb":"DELETE","jobId":"bd0a592a-ebbc-4704-b80d-90b32106c0e5","callbackUrl":"https://dns.api.rackspacecloud.com/v1.0/placeholder_auth_account/status/bd0a592a-ebbc-4704-b80d-90b32106c0e5","requestUrl":"https://dns.api.rackspacecloud.com/v1.0/placeholder_auth_account/domains/1234567/records/TXT-1614049"}'}
 
157
    headers:
 
158
      content-length: ['305']
 
159
      content-type: [application/json]
 
160
      date: ['Wed, 31 Jan 2018 15:02:38 GMT']
 
161
      server: [Jetty(8.0.y.z-SNAPSHOT)]
 
162
      via: [1.1 Repose (Repose/2.13.2)]
 
163
      x-api-version: [1.0.37]
 
164
    status: {code: 200, message: OK}
 
165
- request:
 
166
    body: !!python/unicode '{}'
 
167
    headers:
 
168
      Accept: ['*/*']
 
169
      Accept-Encoding: ['gzip, deflate']
 
170
      Connection: [keep-alive]
 
171
      Content-Length: ['2']
 
172
      Content-Type: [application/json]
 
173
      User-Agent: [python-requests/2.18.4]
 
174
      X-Auth-Token: [!!python/unicode 'placeholder_auth_token']
 
175
    method: GET
 
176
    uri: https://dns.api.rackspacecloud.com/v1.0/placeholder_auth_account/domains/1234567/records?per_page=100&type=TXT&name=delete.testfilt.capsulecd.com
 
177
  response:
 
178
    body: {string: !!python/unicode '{"records":[]}'}
 
179
    headers:
 
180
      content-length: ['14']
 
181
      content-type: [application/json]
 
182
      date: ['Wed, 31 Jan 2018 15:02:39 GMT']
 
183
      server: [Jetty(8.0.y.z-SNAPSHOT)]
 
184
      via: [1.1 Repose (Repose/2.13.2)]
 
185
      x-api-version: [1.0.37]
 
186
    status: {code: 200, message: OK}
 
187
- request:
 
188
    body: !!python/unicode '{}'
 
189
    headers:
 
190
      Accept: ['*/*']
 
191
      Accept-Encoding: ['gzip, deflate']
 
192
      Connection: [keep-alive]
 
193
      Content-Length: ['2']
 
194
      Content-Type: [application/json]
 
195
      User-Agent: [python-requests/2.18.4]
 
196
      X-Auth-Token: [!!python/unicode 'placeholder_auth_token']
 
197
    method: GET
 
198
    uri: https://dns.api.rackspacecloud.com/v1.0/123456/domains?name=capsulecd.com
 
199
  response:
 
200
    body: {string: !!python/unicode '{"domains":[{"name":"capsulecd.com","id":1234567,"emailAddress":"hostmaster@capsulecd.com","updated":"2018-01-31T15:03:18.000+0000","created":"2017-09-21T21:02:56.000+0000"}],"totalEntries":1}'}
 
201
    headers:
 
202
      content-length: ['211']
 
203
      content-type: [application/json]
 
204
      date: ['Wed, 31 Jan 2018 15:21:30 GMT']
 
205
      server: [Jetty(8.0.y.z-SNAPSHOT)]
 
206
      via: [1.1 Repose (Repose/2.13.2)]
 
207
      x-api-version: [1.0.37]
 
208
    status: {code: 200, message: OK}
 
209
- request:
 
210
    body: !!python/unicode '{"records": [{"data": "challengetoken", "type": "TXT",
 
211
      "name": "delete.testfilt.capsulecd.com", "ttl": 3600}]}'
 
212
    headers:
 
213
      Accept: ['*/*']
 
214
      Accept-Encoding: ['gzip, deflate']
 
215
      Connection: [keep-alive]
 
216
      Content-Length: ['122']
 
217
      Content-Type: [application/json]
 
218
      User-Agent: [python-requests/2.18.4]
 
219
      X-Auth-Token: [!!python/unicode 'placeholder_auth_token']
 
220
    method: POST
 
221
    uri: https://dns.api.rackspacecloud.com/v1.0/123456/domains/1234567/records
 
222
  response:
 
223
    body: {string: !!python/unicode '{"request":"{\"records\": [{\"data\": \"challengetoken\",
 
224
        \"type\": \"TXT\", \"name\": \"delete.testfilt.capsulecd.com\", \"ttl\": 3600}]}","status":"RUNNING","verb":"POST","jobId":"2bf6124a-61ef-40dd-a9d0-d0c472372b6f","callbackUrl":"https://dns.api.rackspacecloud.com/v1.0/123456/status/2bf6124a-61ef-40dd-a9d0-d0c472372b6f","requestUrl":"https://dns.api.rackspacecloud.com/v1.0/123456/domains/1234567/records"}'}
 
225
    headers:
 
226
      content-length: ['425']
 
227
      content-type: [application/json]
 
228
      date: ['Wed, 31 Jan 2018 15:21:31 GMT']
 
229
      server: [Jetty(8.0.y.z-SNAPSHOT)]
 
230
      via: [1.1 Repose (Repose/2.13.2)]
 
231
      x-api-version: [1.0.37]
 
232
    status: {code: 202, message: Accepted}
 
233
- request:
 
234
    body: null
 
235
    headers:
 
236
      Accept: ['*/*']
 
237
      Accept-Encoding: ['gzip, deflate']
 
238
      Connection: [keep-alive]
 
239
      Content-Type: [application/json]
 
240
      User-Agent: [python-requests/2.18.4]
 
241
      X-Auth-Token: [!!python/unicode 'placeholder_auth_token']
 
242
    method: GET
 
243
    uri: https://dns.api.rackspacecloud.com/v1.0/123456/status/2bf6124a-61ef-40dd-a9d0-d0c472372b6f?showDetails=true
 
244
  response:
 
245
    body: {string: !!python/unicode '{"request":"{\"records\": [{\"data\": \"challengetoken\",
 
246
        \"type\": \"TXT\", \"name\": \"delete.testfilt.capsulecd.com\", \"ttl\": 3600}]}","status":"RUNNING","verb":"POST","jobId":"2bf6124a-61ef-40dd-a9d0-d0c472372b6f","callbackUrl":"https://dns.api.rackspacecloud.com/v1.0/123456/status/2bf6124a-61ef-40dd-a9d0-d0c472372b6f","requestUrl":"https://dns.api.rackspacecloud.com/v1.0/123456/domains/1234567/records"}'}
 
247
    headers:
 
248
      content-length: ['425']
 
249
      content-type: [application/json]
 
250
      date: ['Wed, 31 Jan 2018 15:21:31 GMT']
 
251
      server: [Jetty(8.0.y.z-SNAPSHOT)]
 
252
      via: [1.1 Repose (Repose/2.13.2)]
 
253
      x-api-version: [1.0.37]
 
254
    status: {code: 200, message: OK}
 
255
- request:
 
256
    body: null
 
257
    headers:
 
258
      Accept: ['*/*']
 
259
      Accept-Encoding: ['gzip, deflate']
 
260
      Connection: [keep-alive]
 
261
      Content-Type: [application/json]
 
262
      User-Agent: [python-requests/2.18.4]
 
263
      X-Auth-Token: [!!python/unicode 'placeholder_auth_token']
 
264
    method: GET
 
265
    uri: https://dns.api.rackspacecloud.com/v1.0/123456/status/2bf6124a-61ef-40dd-a9d0-d0c472372b6f?showDetails=true
 
266
  response:
 
267
    body: {string: !!python/unicode '{"request":"{\"records\": [{\"data\": \"challengetoken\",
 
268
        \"type\": \"TXT\", \"name\": \"delete.testfilt.capsulecd.com\", \"ttl\": 3600}]}","status":"RUNNING","verb":"POST","jobId":"2bf6124a-61ef-40dd-a9d0-d0c472372b6f","callbackUrl":"https://dns.api.rackspacecloud.com/v1.0/123456/status/2bf6124a-61ef-40dd-a9d0-d0c472372b6f","requestUrl":"https://dns.api.rackspacecloud.com/v1.0/123456/domains/1234567/records"}'}
 
269
    headers:
 
270
      content-length: ['425']
 
271
      content-type: [application/json]
 
272
      date: ['Wed, 31 Jan 2018 15:21:31 GMT']
 
273
      server: [Jetty(8.0.y.z-SNAPSHOT)]
 
274
      via: [1.1 Repose (Repose/2.13.2)]
 
275
      x-api-version: [1.0.37]
 
276
    status: {code: 200, message: OK}
 
277
- request:
 
278
    body: null
 
279
    headers:
 
280
      Accept: ['*/*']
 
281
      Accept-Encoding: ['gzip, deflate']
 
282
      Connection: [keep-alive]
 
283
      Content-Type: [application/json]
 
284
      User-Agent: [python-requests/2.18.4]
 
285
      X-Auth-Token: [!!python/unicode 'placeholder_auth_token']
 
286
    method: GET
 
287
    uri: https://dns.api.rackspacecloud.com/v1.0/123456/status/2bf6124a-61ef-40dd-a9d0-d0c472372b6f?showDetails=true
 
288
  response:
 
289
    body: {string: !!python/unicode '{"request":"{\"records\": [{\"data\": \"challengetoken\",
 
290
        \"type\": \"TXT\", \"name\": \"delete.testfilt.capsulecd.com\", \"ttl\": 3600}]}","status":"COMPLETED","response":{"records":[{"name":"delete.testfilt.capsulecd.com","id":"TXT-1614115","type":"TXT","data":"challengetoken","ttl":3600,"updated":"2018-01-31T15:21:31.000+0000","created":"2018-01-31T15:21:31.000+0000"}]},"verb":"POST","jobId":"2bf6124a-61ef-40dd-a9d0-d0c472372b6f","callbackUrl":"https://dns.api.rackspacecloud.com/v1.0/123456/status/2bf6124a-61ef-40dd-a9d0-d0c472372b6f","requestUrl":"https://dns.api.rackspacecloud.com/v1.0/123456/domains/1234567/records"}'}
 
291
    headers:
 
292
      content-length: ['654']
 
293
      content-type: [application/json]
 
294
      date: ['Wed, 31 Jan 2018 15:21:31 GMT']
 
295
      server: [Jetty(8.0.y.z-SNAPSHOT)]
 
296
      via: [1.1 Repose (Repose/2.13.2)]
 
297
      x-api-version: [1.0.37]
 
298
    status: {code: 200, message: OK}
 
299
version: 1