configuration.ini.default 27.8 KB
Newer Older
Prosper De Laure's avatar
Prosper De Laure committed
1
2
3
4
5
6
7
; Declare variables for database connection
@include confvars.ini

[presentation.maarchRM]
@include menu.ini

; Default max result in search screens
8
maxResults = 500
Prosper De Laure's avatar
Prosper De Laure committed
9

10
; Public archive mode
Prosper De Laure's avatar
Prosper De Laure committed
11
12
13
14
publicArchives = false

; Logos, title and favicon of the application
logo = "/presentation/img/RM_MNCHM.svg"
15
altLogo = "/presentation/img/RM.svg"
Prosper De Laure's avatar
Prosper De Laure committed
16
17
favicon = "/presentation/img/rm.ico"
title = "Maarch RM"
18
loginBackground = ".modal-backdrop {
19
    background-image: url('/presentation/img/19093d7d-21f4-491b-bca1-5f57704c29d9.jpg');
20
21
22
23
24
25
    background-repeat: no-repeat;
    background-position: center top;
    background-color: #fff;
    background-size: cover;
    opacity: 1 !important;
}"
Alexis Ragot's avatar
Alexis Ragot committed
26
27
; If you use the CSS generator, the file is generated in folder "public/css/[file name]"
css = "/presentation/css/style.css"
Prosper De Laure's avatar
Prosper De Laure committed
28

Alexis Ragot's avatar
Alexis Ragot committed
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
; Set a title in the navbar with a specific style
;navbarTitle = "[
;    {
;        'style' : 'font-size:44px;',
;        'value' : 'm'
;    },
;    {
;        'style' : 'font-size:32px; font-weight:bold;',
;        'value' : 'aarch R'
;    },
;    {
;        'style' : 'font-size:44px;',
;        'value' : 'm'
;    }
;]"

Prosper De Laure's avatar
Prosper De Laure committed
45
46
47
48
49
50
; List of displayable format as preview
displayableFormat = "['application/pdf', 'image/jpeg', 'image/png', 'text/plain']"

[recordsManagement]
; Profile directory for rng profile
profilesDirectory = "%laabsDirectory%/data/maarchRM/profiles"
51
refDirectory = "%laabsDirectory%/data/maarchRM/ref"
Prosper De Laure's avatar
Prosper De Laure committed
52

Alexandre Goldstein's avatar
Alexandre Goldstein committed
53
; The hash algorithm used to generate the fingerprint of binary objects during the deposit.
54
55
56
; If you want to use another hash algorithm, you can find every possibles values to https://www.php.net/manual/fr/function.hash-algos.php
; hashAlgorithm=SHA1

Prosper De Laure's avatar
Prosper De Laure committed
57
58
59
60
61
62
; Type of archival profile
; 1 = file only
; 2 = descriptionClass/properties + management rules
; 3 = both
archivalProfileType = 2

63
; Default Retention Rule if any retention rule is set up ("dispose" or "preserve")
64
actionWithoutRetentionRule = "dispose"
65

Prosper De Laure's avatar
Prosper De Laure committed
66
67
68
69
70
71
72
73
74
; Delete the description of an archive when an archive is deleted
deleteDescription = false

; Show the conversion error
conversionError = false

; Storage path configuration
; Use this following variables to défine the storage path
;          KEY                         BUNDLE              DESRIPTION
Alexis Ragot's avatar
Alexis Ragot committed
75
76
77
78
79
80
81
82
83
84
;       app                         N.A                 The app name
;       instance                    N.A                 The instance name
;       originatorOwnerOrgId        recordsManagement   The owner originator identifier
;       originatorOrgRegNumber      recordsManagement   The originator registration number
;       archivalProfileReference    recordsManagement   The archival profile reference
;       batchId                     medona              The message identifier
;       archiverOrgRegNumber        medona              The archiver registration number
;       depositorOrgRegNumber       medona              The depositor registration number
;       messageDate                 medona              The date of message
;       messageReference            medona              The message reference
Prosper De Laure's avatar
Prosper De Laure committed
85
;
86
; To include a part of date, you must use <date(format)>.
Prosper De Laure's avatar
Prosper De Laure committed
87
88
89
90
;   - Y for a full numeric representation of a year, 4 digits
;   - m for the numeric representation of a month, with leading zeros
;   - d for day of the month, 2 digits with leading zeros
;
Alexis Ragot's avatar
Alexis Ragot committed
91
; To make packages, use a number. Packages must be the only variable on the directory step name
92
93
94
;       good ex : /<200>/ to make incremental containers of two hundred items
;       bad example : /prefix_<200>/
storePath = "<instance>/<originatorOwnerOrgId>/<originatorOrgRegNumber>/<archivalProfileReference>/<date(Y)>/<date(m)>/<date(d)>"
Prosper De Laure's avatar
Prosper De Laure committed
95

