From 267c7b1af11ec8f306b37c58c7190c57fd906dc5 Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Thu, 23 Oct 2014 13:17:16 +0200 Subject: Config : all enum values in CAPS. --- src/main/conf/connections.yaml | 6 +++--- src/main/conf/sssync.yaml | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'src/main/conf') 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 -- cgit v1.2.3