summaryrefslogtreecommitdiffstats
path: root/install/ui/test
diff options
context:
space:
mode:
Diffstat (limited to 'install/ui/test')
-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 00000000..7b896d2a
--- /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 00000000..c8918c6c
--- /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 00000000..82bcc710
--- /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 00000000..4b3f0b91
--- /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 00000000..e58d2188
--- /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 00000000..90968346
--- /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 00000000..6ae23e32
--- /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 00000000..e3f7814a
--- /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 fc8ec06b..7b1b0d0a 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",