summaryrefslogtreecommitdiffstats
path: root/install/ui/test
diff options
context:
space:
mode:
authorAna Krivokapic <akrivoka@redhat.com>2013-03-07 14:12:49 +0100
committerPetr Vobornik <pvoborni@redhat.com>2013-03-18 15:11:26 +0100
commit6c85b88874d099a909c5662a6a32c045439e0b2c (patch)
tree07bae15908c943f9ef4b352b8b29dd14b308f3b9 /install/ui/test
parent8d369519116cb1f257304d79d13e63188fc7d978 (diff)
downloadfreeipa-6c85b88874d099a909c5662a6a32c045439e0b2c.tar.gz
freeipa-6c85b88874d099a909c5662a6a32c045439e0b2c.tar.xz
freeipa-6c85b88874d099a909c5662a6a32c045439e0b2c.zip
Realm Domains page
Add support for Realm Domains to web UI. https://fedorahosted.org/freeipa/ticket/3407
Diffstat (limited to 'install/ui/test')
-rw-r--r--install/ui/test/data/ipa_init.json6
-rw-r--r--install/ui/test/data/ipa_init_objects.json42
-rw-r--r--install/ui/test/data/realmdomains_show.json24
3 files changed, 72 insertions, 0 deletions
diff --git a/install/ui/test/data/ipa_init.json b/install/ui/test/data/ipa_init.json
index e4d9c2a95..e563c0e5c 100644
--- a/install/ui/test/data/ipa_init.json
+++ b/install/ui/test/data/ipa_init.json
@@ -398,6 +398,12 @@
"type_ad": "Active Directory domain",
"type_local": "Local domain"
},
+ "realmdomains": {
+ "identity": "Realm Domains",
+ "check_dns": "Check DNS",
+ "check_dns_confirmation": "Do you also want to perform DNS check?",
+ "force_update": "Force Update"
+ },
"role": {
"identity": "Role Settings"
},
diff --git a/install/ui/test/data/ipa_init_objects.json b/install/ui/test/data/ipa_init_objects.json
index 6458e4cda..0243c63d4 100644
--- a/install/ui/test/data/ipa_init_objects.json
+++ b/install/ui/test/data/ipa_init_objects.json
@@ -6026,6 +6026,48 @@
],
"uuid_attribute": ""
},
+ "realmdomains": {
+ "aciattrs": [],
+ "attribute_members": {},
+ "bindable": false,
+ "container_dn": "",
+ "default_attributes": ["associateddomain"],
+ "hidden_attributes": [
+ "objectclass",
+ "aci"
+ ],
+ "label": "Realm Domains",
+ "label_singular": "Realm Domains",
+ "methods": [
+ "mod",
+ "show"
+ ],
+ "name": "realmdomains",
+ "object_class": [
+ "domainrelatedobject",
+ "top",
+ "nscontainter"
+ ],
+ "object_class_config": null,
+ "object_name": "realmdomains",
+ "object_name_plural": "realmdomains",
+ "parent_object": "",
+ "rdn_attribute": "",
+ "relationships": {},
+ "takes_params": [
+ {
+ "class": "Str",
+ "doc": "Domain",
+ "flags": [],
+ "label": "Domain",
+ "name": "associateddomain",
+ "required": true,
+ "type": "unicode",
+ "multivalued": true
+ }
+ ],
+ "uuid_attribute": ""
+ },
"role": {
"aciattrs": [
"businesscategory",
diff --git a/install/ui/test/data/realmdomains_show.json b/install/ui/test/data/realmdomains_show.json
new file mode 100644
index 000000000..84254ba45
--- /dev/null
+++ b/install/ui/test/data/realmdomains_show.json
@@ -0,0 +1,24 @@
+{
+ "error": null,
+ "id": 0,
+ "result": {
+ "result": {
+ "attributelevelrights": {
+ "aci": "rscwo",
+ "cn": "rscwo",
+ "associateddomain": "rscwo",
+ "objectclass": "rscwo"
+ },
+ "cn": ["Realm Domains"],
+ "dn": "cn=Realm Domains,cn=ipa,cn=etc,dc=example,dc=com",
+ "associateddomain": ["example.com"],
+ "objectclass": [
+ "nsContainer",
+ "top",
+ "domainRelatedObject"
+ ]
+ },
+ "summary": null,
+ "value": ""
+ }
+}