Alexis Ragot's avatar
Alexis Ragot committed
96
97
98
99
100
101
102
103
; The path of journals in the file plan
; To include the type of log you must use <type>
; To include a part of date, you must use <date(format)>.
;   - Y for a full numeric representation of a year, 4 digits
;   - m for the numeric representation of a month, with leading zeros
;   - d for day of the month, 2 digits with leading zeros
logFilePlan = "<type>/<date(Y)>/<date(m)>"

104
translationLogType = "{
105
106
107
108
    'lifeCycle' : 'Journal du cycle de vie',
    'application' : 'Journal de l\'application',
    'system' : 'Journal du système'
}"
109

110
111
112
;The path of the stopword file for fullTextIndexing
stopWordsFilePath = "%laabsDirectory%/data/stopwords/stopwords_fr.txt"

113
114
;Additional schemes used to describe complex metadata for archival profiles
;See documentation about descriptive schemes for a more in-depth explanation
115
descriptionSchemes = "{
116
117
    'extension' : {
        'label' : 'extension',
118
119
        'type' : 'json',
        'uri' : '%laabsDirectory%/data/maarchRM/samples/sample.json'
120
121
122
123
124
125
    },
    'log' : {
        'label' : 'log',
        'type' : 'php',
        'uri' : 'recordsManagement/log',
        'search': 'recordsManagement/log'
126
127
128
    }
}"

Alexandre Morin's avatar
Alexandre Morin committed
129
130
131
; The path of resource export folder
exportPath = "%laabsDirectory%/web/tmp"

Prosper De Laure's avatar
Prosper De Laure committed
132
[audit]
Alexis Ragot's avatar
Alexis Ragot committed
133
; Send notifications on audit event
Prosper De Laure's avatar
Prosper De Laure committed
134
135
136
137
138
139
140
141
142
143
;notifications = "{
;    'auth/userAccount/updateLock_userAccountId_' : {
;        'receivers' : ['alexis.ragot@maarch.org'],
;        'title' : 'MaarchRM - User lock',
;        'message' : 'be careful, user Alexis is lock',
;        'onResult' : true
;    }
;}"

; Chain journal with timestamp file. The timestamp dependency must be configured.
144
chainWithTimestamp = false;
145
; timestampService = dependency/timestamp/plugins/TsaClient
Prosper De Laure's avatar
Prosper De Laure committed
146

147
; Any path on this list will no be logged in the application journal
148
;ignorePaths = "['organization/organization/readTodisplay']"
149
150

; Any operation on this list will no be logged in the application journal
151
;ignoreMethods = "['read']"
Alexandre Morin's avatar
Alexandre Morin committed
152

153
[medona]
Alexandre Morin's avatar
Alexandre Morin committed
154
155
156
157
158
; Enable or disable the transaction mode
; true = Enable
; false = Disable
transaction = false

159
; Path to the message exchange directory
160
messageDirectory = "%laabsDirectory%/data/maarchRM/medona"
161
162

; Maximum file size (in bytes) for automatic transfer validation
163
164
165
166
167
168
autoValidateSize = 2147000

; Array of task to remove medona message directories
; 'type' is an array of medona message type
; 'status' is an array of medona message status
; 'delay' is the difference with the current date
169
170
171
172
173
174
175
176
177
178
179
180
;removeMessageTask = "{
;    'task1' : {
;        'type' : ['ArchiveTransfer', 'ArchiveTransferReply'],
;        'status' : ['processed'],
;        'delay' : '-P1Y'
;    },
;    'task2' : {
;        'type' : ['ArchiveModificationNotification'],
;        'status' : ['sent'],
;        'delay' : '-P6M'
;    }
;}"
181

