====== Migrate workflow.xml from ibrain2 to Bee Specification ====== * Delete all: * '''' * ''xxx'' * Substitute: '''' by '''' and /or '''' corresponding to the mappings in the ''system.config'': * cluster.rms.queuemapping = 30 = test_queue * cluster.rms.queuemapping = 720 = fs_long * cluster.rms.queuemapping = 100000 = fs_very_long Examples: cluster_queue="SHORT" ----> required_runtime_minutes="30" cluster_queue="LONG" ----> required_runtime_minutes="720" * Add '''' and '''' through '''' and '''' * Substitute '''' through ''xxx'' * Add an '''' element to contain the different '''' elements. * Substitute each '''' through an equivalent '''' element in the same sort order. * Add the necessary parameters for parallel executed modules. Example: * Substitute all the '''' through workflow input datasets. Example: ----> ... * Substitute all the '''' where n > 0, through an output dataset in the n-module Example: ----> ... * Substitute each '''' element through a corresponding '''' element in the same module. Example: ----> * Substitute '''' through '','' and '''' through <''validations level="module">'', and move them into the '''' element, after the '''' definition. * In the '''' sections substitute: * '''' by '''' * delete the ''resource_type="xxx"'' attributes * ''resource_regex="{IB2_STDOUT_LOG}"'' by ''regex="${task.log_stdout}"'' * ''resource_regex="{IB2_STDERR_LOG}"'' by ''regex="${task.log_stderr}"'' * remaining ''resource_regex="xxx"'' by ''regex="xxx"'' * ''comparator="is_equal_to"'' by ''comparator="equal"'' * ''comparator="is_superior_to"'' by ''comparator="greater"'' (other allowed comparators are: less, not_equal, greater_or_equal, less_or_equal) * ''pattern_regex'' by ''content_regex'' * ''fail_status="VALIDATION_ERROR"'' by ''fail_status="validation_error"'' * ''fail_status="VALIDATION_WARNING"'' by ''fail_status="validation_warning"'' :!: Please, check the details in the ''workflow.xml'' specification syntax document: [[:beewm:devel:workflow_specification_syntax|Workflow Template Specification]]