File: test_provider_when_calling_update_record_should_modify_record.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 (100 lines) | stat: -rw-r--r-- 11,076 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
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
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]
    method: GET
    uri: https://api.dns.constellix.com/v1/domains/
  response:
    body: {string: !!python/unicode '[{"id":23906,"name":"example.org","soa":{"primaryNameserver":"ns11.constellix.com.","email":"dns.constellix.com.","ttl":86400,"serial":2015010130,"refresh":43200,"retry":3600,"expire":1209600,"negCache":180},"createdTs":"2018-04-17T20:37:35Z","modifiedTs":"2018-04-17T20:38:37Z","typeId":1,"domainTags":[],"folder":null,"hasGtdRegions":false,"hasGeoIP":false,"nameserverGroup":1,"nameservers":["ns11.constellix.com.","ns21.constellix.com.","ns31.constellix.com.","ns41.constellix.net.","ns51.constellix.net.","ns61.constellix.net."],"note":"","version":28,"status":"ACTIVE","tags":[],"contactIds":[]},{"id":20063,"name":"actionkit.com","soa":{"primaryNameserver":"ns11.constellix.com.","email":"dns.constellix.com.","ttl":86400,"serial":2015010107,"refresh":43200,"retry":3600,"expire":1209600,"negCache":180},"createdTs":"2018-03-28T15:56:03Z","modifiedTs":"2018-04-15T03:39:50Z","typeId":1,"domainTags":[],"folder":null,"hasGtdRegions":false,"hasGeoIP":false,"nameserverGroup":1,"nameservers":["ns11.constellix.com.","ns21.constellix.com.","ns31.constellix.com.","ns41.constellix.net.","ns51.constellix.net.","ns61.constellix.net."],"note":"","version":6,"status":"ACTIVE","tags":null,"contactIds":[]},{"id":20064,"name":"dk.actionkit.com","soa":{"primaryNameserver":"ns11.constellix.com.","email":"dns.constellix.com.","ttl":86400,"serial":2015010103,"refresh":43200,"retry":3600,"expire":1209600,"negCache":180},"createdTs":"2018-03-28T15:56:03Z","modifiedTs":"2018-04-05T15:11:13Z","typeId":1,"domainTags":[],"folder":null,"hasGtdRegions":false,"hasGeoIP":false,"nameserverGroup":1,"nameservers":["ns11.constellix.com.","ns21.constellix.com.","ns31.constellix.com.","ns41.constellix.net.","ns51.constellix.net.","ns61.constellix.net."],"note":"","version":2,"status":"ACTIVE","tags":null,"contactIds":[]},{"id":20234,"name":"actionk.it","soa":{"primaryNameserver":"ns11.constellix.com.","email":"dns.constellix.com.","ttl":86400,"serial":2015010102,"refresh":43200,"retry":3600,"expire":1209600,"negCache":180},"createdTs":"2018-04-03T04:35:04Z","modifiedTs":"2018-04-03T04:35:05Z","typeId":1,"domainTags":[],"folder":null,"hasGtdRegions":false,"hasGeoIP":false,"nameserverGroup":1,"nameservers":["ns11.constellix.com.","ns21.constellix.com.","ns31.constellix.com.","ns41.constellix.net.","ns51.constellix.net.","ns61.constellix.net."],"note":"","version":1,"status":"ACTIVE","tags":null,"contactIds":[]}]'}
    headers:
      connection: [keep-alive]
      content-type: [application/json;charset=UTF-8]
      date: ['Tue, 17 Apr 2018 20:38:40 GMT']
      requestlimitheader: ['300']
      requestsremainingheader: ['299']
      server: [Apache-Coyote/1.1]
      set-cookie: [JSESSIONID=3E71EC941452D03BB3B74CE569E31444; Path=/; HttpOnly]
      transfer-encoding: [chunked]
      x-application-context: ['application:production']
    status: {code: 200, message: OK}