182
; Schema of message exchange
183
184
packageSchemas = "{
    'mades' : {
185
186
187
        'label' : 'Format d\'échange Maarch RM',
        'phpNamespace' : 'mades',
        'presenter' : 'mades/message'
188
189
190
    }
}"

Jerome Boucher's avatar
Jerome Boucher committed
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
;if package are comming from an external source
packageConnectors = "{
    'mades' : {
        'label' : 'Mades message with attachment',
        'service'  :'medona/Connectors/Multiparts',
        'schema' : 'mades',
        'params' : {
            'attachments' : {
                'label' : 'Pièces',
                'source' : 'input',
                'type' : 'file',
                'multiple' : true
            }
        }
    },
    'madesZip' : {
        'label' : 'Mades zip',
        'service'  :'medona/Connectors/Zip',
        'schema' : 'mades',
        'params' : {
            'manifest' : {
                'label' : 'Message name',
                'source' : 'input',
                'required' : false
            }
        }
    }
}"

220
221
222
223
224
; Message exchange menu
; 'label' is the title of menu
; 'href'  is the path to the action
; 'class' is the class of the button
; 'submenu' is the submenu of the menu. In the case, 'href' must be empty
225
menu = "[
226
   {
227
228
229
230
       'label' : 'Transferts entrants',
       'href'  : '#',
       'class' : 'fa fa-sign-in fa-fw',
       'submenu' : [
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
            {
                'label' : 'Importer un bordereau',
                'href'  : '/transfer'
            },
            {
                'label' : 'Transferts en attente de traitement',
                'href'  : '/transfer/sent'
            },
            {
                'label' : 'Transferts à traiter',
                'href'  : '/transfer/received'
            },
            {
                'label' : 'Historique de transfert',
                'href'  : '/transfer/history'
            }
        ]
    },
    {
        'label' : 'Communication',
        'href'  : '#',
        'class' : 'fa fa-share fa-fw',
        'submenu' : [
            {
                'label' : 'Demandes d\'autorisation',
                'href'  : '/delivery/Authorizationrequest'
            },
            {
259
               'label' : 'Communications à valider',
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
                'href'  : '/delivery/request'
            },
            {
                'label' : 'Communications à récupérer',
                'href'  : '/delivery/list'
            },
            {
                'label' : 'Historique de communication',
                'href'  : '/delivery/history'
            }
        ]
    },
    {
        'label' : 'Restitution',
        'href'  : '#',
        'class' : 'fa fa-reply fa-fw',
        'submenu' : [
            {
                'label' : 'Demandes à valider',
                'href'  : '/restitution/Requestvalidation'
            },
            {
                'label' : 'Restitutions à récupérer',
                'href'  : '/restitution/validation'
            },
            {
                'label' : 'Restitutions à finaliser',
                'href'  : '/restitution/process'
            },
            {
                'label' : 'Historique de restitution',
                'href'  : '/restitution/history'
            }
        ]
    },
    {
        'label' : 'Élimination',
        'href'  : '#',
        'class' : 'fa fa-remove fa-fw',
        'submenu' : [
            {
                'label' : 'Demandes d\'autorisation',
                'href'  : '/destruction/Authorizationrequests'
            },
            {
                'label' : 'Demandes à valider',
                'href'  : '/destruction/processlist'
            },
            {
                'label' : 'Historique d\'élimination',
                'href'  : '/destruction/history'
            }
        ]
    },
    {
        'label' : 'Transferts sortants',
        'href'  : '#',
        'class' : 'fa fa-sign-out fa-fw',
        'submenu' : [
            {
                'label' : 'Transferts à acquitter',
                'href'  : '/outgoingTransfer/received'
            },
            {
                'label' : 'Transferts à finaliser',
                'href'  : '/outgoingTransfer/Process'
            },
            {
                'label' : 'Historique de transfert',
                'href'  : '/outgoingTransfer/history'
            }
        ]
    },
    {
Cyril Vazquez's avatar
Cyril Vazquez committed
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
        'label' : 'Demandes de modification',
        'href'  : '#',
        'class' : 'fa fa-sign-out fa-fw',
        'submenu' : [
            {
                'label' : 'Demandes à traiter',
                'href'  : '/modificationrequest/list'
            },
            {
                'label' : 'Historique des demandes',
                'href'  : '/modificationrequest/history'
            }
        ]
    },
    {
349
350
351
        'label' : 'Notifications',
        'href'  : '/notifications',
        'class' : 'fa fa-bell-o fa-fw'
Cyril Vazquez's avatar
Cyril Vazquez committed
352
    }
