Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In Figure 3 the dataconversion file can be distinguished, this file is the DataConversion configuration file. The DCM configuration file contains all required instructions in order to run the DCM. This configuration file is an XML file that is structured according to the schema file ‘dataconversion.xsd’ which can be found in the release package.

Code Block
    <complexType name="DataConversionComplexType">
        <sequence>
            <element name="clearOnStartup" type="boolean" default="true" minOccurs="0">
                <annotation>
                    <documentation>Control if local datastore is cleared on startup. By default eacht new run of the
                    DCM will start with an empty datastore.</documentation>
                </annotation>
            </element>
            <element name="activities" type="fews:ActivitiesComplexType"/>
        </sequence>
    </complexType>
    <!--WftrActivitiesComplexType -->
    <complexType name="ActivitiesComplexType">
        <sequence>
            <choice minOccurs="0" maxOccurs="unbounded">
                <element name="purgeActivity" type="fews:PurgeActivityComplexType">
                    <annotation>
                        <documentation>Purges a single file or a set of files within a directory.</documentation>
                    </annotation>
                </element>
                <element name="copyActivity" type="fews:CopyActivityComplexType">
                    <annotation>
                        <documentation>Copies single file or a set of files from source directory to a destination
                            directory. It is possible to add prefix or suffix to original file names.</documentation>
                    </annotation>
                </element>
                <element name="workflowActivity" type="fews:WorkflowActivityComplexType">
                    <annotation>
                        <documentation>Define FEWS workflow to run.</documentation>
                    </annotation>
                </element>
                <element name="moveActivity" type="fews:MoveActivityComplexType">
                    <annotation>
                        <documentation>Move single file or a set of files from source directory to a destination
                            directory.</documentation>
                    </annotation>
                </element>
                <element name="importStatusActivity" type="fews:ImportStatusActivityComplexType">
                    <annotation>
                        <documentation>Exports the import status to file. When running import in loop import status
                        must be run</documentation>
                    </annotation>
                </element>
                <element name="runInLoopActivityRunner" type="fews:RunInLoopActivityRunnerComplexType">
                    <annotation>
                        <documentation>Repeats the sub activities until their run method returns 'false'.</documentation>
                    </annotation>
                </element>
            </choice>
        </sequence>
    </complexType>

  Image Removed

Figure 4: DataConversion schema

...