- request:
    body: !!python/unicode '{"roundRobin": [{"disableFlag": false, "value": "challengetoken"}],
      "name": "orig.test", "ttl": 3600}'
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['101']
      Content-Type: [application/json]
      User-Agent: [python-requests/2.18.4]
    method: POST
    uri: https://api.dns.constellix.com/v1/domains/23906/records/TXT/
  response:
    body: {string: !!python/unicode '[{"id":92031,"type":"TXT","recordType":"txt","name":"orig.test","recordOption":"roundRobin","noAnswer":false,"note":"","ttl":3600,"gtdRegion":1,"parentId":23906,"parent":"domain","source":"Domain","modifiedTs":1523997520842,"value":[{"value":"\"challengetoken\"","disableFlag":false}],"roundRobin":[{"value":"\"challengetoken\"","disableFlag":false}]}]'}
    headers:
      connection: [keep-alive]
      content-type: [application/json;charset=UTF-8]
      date: ['Tue, 17 Apr 2018 20:38:40 GMT']
      requestlimitheader: ['300']
      requestsremainingheader: ['299']
      server: [Apache-Coyote/1.1]
      set-cookie: [JSESSIONID=5F7AD47B224D5D39E21E9584085AB8EA; Path=/; HttpOnly]
      transfer-encoding: [chunked]
      x-application-context: ['application:production']
    status: {code: 200, message: OK}
