File: test_provider_when_calling_create_record_for_A_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 (149 lines) | stat: -rw-r--r-- 6,388 bytes parent folder | download | duplicates (4)
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
interactions:
- request:
    body: !!python/unicode '{}'
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '2'
      Content-Type:
      - application/json
      User-Agent:
      - python-requests/2.22.0
    method: GET
    uri: https://my.rcodezero.at/api/v1/zones/lexicon-test.at
  response:
    body:
      string: !!python/unicode '{"id":544219,"domain":"lexicon-test.at","type":"MASTER","masters":[""],"serial":2019093201,"created":"2019-09-30T12:57:51Z","last_check":null,"dnssec_status":"Unsigned","dnssec_status_detail":"Unsigned"}'
    headers:
      cache-control:
      - no-cache, private
      connection:
      - Keep-Alive
      content-length:
      - '203'
      content-type:
      - application/json
      date:
      - Mon, 30 Sep 2019 13:25:40 GMT
      keep-alive:
      - timeout=5, max=100
      server:
      - Apache
      strict-transport-security:
      - max-age=15768000
      vary:
      - Authorization,Accept-Encoding
      x-frame-options:
      - SAMEORIGIN
      x-ratelimit-limit:
      - '200'
      x-ratelimit-remaining:
      - '185'
    status:
      code: 200
      message: OK
- request:
    body: !!python/unicode '{}'
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '2'
      Content-Type:
      - application/json
      User-Agent:
      - python-requests/2.22.0
    method: GET
    uri: https://my.rcodezero.at/api/v1/zones/lexicon-test.at/rrsets?page_size=-1
  response:
    body:
      string: !!python/unicode '{"current_page":1,"data":[{"name":"localhost.lexicon-test.at.","type":"A","ttl":3600,"records":[{"content":"127.0.0.1","disabled":false}]},{"name":"random.fqdntest.lexicon-test.at.","type":"TXT","ttl":3600,"records":[{"content":"\"challengetoken\"","disabled":false}]},{"name":"random.fulltest.lexicon-test.at.","type":"TXT","ttl":3600,"records":[{"content":"\"challengetoken\"","disabled":false}]},{"name":"orig.nameonly.test.lexicon-test.at.","type":"TXT","ttl":3600,"records":[{"content":"\"updated\"","disabled":false}]},{"name":"random.test.lexicon-test.at.","type":"TXT","ttl":3600,"records":[{"content":"\"challengetoken\"","disabled":false}]},{"name":"_acme-challenge.test.lexicon-test.at.","type":"TXT","ttl":3600,"records":[{"content":"\"challengetoken\"","disabled":false}]},{"name":"updated.test.lexicon-test.at.","type":"TXT","ttl":3600,"records":[{"content":"\"challengetoken\"","disabled":false}]},{"name":"_acme-challenge.deleterecordinset.lexicon-test.at.","type":"TXT","ttl":3600,"records":[{"content":"\"challengetoken2\"","disabled":false}]},{"name":"_acme-challenge.listrecordset.lexicon-test.at.","type":"TXT","ttl":3600,"records":[{"content":"\"challengetoken2\"","disabled":false},{"content":"\"challengetoken1\"","disabled":false}]},{"name":"_acme-challenge.createrecordset.lexicon-test.at.","type":"TXT","ttl":3600,"records":[{"content":"\"challengetoken2\"","disabled":false},{"content":"\"challengetoken1\"","disabled":false}]},{"name":"docs.lexicon-test.at.","type":"CNAME","ttl":3600,"records":[{"content":"docs.example.com.lexicon-test.at.","disabled":false}]},{"name":"_acme-challenge.noop.lexicon-test.at.","type":"TXT","ttl":3600,"records":[{"content":"\"challengetoken\"","disabled":false}]},{"name":"updated.testfqdn.lexicon-test.at.","type":"TXT","ttl":3600,"records":[{"content":"\"challengetoken\"","disabled":false}]},{"name":"ttl.fqdn.lexicon-test.at.","type":"TXT","ttl":3600,"records":[{"content":"\"ttlshouldbe3600\"","disabled":false}]},{"name":"_acme-challenge.fqdn.lexicon-test.at.","type":"TXT","ttl":3600,"records":[{"content":"\"challengetoken\"","disabled":false}]},{"name":"updated.testfull.lexicon-test.at.","type":"TXT","ttl":3600,"records":[{"content":"\"challengetoken\"","disabled":false}]},{"name":"_acme-challenge.full.lexicon-test.at.","type":"TXT","ttl":3600,"records":[{"content":"\"challengetoken\"","disabled":false}]},{"name":"lexicon-test.at.","type":"SOA","ttl":3600,"records":[{"content":"sec1.rcode0.net.
        rcodezero-soa.ipcom.at. 2019093201 10800 3600 604800 3600","disabled":false}]}],"first_page_url":"https:\/\/my.rcodezero.at\/api\/v1\/zones\/lexicon-test.at\/rrsets?page=1","from":1,"last_page":1,"last_page_url":"https:\/\/my.rcodezero.at\/api\/v1\/zones\/lexicon-test.at\/rrsets?page=1","next_page_url":null,"path":"https:\/\/my.rcodezero.at\/api\/v1\/zones\/lexicon-test.at\/rrsets","per_page":-1,"prev_page_url":null,"to":18,"total":19}'
    headers:
      cache-control:
      - no-cache, private
      connection:
      - Keep-Alive
      content-length:
      - '2925'
      content-type:
      - application/json
      date:
      - Mon, 30 Sep 2019 13:25:40 GMT
      keep-alive:
      - timeout=5, max=100
      server:
      - Apache
      strict-transport-security:
      - max-age=15768000
      vary:
      - Authorization,Accept-Encoding
      x-frame-options:
      - SAMEORIGIN
      x-ratelimit-limit:
      - '200'
      x-ratelimit-remaining:
      - '184'
    status:
      code: 200
      message: OK
- request:
    body: !!python/unicode '[{"records": [{"content": "127.0.0.1", "disabled": false}],
      "changetype": "UPDATE", "type": "A", "name": "localhost.lexicon-test.at.", "ttl":
      3600}]'
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '148'
      Content-Type:
      - application/json
      User-Agent:
      - python-requests/2.22.0
    method: PATCH
    uri: https://my.rcodezero.at/api/v1/zones/lexicon-test.at/rrsets
  response:
    body:
      string: !!python/unicode '{"status":"ok","message":"RRsets updated"}'
    headers:
      cache-control:
      - no-cache, private
      connection:
      - Keep-Alive
      content-length:
      - '42'
      content-type:
      - application/json
      date:
      - Mon, 30 Sep 2019 13:25:41 GMT
      keep-alive:
      - timeout=5, max=100
      server:
      - Apache
      strict-transport-security:
      - max-age=15768000
      vary:
      - Authorization
      x-frame-options:
      - SAMEORIGIN
      x-ratelimit-limit:
      - '200'
      x-ratelimit-remaining:
      - '183'
    status:
      code: 200
      message: OK
version: 1