summaryrefslogtreecommitdiff
path: root/src/main/JUTests/conf/testMain.yaml
blob: 123a8b1538bb10778097288e6b9355fa6b5bec6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# This YAML file describe all synchronization tasks, with their readers and writers

globals:
    maxExecTime: 3

tasks:
  - name: People sync
    opLimits:
        insert: 100
        update: 10
        delete: 10
    sources:
      - name: GHRUM, comptes et personnes
        kind: SQL
        conn: ora_1
        mode: PRIMARY_SOURCE
        query: people.sql

      - name: CSV personnes additionnelles
        kind: FIXED_CSV
        mode: MERGE_APPEND
        path: people_append.csv

      - name: CSV correctifs personnes
        kind: FIXED_CSV_SORTED
        mode: MERGE_REPLACE
        path: people_replace.csv

    destination:
        name: LDAP de test, ou=people
        kind: LDAP
        conn: ldap_1
        attr: uid
        base: ou=people,dc=univ-jfc,dc=fr

  - name: Structure sync
    sources:
      - name: GHRUM, structures
        kind: SQL
        conn: ora_1
        mode: PRIMARY_SOURCE
        query: structures.sql
    destination:
        name: LDAP de test, ou=structures
        kind: LDAP
        conn: ldap_1
        attr: supannEntiteAffectation
        base: ou=structures,dc=univ-jfc,dc=fr
    skipEntryDelete: true
    skipReadErrors: true
    opLimits:
        insert: 10
        update: 10
        delete: 10