summaryrefslogtreecommitdiff
path: root/src/main/conf
diff options
context:
space:
mode:
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