You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

JADE JITL job configuration

Following example shows JADE JITL configuration with Credential store. We are transferring all the files matching with regex ^UCD.*\.log$ present in the c:\sandbox\source  directory to the remote FTP server's /home/test/inbound  directory.

Credential store offers an central secure location to store credentials,  rather then specifying FTP server's credentials i.e. username, password, server name in JITL job parameter, JITL job is reading the parameters from the Credential store.

The parameter target_use_credential_store=true  tell the JITL job to look for credential in the credential store, next parameters  target_credentialstore_filename and target_credentialstore_password specifies location and access password for the credential store.

The Parameter target_credentialstore_keypath points  JITL to credential store entries required  as credential parameters i.e server name, username , password.

 

Credential store JADE JITL Job
<?xml version="1.0" encoding="ISO-8859-1"?>
<job  title="Localhost to FTP server copy (API Job for JobScheduler Advanced Data Exchange)" order="no">
    <settings >
        <log_level ><![CDATA[debug9]]></log_level>
    </settings>
    <description >
        <include  file="jobs/jadeJob.xml"/>
    </description>
    <params >        
		<!-- JADE global profile ,background service settings , default log file -->
		<param  name="settings" value=".\jade_conf/jade_settings.ini"/>
		<param  name="profile" value="globals"/>
		
		<param  name="file_spec"                       value="^UCD.*\.log$"/>
        <param  name="operation"                       value="copy"/>
        <param  name="verbose"                         value="9"/>
    
        <!-- source settings -->
		<param  name="source_protocol"                 value="local"/>
        <param  name="source_host"                     value="localhost"/>		
        <param  name="source_dir"                      value="c:\sandbox\source"/>
 
		<!-- credential store settings -->
		<param  name="target_use_credential_store"     value="true"/>
        <param  name="target_credentialstore_filename" value=".\jade_conf\keepassX-test.kdb"/>
        <param  name="target_credentialstore_password" value="testing"/>
        <param  name="target_credentialstore_keypath"  value="sos/server/mp.sos"/>
		
        <!-- target settings -->
		<param  name="target_protocol"                 value="ftp"/>
        <param  name="target_dir"                      value="/home/test/inbound"/>
        <param  name="target_make_dirs"                value="true"/>
        <param  name="target_transfer_mode"            value="ascii"/>
      
    </params>
    <script  language="java" java_class="sos.scheduler.jade.JadeJob"/>
    <run_time />
</job>

 

 

  • No labels