mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Merge remote-tracking branch 'origin/master' into py3-f-strings
This commit is contained in:
34
tests/fixtures/constellix-geofilters.json
vendored
Normal file
34
tests/fixtures/constellix-geofilters.json
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
[
|
||||
{
|
||||
"id": 6303,
|
||||
"name": "some.other",
|
||||
"filterRulesLimit": 100,
|
||||
"createdTs": "2021-08-19T14:47:47Z",
|
||||
"modifiedTs": "2021-08-19T14:47:47Z",
|
||||
"geoipContinents": ["AS", "OC"],
|
||||
"geoipCountries": ["ES", "SE", "UA"],
|
||||
"regions": [
|
||||
{
|
||||
"continentCode": "NA",
|
||||
"countryCode": "CA",
|
||||
"regionCode": "NL"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 5303,
|
||||
"name": "unit.tests.:www.dynamic:A:one",
|
||||
"filterRulesLimit": 100,
|
||||
"createdTs": "2021-08-19T14:47:47Z",
|
||||
"modifiedTs": "2021-08-19T14:47:47Z",
|
||||
"geoipContinents": ["AS", "OC"],
|
||||
"geoipCountries": ["ES", "SE", "UA"],
|
||||
"regions": [
|
||||
{
|
||||
"continentCode": "NA",
|
||||
"countryCode": "CA",
|
||||
"regionCode": "NL"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
62
tests/fixtures/constellix-pools.json
vendored
Normal file
62
tests/fixtures/constellix-pools.json
vendored
Normal file
@@ -0,0 +1,62 @@
|
||||
[
|
||||
{
|
||||
"id": 1808521,
|
||||
"name": "unit.tests.:www.dynamic:A:two",
|
||||
"type": "A",
|
||||
"numReturn": 1,
|
||||
"minAvailableFailover": 1,
|
||||
"createdTs": "2020-09-12T00:44:35Z",
|
||||
"modifiedTs": "2020-09-12T00:44:35Z",
|
||||
"appliedDomains": [
|
||||
{
|
||||
"id": 123123,
|
||||
"name": "unit.tests",
|
||||
"recordOption": "pools"
|
||||
}
|
||||
],
|
||||
"appliedTemplates": null,
|
||||
"unlinkedDomains": [],
|
||||
"unlinkedTemplates": null,
|
||||
"itoEnabled": false,
|
||||
"values": [
|
||||
{
|
||||
"value": "1.2.3.4",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"value": "1.2.3.5",
|
||||
"weight": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 1808522,
|
||||
"name": "unit.tests.:www.dynamic:A:one",
|
||||
"type": "A",
|
||||
"numReturn": 1,
|
||||
"minAvailableFailover": 1,
|
||||
"createdTs": "2020-09-12T00:44:35Z",
|
||||
"modifiedTs": "2020-09-12T00:44:35Z",
|
||||
"appliedDomains": [
|
||||
{
|
||||
"id": 123123,
|
||||
"name": "unit.tests",
|
||||
"recordOption": "pools"
|
||||
}
|
||||
],
|
||||
"appliedTemplates": null,
|
||||
"unlinkedDomains": [],
|
||||
"unlinkedTemplates": null,
|
||||
"itoEnabled": false,
|
||||
"values": [
|
||||
{
|
||||
"value": "1.2.3.6",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"value": "1.2.3.7",
|
||||
"weight": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
191
tests/fixtures/constellix-records.json
vendored
191
tests/fixtures/constellix-records.json
vendored
@@ -64,62 +64,6 @@
|
||||
"roundRobinFailover": [],
|
||||
"pools": [],
|
||||
"poolsDetail": []
|
||||
}, {
|
||||
"id": 1898527,
|
||||
"type": "SRV",
|
||||
"recordType": "srv",
|
||||
"name": "_imap._tcp",
|
||||
"recordOption": "roundRobin",
|
||||
"noAnswer": false,
|
||||
"note": "",
|
||||
"ttl": 600,
|
||||
"gtdRegion": 1,
|
||||
"parentId": 123123,
|
||||
"parent": "domain",
|
||||
"source": "Domain",
|
||||
"modifiedTs": 1565149714387,
|
||||
"value": [{
|
||||
"value": ".",
|
||||
"priority": 0,
|
||||
"weight": 0,
|
||||
"port": 0,
|
||||
"disableFlag": false
|
||||
}],
|
||||
"roundRobin": [{
|
||||
"value": ".",
|
||||
"priority": 0,
|
||||
"weight": 0,
|
||||
"port": 0,
|
||||
"disableFlag": false
|
||||
}]
|
||||
}, {
|
||||
"id": 1898528,
|
||||
"type": "SRV",
|
||||
"recordType": "srv",
|
||||
"name": "_pop3._tcp",
|
||||
"recordOption": "roundRobin",
|
||||
"noAnswer": false,
|
||||
"note": "",
|
||||
"ttl": 600,
|
||||
"gtdRegion": 1,
|
||||
"parentId": 123123,
|
||||
"parent": "domain",
|
||||
"source": "Domain",
|
||||
"modifiedTs": 1565149714387,
|
||||
"value": [{
|
||||
"value": ".",
|
||||
"priority": 0,
|
||||
"weight": 0,
|
||||
"port": 0,
|
||||
"disableFlag": false
|
||||
}],
|
||||
"roundRobin": [{
|
||||
"value": ".",
|
||||
"priority": 0,
|
||||
"weight": 0,
|
||||
"port": 0,
|
||||
"disableFlag": false
|
||||
}]
|
||||
}, {
|
||||
"id": 1808527,
|
||||
"type": "SRV",
|
||||
@@ -160,6 +104,62 @@
|
||||
"port": 30,
|
||||
"disableFlag": false
|
||||
}]
|
||||
}, {
|
||||
"id": 1808527,
|
||||
"type": "SRV",
|
||||
"recordType": "srv",
|
||||
"name": "_imap._tcp",
|
||||
"recordOption": "roundRobin",
|
||||
"noAnswer": false,
|
||||
"note": "",
|
||||
"ttl": 600,
|
||||
"gtdRegion": 1,
|
||||
"parentId": 123123,
|
||||
"parent": "domain",
|
||||
"source": "Domain",
|
||||
"modifiedTs": 1565149714387,
|
||||
"value": [{
|
||||
"value": ".",
|
||||
"priority": 0,
|
||||
"weight": 0,
|
||||
"port": 0,
|
||||
"disableFlag": false
|
||||
}],
|
||||
"roundRobin": [{
|
||||
"value": ".",
|
||||
"priority": 0,
|
||||
"weight": 0,
|
||||
"port": 0,
|
||||
"disableFlag": false
|
||||
}]
|
||||
}, {
|
||||
"id": 1808527,
|
||||
"type": "SRV",
|
||||
"recordType": "srv",
|
||||
"name": "_pop3._tcp",
|
||||
"recordOption": "roundRobin",
|
||||
"noAnswer": false,
|
||||
"note": "",
|
||||
"ttl": 600,
|
||||
"gtdRegion": 1,
|
||||
"parentId": 123123,
|
||||
"parent": "domain",
|
||||
"source": "Domain",
|
||||
"modifiedTs": 1565149714387,
|
||||
"value": [{
|
||||
"value": ".",
|
||||
"priority": 0,
|
||||
"weight": 0,
|
||||
"port": 0,
|
||||
"disableFlag": false
|
||||
}],
|
||||
"roundRobin": [{
|
||||
"value": ".",
|
||||
"priority": 0,
|
||||
"weight": 0,
|
||||
"port": 0,
|
||||
"disableFlag": false
|
||||
}]
|
||||
}, {
|
||||
"id": 1808515,
|
||||
"type": "AAAA",
|
||||
@@ -614,4 +614,83 @@
|
||||
"roundRobinFailover": [],
|
||||
"pools": [],
|
||||
"poolsDetail": []
|
||||
}, {
|
||||
"id": 1808520,
|
||||
"type": "A",
|
||||
"recordType": "a",
|
||||
"name": "www.dynamic",
|
||||
"recordOption": "pools",
|
||||
"noAnswer": false,
|
||||
"note": "",
|
||||
"ttl": 300,
|
||||
"gtdRegion": 1,
|
||||
"parentId": 123123,
|
||||
"parent": "domain",
|
||||
"source": "Domain",
|
||||
"modifiedTs": 1565150090588,
|
||||
"value": [],
|
||||
"roundRobin": [],
|
||||
"geolocation": {
|
||||
"geoipFilter": 1
|
||||
},
|
||||
"recordFailover": {
|
||||
"disabled": false,
|
||||
"failoverType": 1,
|
||||
"failoverTypeStr": "Normal (always lowest level)",
|
||||
"values": []
|
||||
},
|
||||
"failover": {
|
||||
"disabled": false,
|
||||
"failoverType": 1,
|
||||
"failoverTypeStr": "Normal (always lowest level)",
|
||||
"values": []
|
||||
},
|
||||
"roundRobinFailover": [],
|
||||
"pools": [
|
||||
1808521
|
||||
],
|
||||
"poolsDetail": [{
|
||||
"id": 1808521,
|
||||
"name": "unit.tests.:www.dynamic:A:two"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"id": 1808521,
|
||||
"type": "A",
|
||||
"recordType": "a",
|
||||
"name": "www.dynamic",
|
||||
"recordOption": "pools",
|
||||
"noAnswer": false,
|
||||
"note": "",
|
||||
"ttl": 300,
|
||||
"gtdRegion": 1,
|
||||
"parentId": 123123,
|
||||
"parent": "domain",
|
||||
"source": "Domain",
|
||||
"modifiedTs": 1565150090588,
|
||||
"value": [],
|
||||
"roundRobin": [],
|
||||
"geolocation": {
|
||||
"geoipFilter": 5303
|
||||
},
|
||||
"recordFailover": {
|
||||
"disabled": false,
|
||||
"failoverType": 1,
|
||||
"failoverTypeStr": "Normal (always lowest level)",
|
||||
"values": []
|
||||
},
|
||||
"failover": {
|
||||
"disabled": false,
|
||||
"failoverType": 1,
|
||||
"failoverTypeStr": "Normal (always lowest level)",
|
||||
"values": []
|
||||
},
|
||||
"roundRobinFailover": [],
|
||||
"pools": [
|
||||
1808522
|
||||
],
|
||||
"poolsDetail": [{
|
||||
"id": 1808522,
|
||||
"name": "unit.tests.:www.dynamic:A:one"
|
||||
}]
|
||||
}]
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user