summaryrefslogtreecommitdiff
path: root/src/main/JUTests
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2014-10-23 13:17:16 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2015-04-14 07:44:59 +0200
commit267c7b1af11ec8f306b37c58c7190c57fd906dc5 (patch)
tree28d3702fd32993c926b1f2057a91419ff9845b2b /src/main/JUTests
parent177a7ece545dd0de3dd6de2042ae2491a523193b (diff)
downloadsssync-267c7b1af11ec8f306b37c58c7190c57fd906dc5.tar.gz
sssync-267c7b1af11ec8f306b37c58c7190c57fd906dc5.tar.bz2
sssync-267c7b1af11ec8f306b37c58c7190c57fd906dc5.zip
Config : all enum values in CAPS.
Diffstat (limited to 'src/main/JUTests')
-rw-r--r--src/main/JUTests/conf/testConn.yaml10
-rw-r--r--src/main/JUTests/conf/testExpectedConn.yaml6
-rw-r--r--src/main/JUTests/conf/testExpectedMain.yaml12
-rw-r--r--src/main/JUTests/conf/testMain.yaml14
4 files changed, 21 insertions, 21 deletions
diff --git a/src/main/JUTests/conf/testConn.yaml b/src/main/JUTests/conf/testConn.yaml
index c41063c..78a4fa6 100644
--- a/src/main/JUTests/conf/testConn.yaml
+++ b/src/main/JUTests/conf/testConn.yaml
@@ -1,17 +1,17 @@
# This file contains credentials (should be readable only by SSSync)
connections:
- id : ora_1
- type: jdbc
- dbms: oracle
+ type: JDBC
+ dbms: ORACLE
ress: gest
host: ora.univ-jfc.fr
port: 1521
- user: GRHUM
+ user: grhum
pass: secret
- db : GHRUM
+ db : grhum
- id : ldap_1
- type: ldap
+ type: LDAP
host: localhost
port: 389
bind: uid=ldapadmin,ou=specialUsers,dc=univ-jfc,dc=fr
diff --git a/src/main/JUTests/conf/testExpectedConn.yaml b/src/main/JUTests/conf/testExpectedConn.yaml
index 4cb3421..17d4f0b 100644
--- a/src/main/JUTests/conf/testExpectedConn.yaml
+++ b/src/main/JUTests/conf/testExpectedConn.yaml
@@ -2,13 +2,13 @@
connections:
- bind: null
db: GHRUM
- dbms: oracle
+ dbms: ORACLE
host: ora.univ-jfc.fr
id: ora_1
pass: secret
port: 1521
ress: gest
- type: jdbc
+ type: JDBC
user: GRHUM
- bind: uid=ldapadmin,ou=specialUsers,dc=univ-jfc,dc=fr
db: null
@@ -18,5 +18,5 @@ connections:
pass: secret
port: 389
ress: null
- type: ldap
+ type: LDAP
user: null
diff --git a/src/main/JUTests/conf/testExpectedMain.yaml b/src/main/JUTests/conf/testExpectedMain.yaml
index dd00aef..88bcb32 100644
--- a/src/main/JUTests/conf/testExpectedMain.yaml
+++ b/src/main/JUTests/conf/testExpectedMain.yaml
@@ -6,7 +6,7 @@ tasks:
attr: uid
base: ou=people,dc=univ-jfc,dc=fr
conn: ldap_1
- kind: ldap
+ kind: LDAP
mode: null
name: LDAP de test, ou=people
path: null
@@ -22,7 +22,7 @@ tasks:
- attr: null
base: null
conn: ora_1
- kind: sql
+ kind: SQL
mode: PRIMARY_SOURCE
name: GHRUM, comptes et personnes
path: null
@@ -30,7 +30,7 @@ tasks:
- attr: null
base: null
conn: null
- kind: csv
+ kind: FIXED_CSV
mode: MERGE_APPEND
name: CSV personnes additionnelles
path: people_append.csv
@@ -38,7 +38,7 @@ tasks:
- attr: null
base: null
conn: null
- kind: sorted_csv
+ kind: FIXED_CSV_SORTED
mode: MERGE_REPLACE
name: CSV correctifs personnes
path: people_replace.csv
@@ -47,7 +47,7 @@ tasks:
attr: supannEntiteAffectation
base: ou=structures,dc=univ-jfc,dc=fr
conn: ldap_1
- kind: ldap
+ kind: LDAP
mode: null
name: LDAP de test, ou=structures
path: null
@@ -63,7 +63,7 @@ tasks:
- attr: null
base: null
conn: ora_1
- kind: sql
+ kind: SQL
mode: PRIMARY_SOURCE
name: GHRUM, structures
path: null
diff --git a/src/main/JUTests/conf/testMain.yaml b/src/main/JUTests/conf/testMain.yaml
index 39350b2..123a8b1 100644
--- a/src/main/JUTests/conf/testMain.yaml
+++ b/src/main/JUTests/conf/testMain.yaml
@@ -11,24 +11,24 @@ tasks:
delete: 10
sources:
- name: GHRUM, comptes et personnes
- kind: sql
+ kind: SQL
conn: ora_1
mode: PRIMARY_SOURCE
query: people.sql
- name: CSV personnes additionnelles
- kind: csv
+ kind: FIXED_CSV
mode: MERGE_APPEND
path: people_append.csv
- name: CSV correctifs personnes
- kind: sorted_csv
+ kind: FIXED_CSV_SORTED
mode: MERGE_REPLACE
path: people_replace.csv
destination:
name: LDAP de test, ou=people
- kind: ldap
+ kind: LDAP
conn: ldap_1
attr: uid
base: ou=people,dc=univ-jfc,dc=fr
@@ -36,13 +36,13 @@ tasks:
- name: Structure sync
sources:
- name: GHRUM, structures
- kind: sql
+ kind: SQL
conn: ora_1
mode: PRIMARY_SOURCE
query: structures.sql
destination:
name: LDAP de test, ou=structures
- kind: ldap
+ kind: LDAP
conn: ldap_1
attr: supannEntiteAffectation
base: ou=structures,dc=univ-jfc,dc=fr
@@ -51,4 +51,4 @@ tasks:
opLimits:
insert: 10
update: 10
- delete: 10 \ No newline at end of file
+ delete: 10