diff options
Diffstat (limited to 'install/static/sampledata')
-rw-r--r-- | install/static/sampledata/develop.js | 3 | ||||
-rw-r--r-- | install/static/sampledata/grouplist.json | 75 | ||||
-rw-r--r-- | install/static/sampledata/groupshow.json | 38 | ||||
-rw-r--r-- | install/static/sampledata/hostgrouplist.json | 33 | ||||
-rw-r--r-- | install/static/sampledata/hostlist.json | 45 | ||||
-rw-r--r-- | install/static/sampledata/hostshow.json | 56 | ||||
-rw-r--r-- | install/static/sampledata/netgrouplist.json | 56 | ||||
-rw-r--r-- | install/static/sampledata/userlist.json | 246 | ||||
-rw-r--r-- | install/static/sampledata/usershow.json | 71 | ||||
-rw-r--r-- | install/static/sampledata/whoami.json | 7 |
10 files changed, 630 insertions, 0 deletions
diff --git a/install/static/sampledata/develop.js b/install/static/sampledata/develop.js new file mode 100644 index 00000000..5c5275b5 --- /dev/null +++ b/install/static/sampledata/develop.js @@ -0,0 +1,3 @@ +//This should not be packaged up, and so we should only get a true value when working inside the file system +useSampleData = true; + diff --git a/install/static/sampledata/grouplist.json b/install/static/sampledata/grouplist.json new file mode 100644 index 00000000..01c7d4dd --- /dev/null +++ b/install/static/sampledata/grouplist.json @@ -0,0 +1,75 @@ +{ + "error": null, + "id": 0, + "result": { + "count": 5, + "result": [ + { + "cn": [ + "admins" + ], + "description": [ + "Account administrators group" + ], + "dn": "cn=admins,cn=groups,cn=accounts,dc=ayoung,dc=boston,dc=devel,dc=redhat,dc=com", + "gidnumber": [ + "1948497956" + ], + "member_user": [ + "admin" + ] + }, + { + "cn": [ + "ipausers" + ], + "description": [ + "Default group for all users" + ], + "dn": "cn=ipausers,cn=groups,cn=accounts,dc=ayoung,dc=boston,dc=devel,dc=redhat,dc=com", + "gidnumber": [ + "1948497957" + ], + "member_user": [ + "kfrog", + "moi" + ] + }, + { + "cn": [ + "editors" + ], + "description": [ + "Limited admins who can edit other users" + ], + "dn": "cn=editors,cn=groups,cn=accounts,dc=ayoung,dc=boston,dc=devel,dc=redhat,dc=com", + "gidnumber": [ + "1948497958" + ] + }, + { + "cn": [ + "deleteme" + ], + "description": [ + "This is a group that should go away." + ], + "dn": "cn=deleteme,cn=groups,cn=accounts,dc=ayoung,dc=boston,dc=devel,dc=redhat,dc=com" + }, + { + "cn": [ + "testgroup" + ], + "description": [ + "Detlete this if you see it" + ], + "dn": "cn=testgroup,cn=groups,cn=accounts,dc=ayoung,dc=boston,dc=devel,dc=redhat,dc=com", + "gidnumber": [ + "1948497959" + ] + } + ], + "summary": "5 groups matched", + "truncated": false + } +}
\ No newline at end of file diff --git a/install/static/sampledata/groupshow.json b/install/static/sampledata/groupshow.json new file mode 100644 index 00000000..b026985f --- /dev/null +++ b/install/static/sampledata/groupshow.json @@ -0,0 +1,38 @@ +{ + "error": null, + "id": 0, + "result": { + "result": { + "cn": [ + "ipausers" + ], + "description": [ + "Default group for all users" + ], + "dn": "cn=ipausers,cn=groups,cn=accounts,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com", + "gidnumber": [ + "1079249048" + ], + "member": [ + "uid=gsmile,cn=users,cn=accounts,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com", + "uid=kfrog,cn=users,cn=accounts,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com", + "uid=count123,cn=users,cn=accounts,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com" + ], + "member_user": [ + "gsmile", + "kfrog", + "count123" + ], + "memberof": [], + "objectclass": [ + "top", + "groupofnames", + "nestedgroup", + "ipausergroup", + "posixgroup" + ] + }, + "summary": null, + "value": "ipausers" + } +} diff --git a/install/static/sampledata/hostgrouplist.json b/install/static/sampledata/hostgrouplist.json new file mode 100644 index 00000000..fe69c2a3 --- /dev/null +++ b/install/static/sampledata/hostgrouplist.json @@ -0,0 +1,33 @@ +{ + "error": null, + "id": 0, + "result": { + "count": 2, + "result": [ + { + "cn": [ + "host-live" + ], + "description": [ + "Live servers" + ], + "dn": "cn=host-live,cn=hostgroups,cn=accounts,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com", + "member": [], + "memberof": [] + }, + { + "cn": [ + "stage-live" + ], + "description": [ + "Staging servers" + ], + "dn": "cn=stage-live,cn=hostgroups,cn=accounts,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com", + "member": [], + "memberof": [] + } + ], + "summary": "2 hostgroups matched", + "truncated": false + } +}
\ No newline at end of file diff --git a/install/static/sampledata/hostlist.json b/install/static/sampledata/hostlist.json new file mode 100644 index 00000000..b02e7bd8 --- /dev/null +++ b/install/static/sampledata/hostlist.json @@ -0,0 +1,45 @@ +{ + "error": null, + "id": 0, + "result": { + "count": 2, + "result": [ + { + "dn": "fqdn=vm-121.idm.lab.bos.redhat.com,cn=computers,cn=accounts,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com", + "enrolledby": [], + "fqdn": [ + "vm-121.idm.lab.bos.redhat.com" + ], + "krbprincipalname": [ + "host/vm-121.idm.lab.bos.redhat.com@IDM.LAB.BOS.REDHAT.COM" + ], + "memberof": [] + }, + { + "description": [ + "sample host" + ], + "dn": "fqdn=ayounghost1.idm.lab.bos.redhat.com,cn=computers,cn=accounts,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com", + "enrolledby": [], + "fqdn": [ + "ayounghost1.idm.lab.bos.redhat.com" + ], + "l": [ + "VM-lab" + ], + "memberof": [], + "nshardwareplatform": [ + "kvm" + ], + "nshostlocation": [ + "VM-lab" + ], + "nsosversion": [ + "F13" + ] + } + ], + "summary": "2 hosts matched", + "truncated": false + } +}
\ No newline at end of file diff --git a/install/static/sampledata/hostshow.json b/install/static/sampledata/hostshow.json new file mode 100644 index 00000000..f15370b0 --- /dev/null +++ b/install/static/sampledata/hostshow.json @@ -0,0 +1,56 @@ +{ + "error": null, + "id": 0, + "result": { + "result": { + "cn": [ + "vm-121.idm.lab.bos.redhat.com" + ], + "dn": "fqdn=vm-121.idm.lab.bos.redhat.com,cn=computers,cn=accounts,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com", + "enrolledby": [], + "fqdn": [ + "vm-121.idm.lab.bos.redhat.com" + ], + "ipauniqueid": [ + "b54b73a8-8ba8-11df-80bc-00163e26b89e" + ], + "krbextradata": [ + { + "__base64__": "AAKOoTdMYWRtaW4vYWRtaW5ASURNLkxBQi5CT1MuUkVESEFULkNPTQA=" + } + ], + "krblastpwdchange": [ + "20100709222414Z" + ], + "krbpasswordexpiration": [ + "19700101000000Z" + ], + "krbprincipalname": [ + "host/vm-121.idm.lab.bos.redhat.com@IDM.LAB.BOS.REDHAT.COM" + ], + "krbticketflags": [ + "0" + ], + "managedby": [ + "fqdn=vm-121.idm.lab.bos.redhat.com,cn=computers,cn=accounts,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com" + ], + "memberof": [], + "objectclass": [ + "top", + "ipaobject", + "nshost", + "ipahost", + "ipaservice", + "pkiuser", + "krbprincipalaux", + "krbprincipal", + "krbticketpolicyaux" + ], + "serverhostname": [ + "vm-121" + ] + }, + "summary": null, + "value": "vm-121.idm.lab.bos.redhat.com" + } +} diff --git a/install/static/sampledata/netgrouplist.json b/install/static/sampledata/netgrouplist.json new file mode 100644 index 00000000..84d696cc --- /dev/null +++ b/install/static/sampledata/netgrouplist.json @@ -0,0 +1,56 @@ +{ + "error": null, + "id": 0, + "result": { + "count": 2, + "result": [ + { + "cn": [ + "net-stage" + ], + "description": [ + "staging servers" + ], + "dn": "ipauniqueid=f6ee9f40-9456-11df-973b-00163e26b89e,cn=ng,cn=alt,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com", + "memberhost": [], + "memberof": [], + "memberuser": [ + "cn=muppets,cn=groups,cn=accounts,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com" + ], + "memberuser_group": [ + "muppets" + ], + "nisdomainname": [ + "idm.lab.bos.redhat.com" + ] + }, + { + "cn": [ + "net-live" + ], + "description": [ + "live servers" + ], + "dn": "ipauniqueid=f763e426-9456-11df-934d-00163e26b89e,cn=ng,cn=alt,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com", + "memberhost": [ + "cn=host-live,cn=hostgroups,cn=accounts,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com" + ], + "memberhost_hostgroup": [ + "host-live" + ], + "memberof": [], + "memberuser": [ + "cn=muppets,cn=groups,cn=accounts,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com" + ], + "memberuser_group": [ + "muppets" + ], + "nisdomainname": [ + "idm.lab.bos.redhat.com" + ] + } + ], + "summary": null, + "truncated": false + } +}
\ No newline at end of file diff --git a/install/static/sampledata/userlist.json b/install/static/sampledata/userlist.json new file mode 100644 index 00000000..432a3c5e --- /dev/null +++ b/install/static/sampledata/userlist.json @@ -0,0 +1,246 @@ + +{ + "error": null, + "id": 0, + "result": { + "count": 4, + "result": [ + { + "cn": [ + "Administrator" + ], + "dn": "uid=admin,cn=users,cn=accounts,dc=ayoung,dc=boston,dc=devel,dc=redhat,dc=com", + "gecos": [ + "Administrator" + ], + "gidnumber": [ + "444194797" + ], + "homedirectory": [ + "/home/admin" + ], + "krblastpwdchange": [ + "20100614200400Z" + ], + "krbpasswordexpiration": [ + "20100912200400Z" + ], + "krbprincipalname": [ + "admin@AYOUNG.BOSTON.DEVEL.REDHAT.COM" + ], + "loginshell": [ + "/bin/bash" + ], + "memberof_group": [ + "admins" + ], + "memberof_rolegroup": [ + "replicaadmin" + ], + "memberof_taskgroup": [ + "managereplica", + "deletereplica" + ], + "objectclass": [ + "top", + "person", + "posixaccount", + "krbprincipalaux", + "krbticketpolicyaux", + "inetuser" + ], + "sn": [ + "Administrator" + ], + "uid": [ + "admin" + ], + "uidnumber": [ + "444194797" + ] + }, + { + "cn": [ + "Kermit Frog" + ], + "dn": "uid=kfrog,cn=users,cn=accounts,dc=ayoung,dc=boston,dc=devel,dc=redhat,dc=com", + "gecos": [ + "Some of my best friends are Geckos" + ], + "gidnumber": [ + "444194798" + ], + "givenname": [ + "Kermit" + ], + "homedirectory": [ + "/home/kfrog" + ], + "ipauniqueid": [ + "89dc1f68-77f3-11df-afb7-525400ed2d11" + ], + "krbprincipalname": [ + "kfrog" + ], + "loginshell": [ + "/bin/sh" + ], + "mail": [ + "kfrog@pbs.org" + ], + "memberof_group": [ + "ipausers" + ], + "objectclass": [ + "top", + "person", + "organizationalperson", + "inetorgperson", + "inetuser", + "posixaccount", + "krbprincipalaux", + "krbticketpolicyaux", + "radiusprofile", + "ipaobject" + ], + "sn": [ + "Frog" + ], + "street": [ + "55 Seasame Street" + ], + "title": [ + "Reporter" + ], + "uid": [ + "kfrog" + ], + "uidnumber": [ + "444194798" + ] + }, + { + "cn": [ + "Oscar Grouch" + ], + "dn": "uid=scram,cn=users,cn=accounts,dc=ayoung,dc=boston,dc=devel,dc=redhat,dc=com", + "gecos": [ + "scram" + ], + "gidnumber": [ + "444194798" + ], + "givenname": [ + "Oscar" + ], + "homedirectory": [ + "/home/trash" + ], + "ipauniqueid": [ + "adba909c-77f3-11df-ae3f-525400ed2d11" + ], + "krbprincipalname": [ + "scram" + ], + "loginshell": [ + "/bin/sh" + ], + "mail": [ + "oscar@pbs.org" + ], + "memberof_group": [ + "ipausers" + ], + "objectclass": [ + "top", + "person", + "organizationalperson", + "inetorgperson", + "inetuser", + "posixaccount", + "krbprincipalaux", + "krbticketpolicyaux", + "radiusprofile", + "ipaobject" + ], + "sn": [ + "Grouch" + ], + "street": [ + "123a Sesame Street" + ], + "title": [ + "Sys Admin" + ], + "uid": [ + "scram" + ], + "uidnumber": [ + "444194799" + ] + }, + { + "cn": [ + "Sid Monster" + ], + "dn": "uid=cookie,cn=users,cn=accounts,dc=ayoung,dc=boston,dc=devel,dc=redhat,dc=com", + "gecos": [ + "cookie" + ], + "gidnumber": [ + "444194798" + ], + "givenname": [ + "Sid" + ], + "homedirectory": [ + "cookie" + ], + "ipauniqueid": [ + "c7d10507-77f3-11df-ac53-525400ed2d11" + ], + "krbprincipalname": [ + "cookie" + ], + "loginshell": [ + "/bin/sh" + ], + "mail": [ + "cookie@pbs.org" + ], + "memberof_group": [ + "ipausers" + ], + "objectclass": [ + "top", + "person", + "organizationalperson", + "inetorgperson", + "inetuser", + "posixaccount", + "krbprincipalaux", + "krbticketpolicyaux", + "radiusprofile", + "ipaobject" + ], + "sn": [ + "Monster" + ], + "street": [ + "123 Sesame Street" + ], + "title": [ + "Chef" + ], + "uid": [ + "cookie" + ], + "uidnumber": [ + "444194800" + ] + } + ], + "summary": "4 users matched", + "truncated": false + } +} diff --git a/install/static/sampledata/usershow.json b/install/static/sampledata/usershow.json new file mode 100644 index 00000000..eb2a35d1 --- /dev/null +++ b/install/static/sampledata/usershow.json @@ -0,0 +1,71 @@ +{ + "error": null, + "id": 0, + "result": { + "result": { + "cn": [ + "Kermit Frog" + ], + "dn": "uid=kfrog,cn=users,cn=accounts,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com", + "gecos": [ + "kfrog" + ], + "gidnumber": [ + "1079249051" + ], + "givenname": [ + "Kermit" + ], + "homedirectory": [ + "/home/kfrog" + ], + "ipauniqueid": [ + "41bcf085-8baa-11df-8155-00163e26b89e" + ], + "krbprincipalname": [ + "kfrog@IDM.LAB.BOS.REDHAT.COM" + ], + "loginshell": [ + "/bin/sh" + ], + "mail": [ + "kfrog@redhat.com" + ], + "memberof": [ + "cn=ipausers,cn=groups,cn=accounts,dc=ayoung,dc=boston,dc=devel,dc=redhat,dc=com", + "cn=muppets,cn=groups,cn=accounts,dc=ayoung,dc=boston,dc=devel,dc=redhat,dc=com" + ], + "memberof_group": [ + "ipausers", + "muppets" + ], + "mepmanagedentry": [ + "cn=kfrog,cn=groups,cn=accounts,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com" + ], + "objectclass": [ + "top", + "person", + "organizationalperson", + "inetorgperson", + "inetuser", + "posixaccount", + "krbprincipalaux", + "krbticketpolicyaux", + "radiusprofile", + "ipaobject", + "mepOriginEntry" + ], + "sn": [ + "Frog" + ], + "uid": [ + "kfrog" + ], + "uidnumber": [ + "1079249051" + ] + }, + "summary": null, + "value": "kfrog" + } +} diff --git a/install/static/sampledata/whoami.json b/install/static/sampledata/whoami.json new file mode 100644 index 00000000..a922d372 --- /dev/null +++ b/install/static/sampledata/whoami.json @@ -0,0 +1,7 @@ +{ + "error": null, + "id": 0, + "result": { + "summary": "admin@AYOUNG.BOSTON.DEVEL.REDHAT.COM" + } +} |