configuration.ini.default 35.7 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
; List of displayable format as preview
displayableFormat = "['application/pdf', 'image/jpeg', 'image/png', 'text/plain']"

[recordsManagement]
49
50

; Allow the owner org to have access to other org units archives
51
ownerIsSuperUser = false
52

Prosper De Laure's avatar
Prosper De Laure committed
53
54
; Profile directory for rng profile
profilesDirectory = "%laabsDirectory%/data/maarchRM/profiles"
55
refDirectory = "%laabsDirectory%/data/maarchRM/ref"
Prosper De Laure's avatar
Prosper De Laure committed
56

Alexandre Goldstein's avatar
Alexandre Goldstein committed
57
; The hash algorithm used to generate the fingerprint of binary objects during the deposit.
58
59
60
; 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
61
62
; Type of archival profile
; 2 = descriptionClass/properties + management rules
63
; 1 or 3 = File and 2
Prosper De Laure's avatar
Prosper De Laure committed
64
65
archivalProfileType = 2

66
; Automatic generation of archiverArchiveId on deposit
67
68
69
70
71
; format   :              Format sequence to follow. Variables availables are sequence and date.
;                         They must be followed by their name (for sequence) or type (like year, month, day, for date) between ().
;                         Sequences configuration are as follow :
;                              <sequence(sequenceName, paddingValue, paddingNumber).
;                              paddingValue and paddingNumber are the maximum number of values to be added before sequence if needed
72
73
74
;
; isAutomaticallyForced : false : a value will be generated and set only if no value is provided on the submission
;                         true  : a value will be generated and replace any incoming value on the submission
75
76
77
78
; contentSuffix           Suffix, to add for children if isInheritedFromParent is selected
;                         separator : string to add before suffix
;                         value : value to padd suffix
;                         length : padding length
79
;
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95


; Generator of archiver archiveId
;archiveIdGenerator = "{
;    'service' : 'recordsManagement/Generator/Sequence',
;    'archiverArchiveIdRules' : {
;        'isAutomaticallyForced' : true,
;        'isInheritedFromParent' : true,
;        'format' : 'FR094080_<date(Y)>_AE<sequence(archiverArchiveIdSequence, 0, 4)>',
;        'contentSuffix' : {
;            'separator' : '_',
;            'value' : '0',
;            'length' : 3
;        }
;   }
;}"
96

97

98
; Default Retention Rule if any retention rule is set up ("dispose" or "preserve")
99
actionWithoutRetentionRule = "dispose"
100

Mathieu's avatar
Mathieu committed
101
102
; Default Communication Rule if no communication rule is set up ("allow" or "deny")
actionWithoutCommunicationRule = "deny"
Mathieu's avatar
Mathieu committed
103

Prosper De Laure's avatar
Prosper De Laure committed
104
105
106
107
108
109
110
111
112
; 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
113
114
115
116
117
118
119
120
121
122
;       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
123
;
124
; To include a part of date, you must use <date(format)>.
Prosper De Laure's avatar
Prosper De Laure committed
125
126
127
128
;   - 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
129
; To make packages, use a number. Packages must be the only variable on the directory step name
130
131
132
;       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
133

Alexis Ragot's avatar
Alexis Ragot committed
134
135
136
137
138
139
140
141
; 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)>"

142
translationLogType = "{
143
144
145
146
    'lifeCycle' : 'Journal du cycle de vie',
    'application' : 'Journal de l\'application',
    'system' : 'Journal du système'
}"
147

148
149
150
;The path of the stopword file for fullTextIndexing
stopWordsFilePath = "%laabsDirectory%/data/stopwords/stopwords_fr.txt"

151
152
;Additional schemes used to describe complex metadata for archival profiles
;See documentation about descriptive schemes for a more in-depth explanation
153
descriptionSchemes = "{
154
155
    'extension' : {
        'label' : 'extension',
156
157
        'type' : 'json',
        'uri' : '%laabsDirectory%/data/maarchRM/samples/sample.json'
158
159
160
161
162
163
    },
    'log' : {
        'label' : 'log',
        'type' : 'php',
        'uri' : 'recordsManagement/log',
        'search': 'recordsManagement/log'
164
165
166
    }
}"

Alexandre Morin's avatar
Alexandre Morin committed
167
168
169
; The path of resource export folder
exportPath = "%laabsDirectory%/web/tmp"

