File: test_provider_when_calling_create_record_for_CNAME_with_valid_name_and_content.yaml

package info (click to toggle)
lexicon 3.3.17-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 42,580 kB
  • sloc: python: 12,755; sh: 102; makefile: 11
file content (52 lines) | stat: -rw-r--r-- 3,022 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
interactions:
- request:
    body: !!python/unicode '{}'
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['2']
      Content-Type: [application/json]
      User-Agent: [python-requests/2.18.4]
      x-dnsme-requestDate: ['Wed, 21 Mar 2018 05:25:11 GMT']
    method: GET
    uri: http://api.sandbox.dnsmadeeasy.com/V2.0/dns/managed/name?domainname=capsulecd.com
  response:
    body: {string: !!python/unicode '{"created":1521590400000,"delegateNameServers":["dawn.ns.cloudflare.com.","owen.ns.cloudflare.com."],"folderId":2052,"gtdEnabled":false,"nameServers":[{"fqdn":"ns1.sandbox.dnsmadeeasy.com","ipv4":"208.80.120.45","ipv6":"2600:1806:511:210:1eaf::45"},{"fqdn":"ns2.sandbox.dnsmadeeasy.com","ipv4":"208.80.120.46","ipv6":"2600:1806:511:210:1eaf::46"},{"fqdn":"ns3.sandbox.dnsmadeeasy.com","ipv4":"208.80.120.47","ipv6":"2600:1806:511:210:1eaf::47"},{"fqdn":"ns4.sandbox.dnsmadeeasy.com","ipv4":"208.80.120.48","ipv6":"2600:1806:511:210:1eaf::48"},{"fqdn":"ns5.sandbox.dnsmadeeasy.com","ipv4":"208.80.120.49","ipv6":"2600:1806:511:210:1eaf::49"}],"pendingActionId":0,"updated":1521609889401,"processMulti":false,"activeThirdParties":[],"name":"capsulecd.com","id":878951}'}
    headers:
      content-type: [application/json]
      date: ['Wed, 21 Mar 2018 05:25:12 GMT']
      server: [Apache-Coyote/1.1]
      set-cookie: [JSESSIONID=5A34E7045A26D90EC1A86AF9AD8D99DC; Path=/V2.0; HttpOnly]
      transfer-encoding: [chunked]
      x-dnsme-requestid: [f00374ba-7cad-4959-80e9-fbac7a5bd0cb]
      x-dnsme-requestlimit: ['150']
      x-dnsme-requestsremaining: ['145']
    status: {code: 200, message: OK}
- request:
    body: !!python/unicode '{"type": "CNAME", "name": "docs", "value": "docs.example.com",
      "ttl": 3600}'
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['75']
      Content-Type: [application/json]
      User-Agent: [python-requests/2.18.4]
      x-dnsme-requestDate: ['Wed, 21 Mar 2018 05:25:12 GMT']
    method: POST
    uri: http://api.sandbox.dnsmadeeasy.com/V2.0/dns/managed/878951/records/
  response:
    body: {string: !!python/unicode '{"failover":false,"monitor":false,"sourceId":878951,"dynamicDns":false,"failed":false,"gtdLocation":"DEFAULT","hardLink":false,"ttl":3600,"source":1,"name":"docs","value":"docs.example.com","id":10168985,"type":"CNAME"}'}
    headers:
      content-type: [application/json]
      date: ['Wed, 21 Mar 2018 05:25:12 GMT']
      location: ['http://api.sandbox.dnsmadeeasy.com/V2.0/dns/managed/878951/records/10168985']
      server: [Apache-Coyote/1.1]
      set-cookie: [JSESSIONID=7A46C22C3B4D499331BB9E67EED541CF; Path=/V2.0; HttpOnly]
      transfer-encoding: [chunked]
      x-dnsme-requestid: [e5c1a723-869a-43d8-8a77-7331577944b0]
      x-dnsme-requestlimit: ['150']
      x-dnsme-requestsremaining: ['144']
    status: {code: 201, message: Created}
version: 1