YADE JITL Job configuration
The following example shows a YADE JITL Job configuration with Credential Store
- 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, where target credentials are stored in a Credential Store.
JADE JITL job configuration
Following example shows JADE JITL configuration with Credential store. 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 | ||||
---|---|---|---|---|
| ||||
<?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 > <!-- JADEYADE 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> |