Prosper De Laure's avatar
Prosper De Laure committed
170
[audit]
Alexis Ragot's avatar
Alexis Ragot committed
171
; Send notifications on audit event
Prosper De Laure's avatar
Prosper De Laure committed
172
173
174
175
176
177
178
179
180
181
;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.
182
chainWithTimestamp = false;
183
; timestampService = dependency/timestamp/plugins/TsaClient
Prosper De Laure's avatar
Prosper De Laure committed
184

185
; Any path on this list will no be logged in the application journal
186
;ignorePaths = "['organization/organization/readTodisplay']"
187
188

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

191
[medona]
Alexandre Morin's avatar
Alexandre Morin committed
192
193
194
195
196
; Enable or disable the transaction mode
; true = Enable
; false = Disable
transaction = false

197
; Path to the message exchange directory
198
messageDirectory = "%laabsDirectory%/data/maarchRM/medona"
199
200

; Maximum file size (in bytes) for automatic transfer validation
201
202
203
204
205
206
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
207
208
209
210
211
212
213
214
215
216
217
218
;removeMessageTask = "{
;    'task1' : {
;        'type' : ['ArchiveTransfer', 'ArchiveTransferReply'],
;        'status' : ['processed'],
;        'delay' : '-P1Y'
;    },
;    'task2' : {
;        'type' : ['ArchiveModificationNotification'],
;        'status' : ['sent'],
;        'delay' : '-P6M'
;    }
;}"
219

220
; Schema of message exchange
221
222
packageSchemas = "{
    'mades' : {
223
224
225
        'label' : 'Format d\'échange Maarch RM',
        'phpNamespace' : 'mades',
        'presenter' : 'mades/message'
226
227
228
    }
}"

Jerome Boucher's avatar
Jerome Boucher committed
229
;if package are comming from an external source
230
231
232
233
234
235
;connector params properties:
;   label:      Display name of the property
;   source:     'input' | 'param'
;   required:   true or false (default: false)
;   type:       'file' | 'text' | 'number' | 'boolean' | 'enum' | 'organization' | 'archivalProfile' (default: 'text')
;   enumNames:  (only if type is 'enum'), array of texts or numbers
Jerome Boucher's avatar
Jerome Boucher committed
236
237
packageConnectors = "{
    'mades' : {
Jerome Boucher's avatar
Jerome Boucher committed
238
        'label' : 'Schéma Mades avec pièces jointes',
Jerome Boucher's avatar
Jerome Boucher committed
239
240
241
242
243
244
245
246
247
248
249
250
        'service'  :'medona/Connectors/Multiparts',
        'schema' : 'mades',
        'params' : {
            'attachments' : {
                'label' : 'Pièces',
                'source' : 'input',
                'type' : 'file',
                'multiple' : true
            }
        }
    },
    'madesZip' : {
Jerome Boucher's avatar
Jerome Boucher committed
251
        'label' : 'Packet Compressé Mades',
Jerome Boucher's avatar
Jerome Boucher committed
252
253
254
255
256
257
        'service'  :'medona/Connectors/Zip',
        'schema' : 'mades',
        'params' : {
            'manifest' : {
                'label' : 'Message name',
                'source' : 'input',
Jerome Boucher's avatar
Jerome Boucher committed
258
259
                'required' : true,
                'default': 'manifest.xml'
Jerome Boucher's avatar
Jerome Boucher committed
260
261
262
263
264
            }
        }
    }
}"

265
266
267
268
269
; 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
270
menu = "[
271
   {
272
273
274
275
       'label' : 'Transferts entrants',
       'href'  : '#',
       'class' : 'fa fa-sign-in fa-fw',
       'submenu' : [
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
            {
                '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'
            },
            {
304
               'label' : 'Communications à valider',
305
306
307
308
309
310
                'href'  : '/delivery/request'
            },
            {
                'label' : 'Communications à récupérer',
                'href'  : '/delivery/list'
            },
311
312
313
314
            {
                'label' : 'Communications à finaliser',
                'href'  : '/delivery/Process'
            },
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
            {
                '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
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
        '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'
            }
        ]
    },
    {
398
399
400
        'label' : 'Notifications',
        'href'  : '/notifications',
        'class' : 'fa fa-bell-o fa-fw'
Cyril Vazquez's avatar
Cyril Vazquez committed
401
    }
