Versions Compared

Key

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

JADE JITL

...

Job configuration

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

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

The parameter target_use_credential_store=true  tell true tells the JITL job to look for credential -up credentials in the credential storeCredential Store, next parameters  parameters target_credentialstore_filename and target_credentialstore_password specifies specify the location and access password for the credential storeCredential Store.

The Parameter parameter target_credentialstore_keypath points  JITL to credential store entries required  as credential parameters i.e server name, username , passwordto the location of the Credential Store file.

 

Code Block
languagexml
titleCredential 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>