353
]"
Prosper De Laure's avatar
Prosper De Laure committed
354
355

[auth]
356
357
; If useSecurityLevel = true, uncomment the next lign
;@include securityLevel.ini
Alexandre Morin's avatar
Alexandre Morin committed
358

359
360
361
; Add stronger verification on user possibilities based on security level
useSecurityLevel = false

Prosper De Laure's avatar
Prosper De Laure committed
362
363
364
; Encryption algorithm (MD5, SHA256, SHA512...)
passwordEncryption = SHA256

365
366
367
; Admin user account name
adminUsers = "['superadmin']"

Alexis Ragot's avatar
Alexis Ragot committed
368
369
370
; Allow the user to modify his or her information
allowUserModification = true

Prosper De Laure's avatar
Prosper De Laure committed
371
372
373
374
375
376
377
378
; Number of login attempts before the user account is locked. ignored if 0
; Duration of validity for password. ignored if 0
; Duration in hour of the generated password. ignored if 0
; Minimum length for password. ignored if 0
; Password must content non alphanumeric characters (On|Off, 0|1, true|false)
; Password must content character digits from 0 to 9 (On|Off, 0|1, true|false)
; Password must content mixed case alphabetic characters (On|Off, 0|1, true|false)
; Time in second of the session
379
; Lock time in seconds
Prosper De Laure's avatar
Prosper De Laure committed
380
securityPolicy = "{
381
382
383
384
385
386
387
388
389
    'loginAttempts' : 3,
    'passwordValidity' : 0,
    'newPasswordValidity' : 1,
    'passwordMinLength' : 8,
    'passwordRequiresSpecialChars' : 1,
    'passwordRequiresDigits' : 1,
    'passwordRequiresMixedCase' : 1,
    'sessionTimeout' : 3600,
    'lockDelay' : 30
Prosper De Laure's avatar
Prosper De Laure committed
390
391
}"

392
; User story available without privilege
393
publicUserStory = "['app/*']"
Prosper De Laure's avatar
Prosper De Laure committed
394

395
; Blacklist of user stories
396
397
; if 'transaction' parameter disable, uncomment the block 'blacklistUserStories' below
; if 'transaction' parameter enable, comment the block 'blacklistUserStories' below
Jerome Boucher's avatar
Jerome Boucher committed
398
blacklistUserStories = "[
399
400
401
402
403
404
405
406
407
408
409
410
    'adminArchive/archivalAgreement',
    'adminArchive/controlAuthority',
    'archiveDeposit/processTransfer',
    'archiveDeposit/transfer*',
    'definitiveTransfer/*',
    'delivery/*',
    'destruction/destructionAuthorizationRequest',
    'destruction/destructionHistory',
    'destruction/destructionProcess',
    'originatorAccess/*',
    'restitution/*',
    'adminFunc/contact',
Jerome Boucher's avatar
Jerome Boucher committed
411
412
413
    'adminArchive/adminStorageRule',
    'export/role',
    'import/role'
414
]"
415

416
417
418
; Blacklist of user stories
; if 'transaction' parameter disable, comment the block 'blacklistUserStories' below
; if 'transaction' parameter enable, uncomment the block 'blacklistUserStories' below
419
420
;blacklistUserStories = "[
;   'adminFunc/contact',
421
422
;   'adminArchive/adminStorageRule',
;   'definitiveTransfer/*'
423
424
;]"

425
426
427
428
429
; CSRF
; 'csrfWhiteList' URI not protected by the CSRF service
; 'csrfConfig' Available rules
;   'cookieName' Name of the cookie whose value is the csrf token
;   'tokenLenght' Token size
Cyril Vazquez's avatar
Cyril Vazquez committed
430
;   'lifeTime' Token validity in seconds (defaults 3600)
431
csrfWhiteList = "['user/login', 'user/password', 'user/prompt', 'user/logout', 'user/generateResetToken']"
Alexis Ragot's avatar
Alexis Ragot committed
432
csrfConfig = '{
433
    "cookieName" : "Csrf",
