summaryrefslogtreecommitdiffstats
path: root/install/ui/test
diff options
context:
space:
mode:
Diffstat (limited to 'install/ui/test')
-rw-r--r--install/ui/test/data/ipa_init.json11
-rw-r--r--install/ui/test/data/range_add.json34
-rw-r--r--install/ui/test/data/range_find.json32
-rw-r--r--install/ui/test/data/range_find_pkeys.json17
-rw-r--r--install/ui/test/data/range_get_records.json40
-rw-r--r--install/ui/test/data/range_mod.json43
-rw-r--r--install/ui/test/data/range_show.json44
7 files changed, 221 insertions, 0 deletions
diff --git a/install/ui/test/data/ipa_init.json b/install/ui/test/data/ipa_init.json
index 6111881ee..32ce1c1e3 100644
--- a/install/ui/test/data/ipa_init.json
+++ b/install/ui/test/data/ipa_init.json
@@ -361,6 +361,17 @@
"pwpolicy": {
"identity": "Password Policy"
},
+ "range": {
+ "details": "Range Settings",
+ "ipabaseid": "Base ID",
+ "ipabaserid": "Primary RID base",
+ "ipaidrangesize": "Range size",
+ "ipanttrusteddomainsid": "Domain SID",
+ "ipasecondarybaserid": "Secondary RID base",
+ "type": "Range type",
+ "type_ad": "Active Directory domain",
+ "type_local": "Local domain"
+ },
"role": {
"identity": "Role Settings"
},
diff --git a/install/ui/test/data/range_add.json b/install/ui/test/data/range_add.json
new file mode 100644
index 000000000..bccb88e78
--- /dev/null
+++ b/install/ui/test/data/range_add.json
@@ -0,0 +1,34 @@
+{
+ "error": null,
+ "id": null,
+ "result": {
+ "result": {
+ "cn": [
+ "DEV.EXAMPLE.COM_id_range"
+ ],
+ "dn": "cn=foo_range,cn=ranges,cn=etc,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com",
+ "ipabaseid": [
+ "107400000"
+ ],
+ "ipabaserid": [
+ "1000"
+ ],
+ "ipaidrangesize": [
+ "200000"
+ ],
+ "iparangetype": [
+ "local domain range"
+ ],
+ "ipasecondarybaserid": [
+ "100000000"
+ ],
+ "objectclass": [
+ "top",
+ "ipaIDrange",
+ "ipaDomainIDRange"
+ ]
+ },
+ "summary": "Added ID range \"DEV.EXAMPLE.COM_id_range\"",
+ "value": "DEV.EXAMPLE.COM_id_range"
+ }
+} \ No newline at end of file
diff --git a/install/ui/test/data/range_find.json b/install/ui/test/data/range_find.json
new file mode 100644
index 000000000..9d47a94fc
--- /dev/null
+++ b/install/ui/test/data/range_find.json
@@ -0,0 +1,32 @@
+{
+ "error": null,
+ "id": null,
+ "result": {
+ "count": 1,
+ "result": [
+ {
+ "cn": [
+ "DEV.EXAMPLE.COM_id_range"
+ ],
+ "dn": "cn=example.com_id_range,cn=ranges,cn=etc,dc=dev,dc=example,dc=com",
+ "ipabaseid": [
+ "107400000"
+ ],
+ "ipabaserid": [
+ "1001"
+ ],
+ "ipaidrangesize": [
+ "200000"
+ ],
+ "iparangetype": [
+ "local domain range"
+ ],
+ "ipasecondarybaserid": [
+ "100000000"
+ ]
+ }
+ ],
+ "summary": "1 range matched",
+ "truncated": false
+ }
+} \ No newline at end of file
diff --git a/install/ui/test/data/range_find_pkeys.json b/install/ui/test/data/range_find_pkeys.json
new file mode 100644
index 000000000..21f91cdbd
--- /dev/null
+++ b/install/ui/test/data/range_find_pkeys.json
@@ -0,0 +1,17 @@
+{
+ "error": null,
+ "id": null,
+ "result": {
+ "count": 1,
+ "result": [
+ {
+ "cn": [
+ "DEV.EXAMPLE.COM_id_range"
+ ],
+ "dn": "cn=example.com_id_range,cn=ranges,cn=etc,dc=dev,dc=example,dc=com"
+ }
+ ],
+ "summary": "1 range matched",
+ "truncated": false
+ }
+} \ No newline at end of file
diff --git a/install/ui/test/data/range_get_records.json b/install/ui/test/data/range_get_records.json
new file mode 100644
index 000000000..5f17c26bd
--- /dev/null
+++ b/install/ui/test/data/range_get_records.json
@@ -0,0 +1,40 @@
+{
+ "error": null,
+ "id": null,
+ "result": {
+ "count": 1,
+ "results": [
+ {
+ "error": null,
+ "result": {
+ "cn": [
+ "DEV.EXAMPLE.COM_id_range"
+ ],
+ "dn": "cn=example.com_id_range,cn=ranges,cn=etc,dc=dev,dc=example,dc=com",
+ "ipabaseid": [
+ "107400000"
+ ],
+ "ipabaserid": [
+ "1001"
+ ],
+ "ipaidrangesize": [
+ "200000"
+ ],
+ "iparangetype": [
+ "local domain range"
+ ],
+ "ipasecondarybaserid": [
+ "100000000"
+ ],
+ "objectclass": [
+ "top",
+ "ipaIDrange",
+ "ipaDomainIDRange"
+ ]
+ },
+ "summary": null,
+ "value": "DEV.EXAMPLE.COM_id_range"
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/install/ui/test/data/range_mod.json b/install/ui/test/data/range_mod.json
new file mode 100644
index 000000000..47c72d053
--- /dev/null
+++ b/install/ui/test/data/range_mod.json
@@ -0,0 +1,43 @@
+{
+ "error": null,
+ "id": null,
+ "result": {
+ "result": {
+ "attributelevelrights": {
+ "aci": "rscwo",
+ "cn": "rscwo",
+ "ipabaseid": "rscwo",
+ "ipabaserid": "rscwo",
+ "ipaidrangesize": "rscwo",
+ "ipasecondarybaserid": "rscwo",
+ "nsaccountlock": "rscwo",
+ "objectclass": "rscwo"
+ },
+ "cn": [
+ "DEV.EXAMPLE.COM_id_range"
+ ],
+ "ipabaseid": [
+ "107400000"
+ ],
+ "ipabaserid": [
+ "1001"
+ ],
+ "ipaidrangesize": [
+ "200000"
+ ],
+ "iparangetype": [
+ "local domain range"
+ ],
+ "ipasecondarybaserid": [
+ "100000000"
+ ],
+ "objectclass": [
+ "top",
+ "ipaIDrange",
+ "ipaDomainIDRange"
+ ]
+ },
+ "summary": "Modified ID range \"DEV.EXAMPLE.COM_id_range\"",
+ "value": "DEV.EXAMPLE.COM_id_range"
+ }
+} \ No newline at end of file
diff --git a/install/ui/test/data/range_show.json b/install/ui/test/data/range_show.json
new file mode 100644
index 000000000..0bf544fed
--- /dev/null
+++ b/install/ui/test/data/range_show.json
@@ -0,0 +1,44 @@
+{
+ "error": null,
+ "id": null,
+ "result": {
+ "result": {
+ "attributelevelrights": {
+ "aci": "rscwo",
+ "cn": "rscwo",
+ "ipabaseid": "rscwo",
+ "ipabaserid": "rscwo",
+ "ipaidrangesize": "rscwo",
+ "ipasecondarybaserid": "rscwo",
+ "nsaccountlock": "rscwo",
+ "objectclass": "rscwo"
+ },
+ "cn": [
+ "DEV.EXAMPLE.COM_id_range"
+ ],
+ "dn": "cn=example.com_id_range,cn=ranges,cn=etc,dc=dev,dc=example,dc=com",
+ "ipabaseid": [
+ "107400000"
+ ],
+ "ipabaserid": [
+ "1000"
+ ],
+ "ipaidrangesize": [
+ "200000"
+ ],
+ "iparangetype": [
+ "local domain range"
+ ],
+ "ipasecondarybaserid": [
+ "100000000"
+ ],
+ "objectclass": [
+ "top",
+ "ipaIDrange",
+ "ipaDomainIDRange"
+ ]
+ },
+ "summary": null,
+ "value": "DEV.EXAMPLE.COM_id_range"
+ }
+} \ No newline at end of file