summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2010-11-10 14:13:00 -0500
committerAdam Young <ayoung@redhat.com>2010-11-11 12:23:05 -0500
commit569f4e1a5cb3ff4cf3a7bf3c2aa5fdfa9ced0134 (patch)
tree62688b555c9d6c5b2b61aa6625fdfc4ad828a884 /install
parent6a9846f3f3d04800e2fab64eb52dee887af8af60 (diff)
downloadfreeipa-569f4e1a5cb3ff4cf3a7bf3c2aa5fdfa9ced0134.tar.gz
freeipa-569f4e1a5cb3ff4cf3a7bf3c2aa5fdfa9ced0134.tar.xz
freeipa-569f4e1a5cb3ff4cf3a7bf3c2aa5fdfa9ced0134.zip
HBAC Service & Service Group test data
Diffstat (limited to 'install')
-rw-r--r--install/static/test/data/hbacsvc_add.json24
-rw-r--r--install/static/test/data/hbacsvc_del.json9
-rw-r--r--install/static/test/data/hbacsvc_mod.json16
-rw-r--r--install/static/test/data/hbacsvc_show.json17
-rw-r--r--install/static/test/data/hbacsvcgroup_add.json26
-rw-r--r--install/static/test/data/hbacsvcgroup_del.json9
-rw-r--r--install/static/test/data/hbacsvcgroup_mod.json16
-rw-r--r--install/static/test/data/hbacsvcgroup_show.json21
8 files changed, 138 insertions, 0 deletions
diff --git a/install/static/test/data/hbacsvc_add.json b/install/static/test/data/hbacsvc_add.json
new file mode 100644
index 000000000..35da07a6e
--- /dev/null
+++ b/install/static/test/data/hbacsvc_add.json
@@ -0,0 +1,24 @@
+{
+ "error": null,
+ "id": 0,
+ "result": {
+ "result": {
+ "cn": [
+ "test"
+ ],
+ "description": [
+ "Test Service"
+ ],
+ "dn": "cn=test,cn=hbacservices,cn=accounts,dc=dev,dc=example,dc=com",
+ "ipauniqueid": [
+ "c3302e82-ecfd11df-b3f78f4b-11cc007b"
+ ],
+ "objectclass": [
+ "ipaobject",
+ "ipahbacservice"
+ ]
+ },
+ "summary": "Added service \"test\"",
+ "value": "test"
+ }
+}
diff --git a/install/static/test/data/hbacsvc_del.json b/install/static/test/data/hbacsvc_del.json
new file mode 100644
index 000000000..fcfce6259
--- /dev/null
+++ b/install/static/test/data/hbacsvc_del.json
@@ -0,0 +1,9 @@
+{
+ "error": null,
+ "id": 0,
+ "result": {
+ "result": true,
+ "summary": "Deleted service \"test\"",
+ "value": "test"
+ }
+}
diff --git a/install/static/test/data/hbacsvc_mod.json b/install/static/test/data/hbacsvc_mod.json
new file mode 100644
index 000000000..f2ada9930
--- /dev/null
+++ b/install/static/test/data/hbacsvc_mod.json
@@ -0,0 +1,16 @@
+{
+ "error": null,
+ "id": 0,
+ "result": {
+ "result": {
+ "cn": [
+ "test"
+ ],
+ "description": [
+ "Test"
+ ]
+ },
+ "summary": null,
+ "value": "test"
+ }
+}
diff --git a/install/static/test/data/hbacsvc_show.json b/install/static/test/data/hbacsvc_show.json
new file mode 100644
index 000000000..7301ab34f
--- /dev/null
+++ b/install/static/test/data/hbacsvc_show.json
@@ -0,0 +1,17 @@
+{
+ "error": null,
+ "id": 0,
+ "result": {
+ "result": {
+ "cn": [
+ "sudo"
+ ],
+ "description": [
+ "sudo"
+ ],
+ "dn": "cn=sudo,cn=hbacservices,cn=accounts,dc=dev,dc=example,dc=com"
+ },
+ "summary": null,
+ "value": "sudo"
+ }
+}
diff --git a/install/static/test/data/hbacsvcgroup_add.json b/install/static/test/data/hbacsvcgroup_add.json
new file mode 100644
index 000000000..b0827f59b
--- /dev/null
+++ b/install/static/test/data/hbacsvcgroup_add.json
@@ -0,0 +1,26 @@
+{
+ "error": null,
+ "id": 0,
+ "result": {
+ "result": {
+ "cn": [
+ "test"
+ ],
+ "description": [
+ "Test Service Group"
+ ],
+ "dn": "cn=test,cn=hbacservicegroups,cn=accounts,dc=dev,dc=example,dc=com",
+ "ipauniqueid": [
+ "0ab6ba82-ecfe11df-b3f78f4b-11cc007b"
+ ],
+ "objectclass": [
+ "ipaobject",
+ "ipahbacservicegroup",
+ "groupOfNames",
+ "top"
+ ]
+ },
+ "summary": "Added HBAC Service group \"test\"",
+ "value": "test"
+ }
+}
diff --git a/install/static/test/data/hbacsvcgroup_del.json b/install/static/test/data/hbacsvcgroup_del.json
new file mode 100644
index 000000000..134f7417e
--- /dev/null
+++ b/install/static/test/data/hbacsvcgroup_del.json
@@ -0,0 +1,9 @@
+{
+ "error": null,
+ "id": 0,
+ "result": {
+ "result": true,
+ "summary": "Deleted HBAC Service group \"test\"",
+ "value": "test"
+ }
+}
diff --git a/install/static/test/data/hbacsvcgroup_mod.json b/install/static/test/data/hbacsvcgroup_mod.json
new file mode 100644
index 000000000..3fdbff03a
--- /dev/null
+++ b/install/static/test/data/hbacsvcgroup_mod.json
@@ -0,0 +1,16 @@
+{
+ "error": null,
+ "id": 0,
+ "result": {
+ "result": {
+ "cn": [
+ "test"
+ ],
+ "description": [
+ "Test"
+ ]
+ },
+ "summary": "Modified HBAC Service group \"test\"",
+ "value": "test"
+ }
+}
diff --git a/install/static/test/data/hbacsvcgroup_show.json b/install/static/test/data/hbacsvcgroup_show.json
new file mode 100644
index 000000000..f6d05f6dd
--- /dev/null
+++ b/install/static/test/data/hbacsvcgroup_show.json
@@ -0,0 +1,21 @@
+{
+ "error": null,
+ "id": 0,
+ "result": {
+ "result": {
+ "cn": [
+ "SUDO"
+ ],
+ "description": [
+ "Default group of SUDO related services"
+ ],
+ "dn": "cn=sudo,cn=hbacservicegroups,cn=accounts,dc=dev,dc=example,dc=com",
+ "member_hbacsvc": [
+ "sudo",
+ "sudo-i"
+ ]
+ },
+ "summary": null,
+ "value": "sudo"
+ }
+}