434
435
    "tokenLength" : 32
}'
Alexis Ragot's avatar
Alexis Ragot committed
436

437
438
439
; Available privileges for service account
; if 'transaction' parameter disable, uncomment the block 'servicePrivilege' below
; if 'transaction' parameter enable, comment the block 'servicePrivilege' below
Dylan's avatar
Dylan committed
440
servicePrivileges = "[
441
    {
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
        'serviceURI': 'audit/event/createChainjournal',
        'description' : 'Chaîner le journal de l\'application'
    },
    {
        'serviceURI': 'batchProcessing/scheduling/updateProcess',
        'description' : 'Exécution automatique des tâches planifiées'
    },
    {
        'serviceURI': 'lifeCycle/journal/createChainjournal',
        'description' : 'Chaîner le journal du cycle de vie'
    },
    {
        'serviceURI': 'recordsmanagement/archivecompliance/readperiodic',
        'description' : 'Valider l\'intégrité des archives'
    },
    {
        'serviceURI': 'recordsManagement/archives/deleteDisposablearchives',
        'description' : 'Détruire les archives'
    },
    {
        'serviceURI': 'recordsManagement/archives/updateIndexfulltext',
        'description' : 'Extraction plein texte'
    },
    {
        'serviceURI': 'recordsManagement/archive/create',
        'description' : 'Création d\'une archive'
    },
    {
        'serviceURI': 'recordsManagement/archive/createArchiveBatch',
        'description' : 'Création par batch d\'archive(s)'
    },
    {
        'serviceURI' : 'recordsManagement/archives/updateArchivesretentionrule',
        'description' : 'Mise à jour de la durée d\'utilité administrative'
    },
    {
        'serviceURI' : 'recordsManagement/archives/updateArchivesretentionrule',
        'description' : 'Mise à jour de la durée d\'utilité administrative'
    },
481
482
483
484
    {
        'serviceURI' : 'recordsManagement/archive/read_archiveId_Digitalresource_resId_Contents',
        'description' : 'Récupérer directement le contenu d\'une ressource d\'archive'
    },
485
486
487
488
    {
        'serviceURI': '*',
        'description' : 'Tous les droits'
    }
489
]"
490

491
492
493
; Available privileges for the services accounts
; if 'transaction' parameter disable, comment the block 'servicePrivilege' below
; if 'transaction' parameter enable, uncomment the block 'servicePrivilege' below
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
;servicePrivileges = "[
;    {
;        'serviceURI': 'audit/event/createChainjournal',
;        'description' : 'Chaîner le journal de l\'application'
;    },
;    {
;        'serviceURI': 'batchProcessing/scheduling/updateProcess',
;        'description' : 'Exécution automatique des tâches planifiées'
;    },
;    {
;        'serviceURI': 'lifeCycle/journal/createChainjournal',
;        'description' : 'Chaîner le journal du cycle de vie'
;    },
;    {
;        'serviceURI': 'recordsmanagement/archivecompliance/readperiodic',
;        'description' : 'Valider l\'intégrité des archives'
;    },
;    {
;        'serviceURI': 'recordsManagement/archives/deleteDisposablearchives',
;        'description' : 'Détruire les archives'
;    },
;    {
;        'serviceURI': 'recordsManagement/archives/updateIndexfulltext',
;        'description' : 'Extraction plein texte'
;    },
;    {
;        'serviceURI': 'recordsManagement/archive/create',
;        'description' : 'Création d\'une archive'
;    },
;    {
;        'serviceURI': 'recordsManagement/archive/createArchiveBatch',
;        'description' : 'Création par batch d\'archive(s)'
;    },
;    {
;        'serviceURI' : 'recordsManagement/archives/updateArchivesretentionrule',
;        'description' : 'Mise à jour de la durée d\'utilité administrative'
;    },
;    {
;        'serviceURI' : 'medona/ArchiveDelivery/updateProcessBatch',
;        'description' : 'Traiter les communications'
;    },
;    {
;        'serviceURI' : 'medona/ArchiveDestruction/updateProcessAll',
;        'description' : 'Traiter les destructions'
;    },
;    {
;        'serviceURI' : 'medona/ArchiveRestitution/updateProcessBatch',
;        'description' : 'Traiter les restitutions'
;    },
;    {
;        'serviceURI' : 'medona/ArchiveTransfer/updateProcessBatch',
;        'description' : 'Traiter les transferts'
;    },
;    {
;        'serviceURI' : 'medona/ArchiveTransfer/updateValidateBatch',
;        'description' : 'Valider les transferts'
;    },
;    {
;        'serviceURI' : 'medona/message/deleteMessageDirectoryPurge',
;        'description' : 'Purge des bordereaux'
;    },
;    {
;        'serviceURI' : 'recordsManagement/archives/updateArchivesretentionrule',
;        'description' : 'Mise à jour de la durée d\'utilité administrative'
;    },
;    {
;        'serviceURI': '*',
;        'description' : 'Tous les droits'
;    }
;]"

