-
Type:
Sub-task
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: Main back-end mechanisms (Worker, Logging, etc.)
-
High
-
None
-
-
None
-
Emptyshow more show less
Problem
In support from time to time questions of the following type are popping up:
Who did setup / change XY and when?
For warranty reasons we should log such information, since sometimes the clients are assuming bugs or wrong setups / configurations for setting that were changed by their users.
Solution
log changes in bconf/segmentation rules with user and time * changes of .fprm (Okapi filetype settings file): change, create, delete; including setting it as default for instance/client, changing the default, changing the actual settings for the filetypes etc., so any change
- changed segmentation rules (srx upload)
- changed extension-mapping in filtype settings
- changes filters
- changed pipelines
Implementation Details
1) Upload BCONF editor_Plugins_Okapi_BconfController::uploadbconfAction() -> at the end, if action was successfull, log bconf->getId() & bconf->getName() 2) Upload SRX editor_Plugins_Okapi_BconfController::uploadsrxAction -> if no exception occurs, log bconfId, $field && $uploadName of $segmentation->processUpload(...) 3) Upload Pipeline editor_Plugins_Okapi_BconfController::uploadpipelineAction -> log bconfId, "Pipeline exchanged" 4) Change ExtensionMapping (for non-custom filters) editor_Plugins_Okapi_BconfDefaultFilterController::setextensionsAction() -> log bconfId, identifier, extensions 5) Change extensions for customized Filter editor_Plugins_Okapi_BconfFilterController::postAction AND editor_Plugins_Okapi_BconfFilterController::putAction -> log bconfId, identifier of FPRM, extensions 6) Edit customized Filter editor_Plugins_Okapi_BconfFilterController::savefprmAction -> log bconfId, identifier of FPRM 7) Add customized Filter editor_Plugins_Okapi_BconfFilterController::uploadfprmAction -> log bconfId, identifier of FPRM 8) Delete customized Filter editor_Plugins_Okapi_BconfFilterController::deleteAction -> log bconfId, identifier of FPRM