402
]"
Prosper De Laure's avatar
Prosper De Laure committed
403
404

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

408
409
410
; Add stronger verification on user possibilities based on security level
useSecurityLevel = false

Prosper De Laure's avatar
Prosper De Laure committed
411
412
413
; Encryption algorithm (MD5, SHA256, SHA512...)
passwordEncryption = SHA256

414
415
416
; Admin user account name
adminUsers = "['superadmin']"

Alexis Ragot's avatar
Alexis Ragot committed
417
418
419
; Allow the user to modify his or her information
allowUserModification = true

Prosper De Laure's avatar
Prosper De Laure committed
420
421
422
423
424
425
426
427
; 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
428
; Lock time in seconds
Prosper De Laure's avatar
Prosper De Laure committed
429
securityPolicy = "{
430
431
432
433
434
435
436
437
438
    '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
439
440
}"

441
; User story available without privilege
442
publicUserStory = "['app/*']"
Prosper De Laure's avatar
Prosper De Laure committed
443

444
; Blacklist of user stories
445
446
; 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
447
blacklistUserStories = "[
448
449
450
451
    'adminArchive/archivalAgreement',
    'adminArchive/controlAuthority',
    'archiveDeposit/processTransfer',
    'archiveDeposit/transfer*',
452
453
    'archiveManagement/modificationRequestProcess',
    'archiveManagement/modificationRequestSend',
454
455
456
457
458
459
460
461
    'definitiveTransfer/*',
    'delivery/*',
    'destruction/destructionAuthorizationRequest',
    'destruction/destructionHistory',
    'destruction/destructionProcess',
    'originatorAccess/*',
    'restitution/*',
    'adminFunc/contact',
Jerome Boucher's avatar
Jerome Boucher committed
462
463
464
    'adminArchive/adminStorageRule',
    'export/role',
    'import/role'
465
]"
466

467
468
469
; Blacklist of user stories
; if 'transaction' parameter disable, comment the block 'blacklistUserStories' below
; if 'transaction' parameter enable, uncomment the block 'blacklistUserStories' below
470
471
;blacklistUserStories = "[
;   'adminFunc/contact',
472
473
;   'adminArchive/adminStorageRule',
;   'definitiveTransfer/*'
474
475
;]"

476
477
478
479
480
; 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
481
;   'lifeTime' Token validity in seconds (defaults 3600)
482
csrfWhiteList = "['user/login', 'user/password', 'user/prompt', 'user/logout', 'user/generateResetToken']"
Alexis Ragot's avatar
Alexis Ragot committed
483
csrfConfig = '{
484
    "cookieName" : "Csrf",
485
486
    "tokenLength" : 32
}'
Alexis Ragot's avatar
Alexis Ragot committed
487

488
489
490
; 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
491
servicePrivileges = "[
492
    {
493
494
495
496
497
498
499
500
501
502
503
504
        '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'
    },
    {
505
        'serviceURI': 'recordsManagement/archiveCompliance/readPeriodic',
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
        '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'
    },
528
529
530
531
    {
        'serviceURI' : 'recordsManagement/archive/read_archiveId_Digitalresource_resId_Contents',
        'description' : 'Récupérer directement le contenu d\'une ressource d\'archive'
    },
532
533
534
535
    {
        'serviceURI' : 'recordsManagement/archives/readExtractfulltext',
        'description' : 'Extraction et indexation plein texte'
    },
536
537
538
539
    {
        'serviceURI': '*',
        'description' : 'Tous les droits'
    }
540
]"
541

542
543
544
; Available privileges for the services accounts
; if 'transaction' parameter disable, comment the block 'servicePrivilege' below
; if 'transaction' parameter enable, uncomment the block 'servicePrivilege' below
545
546
547
548
549
550
551
552
553
554
555
556
557
558
;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'
;    },
;    {
559
;        'serviceURI': 'recordsManagement/archiveCompliance/readPeriodic',
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
;        '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'
;    },
;    {
607
608
609
610
;        'serviceURI' : 'recordsManagement/archives/readExtractfulltext',
;        'description' : 'Extraction et indexation plein texte'
;    },
;    {
611
612
613
614
615
;        'serviceURI': '*',
;        'description' : 'Tous les droits'
;    }
;]"

Prosper De Laure's avatar
Prosper De Laure committed
616
617
618
[lifeCycle]