Prosper De Laure's avatar
Prosper De Laure committed
565
566
567
[lifeCycle]

; Chain life cycle journal by originator in addition to the main journal
568
chainJournalByOrganization = false;
Prosper De Laure's avatar
Prosper De Laure committed
569
570

; Chain journal with timestamp file. The timestamp dependency must be configured.
571
chainWithTimestamp = false;
572
573
; timestampService = dependency/timestamp/plugins/TsaClient

574

575
[organization]
576
577
578
579
580
581
582

; Displaying the organization as a tree
; true = organization tree
; false = organization list
; WARNING : Above 40 services, we advise you not to activate this option.
isOrgTree = true;

583
584
585
; Roles of organization unit
; if 'transaction' parameter disable, uncomment the block 'orgUnitRoles' below
; if 'transaction' parameter enable, comment the block 'orgUnitRoles' below
586
orgUnitRoles = "{
587
588
589
    'owner' : {
        'code' : 'owner',
        'description' : 'The system owner'
590
591
592
   }
}"

593
594
595
; Roles of organization unit
; if 'transaction' parameter disable, comment the block 'orgUnitRoles' below
; if 'transaction' parameter enable, uncomment the block 'orgUnitRoles' below
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
; orgUnitRoles = "{
;     'owner' : {
;         'code' : 'owner',
;         'description' : 'The system owner'
;     },
;     'archiver' : {
;         'code' : 'archiver',
;         'description' : 'Archival agency'
;     },
;     'controlAuthority' : {
;         'code' : 'controlAuthority',
;         'description' : 'Archive control authority'
;     },
;     'depositor' : {
;         'code' : 'depositor',
;         'description' : 'Archive depositor agency'
;     },
;     'originator' : {
;         'code' : 'originator',
;         'description' : 'Archive originating agency'
;     }
; }"
618

619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638

[batchProcessing]
; Available tasks to batch processing
; if 'transaction' parameter disable, uncomment the block 'tasks' below
; if 'transaction' parameter enable, comment the block 'tasks' below
tasks = "[
    {
        'taskId': '01',
        'route' : 'audit/event/createChainjournal',
        'description' : 'Chainer le journal de l\'application'
    },
    {
        'taskId': '02',
        'route' : 'lifeCycle/journal/createChainjournal',
        'description' : 'Chainer le journal du cycle de vie'
    },
    {
        'taskId': '03',
        'route' : 'recordsManagement/archiveCompliance/readPeriodic',
        'description' : 'Intégrité périodique'
639
    },
640
    {
Jerome Boucher's avatar
Jerome Boucher committed
641
        'taskId': '04',
642
643
644
645
        'route' : 'recordsManagement/archives/deleteDisposablearchives',
        'description' : 'Détruire les archives'
    },
    {
Jerome Boucher's avatar
Jerome Boucher committed
646
        'taskId': '05',
Jerome Boucher's avatar
Jerome Boucher committed
647
648
        'route' : 'medona/message/deleteMessageDirectoryPurge',
        'description' : 'Purge des bordereaux'
649
650
651
652
    }
]"

