YADE JITL Job configuration
The following example shows a YADE JITL Job configuration with Credential Store. We are transferring files matching the regular expression ^UCD.*\.log$ present in the c:\sandbox\source directory to the remote FTP server's /home/test/inbound directory.
The Credential Store offers a central and secure location to store credentials rather then specifying FTP server's credentials, i.e. username, password, server name in JITL job parameters. Instead the JITL job is reading the parameters from the Credential Store.
The parameter target_use_credential_store=true tells the JITL job to look-up credentials in the Credential Store, next parameters target_credentialstore_filename and target_credentialstore_password specify the location and access password for the Credential Store.
The parameter target_credentialstore_keypath points to the location of the Credential Store file.
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="ISO-8859-1"?>
<job title="Localhost to FTP server copy (API Job for JobScheduler Advanced Data Exchange)" order="no">
<description >
|
- JADE is an integrated managed file transfer solution. We recommend using our JADE JITL Job for a wide range of data transfers with FTP, SFTP etc.
- This is a sample configuration for using the JADE JITL Job for a copy operation with target credentials from a Credential Store.
Sample JADE configuration
Code Block | ||
---|---|---|
| ||
[SendUsingKeePass] target_include = Keepass_DataBase, keepass_homer_ftp operation <include file="jobs/jadeJob.xml"/> </description> <params > = copy make_Dirs <!-- YADE global profile ,background service settings , default log file --> <param name="settings" value="./jade_conf/jade_settings.ini"/> <param name="profile" value="globals"/> <param name= true "file_spec" = CS-1.txt ;; target_Dirvalue="^UCD.*\.log$"/> <param name="operation" value= /home/test target_make_Dirs "copy"/> <param name="verbose" = true target_transfer_mode value= ascii ;; "9"/> <!-- source settings --> <param name="source_protocol" value= "local"/> <param name="source_host" value= "localhost"/> <param name="source_dir" = ${TEMP}/source |
Sample job configuration
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="ISO-8859-1"?> <job title="API Job for JobScheduler Advanced Data Exchange"> <description > 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 <includename="target_credentialstore_keypath" filevalue="jobssos/server/jadeJobmp.xmlsos"/> </description> <!-- target settings --> <param name="target_protocol" <params value="ftp"/> <param name="profile"target_dir" value="SendUsingKeePass/home/test/inbound"/> <param name="settings"target_make_dirs" value="${SCHEDULER_HOME}\config\live\JADEWithCS\config\jade_settings.initrue"/> <param name="operation" target_transfer_mode" value="copyascii"/> </params> <script language="java" java_class="sos.scheduler.jade.JadeJob"/> <run_time /> </job> |