April 25, 2006
Production Summary Feature - Added a new optional feature that allows algorithms to generate a Production Summary output file. This file is a summary of the each algorithm run and is generated by a customized summary of the runtime log files. Refer to the Stringmaker Algorithm configuration file for details or the S4PM 5.11.0 Installation and Configuration Guide.
New Acquire Data Station - Added support for the new Acquire Data station which is used in place of Request Data for non ECS S4PM strings. To support this, a new parameter has been added to the Stringmaker Global configuration file: $external_archive_system which can be set to either 'ecs' or 's4pa'. The default (for now) is 'ecs'. This station FTPs data directly or creates symlinks (for local files). The calling sequence for the script is s4pa_acquire_data.pl -f config_file -r request_dir -F ftp_dir -l symlink_dir work_order. It outputs work orders that are sent downstream to Register Data.
s4pm_run_easy.pl - Properly detects when more than one product output file is being used with the tar option and errors out before attempting tar command.
When $trigger_coverage Set To Zero - A bug was fixed that caused the invokation of dynamic processing boundaries to fail. If one sets both the $processing_period and the $trigger_coverage to zero in the Stringmaker Algorithm configuration file, it is supposed to cause the start and stop times of the output product to be aligned with the start time of the input file and not fixed to a predicted start time. This is useful in direct broadcast where the input can start at any time. But the bug prevented this from working properly. This has been fixed.
Fill Hole Tool - In S4PM strings where there is no implicit algorithm chaining, the Fill Hole tool (in the Request Data station) was not working due to a malformed configuration file. This has been fixed.
FileSpec.pm - Switched to use of Basename in pathname() to get around Perl argument-passing bug.
Stationmaster Fix for Non Forking Case - Fixed stationmaster.pl for the non-forking case ($cfg_max_children = 0)
s4pm_bootstrap_dprep.pl - Changed contact info in metadata file to firstname.lastname@example.org.
Detailed File Changes
Made a change so that the s4pm_tk_fillhole_request.cfg file is properly generated even in strings where there is no implicit algorithm chaining. This was getting generated before, but the hashes within were not filled out.
Added support for Production Summary generation by adding code to generate the required parameters in the <algorithm>.cfg file in the Run Algorithm station.
Added code to support the Acquire Data station. Whether a Acquire Data or Request Data station is built is determined by the setting of the new $external_archive_system parameter.
Modified create_menu() so that if $cfg_max_children is set to zero, the 'Stop Fast' option for turning off a station is removed. The reason is that this combination can be dangerous.
Also modified show_station_status() to prevent a station button from showing up as yellow when the $cfg_max_children is set to zero. This bit of code was originally in there, probably to warn if cfg_max_children was set to zero accidentally.