Skip to content

Commit

Permalink
More samples for book (and testing)
Browse files Browse the repository at this point in the history
  • Loading branch information
semancik committed Dec 15, 2016
1 parent dbe6b60 commit c5a384e
Show file tree
Hide file tree
Showing 8 changed files with 912 additions and 11 deletions.
2 changes: 1 addition & 1 deletion samples/book/2/resource-csv-hr-bare.xml
Expand Up @@ -48,7 +48,7 @@ This file is an example of Resource definition. It defines CSV resource.
<!-- Configuration specific for the CSVfile connector -->
<icfc:configurationProperties
xmlns:icfccsvfile="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/com.evolveum.polygon.connector-csvfile/com.evolveum.polygon.csvfile.CSVFileConnector">
<icfccsvfile:filePath>/var/opt/midpoint-example/resources/hr.csv</icfccsvfile:filePath>
<icfccsvfile:filePath>/var/opt/midpoint-book/resources/hr.csv</icfccsvfile:filePath>
<icfccsvfile:encoding>utf-8</icfccsvfile:encoding>
<icfccsvfile:valueQualifier>"</icfccsvfile:valueQualifier>
<icfccsvfile:fieldDelimiter>,</icfccsvfile:fieldDelimiter>
Expand Down
2 changes: 1 addition & 1 deletion samples/book/2/resource-csv-hr.xml
Expand Up @@ -48,7 +48,7 @@ This file is an example of Resource definition. It defines CSV resource.
<!-- Configuration specific for the CSVfile connector -->
<icfc:configurationProperties
xmlns:icfccsvfile="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/com.evolveum.polygon.connector-csvfile/com.evolveum.polygon.csvfile.CSVFileConnector">
<icfccsvfile:filePath>/var/opt/midpoint-example/resources/hr.csv</icfccsvfile:filePath>
<icfccsvfile:filePath>/var/opt/midpoint-book/resources/hr.csv</icfccsvfile:filePath>
<icfccsvfile:encoding>utf-8</icfccsvfile:encoding>
<icfccsvfile:valueQualifier>"</icfccsvfile:valueQualifier>
<icfccsvfile:fieldDelimiter>,</icfccsvfile:fieldDelimiter>
Expand Down
27 changes: 27 additions & 0 deletions samples/book/5/hr.csv
@@ -0,0 +1,27 @@
"id","firstname","lastname","password"
"001","Alice","Anderson","qwe123"
"002","Bob","Brown","qwe123"
"003","Carol","Cooper","qwe123"
"004","David","Davies","qwe123"
"005","Erin","Evans","qwe123"
"006","Frank","Fox","qwe123"
"007","Goerge","Green","qwe123"
"008","Harry","Harris","qwe123"
"009","Isabella","Irvine","qwe123"
"010","Jack","Jones","qwe123"
"011","Kate","Knowles","qwe123"
"012","Lily","Lewis","qwe123"
"013","Max","Morgan","qwe123"
"014","Nathan","Newman","qwe123"
"015","Oliver","Owen","qwe123"
"016","Peter","Phillips","qwe123"
"017","Quentin","Quinn","qwe123"
"018","Roger","Russell","qwe123"
"019","Sophia","Simpson","qwe123"
"020","Thomas","Turner","qwe123"
"021","Uma","Underhill","qwe123"
"022","Violet","Vickers","qwe123"
"023","William","Walker","qwe123"
"024","Xenia","Xanadu","qwe123"
"025","Yasmine","Young","qwe123"
"026","Zed","Zimmerman","qwe123"
239 changes: 239 additions & 0 deletions samples/book/5/ldap-ideal.ldif
@@ -0,0 +1,239 @@
#
# This is idealistic content of the LDAP server
# All data are correct, no errors, no typos
# no missing information. You cannot see this
# in the wild.
#
dn: uid=anderson,ou=People,dc=example,dc=com
objectclass: inetOrgPerson
uid: anderson
cn: Alice Anderson
sn: Anderson
givenName: Alice
employeeNumber: 001
userPassword: qwe123

dn: uid=brown,ou=People,dc=example,dc=com
objectclass: inetOrgPerson
uid: brown
cn: Bob Brown
sn: Brown
givenName: Bob
employeeNumber: 002
userPassword: qwe123

dn: uid=cooper,ou=People,dc=example,dc=com
objectclass: inetOrgPerson
uid: cooper
cn: Carol Cooper
sn: Cooper
givenName: Carol
employeeNumber: 003
userPassword: qwe123

dn: uid=davies,ou=People,dc=example,dc=com
objectclass: inetOrgPerson
uid: davies
cn: David Davies
sn: Davies
givenName: David
employeeNumber: 004
userPassword: qwe123

dn: uid=evans,ou=People,dc=example,dc=com
objectclass: inetOrgPerson
uid: evans
cn: Erin Evans
sn: Evans
givenName: Erin
employeeNumber: 005
userPassword: qwe123

