Verified Commit 20445825 authored by Alexandre Morin's avatar Alexandre Morin
Browse files

doc () : add comments on configuration.ini and vhost.conf

parent 9df7d9e2
Pipeline #4291 passed with stage
in 3 minutes and 40 seconds
......@@ -98,10 +98,10 @@ storePath = "<instance>/<originatorOwnerOrgId>/<originatorOrgRegNumber>/<archiva
logFilePlan = "<type>/<date(Y)>/<date(m)>"
translationLogType = "{
'lifeCycle' : 'Journal du cycle de vie',
'application' : 'Journal de l\'application',
'system' : 'Journal du système'
}"
'lifeCycle' : 'Journal du cycle de vie',
'application' : 'Journal de l\'application',
'system' : 'Journal du système'
}"
;The path of the stopword file for fullTextIndexing
stopWordsFilePath = "%laabsDirectory%/data/stopwords/stopwords_fr.txt"
......@@ -132,7 +132,10 @@ chainWithTimestamp = false;
; false = Disable
transaction = false
; Path to the message exchange directory
messageDirectory = "%laabsDirectory%/data/maarchRM/medona"
; Maximum file size (in bytes) for automatic transfer validation
autoValidateSize = 2147000
; Array of task to remove medona message directories
......@@ -152,6 +155,7 @@ autoValidateSize = 2147000
; }
;}"
; Schema of message exchange
packageSchemas = "{
'mades' : {
'label' : 'Format d\'échange Maarch RM',
......@@ -160,6 +164,11 @@ packageSchemas = "{
}
}"
; 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
menu = "[
{
'label' : 'Transferts entrants',
......@@ -321,9 +330,12 @@ securityPolicy = "{
'lockDelay' : 30
}"
; User story available without privilege
publicUserStory = "['app/*']"
; Blacklist of user stories
; if 'transaction' parameter disable, uncomment the block 'blacklistUserStories' below
; if 'transaction' parameter enable, comment the block 'blacklistUserStories' below
blacklistUserStories = "[
'adminArchive/archivalAgreement',
'adminArchive/controlAuthority',
......@@ -340,19 +352,29 @@ blacklistUserStories = "[
'adminArchive/adminStorageRule'
]"
; TPA
; Blacklist of user stories
; if 'transaction' parameter disable, comment the block 'blacklistUserStories' below
; if 'transaction' parameter enable, uncomment the block 'blacklistUserStories' below
;blacklistUserStories = "[
; 'adminFunc/contact',
; 'adminArchive/adminStorageRule',
; 'definitiveTransfer/*'
;]"
; 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
csrfWhiteList = "['user/login', 'user/password']"
csrfConfig = '{
"cookieName" : "CSRF",
"tokenLength" : 32
}'
; Available privileges for service account
; if 'transaction' parameter disable, uncomment the block 'servicePrivilege' below
; if 'transaction' parameter enable, comment the block 'servicePrivilege' below
servicePrivileges = "[
{
'serviceURI': 'audit/event/createChainjournal',
......@@ -400,7 +422,9 @@ servicePrivileges = "[
}
]"
; TPA
; Available privileges for the services accounts
; if 'transaction' parameter disable, comment the block 'servicePrivilege' below
; if 'transaction' parameter enable, uncomment the block 'servicePrivilege' below
;servicePrivileges = "[
; {
; 'serviceURI': 'audit/event/createChainjournal',
......@@ -481,6 +505,9 @@ chainJournalByOrganization = false;
chainWithTimestamp = false;
[organization]
; Roles of organization unit
; if 'transaction' parameter disable, uncomment the block 'orgUnitRoles' below
; if 'transaction' parameter enable, comment the block 'orgUnitRoles' below
orgUnitRoles = "{
'owner' : {
'code' : 'owner',
......@@ -488,7 +515,9 @@ orgUnitRoles = "{
}
}"
; TPA
; Roles of organization unit
; if 'transaction' parameter disable, comment the block 'orgUnitRoles' below
; if 'transaction' parameter enable, uncomment the block 'orgUnitRoles' below
;orgUnitRoles = "{
; 'owner' : {
; 'code' : 'owner',
......@@ -512,6 +541,121 @@ orgUnitRoles = "{
; }
;}"
[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'
},
{
'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'
}
]"
; 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'
; },
; {
; 'taskId': '04',
; 'route' : 'medona/ArchiveDelivery/updateProcessBatch',
; 'description' : 'Traiter les communications'
; },
; {
; 'taskId': '05',
; 'route' : 'medona/ArchiveDestruction/updateProcessAll',
; 'description' : 'Traiter les destructions'
; },
; {
; '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',
; 'route' : 'medona/message/deleteMessageDirectoryPurge',
; 'description' : 'Purge des bordereaux'
; },
; {
; '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'
; }
;]"
[dependency.datasource]
@Adapter = Database
Dsn = %dsn%
......@@ -522,7 +666,6 @@ Password = %password%
; 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
signatureFile = "%laabsDirectory%/data/maarchRM/droidSignatureFiles/DROID_SignatureFile_V94.xml"
containerSignatureFile = "%laabsDirectory%/data/maarchRM/droidSignatureFiles/container-signature-20180920.xml"
......@@ -550,8 +693,7 @@ conversionServices = "[
}
]"
tikaJarFile = "%laabsDirectory%/dependency/fileSystem/plugins/tika/tika-app-1.16.jar"
; Path of zip executable (only for Windows)
;zipExecutable = "C:\Program Files\7-Zip\7z.exe"
[dependency.html]
......@@ -560,10 +702,10 @@ layout = "dashboard/layout.html"
layoutData = "presentation/dashboard/layout"
plugins = "{
'dataTable' : '\dependency\html\plugins\DataTable\DataTable',
'dataList' : '\dependency\html\plugins\DataList\DataList',
'datePicker' : '\dependency\html\plugins\datePicker\datePicker',
'dateRangePicker' : '\dependency\html\plugins\dateRangePicker\dateRangePicker'
'dataTable' : '\dependency\html\plugins\DataTable\DataTable',
'dataList' : '\dependency\html\plugins\DataList\DataList',
'datePicker' : '\dependency\html\plugins\datePicker\datePicker',
'dateRangePicker' : '\dependency\html\plugins\dateRangePicker\dateRangePicker'
}"
layoutReferer = "['/user/prompt', '/user/logout']"
......@@ -582,43 +724,44 @@ timezone = Europe/Paris
[dependency.logger]
loggers = "{
'importCustomerRecords' : {
'level' : 'INFO',
'appenders' : [ 'importCustomerRecordsFile' ],
'additivity' : false
}
'importCustomerRecords' : {
'level' : 'INFO',
'appenders' : [ 'importCustomerRecordsFile' ],
'additivity' : false
}
}"
appenders = "{
'default' : {
'class' : 'LoggerAppenderFile',
'layout' : {
'default' : {
'class' : 'LoggerAppenderFile',
'layout' : {
'class' : 'LoggerLayoutSimple'
},
'params' : {
},
'params' : {
'file' : '/var/www/laabs/data/redgreen/log4php.txt',
'append' : true
}
},
'importCustomerRecordsFile' : {
'class' : 'LoggerAppenderDailyFile',
'layout' : {
}
},
'importCustomerRecordsFile' : {
'class' : 'LoggerAppenderDailyFile',
'layout' : {
'class' : 'LoggerLayoutPattern',
'params' : {
'conversionPattern' : '[%date{d/m/Y H:i:s}] %-5p [%t] %message %newline'
'conversionPattern' : '[%date{d/m/Y H:i:s}] %-5p [%t] %message %newline'
}
},
'params' : {
},
'params' : {
'datePattern' : 'Y-m-d',
'file' : '/var/www/laabs/data/maarchRM/importMapping-%s.log',
'append' : true
}
}
}
}
}"
[dependency.notification]
@Adapter = Mailer
; Configuration of notification service
mailHost = 'smtp.gmail.com'
mailUsername = '';
mailPassword = '';
......@@ -628,13 +771,13 @@ mailAdminReceiver = "";
mailSMTPAuth = true;
mailSMTPSecure = "tls";
;Pour laposte
;Example for laposte
;mailHost = 'smtp.laposte.com';
;mailPort = 25;
;SMTPSecure = "tls";
;mailSMTPAuth = true;
;Pour gmail
;Example for gmail
;mailHost = 'smtp.gmail.com';
;mailPort = 587;
;SMTPSecure = "tls";
......@@ -669,112 +812,4 @@ datetimeFormat = "YYYY-MM-DD HH24:MI:SS,US"
; 1 = trace only errors
; 2 = trace queries
; 3 = dump queries
trace = 1
[batchProcessing]
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': '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'
}
]"
; TPA
;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',
; 'route' : 'medona/ArchiveDelivery/updateProcessBatch',
; 'description' : 'Traiter les communications'
; },
; {
; 'taskId': '05',
; 'route' : 'medona/ArchiveDestruction/updateProcessAll',
; 'description' : 'Traiter les destructions'
; },
; {
; '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',
; 'route' : 'medona/message/deleteMessageDirectoryPurge',
; 'description' : 'Purge des bordereaux'
; },
; {
; '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'
; }
;]"
trace = 1
\ No newline at end of file
......@@ -28,7 +28,7 @@
# Set environment variables for the application instance
SetEnv LAABS_INSTANCE_NAME maarchRM
SetEnv LAABS_APP maarchRM
SetEnv LAABS_BUNDLES audit;auth;batchProcessing;contact;digitalResource;lifeCycle;organization;recordsManagement;filePlan;medona
SetEnv LAABS_BUNDLES audit;auth;batchProcessing;contact;digitalResource;lifeCycle;organization;recordsManagement;filePlan;medona;mades;digitalSafe
SetEnv LAABS_DEPENDENCIES repository;xml;html;localisation;datasource;sdo;json;fileSystem;notification;PDF;csrf;timestamp
SetEnv LAABS_PRESENTATION maarchRM
SetEnv SERVICE_CLIENT_TOKEN service
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment