DATEX I FTP Interface configuration

The configuration of DATEX I FTP interface is set through a subset of information stored in the file:

/opt/ptv-optima-vv.n.xxxxptv-optima-as/standalone/configuration/optima/optima-configuration.xml.

The configuration structure is placed under the tag <configurations>/<configuration>/<datex-interface>/<datex-process>

Example:

            <datex-interface>
    <settings>
        <sourceName>SVRTOC</sourceName>
    </settings>
    <datex-process enabled="true" name="ftp_publish_datex">
        <logger>ftp_publish_datex</logger>
        <exchanger>
            <country>IT</country>
            <name>svr</name>
        </exchanger>
        <schedule>
            <second>15</second>
            <minute>3</minute>
            <hour>*</hour>
            <dayOfMonth>*</dayOfMonth>
            <month>*</month>
            <dayOfWeek>*</dayOfWeek>
            <year>*</year>
        </schedule>
        <provider action="IMPORT" name="get-from-optima" type="com.sistemaits.datainterfaces.datex.providers.datex2.DATEX2Provider">
            <host>${defaults/baseUrl}/datex2import</host>
        </provider>
        <provider action="PUBLISH" name="ftp-pubblish-datex-file" type="com.sistemaits.datainterfaces.datex.providers.ftp.FTPDatexProvider">
            <path>/ftp-server-folder-test/</path>
            <ftp_host>ftp.test.it</ftp_host>
            <uname>exampleUser</uname>
            <password>examplePassword</password>
        </provider>
    </datex-process>
</datex-interface>