summaryrefslogtreecommitdiff
path: root/src/main/conf
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/conf
parent177a7ece545dd0de3dd6de2042ae2491a523193b (diff)
downloadsssync-267c7b1af11ec8f306b37c58c7190c57fd906dc5.tar.gz
sssync-267c7b1af11ec8f306b37c58c7190c57fd906dc5.tar.bz2
sssync-267c7b1af11ec8f306b37c58c7190c57fd906dc5.zip
Config : all enum values in CAPS.
Diffstat (limited to 'src/main/conf')
-rw-r--r--src/main/conf/connections.yaml6
-rw-r--r--src/main/conf/sssync.yaml14
2 files changed, 10 insertions, 10 deletions
diff --git a/src/main/conf/connections.yaml b/src/main/conf/connections.yaml
index 1918d02..097117e 100644
--- a/src/main/conf/connections.yaml
+++ b/src/main/conf/connections.yaml
@@ -1,8 +1,8 @@
# This file contains credentials (should be readable only by SSSync)
connections:
- id : mysql_1
- type: jdbc
- dbms: mysql
+ type: JDBC
+ dbms: MYSQL
host: localhost
port: 3306
user: root
@@ -10,7 +10,7 @@ connections:
db : sssync
- 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/conf/sssync.yaml b/src/main/conf/sssync.yaml
index b285a37..068a95b 100644
--- a/src/main/conf/sssync.yaml
+++ b/src/main/conf/sssync.yaml
@@ -11,24 +11,24 @@ tasks:
delete: 300
sources:
- name: GHRUM, comptes et personnes
- kind: sql
+ kind: SQL
conn: mysql_1
mode: PRIMARY_SOURCE
query: conf/queries/people.sql
- name: CSV personnes additionnelles
- kind: csv
+ kind: FIXED_CSV
mode: MERGE_APPEND
path: data/people_append.csv
- name: CSV correctifs personnes
- kind: csv
+ kind: FIXED_CSV
mode: MERGE_REPLACE
path: data/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
@@ -40,17 +40,17 @@ tasks:
delete: 10
sources:
- name: GHRUM, structures
- kind: sql
+ kind: SQL
conn: mysql_1
mode: PRIMARY_SOURCE
query: conf/queries/structures.sql
destination:
name: LDAP de test, ou=structures
- kind: ldap
+ kind: LDAP
conn: ldap_1
attr: supannCodeEntite
base: ou=structures,dc=univ-jfc,dc=fr
skipEntryDelete: true
- skipReadErrors: true \ No newline at end of file
+ skipReadErrors: true