dn: uid=fox,ou=People,dc=example,dc=com
objectclass: inetOrgPerson
uid: fox
cn: Frank Fox
sn: Fox
givenName: Frank
employeeNumber: 006
userPassword: qwe123

dn: uid=green,ou=People,dc=example,dc=com
objectclass: inetOrgPerson
uid: green
cn: Goerge Green
sn: Green
givenName: Goerge
employeeNumber: 007
userPassword: qwe123

dn: uid=harris,ou=People,dc=example,dc=com
objectclass: inetOrgPerson
uid: harris
cn: Harry Harris
sn: Harris
givenName: Harry
employeeNumber: 008
userPassword: qwe123

dn: uid=irvine,ou=People,dc=example,dc=com
objectclass: inetOrgPerson
uid: irvine
cn: Isabella Irvine
sn: Irvine
givenName: Isabella
employeeNumber: 009
userPassword: qwe123

dn: uid=jones,ou=People,dc=example,dc=com
objectclass: inetOrgPerson
uid: jones
cn: Jack Jones
sn: Jones
givenName: Jack
employeeNumber: 010
userPassword: qwe123

dn: uid=knowles,ou=People,dc=example,dc=com
objectclass: inetOrgPerson
uid: knowles
cn: Kate Knowles
sn: Knowles
givenName: Kate
employeeNumber: 011
userPassword: qwe123

dn: uid=lewis,ou=People,dc=example,dc=com
objectclass: inetOrgPerson
uid: lewis
cn: Lily Lewis
sn: Lewis
givenName: Lily
employeeNumber: 012
userPassword: qwe123

dn: uid=morgan,ou=People,dc=example,dc=com
objectclass: inetOrgPerson
uid: morgan
cn: Max Morgan
sn: Morgan
givenName: Max
employeeNumber: 013
userPassword: qwe123

dn: uid=newman,ou=People,dc=example,dc=com
objectclass: inetOrgPerson
uid: newman
cn: Nathan Newman
sn: Newman
givenName: Nathan
employeeNumber: 014
userPassword: qwe123

dn: uid=owen,ou=People,dc=example,dc=com
objectclass: inetOrgPerson
uid: owen
cn: Oliver Owen
sn: Owen
givenName: Oliver
employeeNumber: 015
userPassword: qwe123

dn: uid=phillips,ou=People,dc=example,dc=com
objectclass: inetOrgPerson
uid: phillips
cn: Peter Phillips
sn: Phillips
givenName: Peter
employeeNumber: 016
userPassword: qwe123

dn: uid=quinn,ou=People,dc=example,dc=com
objectclass: inetOrgPerson
uid: quinn
cn: Quentin Quinn
sn: Quinn
givenName: Quentin
employeeNumber: 017
userPassword: qwe123

dn: uid=russell,ou=People,dc=example,dc=com
objectclass: inetOrgPerson
uid: russell
cn: Roger Russell
sn: Russell
givenName: Roger
employeeNumber: 018
userPassword: qwe123

dn: uid=simpson,ou=People,dc=example,dc=com
objectclass: inetOrgPerson
uid: simpson
cn: Sophia Simpson
sn: Simpson
givenName: Sophia
employeeNumber: 019
userPassword: qwe123

dn: uid=turner,ou=People,dc=example,dc=com
objectclass: inetOrgPerson
uid: turner
cn: Thomas Turner
sn: Turner
givenName: Thomas
employeeNumber: 020
userPassword: qwe123

dn: uid=underhill,ou=People,dc=example,dc=com
objectclass: inetOrgPerson
uid: underhill
cn: Uma Underhill
sn: Underhill
givenName: Uma
employeeNumber: 021
userPassword: qwe123

dn: uid=vickers,ou=People,dc=example,dc=com
objectclass: inetOrgPerson
uid: vickers
cn: Violet Vickers
sn: Vickers
givenName: Violet
employeeNumber: 022
userPassword: qwe123

dn: uid=walker,ou=People,dc=example,dc=com
objectclass: inetOrgPerson
uid: walker
cn: William Walker
sn: Walker
givenName: William
employeeNumber: 023
userPassword: qwe123

dn: uid=xanadu,ou=People,dc=example,dc=com
objectclass: inetOrgPerson
uid: xanadu
cn: Xenia Xanadu
sn: Xanadu
givenName: Xenia
employeeNumber: 024
userPassword: qwe123

dn: uid=young,ou=People,dc=example,dc=com
objectclass: inetOrgPerson
uid: young
cn: Yasmine Young
sn: Young
givenName: Yasmine
employeeNumber: 025
userPassword: qwe123

dn: uid=zimmerman,ou=People,dc=example,dc=com
objectclass: inetOrgPerson
uid: zimmerman
cn: Zed Zimmerman
sn: Zimmerman
givenName: Zed
employeeNumber: 026
userPassword: qwe123

0 comments on commit c5a384e

Please sign in to comment.