; Available tasks to batch processing
653
654
; if 'transaction' parameter disable, comment the block 'tasks' below
; if 'transaction' parameter enable, uncomment the block 'tasks' below
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
;tasks = "[
;    {
;        'taskId': '01',
;        'route' : 'audit/event/createChainjournal',
;        'description' : 'Chainer le journal de l\'application'
;    },
;    {
;        'taskId': '02',
;        'route' : 'lifeCycle/journal/createChainjournal',
;        'description' : 'Chainer le journal du cycle de vie'
;    },
;    {
;        'taskId': '03',
;        'route' : 'recordsManagement/archiveCompliance/readPeriodic',
;        'description' : 'Intégrité périodique'
;    },
;    {
;        'taskId': '04',
673
674
;        'route' : 'medona/ArchiveDestruction/updateProcessAll',
;        'description' : 'Traiter les destructions'
675
676
677
;    },
;    {
;        'taskId': '05',
678
679
;        'route' : 'medona/message/deleteMessageDirectoryPurge',
;        'description' : 'Purge des bordereaux'
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
;    },
;    {
;        'taskId': '06',
;        'route' : 'medona/ArchiveRestitution/updateProcessBatch',
;        'description' : 'Traiter les restitutions'
;    },
;    {
;        'taskId': '07',
;        'route' : 'medona/ArchiveTransfer/updateProcessBatch',
;        'description' : 'Traiter les transferts'
;    },
;    {
;        'taskId': '08',
;        'route' : 'medona/ArchiveTransfer/updateValidateBatch',
;        'description' : 'Valider les transferts'
;    },
;    {
;        'taskId': '09',
698
699
;        'route' : 'medona/ArchiveDelivery/updateProcessBatch',
;        'description' : 'Traiter les communications'
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
;    },
;    {
;        'taskId': '10',
;        'route' : 'recordsManagement/archives/updateArchivesretentionrule',
;        'description' : 'Mise à jour de la durée d\'utilité administrative'
;    },
;    {
;        'taskId': '11',
;        'route' : 'recordsManagement/archives/deleteDisposablearchives',
;        'description' : 'Détruire les archives'
;    },
;    {
;        'taskId': '12',
;        'route' : 'batchProcessing/notification/updateProcess',
;        'description' : 'Envoyer notification'
;    },
;    {
;        'taskId': '13',
;        'route' : 'recordsManagement/archives/updateIndexfulltext',
;        'description' : 'Extraction plein texte'
;    }
;]"


724
725
726
727
728
729
730
731
732
733
[dependency.datasource]
@Adapter                        = Database
Dsn                             = %dsn%
Username                        = %username%
Password                        = %password%

[dependency.fileSystem]

; Path to the UK National Archives DROID signature file for file format detection
; Droid signature files can be found at http://www.nationalarchives.gov.uk/aboutapps/pronom/droid-signature-files.htm
734
735
signatureFile = "%laabsDirectory%/data/maarchRM/droidSignatureFiles/DROID_SignatureFile_V96.xml"
containerSignatureFile = "%laabsDirectory%/data/maarchRM/droidSignatureFiles/container-signature-20200121.xml"
736
737
738
739
740
741
742

; Path to libreOffice executable
;libreOfficeExecutable = "c:\Program Files (x86)\LibreOffice 5\program\soffice"
libreOfficeExecutable = "/usr/bin/libreoffice"

; Conversion paths
conversionServices = "[
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
    {
        'serviceName'     : 'dependency/fileSystem/plugins/libreOffice',
        'softwareName'    : 'LibreOffice',
        'softwareVersion' : '5.4.2.0',
        'inputFormats'    : ['fmt/412', 'fmt/291', 'fmt/293'],
        'outputFormats'   : {
            'fmt/95' : {
                'extension' : 'pdf',
                'filter' : 'writer_pdf_Export',
                'options': 'SelectPdfVersion=1'
            },
            'fmt/18' : {
                'extension' : 'pdf'
            }
        }
    }
759
760
]"

761
; Path of zip executable (only for Windows)
762
763
764
765
766
767
768
769
;zipExecutable = "C:\Program Files\7-Zip\7z.exe"

[dependency.html]
headers                         = "['dashboard/head.html']"
layout                          = "dashboard/layout.html"
layoutData                      = "presentation/dashboard/layout"

