summaryrefslogtreecommitdiffstats
path: root/install/ui/test/data
diff options
context:
space:
mode:
authorPetr Voborník <pvoborni@redhat.com>2012-01-25 13:06:15 +0100
committerEndi S. Dewata <edewata@redhat.com>2012-02-01 12:47:46 -0600
commit199d6815d49617b4b438a93ccf99e1e4e32a6221 (patch)
tree4b60c83859682bafbad9ed89fd581313f8c49bff /install/ui/test/data
parentc00267308e2844b2a345c22df5c045117fcff9a2 (diff)
downloadfreeipa-199d6815d49617b4b438a93ccf99e1e4e32a6221.tar.gz
freeipa-199d6815d49617b4b438a93ccf99e1e4e32a6221.tar.xz
freeipa-199d6815d49617b4b438a93ccf99e1e4e32a6221.zip
Automember UI
New UI for automember. Implemented: * search facet core * rule details facet * attribute_table_widget - new base class for tables which contains multivalued attribute with special add/remove commands * adding/removing conditions in details facet TODO: * label translations * UI for defining default rules https://fedorahosted.org/freeipa/ticket/2195
Diffstat (limited to 'install/ui/test/data')
-rw-r--r--install/ui/test/data/automembergroup_add.json21
-rw-r--r--install/ui/test/data/automembergroup_find_pkeys.json24
-rw-r--r--install/ui/test/data/automembergroup_get_records.json27
-rw-r--r--install/ui/test/data/automembergroup_show.json31
-rw-r--r--install/ui/test/data/automemberhostgroup_add.json21
-rw-r--r--install/ui/test/data/automemberhostgroup_find_pkeys.json24
-rw-r--r--install/ui/test/data/automemberhostgroup_get_records.json27
-rw-r--r--install/ui/test/data/automemberhostgroup_show.json30
-rw-r--r--install/ui/test/data/ipa_init.json1
9 files changed, 206 insertions, 0 deletions
diff --git a/install/ui/test/data/automembergroup_add.json b/install/ui/test/data/automembergroup_add.json
new file mode 100644
index 000000000..7b896d2a5
--- /dev/null
+++ b/install/ui/test/data/automembergroup_add.json
@@ -0,0 +1,21 @@
+{
+ "error": null,
+ "id": null,
+ "result": {
+ "result": {
+ "automembertargetgroup": [
+ "cn=foogroup,cn=groups,cn=accounts,dc=dev,dc=example,dc=com"
+ ],
+ "cn": [
+ "foogroup"
+ ],
+ "dn": "cn=foogroup,cn=group,cn=automember,cn=etc,dc=dev,dc=example,dc=com",
+ "objectclass": [
+ "top",
+ "automemberregexrule"
+ ]
+ },
+ "summary": "Added automember rule \"foogroup\"",
+ "value": "foogroup"
+ }
+} \ No newline at end of file
diff --git a/install/ui/test/data/automembergroup_find_pkeys.json b/install/ui/test/data/automembergroup_find_pkeys.json
new file mode 100644
index 000000000..c8918c6cc
--- /dev/null
+++ b/install/ui/test/data/automembergroup_find_pkeys.json
@@ -0,0 +1,24 @@
+{
+ "error": null,
+ "id": null,
+ "result": {
+ "count": 1,
+ "result": [
+ {
+ "automembertargetgroup": [
+ "cn=foogroup,cn=groups,cn=accounts,dc=dev,dc=example,dc=com"
+ ],
+ "cn": [
+ "foogroup"
+ ],
+ "dn": "cn=foogroup,cn=group,cn=automember,cn=etc,dc=dev,dc=example,dc=com",
+ "objectclass": [
+ "top",
+ "automemberregexrule"
+ ]
+ }
+ ],
+ "summary": "1 rules matched",
+ "truncated": false
+ }
+} \ No newline at end of file
diff --git a/install/ui/test/data/automembergroup_get_records.json b/install/ui/test/data/automembergroup_get_records.json
new file mode 100644
index 000000000..82bcc7103
--- /dev/null
+++ b/install/ui/test/data/automembergroup_get_records.json
@@ -0,0 +1,27 @@
+{
+ "error": null,
+ "id": null,
+ "result": {
+ "count": 1,
+ "results": [
+ {
+ "error": null,
+ "result": {
+ "automembertargetgroup": [
+ "cn=foogroup,cn=groups,cn=accounts,dc=dev,dc=example,dc=com"
+ ],
+ "cn": [
+ "foogroup"
+ ],
+ "dn": "cn=foogroup,cn=group,cn=automember,cn=etc,dc=dev,dc=example,dc=com",
+ "objectclass": [
+ "top",
+ "automemberregexrule"
+ ]
+ },
+ "summary": null,
+ "value": "foogroup"
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/install/ui/test/data/automembergroup_show.json b/install/ui/test/data/automembergroup_show.json
new file mode 100644
index 000000000..4b3f0b914
--- /dev/null
+++ b/install/ui/test/data/automembergroup_show.json
@@ -0,0 +1,31 @@
+{
+ "error": null,
+ "id": null,
+ "result": {
+ "result": {
+ "automemberexclusiveregex": [
+ "cn=^user5",
+ "cn=^user6"
+ ],
+ "automemberinclusiveregex": [
+ "cn=^user[0-9]+"
+ ],
+ "automembertargetgroup": [
+ "cn=foogroup,cn=groups,cn=accounts,dc=dev,dc=example,dc=com"
+ ],
+ "cn": [
+ "foogroup"
+ ],
+ "description": [
+ "userrule description"
+ ],
+ "dn": "cn=foogroup,cn=group,cn=automember,cn=etc,dc=dev,dc=example,dc=com",
+ "objectclass": [
+ "top",
+ "automemberregexrule"
+ ]
+ },
+ "summary": null,
+ "value": "foogroup"
+ }
+} \ No newline at end of file
diff --git a/install/ui/test/data/automemberhostgroup_add.json b/install/ui/test/data/automemberhostgroup_add.json
new file mode 100644
index 000000000..e58d21883
--- /dev/null
+++ b/install/ui/test/data/automemberhostgroup_add.json
@@ -0,0 +1,21 @@
+{
+ "error": null,
+ "id": null,
+ "result": {
+ "result": {
+ "automembertargetgroup": [
+ "cn=foohostgroup,cn=hostgroups,cn=accounts,dc=dev,dc=example,dc=com"
+ ],
+ "cn": [
+ "foohostgroup"
+ ],
+ "dn": "cn=foohostgroup,cn=hostgroup,cn=automember,cn=etc,dc=dev,dc=example,dc=com",
+ "objectclass": [
+ "top",
+ "automemberregexrule"
+ ]
+ },
+ "summary": "Added automember rule \"foohostgroup\"",
+ "value": "foohostgroup"
+ }
+} \ No newline at end of file
diff --git a/install/ui/test/data/automemberhostgroup_find_pkeys.json b/install/ui/test/data/automemberhostgroup_find_pkeys.json
new file mode 100644
index 000000000..909683465
--- /dev/null
+++ b/install/ui/test/data/automemberhostgroup_find_pkeys.json
@@ -0,0 +1,24 @@
+{
+ "error": null,
+ "id": null,
+ "result": {
+ "count": 1,
+ "result": [
+ {
+ "automembertargetgroup": [
+ "cn=foohostgroup,cn=hostgroups,cn=accounts,dc=dev,dc=example,dc=com"
+ ],
+ "cn": [
+ "foohostgroup"
+ ],
+ "dn": "cn=foohostgroup,cn=hostgroup,cn=automember,cn=etc,dc=dev,dc=example,dc=com",
+ "objectclass": [
+ "top",
+ "automemberregexrule"
+ ]
+ }
+ ],
+ "summary": "1 rules matched",
+ "truncated": false
+ }
+} \ No newline at end of file
diff --git a/install/ui/test/data/automemberhostgroup_get_records.json b/install/ui/test/data/automemberhostgroup_get_records.json
new file mode 100644
index 000000000..6ae23e326
--- /dev/null
+++ b/install/ui/test/data/automemberhostgroup_get_records.json
@@ -0,0 +1,27 @@
+{
+ "error": null,
+ "id": null,
+ "result": {
+ "count": 1,
+ "results": [
+ {
+ "error": null,
+ "result": {
+ "automembertargetgroup": [
+ "cn=foohostgroup,cn=hostgroups,cn=accounts,dc=dev,dc=example,dc=com"
+ ],
+ "cn": [
+ "foohostgroup"
+ ],
+ "dn": "cn=foohostgroup,cn=hostgroup,cn=automember,cn=etc,dc=dev,dc=example,dc=com",
+ "objectclass": [
+ "top",
+ "automemberregexrule"
+ ]
+ },
+ "summary": null,
+ "value": "foohostgroup"
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/install/ui/test/data/automemberhostgroup_show.json b/install/ui/test/data/automemberhostgroup_show.json
new file mode 100644
index 000000000..e3f7814aa
--- /dev/null
+++ b/install/ui/test/data/automemberhostgroup_show.json
@@ -0,0 +1,30 @@
+{
+ "error": null,
+ "id": null,
+ "result": {
+ "result": {
+ "automemberexclusiveregex": [
+ "fqdn=^web5.example.com"
+ ],
+ "automemberinclusiveregex": [
+ "fqdn=^web[1-9]+.example.com"
+ ],
+ "automembertargetgroup": [
+ "cn=foohostgroup,cn=hostgroups,cn=accounts,dc=dev,dc=example,dc=com"
+ ],
+ "cn": [
+ "foohostgroup"
+ ],
+ "description": [
+ "hostrule description"
+ ],
+ "dn": "cn=foohostgroup,cn=hostgroup,cn=automember,cn=etc,dc=dev,dc=example,dc=com",
+ "objectclass": [
+ "top",
+ "automemberregexrule"
+ ]
+ },
+ "summary": null,
+ "value": "foohostgroup"
+ }
+} \ No newline at end of file
diff --git a/install/ui/test/data/ipa_init.json b/install/ui/test/data/ipa_init.json
index fc8ec06bc..7b1b0d0a0 100644
--- a/install/ui/test/data/ipa_init.json
+++ b/install/ui/test/data/ipa_init.json
@@ -368,6 +368,7 @@
},
"tabs": {
"audit": "Audit",
+ "automember": "Automember",
"automount": "Automount",
"dns": "DNS",
"hbac": "Host Based Access Control",