mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-28 18:01:23 -06:00
webui-test: dns forward zone json data
Fake API results for testing and presentation purposes of DNS Forward Zones. https://fedorahosted.org/freeipa/ticket/4357 Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
This commit is contained in:
parent
db2666d276
commit
e6a373e930
32
install/ui/test/data/dnsforwardzone_add.json
Normal file
32
install/ui/test/data/dnsforwardzone_add.json
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
"error": null,
|
||||
"id": null,
|
||||
"result": {
|
||||
"result": {
|
||||
"dn": "idnsname=fwzone1.test.,cn=dns,dc=example,dc=com",
|
||||
"idnsforwarders": [
|
||||
"172.16.15.2",
|
||||
"172.16.15.1"
|
||||
],
|
||||
"idnsforwardpolicy": [
|
||||
"first"
|
||||
],
|
||||
"idnsname": [
|
||||
{
|
||||
"__dns_name__": "fwzone1.test."
|
||||
}
|
||||
],
|
||||
"idnszoneactive": [
|
||||
"TRUE"
|
||||
],
|
||||
"objectclass": [
|
||||
"top",
|
||||
"idnsforwardzone"
|
||||
]
|
||||
},
|
||||
"summary": null,
|
||||
"value": {
|
||||
"__dns_name__": "fwzone1.test."
|
||||
}
|
||||
}
|
||||
}
|
21
install/ui/test/data/dnsforwardzone_batch_del.json
Normal file
21
install/ui/test/data/dnsforwardzone_batch_del.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"error": null,
|
||||
"id": null,
|
||||
"result": {
|
||||
"count": 1,
|
||||
"results": [
|
||||
{
|
||||
"error": null,
|
||||
"result": {
|
||||
"failed": []
|
||||
},
|
||||
"summary": "Deleted DNS forward zone \"fwzone1.test.\"",
|
||||
"value": [
|
||||
{
|
||||
"__dns_name__": "fwzone1.test."
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
52
install/ui/test/data/dnsforwardzone_details_refresh.json
Normal file
52
install/ui/test/data/dnsforwardzone_details_refresh.json
Normal file
@ -0,0 +1,52 @@
|
||||
{
|
||||
"error": null,
|
||||
"id": null,
|
||||
"result": {
|
||||
"count": 2,
|
||||
"results": [
|
||||
{
|
||||
"error": null,
|
||||
"result": {
|
||||
"attributelevelrights": {
|
||||
"aci": "rscwo",
|
||||
"idnsforwarders": "rscwo",
|
||||
"idnsforwardpolicy": "rscwo",
|
||||
"idnsname": "rscwo",
|
||||
"idnszoneactive": "rscwo",
|
||||
"nsaccountlock": "rscwo",
|
||||
"objectclass": "rscwo"
|
||||
},
|
||||
"dn": "idnsname=fwzone1.test.,cn=dns,dc=example,dc=com",
|
||||
"idnsforwarders": [
|
||||
"172.16.15.2",
|
||||
"172.16.15.1"
|
||||
],
|
||||
"idnsforwardpolicy": [
|
||||
"first"
|
||||
],
|
||||
"idnsname": [
|
||||
{
|
||||
"__dns_name__": "fwzone1.test."
|
||||
}
|
||||
],
|
||||
"idnszoneactive": [
|
||||
"TRUE"
|
||||
],
|
||||
"objectclass": [
|
||||
"top",
|
||||
"idnsforwardzone"
|
||||
]
|
||||
},
|
||||
"summary": null,
|
||||
"value": {
|
||||
"__dns_name__": "fwzone1.test."
|
||||
}
|
||||
},
|
||||
{
|
||||
"error": "Manage DNS zone fwzone1.test.: permission not found",
|
||||
"error_code": 4001,
|
||||
"error_name": "NotFound"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
19
install/ui/test/data/dnsforwardzone_find_pkeys.json
Normal file
19
install/ui/test/data/dnsforwardzone_find_pkeys.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"error": null,
|
||||
"id": null,
|
||||
"result": {
|
||||
"count": 1,
|
||||
"result": [
|
||||
{
|
||||
"dn": "idnsname=fwzone1.test.,cn=dns,dc=example,dc=com",
|
||||
"idnsname": [
|
||||
{
|
||||
"__dns_name__": "fwzone1.test."
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"summary": null,
|
||||
"truncated": false
|
||||
}
|
||||
}
|
34
install/ui/test/data/dnsforwardzone_get_records.json
Normal file
34
install/ui/test/data/dnsforwardzone_get_records.json
Normal file
@ -0,0 +1,34 @@
|
||||
{
|
||||
"error": null,
|
||||
"id": null,
|
||||
"result": {
|
||||
"count": 1,
|
||||
"results": [
|
||||
{
|
||||
"error": null,
|
||||
"result": {
|
||||
"dn": "idnsname=fwzone1.test.,cn=dns,dc=example,dc=com",
|
||||
"idnsforwarders": [
|
||||
"172.16.15.2",
|
||||
"172.16.15.1"
|
||||
],
|
||||
"idnsforwardpolicy": [
|
||||
"first"
|
||||
],
|
||||
"idnsname": [
|
||||
{
|
||||
"__dns_name__": "fwzone1.test."
|
||||
}
|
||||
],
|
||||
"idnszoneactive": [
|
||||
"TRUE"
|
||||
]
|
||||
},
|
||||
"summary": null,
|
||||
"value": {
|
||||
"__dns_name__": "fwzone1.test."
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user