~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_update_record_should_modify_record_name_specified.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: [20180225T111307Z]
 
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:07 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": "orig.nameonly.test", "content": "challengetoken",
 
31
      "ttl": 3600}'
 
32
    headers:
 
33
      Accept: ['*/*']
 
34
      Accept-Encoding: ['gzip, deflate']
 
35
      Connection: [keep-alive]
 
36
      Content-Length: ['87']
 
37
      Content-Type: [application/json]
 
38
      User-Agent: [python-requests/2.18.4]
 
39
      X-AuroraDNS-Date: [20180225T111307Z]
 
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:08Z\"\
 
44
        ,\n  \"disabled\": false,\n  \"health_check_id\": null,\n  \"id\": \"a792a485-021f-48b2-a987-634fe371f2fa\"\
 
45
        ,\n  \"modified\": \"2018-02-25T11:13:08Z\",\n  \"name\": \"orig.nameonly.test\"\
 
46
        ,\n  \"prio\": 0,\n  \"ttl\": 3600,\n  \"type\": \"TXT\"\n}\n"}
 
47
    headers:
 
48
      Connection: [Keep-Alive]
 
49
      Content-Length: ['282']
 
50
      Content-Type: [application/json; charset=utf-8]
 
51
      Date: ['Sun, 25 Feb 2018 11:13:07 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: [20180225T111307Z]
 
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\": \"ttlshouldbe3600\"\
 
109
        ,\n    \"created\": \"2018-02-25T11:13:04Z\",\n    \"disabled\": false,\n\
 
110
        \    \"health_check_id\": null,\n    \"id\": \"5f79805f-c02e-43c2-945e-c803dca4e959\"\
 
111
        ,\n    \"modified\": \"2018-02-25T11:13:04Z\",\n    \"name\": \"ttl.fqdn\"\
 
112
        ,\n    \"prio\": 0,\n    \"ttl\": 3600,\n    \"type\": \"TXT\"\n  },\n  {\n\
 
113
        \    \"content\": \"challengetoken\",\n    \"created\": \"2018-02-25T11:13:04Z\"\
 
114
        ,\n    \"disabled\": false,\n    \"health_check_id\": null,\n    \"id\": \"\
 
115
        8ca18cbc-ca8f-49fc-afb5-f8ea9fdc21c3\",\n    \"modified\": \"2018-02-25T11:13:04Z\"\
 
116
        ,\n    \"name\": \"random.fqdntest\",\n    \"prio\": 0,\n    \"ttl\": 3600,\n\
 
117
        \    \"type\": \"TXT\"\n  },\n  {\n    \"content\": \"challengetoken\",\n\
 
118
        \    \"created\": \"2018-02-25T11:13:05Z\",\n    \"disabled\": false,\n  \
 
119
        \  \"health_check_id\": null,\n    \"id\": \"cd4a21a8-b2b6-4ed0-9769-61afbb927f2f\"\
 
120
        ,\n    \"modified\": \"2018-02-25T11:13:05Z\",\n    \"name\": \"random.fulltest\"\
 
121
        ,\n    \"prio\": 0,\n    \"ttl\": 3600,\n    \"type\": \"TXT\"\n  },\n  {\n\
 
122
        \    \"content\": \"challengetoken\",\n    \"created\": \"2018-02-25T11:13:06Z\"\
 
123
        ,\n    \"disabled\": false,\n    \"health_check_id\": null,\n    \"id\": \"\
 
124
        20430bbe-b803-43e3-b12b-700ff323cde0\",\n    \"modified\": \"2018-02-25T11:13:06Z\"\
 
125
        ,\n    \"name\": \"random.test\",\n    \"prio\": 0,\n    \"ttl\": 3600,\n\
 
126
        \    \"type\": \"TXT\"\n  },\n  {\n    \"content\": \"challengetoken\",\n\
 
127
        \    \"created\": \"2018-02-25T11:13:07Z\",\n    \"disabled\": false,\n  \
 
128
        \  \"health_check_id\": null,\n    \"id\": \"18561eb7-219b-44a9-aa7e-0bb8d51f0579\"\
 
129
        ,\n    \"modified\": \"2018-02-25T11:13:07Z\",\n    \"name\": \"updated.test\"\
 
130
        ,\n    \"prio\": 0,\n    \"ttl\": 3600,\n    \"type\": \"TXT\"\n  },\n  {\n\
 
131
        \    \"content\": \"challengetoken\",\n    \"created\": \"2018-02-25T11:13:08Z\"\
 
132
        ,\n    \"disabled\": false,\n    \"health_check_id\": null,\n    \"id\": \"\
 
133
        a792a485-021f-48b2-a987-634fe371f2fa\",\n    \"modified\": \"2018-02-25T11:13:08Z\"\
 
134
        ,\n    \"name\": \"orig.nameonly.test\",\n    \"prio\": 0,\n    \"ttl\": 3600,\n\
 
135
        \    \"type\": \"TXT\"\n  }\n]\n"}
 
136
    headers:
 
137
      Connection: [Keep-Alive]
 
138
      Content-Length: ['4555']
 
139
      Content-Type: [application/json; charset=utf-8]
 
140
      Date: ['Sun, 25 Feb 2018 11:13:08 GMT']
 
141
      Keep-Alive: ['timeout=5, max=100']
 
142
      Server: [Apache/2.4.7 (Ubuntu)]
 
143
    status: {code: 200, message: OK}
 
144
- request:
 
145
    body: '{"type": "TXT", "name": "orig.nameonly.test", "content": "updated", "ttl":
 
146
      3600}'
 
147
    headers:
 
148
      Accept: ['*/*']
 
149
      Accept-Encoding: ['gzip, deflate']
 
150
      Connection: [keep-alive]
 
151
      Content-Length: ['80']
 
152
      Content-Type: [application/json]
 
153
      User-Agent: [python-requests/2.18.4]
 
154
      X-AuroraDNS-Date: [20180225T111308Z]
 
155
    method: PUT
 
156
    uri: https://api.auroradns.eu/zones/0645e7fa-6b94-46dd-99dd-bfb572f4e740/records/a792a485-021f-48b2-a987-634fe371f2fa
 
157
  response:
 
158
    body: {string: '
 
159
 
 
160
 
 
161
        '}
 
162
    headers:
 
163
      Connection: [Keep-Alive]
 
164
      Content-Length: ['2']
 
165
      Content-Type: [text/plain; charset=utf-8]
 
166
      Date: ['Sun, 25 Feb 2018 11:13:08 GMT']
 
167
      Keep-Alive: ['timeout=5, max=100']
 
168
      Server: [Apache/2.4.7 (Ubuntu)]
 
169
    status: {code: 200, message: OK}
 
170
version: 1