Since FEWS version 2017.02 build #82486. Replacing Config Update Script
This module is specifically designed for FSS's with DDA.
Its configuration must be placed in the ModuleConfigFiles directory and should be part of a workflow.
Since 2017.02 the config management has been redesigned making the old Config Update Script obsolete.
A new simplified module has been introduced which imports and updates new versions of MapLayerFiles: .csv files and .dbf files with corresponding .shp, .shx and .sll files.
The map layer files need to be already present in the default config (current config revision set) and is case sensitive.
The map layer files should not be referenced with an absolute path in LocationSets.xml. This means it should be refered to via just its file name without anything in front of it: <file>locationSet.csv</file>, or <csvFile>locationAttributes</csvFile> or <dbfFile>moreLocationAttributes</dbfFile>
It will check whether all imported files are present in the current revision.
It will check if it finds warnings and errors in the new configuration and if so rejected the new files and let the module run fail.
If no warnings or errors are found the new files will be imported and a new config revision set will be created. The files will be moved to the backupDir.
When the new configuration did not pass this validation NO files will be imported and NO new config revision set will be created. The files will be moved to the failedDir.
<?xml version="1.0" encoding="UTF-8"?> <configUpdateModule xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.wldelft.nl/fews" xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/configUpdateModule.xsd"> <mapLayerImport> <importDir>%REGION_HOME%/configUpdate/inputFiles/MapLayerFiles/</importDir> <backupDir>%REGION_HOME%/configUpdate/backup</backupDir> <failedDir>%REGION_HOME%/configUpdate/failed</failedDir> </mapLayerImport> </configUpdateModule>
This module is not designed for a SA application, but can be used for testing.
For this the next steps need to be taken: