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

« back to all changes in this revision

Viewing changes to tests/fixtures/cassettes/cloudxns/IntegrationTests/test_Provider_when_calling_list_records_with_fqdn_name_filter_should_return_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: '{"login_token": "c34e4c5a884101c4c2be3737af8d3d08,81d216fcd15eeb53", "format":
 
4
      "json"}'
 
5
    headers:
 
6
      API-FORMAT: [json]
 
7
      API-HMAC: [1577adbf358bf47de58991b759a5b736]
 
8
      API-KEY: [c34e4c5a884101c4c2be3737af8d3d08]
 
9
      API-REQUEST-DATE: ['Wed Jun 08 00:14:36 2016']
 
10
      Accept: ['*/*']
 
11
      Accept-Encoding: ['gzip, deflate']
 
12
      Connection: [keep-alive]
 
13
      Content-Length: ['86']
 
14
      User-Agent: [python-requests/2.9.1]
 
15
    method: GET
 
16
    uri: https://www.cloudxns.net/api2/domain
 
17
  response:
 
18
    body: {string: !!python/unicode '{"code":1,"message":"success","total":"1","data":[{"id":"89415","domain":"capsulecd.com.","status":"ok","level":"3","take_over_status":"no","create_time":"2016-06-08
 
19
        14:49:10","update_time":"2016-06-08 14:57:48","ttl":"600"}]}'}
 
20
    headers:
 
21
      connection: [keep-alive]
 
22
      content-length: ['226']
 
23
      content-type: [text/html; charset=utf-8]
 
24
      date: ['Wed, 08 Jun 2016 07:14:38 GMT']
 
25
      server: [Tengine]
 
26
      set-cookie: ['CloudXNS_TOKEN=60b8ec2428e015425638f4fb98e1ba94; expires=Wed,
 
27
          08-Jun-2016 17:14:38 GMT; path=/']
 
28
      vary: [Accept-Encoding]
 
29
    status: {code: 200, message: OK}
 
30
- request:
 
31
    body: '{"format": "json", "login_token": "c34e4c5a884101c4c2be3737af8d3d08,81d216fcd15eeb53",
 
32
      "value": "challengetoken", "line_id": 1, "host": "random.fqdntest", "type":
 
33
      "TXT", "domain_id": "89415"}'
 
34
    headers:
 
35
      API-FORMAT: [json]
 
36
      API-HMAC: [80b2d251f95e83afe29da14c7652a083]
 
37
      API-KEY: [c34e4c5a884101c4c2be3737af8d3d08]
 
38
      API-REQUEST-DATE: ['Wed Jun 08 00:15:14 2016']
 
39
      Accept: ['*/*']
 
40
      Accept-Encoding: ['gzip, deflate']
 
41
      Connection: [keep-alive]
 
42
      Content-Length: ['191']
 
43
      User-Agent: [python-requests/2.9.1]
 
44
    method: POST
 
45
    uri: https://www.cloudxns.net/api2/record
 
46
  response:
 
47
    body: {string: !!python/unicode '{"code":1,"message":"success","record_id":[1373561]}'}
 
48
    headers:
 
49
      connection: [keep-alive]
 
50
      content-length: ['52']
 
51
      content-type: [text/html; charset=utf-8]
 
52
      date: ['Wed, 08 Jun 2016 07:15:15 GMT']
 
53
      server: [Tengine]
 
54
      vary: [Accept-Encoding]
 
55
    status: {code: 200, message: OK}
 
56
- request:
 
57
    body: '{"login_token": "c34e4c5a884101c4c2be3737af8d3d08,81d216fcd15eeb53", "format":
 
58
      "json"}'
 
59
    headers:
 
60
      API-FORMAT: [json]
 
61
      API-HMAC: [f9aef6cc63766bd98815c7609dc96d41]
 
62
      API-KEY: [c34e4c5a884101c4c2be3737af8d3d08]
 
63
      API-REQUEST-DATE: ['Wed Jun 08 00:15:54 2016']
 
64
      Accept: ['*/*']
 
65
      Accept-Encoding: ['gzip, deflate']
 
66
      Connection: [keep-alive]
 
67
      Content-Length: ['86']
 
68
      User-Agent: [python-requests/2.9.1]
 
69
    method: GET
 
70
    uri: https://www.cloudxns.net/api2/record/89415?host_id=0&row_num=2000&offset=0
 
71
  response:
 
