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

« back to all changes in this revision

Viewing changes to tests/fixtures/cassettes/aurora/IntegrationTests/test_Provider_when_calling_delete_record_by_filter_with_full_name_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: '{}'
 
4
    headers:
 
5
      Accept: ['*/*']
 
6
      Accept-Encoding: ['gzip, deflate']
 
7
      Connection: [keep-alive]
 
8
      Content-Length: ['2']
 
9
      Content-Type: [application/json]
 
10
      User-Agent: [python-requests/2.18.4]
 
11
      X-AuroraDNS-Date: [20180225T111302Z]
 
12
    method: GET
 
13
    uri: https://api.auroradns.eu/zones
 
14
  response:
 
15
    body: {string: "[\n  {\n    \"account_id\": \"ffffffff-0000-ffff-0000-ffffffffffff\",\n\
 
16
        \    \"cluster_id\": \"ffffffff-0000-ffff-0000-ffffffffffff\",\n    \"created\"\
 
17
        : \"2018-02-25T11:12:31Z\",\n    \"id\": \"0645e7fa-6b94-46dd-99dd-bfb572f4e740\"\
 
18
        ,\n    \"name\": \"example.nl\",\n    \"servers\": [\n      \"ns001.auroradns.eu\"\
 
19
        ,\n      \"ns002.auroradns.nl\",\n      \"ns003.auroradns.info\"\n    ]\n\
 
20
        \  }\n]\n"}
 
21
    headers:
 
22
      Connection: [Keep-Alive]
 
23
      Content-Length: ['1752']
 
24
      Content-Type: [application/json; charset=utf-8]
 
25
      Date: ['Sun, 25 Feb 2018 11:13:02 GMT']
 
26
      Keep-Alive: ['timeout=5, max=100']
 
27
      Server: [Apache/2.4.7 (Ubuntu)]
 
28
    status: {code: 200, message: OK}
 
29
- request:
 
30
    body: '{"type": "TXT", "name": "delete.testfull", "content": "challengetoken",
 
31
      "ttl": 3600}'
 
32
    headers:
 
33
      Accept: ['*/*']
 
34
      Accept-Encoding: ['gzip, deflate']
 
35
      Connection: [keep-alive]
 
36
      Content-Length: ['84']
 
37
      Content-Type: [application/json]
 
38
      User-Agent: [python-requests/2.18.4]
 
39
      X-AuroraDNS-Date: [20180225T111302Z]
 
40
    method: POST
 
41
    uri: https://api.auroradns.eu/zones/0645e7fa-6b94-46dd-99dd-bfb572f4e740/records
 
42
  response:
 
43
    body: {string: "{\n  \"content\": \"challengetoken\",\n  \"created\": \"2018-02-25T11:13:02Z\"\
 
44
        ,\n  \"disabled\": false,\n  \"health_check_id\": null,\n  \"id\": \"1c7dd2bf-eb1c-4878-84b1-f00fffb3b02a\"\
 
45
        ,\n  \"modified\": \"2018-02-25T11:13:02Z\",\n  \"name\": \"delete.testfull\"\
 
46
        ,\n  \"prio\": 0,\n  \"ttl\": 3600,\n  \"type\": \"TXT\"\n}\n"}
 
47
    headers:
 
48
      Connection: [Keep-Alive]
 
49
      Content-Length: ['279']
 
50
      Content-Type: [application/json; charset=utf-8]
 
51
      Date: ['Sun, 25 Feb 2018 11:13:02 GMT']
 
52
      Keep-Alive: ['timeout=5, max=100']
 
53
      Server: [Apache/2.4.7 (Ubuntu)]
 
54
    status: {code: 201, message: CREATED}
 
55
- request:
 
56
    body: '{}'
 
57
    headers:
 
58
      Accept: ['*/*']
 
59
      Accept-Encoding: ['gzip, deflate']
 
60
      Connection: [keep-alive]
 
61
      Content-Length: ['2']
 
62
      Content-Type: [application/json]
 
63
      User-Agent: [python-requests/2.18.4]
 
64
      X-AuroraDNS-Date: [20180225T111302Z]
 
65
    method: GET
 
66
    uri: https://api.auroradns.eu/zones/0645e7fa-6b94-46dd-99dd-bfb572f4e740/records
 
67
  response:
 