- 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]
    method: GET
    uri: https://api.dns.constellix.com/v1/domains/23906/records/TXT/
  response:
    body: {string: !!python/unicode '[{"id":92013,"type":"TXT","recordType":"txt","name":"_acme-challenge.createrecordset","recordOption":"roundRobin","noAnswer":false,"note":"","ttl":3600,"gtdRegion":1,"parentId":23906,"parent":"domain","source":"Domain","modifiedTs":1523997479715,"value":[{"value":"\"challengetoken1\"","disableFlag":false},{"value":"\"challengetoken2\"","disableFlag":false}],"roundRobin":[{"value":"\"challengetoken1\"","disableFlag":false},{"value":"\"challengetoken2\"","disableFlag":false}]},{"id":92021,"type":"TXT","recordType":"txt","name":"_acme-challenge.deleterecordinset","recordOption":"roundRobin","noAnswer":false,"note":"","ttl":3600,"gtdRegion":1,"parentId":23906,"parent":"domain","source":"Domain","modifiedTs":1523997499772,"value":[{"value":"\"challengetoken2\"","disableFlag":false}],"roundRobin":[{"value":"\"challengetoken2\"","disableFlag":false}]},{"id":92010,"type":"TXT","recordType":"txt","name":"_acme-challenge.fqdn","recordOption":"roundRobin","noAnswer":false,"note":"","ttl":3600,"gtdRegion":1,"parentId":23906,"parent":"domain","source":"Domain","modifiedTs":1523997474053,"value":[{"value":"\"challengetoken\"","disableFlag":false}],"roundRobin":[{"value":"\"challengetoken\"","disableFlag":false}]},{"id":92011,"type":"TXT","recordType":"txt","name":"_acme-challenge.full","recordOption":"roundRobin","noAnswer":false,"note":"","ttl":3600,"gtdRegion":1,"parentId":23906,"parent":"domain","source":"Domain","modifiedTs":1523997475400,"value":[{"value":"\"challengetoken\"","disableFlag":false}],"roundRobin":[{"value":"\"challengetoken\"","disableFlag":false}]},{"id":92026,"type":"TXT","recordType":"txt","name":"_acme-challenge.listrecordset","recordOption":"roundRobin","noAnswer":false,"note":"","ttl":3600,"gtdRegion":1,"parentId":23906,"parent":"domain","source":"Domain","modifiedTs":1523997510237,"value":[{"value":"\"challengetoken1\"","disableFlag":false},{"value":"\"challengetoken2\"","disableFlag":false}],"roundRobin":[{"value":"\"challengetoken1\"","disableFlag":false},{"value":"\"challengetoken2\"","disableFlag":false}]},{"id":92015,"type":"TXT","recordType":"txt","name":"_acme-challenge.noop","recordOption":"roundRobin","noAnswer":false,"note":"","ttl":3600,"gtdRegion":1,"parentId":23906,"parent":"domain","source":"Domain","modifiedTs":1523997481111,"value":[{"value":"\"challengetoken\"","disableFlag":false}],"roundRobin":[{"value":"\"challengetoken\"","disableFlag":false}]},{"id":92012,"type":"TXT","recordType":"txt","name":"_acme-challenge.test","recordOption":"roundRobin","noAnswer":false,"note":"","ttl":3600,"gtdRegion":1,"parentId":23906,"parent":"domain","source":"Domain","modifiedTs":1523997476718,"value":[{"value":"\"challengetoken\"","disableFlag":false}],"roundRobin":[{"value":"\"challengetoken\"","disableFlag":false}]},{"id":92031,"type":"TXT","recordType":"txt","name":"orig.test","recordOption":"roundRobin","noAnswer":false,"note":"","ttl":3600,"gtdRegion":1,"parentId":23906,"parent":"domain","source":"Domain","modifiedTs":1523997520840,"value":[{"value":"\"challengetoken\"","disableFlag":false}],"roundRobin":[{"value":"\"challengetoken\"","disableFlag":false}]},{"id":92028,"type":"TXT","recordType":"txt","name":"random.fqdntest","recordOption":"roundRobin","noAnswer":false,"note":"","ttl":3600,"gtdRegion":1,"parentId":23906,"parent":"domain","source":"Domain","modifiedTs":1523997512386,"value":[{"value":"\"challengetoken\"","disableFlag":false}],"roundRobin":[{"value":"\"challengetoken\"","disableFlag":false}]},{"id":92029,"type":"TXT","recordType":"txt","name":"random.fulltest","recordOption":"roundRobin","noAnswer":false,"note":"","ttl":3600,"gtdRegion":1,"parentId":23906,"parent":"domain","source":"Domain","modifiedTs":1523997514300,"value":[{"value":"\"challengetoken\"","disableFlag":false}],"roundRobin":[{"value":"\"challengetoken\"","disableFlag":false}]},{"id":92030,"type":"TXT","recordType":"txt","name":"random.test","recordOption":"roundRobin","noAnswer":false,"note":"","ttl":3600,"gtdRegion":1,"parentId":23906,"parent":"domain","source":"Domain","modifiedTs":1523997517621,"value":[{"value":"\"challengetoken\"","disableFlag":false}],"roundRobin":[{"value":"\"challengetoken\"","disableFlag":false}]},{"id":92025,"type":"TXT","recordType":"txt","name":"ttl.fqdn","recordOption":"roundRobin","noAnswer":false,"note":"","ttl":3600,"gtdRegion":1,"parentId":23906,"parent":"domain","source":"Domain","modifiedTs":1523997506671,"value":[{"value":"\"ttlshouldbe3600\"","disableFlag":false}],"roundRobin":[{"value":"\"ttlshouldbe3600\"","disableFlag":false}]}]'}
    headers:
      connection: [keep-alive]
      content-type: [application/json;charset=UTF-8]
      date: ['Tue, 17 Apr 2018 20:38:41 GMT']
      requestlimitheader: ['300']
      requestsremainingheader: ['299']
      server: [Apache-Coyote/1.1]
      set-cookie: [JSESSIONID=BB48A1C076B3C0467541A73628A3C25F; Path=/; HttpOnly]
      transfer-encoding: [chunked]
      x-application-context: ['application:production']
    status: {code: 200, message: OK}
- request:
    body: !!python/unicode '{"roundRobin": [{"disableFlag": false, "value": "challengetoken"}],
      "id": 92031, "name": "updated.test", "ttl": 3600}'
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['117']
      Content-Type: [application/json]
      User-Agent: [python-requests/2.18.4]
    method: PUT
    uri: https://api.dns.constellix.com/v1/domains/23906/records/TXT/92031/
  response:
    body: {string: !!python/unicode '{"success":"Record  updated successfully"}'}
    headers:
      connection: [keep-alive]
      content-type: [application/json;charset=UTF-8]
      date: ['Tue, 17 Apr 2018 20:38:42 GMT']
      requestlimitheader: ['300']
      requestsremainingheader: ['299']
      server: [Apache-Coyote/1.1]
      set-cookie: [JSESSIONID=0545CBB1310A2392BA02C1D639490D79; Path=/; HttpOnly]
      transfer-encoding: [chunked]
      x-application-context: ['application:production']
    status: {code: 200, message: OK}
version: 1