72
    body: {string: !!python/unicode '{"code":1,"message":"success","total":"15","offset":0,"row_num":2000,"data":[{"record_id":"1373553","host_id":"1155561","host":"delete.testfilt","line_id":"1","line_zh":"\u5168\u7f51\u9ed8\u8ba4","line_en":"DEFAULT","mx":null,"value":"\"challengetoken\"","ttl":"600","type":"TXT","status":"ok","create_time":"2016-06-08
 
73
        15:15:09","update_time":"2016-06-08 15:15:09"},{"record_id":"1373555","host_id":"1155563","host":"delete.testfqdn","line_id":"1","line_zh":"\u5168\u7f51\u9ed8\u8ba4","line_en":"DEFAULT","mx":null,"value":"\"challengetoken\"","ttl":"600","type":"TXT","status":"ok","create_time":"2016-06-08
 
74
        15:15:11","update_time":"2016-06-08 15:15:11"},{"record_id":"1373557","host_id":"1155565","host":"delete.testfull","line_id":"1","line_zh":"\u5168\u7f51\u9ed8\u8ba4","line_en":"DEFAULT","mx":null,"value":"\"challengetoken\"","ttl":"600","type":"TXT","status":"ok","create_time":"2016-06-08
 
75
        15:15:12","update_time":"2016-06-08 15:15:12"},{"record_id":"1373559","host_id":"1155567","host":"delete.testid","line_id":"1","line_zh":"\u5168\u7f51\u9ed8\u8ba4","line_en":"DEFAULT","mx":null,"value":"\"challengetoken\"","ttl":"600","type":"TXT","status":"ok","create_time":"2016-06-08
 
76
        15:15:13","update_time":"2016-06-08 15:15:14"},{"record_id":"1373545","host_id":"1155553","host":"docs","line_id":"1","line_zh":"\u5168\u7f51\u9ed8\u8ba4","line_en":"DEFAULT","mx":null,"value":"docs.example.com.","ttl":"600","type":"CNAME","status":"ok","create_time":"2016-06-08
 
77
        15:15:00","update_time":"2016-06-08 15:15:00"},{"record_id":"1373543","host_id":"1155551","host":"localhost","line_id":"1","line_zh":"\u5168\u7f51\u9ed8\u8ba4","line_en":"DEFAULT","mx":null,"value":"127.0.0.1","ttl":"600","type":"A","status":"ok","create_time":"2016-06-08
 
78
        15:14:58","update_time":"2016-06-08 15:14:58"},{"record_id":"1373567","host_id":"1155575","host":"orig.test","line_id":"1","line_zh":"\u5168\u7f51\u9ed8\u8ba4","line_en":"DEFAULT","mx":null,"value":"\"challengetoken\"","ttl":"600","type":"TXT","status":"ok","create_time":"2016-06-08
 
79
        15:15:23","update_time":"2016-06-08 15:15:23"},{"record_id":"1373569","host_id":"1155577","host":"orig.testfqdn","line_id":"1","line_zh":"\u5168\u7f51\u9ed8\u8ba4","line_en":"DEFAULT","mx":null,"value":"\"challengetoken\"","ttl":"600","type":"TXT","status":"ok","create_time":"2016-06-08
 
80
        15:15:26","update_time":"2016-06-08 15:15:26"},{"record_id":"1373571","host_id":"1155579","host":"orig.testfull","line_id":"1","line_zh":"\u5168\u7f51\u9ed8\u8ba4","line_en":"DEFAULT","mx":null,"value":"\"challengetoken\"","ttl":"600","type":"TXT","status":"ok","create_time":"2016-06-08
 
81
        15:15:27","update_time":"2016-06-08 15:15:27"},{"record_id":"1373561","host_id":"1155569","host":"random.fqdntest","line_id":"1","line_zh":"\u5168\u7f51\u9ed8\u8ba4","line_en":"DEFAULT","mx":null,"value":"\"challengetoken\"","ttl":"600","type":"TXT","status":"ok","create_time":"2016-06-08
 
82
        15:15:15","update_time":"2016-06-08 15:15:15"},{"record_id":"1373563","host_id":"1155571","host":"random.fulltest","line_id":"1","line_zh":"\u5168\u7f51\u9ed8\u8ba4","line_en":"DEFAULT","mx":null,"value":"\"challengetoken\"","ttl":"600","type":"TXT","status":"ok","create_time":"2016-06-08
 
83
        15:15:17","update_time":"2016-06-08 15:15:17"},{"record_id":"1373565","host_id":"1155573","host":"random.test","line_id":"1","line_zh":"\u5168\u7f51\u9ed8\u8ba4","line_en":"DEFAULT","mx":null,"value":"\"challengetoken\"","ttl":"600","type":"TXT","status":"ok","create_time":"2016-06-08
 
84
        15:15:19","update_time":"2016-06-08 15:15:19"},{"record_id":"1373547","host_id":"1155555","host":"_acme-challenge.fqdn","line_id":"1","line_zh":"\u5168\u7f51\u9ed8\u8ba4","line_en":"DEFAULT","mx":null,"value":"\"challengetoken\"","ttl":"600","type":"TXT","status":"ok","create_time":"2016-06-08
 
85
        15:15:02","update_time":"2016-06-08 15:15:02"},{"record_id":"1373549","host_id":"1155557","host":"_acme-challenge.full","line_id":"1","line_zh":"\u5168\u7f51\u9ed8\u8ba4","line_en":"DEFAULT","mx":null,"value":"\"challengetoken\"","ttl":"600","type":"TXT","status":"ok","create_time":"2016-06-08
 
86
        15:15:04","update_time":"2016-06-08 15:15:04"},{"record_id":"1373551","host_id":"1155559","host":"_acme-challenge.test","line_id":"1","line_zh":"\u5168\u7f51\u9ed8\u8ba4","line_en":"DEFAULT","mx":null,"value":"\"challengetoken\"","ttl":"600","type":"TXT","status":"ok","create_time":"2016-06-08
 
87
        15:15:07","update_time":"2016-06-08 15:15:07"}]}'}
 
88
    headers:
 
89
      connection: [keep-alive]
 
90
      content-length: ['4400']
 
91
      content-type: [text/html; charset=utf-8]
 
92
      date: ['Wed, 08 Jun 2016 07:15:56 GMT']
 
93
      server: [Tengine]
 
94
      transfer-encoding: [chunked]
 
95
      vary: [Accept-Encoding]
 
96
    status: {code: 200, message: OK}
 
97
version: 1