plugins                         = "{
770
771
772
773
    'dataTable'       : '\dependency\html\plugins\DataTable\DataTable',
    'dataList'        : '\dependency\html\plugins\DataList\DataList',
    'datePicker'      : '\dependency\html\plugins\datePicker\datePicker',
    'dateTimePicker'  : '\dependency\html\plugins\dateTimePicker\dateTimePicker'
774
775
776
777
778
779
780
781
782
783
784
}"

layoutReferer = "['/user/prompt', '/user/logout']"

[dependency.json]
Options                         = JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS | JSON_HEX_QUOT | JSON_FORCE_OBJECT

[dependency.localisation]
@Adapter                        = Gettext
lang                            = fr
dateFormat                      = d-m-Y
785
786
787
dateTimeFormat                  = "Y-m-d H:i:s \(O\)"
timestampFormat                 = "Y-m-d H:i:s.uO"
timezone                        = Europe/Paris
788
789
790
791

[dependency.logger]

loggers = "{
792
793
794
795
796
    'importCustomerRecords' : {
        'level' : 'INFO',
        'appenders' : [ 'importCustomerRecordsFile' ],
        'additivity' : false
    }
797
798
799
}"

appenders = "{
800
801
802
    'default' : {
        'class' : 'LoggerAppenderFile',
        'layout' : {
803
            'class' : 'LoggerLayoutSimple'
804
805
        },
        'params' : {
806
807
            'file' : '/var/www/laabs/data/redgreen/log4php.txt',
            'append' : true
808
809
810
811
812
        }
    },
    'importCustomerRecordsFile' : {
        'class' : 'LoggerAppenderDailyFile',
        'layout' : {
813
814
            'class' : 'LoggerLayoutPattern',
            'params' : {
815
                'conversionPattern' : '[%date{d/m/Y H:i:s}] %-5p [%t] %message %newline'
816
            }
817
818
        },
        'params' : {
819
820
821
            'datePattern' : 'Y-m-d',
            'file' : '/var/www/laabs/data/maarchRM/importMapping-%s.log',
            'append' : true
822
823
        }
    }
824
825
826
827
828
}"

[dependency.notification]
@Adapter = Mailer

829
; Configuration of notification service
830
831
832
833
834
835
836
837
838
mailHost = 'smtp.gmail.com'
mailUsername = '';
mailPassword = '';
mailPort = 587;
mailSender = "";
mailAdminReceiver = "";
mailSMTPAuth = true;
mailSMTPSecure = "tls";

839
;Example for laposte
840
841
842
843
844
;mailHost = 'smtp.laposte.com';
;mailPort = 25;
;SMTPSecure = "tls";
;mailSMTPAuth = true;

845
;Example for gmail
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
;mailHost = 'smtp.gmail.com';
;mailPort = 587;
;SMTPSecure = "tls";
;mailSMTPAuth = true;

[dependency.repository]
@Adapter                        = Repository

[dependency.sdo]
@Adapter                        = Database
Dsn                             = %dsn%
Username                        = %username%
Password                        = %password%

; Auto generate ids before create operation
; 0/false/Off                   = never generate ids
; 1/true/On                     = generates ids when no id is set on object
generateKey                     = on

; Sets the boolean storage method
; 0 : as integer 0 | 1
; 1 : as boolean true |false
; 2 : as char Y / N
boolFormat = 1

dateFormat = YYYY-MM-DD
timeFormat = HH24:MI:SS
datetimeFormat = "YYYY-MM-DD HH24:MI:SS,US"

; Log events in Laabs log
; 0 = no trace
; 1 = trace only errors
; 2 = trace queries
; 3 = dump queries
880
trace = 1
881
882
883
884
885
886
887
888
889
890

[dependency.timestamp]

; The URL of the TSA provider
; Somme open and free TSA test services :
; tsaUrl=http://zeitstempel.dfn.de
; tsaUrl=http://timestamp.entrust.net/TSS/RFC3161sha2TS
; tsaUrl=http://time.certum.pl

; The path to openssl, if not in PHP path
891
; pathToOpenSSL="C:\Program Files\OpenSSL-Win64\bin\openssl"