68
    body: {string: "[\n  {\n    \"content\": \"ns001.auroradns.eu admin.auroradns.eu\
 
69
        \ 2018022501 86400 7200 604800 300\",\n    \"created\": \"2018-02-25T11:12:31Z\"\
 
70
        ,\n    \"disabled\": false,\n    \"health_check_id\": null,\n    \"id\": \"\
 
71
        93b5d729-54be-4cef-9ae8-3cf1d6f0bfb6\",\n    \"modified\": \"2018-02-25T11:12:31Z\"\
 
72
        ,\n    \"name\": \"\",\n    \"prio\": 0,\n    \"ttl\": 4800,\n    \"type\"\
 
73
        : \"SOA\"\n  },\n  {\n    \"content\": \"ns001.auroradns.eu\",\n    \"created\"\
 
74
        : \"2018-02-25T11:12:31Z\",\n    \"disabled\": false,\n    \"health_check_id\"\
 
75
        : null,\n    \"id\": \"2bb674e4-4c56-4249-9709-fd361c5d6a14\",\n    \"modified\"\
 
76
        : \"2018-02-25T11:12:31Z\",\n    \"name\": \"\",\n    \"prio\": 0,\n    \"\
 
77
        ttl\": 3600,\n    \"type\": \"NS\"\n  },\n  {\n    \"content\": \"ns002.auroradns.nl\"\
 
78
        ,\n    \"created\": \"2018-02-25T11:12:31Z\",\n    \"disabled\": false,\n\
 
79
        \    \"health_check_id\": null,\n    \"id\": \"5238e130-e50b-49e8-91f2-900e4b63dfe0\"\
 
80
        ,\n    \"modified\": \"2018-02-25T11:12:31Z\",\n    \"name\": \"\",\n    \"\
 
81
        prio\": 0,\n    \"ttl\": 3600,\n    \"type\": \"NS\"\n  },\n  {\n    \"content\"\
 
82
        : \"ns003.auroradns.info\",\n    \"created\": \"2018-02-25T11:12:31Z\",\n\
 
83
        \    \"disabled\": false,\n    \"health_check_id\": null,\n    \"id\": \"\
 
84
        616ca5b2-189f-424c-a429-1300acd64fbc\",\n    \"modified\": \"2018-02-25T11:12:31Z\"\
 
85
        ,\n    \"name\": \"\",\n    \"prio\": 0,\n    \"ttl\": 3600,\n    \"type\"\
 
86
        : \"NS\"\n  },\n  {\n    \"content\": \"127.0.0.1\",\n    \"created\": \"\
 
87
        2018-02-25T11:12:52Z\",\n    \"disabled\": false,\n    \"health_check_id\"\
 
88
        : null,\n    \"id\": \"56758f4b-08c0-4151-88f5-d281a98b9282\",\n    \"modified\"\
 
89
        : \"2018-02-25T11:12:52Z\",\n    \"name\": \"localhost\",\n    \"prio\": 0,\n\
 
90
        \    \"ttl\": 3600,\n    \"type\": \"A\"\n  },\n  {\n    \"content\": \"docs.example.com\"\
 
91
        ,\n    \"created\": \"2018-02-25T11:12:53Z\",\n    \"disabled\": false,\n\
 
92
        \    \"health_check_id\": null,\n    \"id\": \"a72321c3-ad80-44ae-bd26-2b891af7f803\"\
 
93
        ,\n    \"modified\": \"2018-02-25T11:12:53Z\",\n    \"name\": \"docs\",\n\
 
94
        \    \"prio\": 0,\n    \"ttl\": 3600,\n    \"type\": \"CNAME\"\n  },\n  {\n\
 
95
        \    \"content\": \"challengetoken\",\n    \"created\": \"2018-02-25T11:12:53Z\"\
 
96
        ,\n    \"disabled\": false,\n    \"health_check_id\": null,\n    \"id\": \"\
 
97
        911c508d-dd66-4463-8136-5c092ac395b1\",\n    \"modified\": \"2018-02-25T11:12:53Z\"\
 
98
        ,\n    \"name\": \"_acme-challenge.fqdn\",\n    \"prio\": 0,\n    \"ttl\"\
 
99
        : 3600,\n    \"type\": \"TXT\"\n  },\n  {\n    \"content\": \"challengetoken\"\
 
100
        ,\n    \"created\": \"2018-02-25T11:12:53Z\",\n    \"disabled\": false,\n\
 
101
        \    \"health_check_id\": null,\n    \"id\": \"8e8ddeb7-52b2-4dbf-8711-ff4be93110c8\"\
 
102
        ,\n    \"modified\": \"2018-02-25T11:12:53Z\",\n    \"name\": \"_acme-challenge.full\"\
 
103
        ,\n    \"prio\": 0,\n    \"ttl\": 3600,\n    \"type\": \"TXT\"\n  },\n  {\n\
 
104
        \    \"content\": \"challengetoken\",\n    \"created\": \"2018-02-25T11:12:54Z\"\
 
105
        ,\n    \"disabled\": false,\n    \"health_check_id\": null,\n    \"id\": \"\
 
106
        420cfedc-cc0d-43f7-ab57-f001088c7815\",\n    \"modified\": \"2018-02-25T11:12:54Z\"\
 
107
        ,\n    \"name\": \"_acme-challenge.test\",\n    \"prio\": 0,\n    \"ttl\"\
 
108
        : 3600,\n    \"type\": \"TXT\"\n  },\n  {\n    \"content\": \"challengetoken\"\
 
109
        ,\n    \"created\": \"2018-02-25T11:13:02Z\",\n    \"disabled\": false,\n\
 
110
        \    \"health_check_id\": null,\n    \"id\": \"1c7dd2bf-eb1c-4878-84b1-f00fffb3b02a\"\
 
111
        ,\n    \"modified\": \"2018-02-25T11:13:02Z\",\n    \"name\": \"delete.testfull\"\
 
112
        ,\n    \"prio\": 0,\n    \"ttl\": 3600,\n    \"type\": \"TXT\"\n  }\n]\n"}
 