; Chain life cycle journal by originator in addition to the main journal
619
chainJournalByOrganization = false;
Prosper De Laure's avatar
Prosper De Laure committed
620
621

; Chain journal with timestamp file. The timestamp dependency must be configured.
622
chainWithTimestamp = false;
623
624
; timestampService = dependency/timestamp/plugins/TsaClient

Cyril Vazquez's avatar
Cyril Vazquez committed
625
626
627
628
629
630
631
632
633
; Notifications
;notifications = "[
;    {
;        'filter': {
;            'eventType': 'recordsManagement/integrityCheck'
;        },
;        'title': 'Integrity check',
;        'recipients': ['Info <info@maarch.org>'],
;        'message' : 'This is a simple plain text mesage with no variable'
634
;    },
Cyril Vazquez's avatar
Cyril Vazquez committed
635
636
637
638
639
640
641
642
643
644
645
646
;    {
;        'filter': {
;            'eventType': 'recordsManagement/integrityCheck'
;        },
;        'title': 'Integrity check',
;        'recipients': '../data/maarchRM/notifications/simple_recipients.php',
;        'message' : {
;            'template': '../data/maarchRM/notifications/simple.html',
;            'sources': '../data/maarchRM/notifications/simple_sources.php'
;        }
;    }
;]"
647

648
[organization]
649
650
651
652
653
654
655

; 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;

656
657
658
; Roles of organization unit
; if 'transaction' parameter disable, uncomment the block 'orgUnitRoles' below
; if 'transaction' parameter enable, comment the block 'orgUnitRoles' below
659
orgUnitRoles = "{
660
661
662
    'owner' : {
        'code' : 'owner',
        'description' : 'The system owner'
663
664
665
   }
}"

666
667
668
; Roles of organization unit
; if 'transaction' parameter disable, comment the block 'orgUnitRoles' below
; if 'transaction' parameter enable, uncomment the block 'orgUnitRoles' below
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
; 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'
;     }
; }"
691

692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711

[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'
712
    },
713
    {
Jerome Boucher's avatar
Jerome Boucher committed
714
        'taskId': '04',
715
716
717
718
        'route' : 'recordsManagement/archives/deleteDisposablearchives',
        'description' : 'Détruire les archives'
    },
    {
Jerome Boucher's avatar
Jerome Boucher committed
719
        'taskId': '05',
Jerome Boucher's avatar
Jerome Boucher committed
720
721
        'route' : 'medona/message/deleteMessageDirectoryPurge',
        'description' : 'Purge des bordereaux'
722
723
724
725
726
    },
    {
       'taskId': '13',
       'route' : 'recordsManagement/archives/readExtractfulltext',
       'description' : 'Extraction plein texte'
727
728
729
730
    }
]"

; Available tasks to batch processing
731
732
; if 'transaction' parameter disable, comment the block 'tasks' below
; if 'transaction' parameter enable, uncomment the block 'tasks' below
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
;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',
751
752
;        'route' : 'medona/ArchiveDestruction/updateProcessAll',
;        'description' : 'Traiter les destructions'
753
754
755
;    },
;    {
;        'taskId': '05',
756
757
;        'route' : 'medona/message/deleteMessageDirectoryPurge',
;        'description' : 'Purge des bordereaux'
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
;    },
;    {
;        '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',
776
777
;        'route' : 'medona/ArchiveDelivery/updateProcessBatch',
;        'description' : 'Traiter les communications'
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
;    },
;    {
;        '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',
796
;        'route' : 'recordsManagement/archives/readExtractfulltext',
797
798
799
800
801
;        'description' : 'Extraction plein texte'
;    }
;]"


802
803
804
805
806
807
808
809
810
811
[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
812
813
signatureFile = "%laabsDirectory%/data/maarchRM/droidSignatureFiles/DROID_SignatureFile_V97.xml"
containerSignatureFile = "%laabsDirectory%/data/maarchRM/droidSignatureFiles/container-signature-20201001.xml"
814
815
816
817
818

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

819
820
821
; Command name of Maarch converting system using with MS Office
; MSOconvertExecutable = "C:\wamp64\www\laabs\data\maarchRM\batch\MaarchConvertFiles.ps1"

822
823
; Conversion paths
conversionServices = "[
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
    {
        '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'
            }
        }
    }
840
]"
841
842
843
844
845
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
880
 