113
    headers:
 
114
      Connection: [Keep-Alive]
 
115
      Content-Length: ['3045']
 
116
      Content-Type: [application/json; charset=utf-8]
 
117
      Date: ['Sun, 25 Feb 2018 11:13:02 GMT']
 
118
      Keep-Alive: ['timeout=5, max=100']
 
119
      Server: [Apache/2.4.7 (Ubuntu)]
 
120
    status: {code: 200, message: OK}
 
121
- request:
 
122
    body: '{}'
 
123
    headers:
 
124
      Accept: ['*/*']
 
125
      Accept-Encoding: ['gzip, deflate']
 
126
      Connection: [keep-alive]
 
127
      Content-Length: ['2']
 
128
      Content-Type: [application/json]
 
129
      User-Agent: [python-requests/2.18.4]
 
130
      X-AuroraDNS-Date: [20180225T111302Z]
 
131
    method: DELETE
 
132
    uri: https://api.auroradns.eu/zones/0645e7fa-6b94-46dd-99dd-bfb572f4e740/records/1c7dd2bf-eb1c-4878-84b1-f00fffb3b02a
 
133
  response:
 
134
    body: {string: '
 
135
 
 
136
 
 
137
        '}
 
138
    headers:
 
139
      Connection: [Keep-Alive]
 
140
      Content-Length: ['2']
 
141
      Content-Type: [text/plain; charset=utf-8]
 
142
      Date: ['Sun, 25 Feb 2018 11:13:02 GMT']
 
143
      Keep-Alive: ['timeout=5, max=100']
 
144
      Server: [Apache/2.4.7 (Ubuntu)]
 
145
    status: {code: 200, message: OK}
 
146
- request:
 
147
    body: '{}'
 
148
    headers:
 
149
      Accept: ['*/*']
 
150
      Accept-Encoding: ['gzip, deflate']
 
151
      Connection: [keep-alive]
 
152
      Content-Length: ['2']
 
153
      Content-Type: [application/json]
 
154
      User-Agent: [python-requests/2.18.4]
 
155
      X-AuroraDNS-Date: [20180225T111302Z]
 
156
    method: GET
 
157
    uri: https://api.auroradns.eu/zones/0645e7fa-6b94-46dd-99dd-bfb572f4e740/records
 
158
  response:
 
159
    body: {string: "[\n  {\n    \"content\": \"ns001.auroradns.eu admin.auroradns.eu\
 
160
        \ 2018022501 86400 7200 604800 300\",\n    \"created\": \"2018-02-25T11:12:31Z\"\
 
161
        ,\n    \"disabled\": false,\n    \"health_check_id\": null,\n    \"id\": \"\
 
162
        93b5d729-54be-4cef-9ae8-3cf1d6f0bfb6\",\n    \"modified\": \"2018-02-25T11:12:31Z\"\
 
163
        ,\n    \"name\": \"\",\n    \"prio\": 0,\n    \"ttl\": 4800,\n    \"type\"\
 
164
        : \"SOA\"\n  },\n  {\n    \"content\": \"ns001.auroradns.eu\",\n    \"created\"\
 
165
        : \"2018-02-25T11:12:31Z\",\n    \"disabled\": false,\n    \"health_check_id\"\
 
166
        : null,\n    \"id\": \"2bb674e4-4c56-4249-9709-fd361c5d6a14\",\n    \"modified\"\
 
167
        : \"2018-02-25T11:12:31Z\",\n    \"name\": \"\",\n    \"prio\": 0,\n    \"\
 
168
        ttl\": 3600,\n    \"type\": \"NS\"\n  },\n  {\n    \"content\": \"ns002.auroradns.nl\"\
 
169
        ,\n    \"created\": \"2018-02-25T11:12:31Z\",\n    \"disabled\": false,\n\
 
170
        \    \"health_check_id\": null,\n    \"id\": \"5238e130-e50b-49e8-91f2-900e4b63dfe0\"\
 
171
        ,\n    \"modified\": \"2018-02-25T11:12:31Z\",\n    \"name\": \"\",\n    \"\
 
172
        prio\": 0,\n    \"ttl\": 3600,\n    \"type\": \"NS\"\n  },\n  {\n    \"content\"\
 
173
        : \"ns003.auroradns.info\",\n    \"created\": \"2018-02-25T11:12:31Z\",\n\
 
174
        \    \"disabled\": false,\n    \"health_check_id\": null,\n    \"id\": \"\
 
175
        616ca5b2-189f-424c-a429-1300acd64fbc\",\n    \"modified\": \"2018-02-25T11:12:31Z\"\
 
176
        ,\n    \"name\": \"\",\n    \"prio\": 0,\n    \"ttl\": 3600,\n    \"type\"\
 
177
        : \"NS\"\n  },\n  {\n    \"content\": \"127.0.0.1\",\n    \"created\": \"\
 
178
        2018-02-25T11:12:52Z\",\n    \"disabled\": false,\n    \"health_check_id\"\
 
179
        : null,\n    \"id\": \"56758f4b-08c0-4151-88f5-d281a98b9282\",\n    \"modified\"\
 
180
        : \"2018-02-25T11:12:52Z\",\n    \"name\": \"localhost\",\n    \"prio\": 0,\n\
 
181
        \    \"ttl\": 3600,\n    \"type\": \"A\"\n  },\n  {\n    \"content\": \"docs.example.com\"\
 
182
        ,\n    \"created\": \"2018-02-25T11:12:53Z\",\n    \"disabled\": false,\n\
 
183
        \    \"health_check_id\": null,\n    \"id\": \"a72321c3-ad80-44ae-bd26-2b891af7f803\"\
 
184
        ,\n    \"modified\": \"2018-02-25T11:12:53Z\",\n    \"name\": \"docs\",\n\
 
185
        \    \"prio\": 0,\n    \"ttl\": 3600,\n    \"type\": \"CNAME\"\n  },\n  {\n\
 
186
        \    \"content\": \"challengetoken\",\n    \"created\": \"2018-02-25T11:12:53Z\"\
 
187
        ,\n    \"disabled\": false,\n    \"health_check_id\": null,\n    \"id\": \"\
 
188
        911c508d-dd66-4463-8136-5c092ac395b1\",\n    \"modified\": \"2018-02-25T11:12:53Z\"\
 
189
        ,\n    \"name\": \"_acme-challenge.fqdn\",\n    \"prio\": 0,\n    \"ttl\"\
 
190
        : 3600,\n    \"type\": \"TXT\"\n  },\n  {\n    \"content\": \"challengetoken\"\
 
191
        ,\n    \"created\": \"2018-02-25T11:12:53Z\",\n    \"disabled\": false,\n\
 
192
        \    \"health_check_id\": null,\n    \"id\": \"8e8ddeb7-52b2-4dbf-8711-ff4be93110c8\"\
 
193
        ,\n    \"modified\": \"2018-02-25T11:12:53Z\",\n    \"name\": \"_acme-challenge.full\"\
 
194
        ,\n    \"prio\": 0,\n    \"ttl\": 3600,\n    \"type\": \"TXT\"\n  },\n  {\n\
 
195
        \    \"content\": \"challengetoken\",\n    \"created\": \"2018-02-25T11:12:54Z\"\
 
196
        ,\n    \"disabled\": false,\n    \"health_check_id\": null,\n    \"id\": \"\
 
197
        420cfedc-cc0d-43f7-ab57-f001088c7815\",\n    \"modified\": \"2018-02-25T11:12:54Z\"\
 
198
        ,\n    \"name\": \"_acme-challenge.test\",\n    \"prio\": 0,\n    \"ttl\"\
 
199
        : 3600,\n    \"type\": \"TXT\"\n  }\n]\n"}
 
200
    headers:
 
201
      Connection: [Keep-Alive]
 
202
      Content-Length: ['2741']
 
203
      Content-Type: [application/json; charset=utf-8]
 
204
      Date: ['Sun, 25 Feb 2018 11:13:03 GMT']
 
205
      Keep-Alive: ['timeout=5, max=100']
 
206
      Server: [Apache/2.4.7 (Ubuntu)]
 
207
    status: {code: 200, message: OK}
 
208
version: 1