; {
;     'serviceName'     : 'dependency/fileSystem/plugins/MSOfficeWord',
;     'softwareName'    : 'MS Office Word',
;     'softwareVersion' : '2204',
;     'inputFormats'    : ['fmt/412'],
;     'outputFormats'   : {
;         'fmt/95' : {
;             'extension' : 'pdf',
;             'filter'    : 'writer_pdf_Export',
;             'options'   : 'SelectPdfVersion=1'
;         }
;     }
; },
; {
;     'serviceName'     : 'dependency/fileSystem/plugins/MSOfficeExcel',
;     'softwareName'    : 'MS Office Excel',
;     'softwareVersion' : '2204',
;     'inputFormats'    : ['fmt/214'],
;     'outputFormats'   : {
;         'fmt/95' : {
;             'extension' : 'pdf',
;             'filter'    : 'writer_pdf_Export',
;             'options'   : 'SelectPdfVersion=1'
;         }
;     }
; },
; {
;     'serviceName'     : 'dependency/fileSystem/plugins/MSOfficePpt',
;     'softwareName'    : 'MS Office PowerPoint',
;     'softwareVersion' : '2204',
;     'inputFormats'    : ['fmt/215'],
;     'outputFormats'   : {
;         'fmt/95' : {
;             'extension' : 'pdf',
;             'filter'    : 'writer_pdf_Export',
;             'options'   : 'SelectPdfVersion=1'
;         }
;    }
; }
881

882
;Configuration of fulltextservices
883
;serviceName : path to dependency file
884
885
886
;inputFormat : puid of file the service should extract
;options : options for extract service
;languages : language recognition pattern for tesseract. See https://tesseract-ocr.github.io/tessdoc/Data-Files-in-different-versions.html for complete list
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
fullTextServices = "[
    {
        'serviceName' : 'dependency/fileSystem/plugins/Tika',
        'inputFormats' : [
                'fmt/346',
                'fmt/37',
                'fmt/38',
                'fmt/39',
                'fmt/40',
                'fmt/412',
                'fmt/459',
                'fmt/523',
                'fmt/597',
                'fmt/599',
                'fmt/609',
                'fmt/172',
                'fmt/173',
                'fmt/174',
                'fmt/175',
                'fmt/176',
                'fmt/177',
                'fmt/178',
                'fmt/214',
                'fmt/445',
                'fmt/55',
                'fmt/553',
                'fmt/554',
                'fmt/555',
                'fmt/556',
                'fmt/56',
                'fmt/57',
                'fmt/58',
                'fmt/59',
                'fmt/595',
                'fmt/598',
                'fmt/60',
                'fmt/61',
                'fmt/62',
                'fmt/627',
                'fmt/628',
                'x-fmt/123',
                'x-fmt/124',
                'x-fmt/125',
                'x-fmt/126',
                'x-fmt/128',
                'x-fmt/17',
                'x-fmt/23',
                'x-fmt/46',
                'x-fmt/58',
                'x-fmt/74',
                'x-fmt/97',
                'fmt/128',
                'fmt/129',
                'fmt/130',
                'fmt/135',
                'fmt/136',
                'fmt/137',
                'fmt/138',
                'fmt/101',
                'fmt/1129',
                'fmt/14',
                'fmt/144',
                'fmt/145',
                'fmt/146',
                'fmt/147',
                'fmt/148',
                'fmt/15',
                'fmt/157',
                'fmt/158',
                'fmt/16',
                'fmt/17',
                'fmt/18',
                'fmt/19',
                'fmt/20',
                'fmt/276',
                'fmt/354',
                'fmt/476',
                'fmt/477',
                'fmt/478',
                'fmt/479',
                'fmt/480',
                'fmt/481',
                'fmt/488',
                'fmt/489',
                'fmt/490',
                'fmt/491',
                'fmt/492',
                'fmt/493',
                'fmt/95',
                'x-fmt/111',
                'x-fmt/18',
                'x-fmt/263'
        ]
    },
    {
        'serviceName' : 'dependency/fileSystem/plugins/Tesseract',
        'inputFormats' : [
            'fmt/149',
            'fmt/150',
            'fmt/151',
            'fmt/337',
            'fmt/41',
            'fmt/42',
            'fmt/43',
            'fmt/44',
            'fmt/463',
            'fmt/529',
            'fmt/590',
            'x-fmt/392',
            'fmt/11',
            'fmt/12',
            'fmt/13'
        ],
        'options' : {