Date: Fri, 29 Mar 2024 07:56:59 +0000 (UTC) Message-ID: <1042764929.12587.1711699019225@change.sos-berlin.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_12586_461061186.1711699019225" ------=_Part_12586_461061186.1711699019225 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
The following example shows a YADE JITL Job configuration with Credentia= l Store. We are transferring files matching the regular expression ^UCD.*\.log$ present in the c:\sandbox\source directory to the remote FTP server's&nbs= p;/home/test/inbound direct= ory.
The Credential Store offers a central and secure location to store crede= ntials rather then specifying FTP server's credentials, i.e. username, pass= word, server name in JITL job parameters. Instead the JITL job is reading t= he parameters from the Credential Store.
The parameter target_use_credential_store=3Dtrue tell= s the JITL job to look-up credentials in the Credential Store, next paramet= ers target_credentialstore_filename and target_credential= store_password specify the location and access password for the C= redential Store.
The parameter target_credentialstore_keypath points t= o the location of the Credential Store file.
<?xml= version=3D"1.0" encoding=3D"ISO-8859-1"?> <job title=3D"Localhost to FTP server copy (API Job for JobScheduler Ad= vanced Data Exchange)" order=3D"no"> <description > <include file=3D"jobs/jadeJob.xml"/> </description> <params > =20 =09=09<!-- YADE global profile ,background service settings , default lo= g file --> =09=09<param name=3D"settings" value=3D"./jade_conf/jade_settings.ini"/= > =09=09<param name=3D"profile" value=3D"globals"/> =09=09 =09=09<param name=3D"file_spec" value=3D"^UCD.*\.= log$"/> <param name=3D"operation" value=3D"copy"/= > <param name=3D"verbose" value=3D"9"/>= ; =20 <!-- source settings --> =09=09<param name=3D"source_protocol" value=3D"local"/&= gt; <param name=3D"source_host" value=3D"localh= ost"/>=09=09 <param name=3D"source_dir" value=3D"c:\san= dbox\source"/> =09=09<!-- credential store settings --> =09=09<param name=3D"target_use_credential_store" value=3D"true"/&g= t; <param name=3D"target_credentialstore_filename" value=3D".\jade= _conf\keepassX-test.kdb"/> <param name=3D"target_credentialstore_password" value=3D"testin= g"/> <param name=3D"target_credentialstore_keypath" value=3D"sos/se= rver/mp.sos"/> =09=09 <!-- target settings --> =09=09<param name=3D"target_protocol" value=3D"ftp"/>= ; <param name=3D"target_dir" value=3D"/home/= test/inbound"/> <param name=3D"target_make_dirs" value=3D"true"/= > <param name=3D"target_transfer_mode" value=3D"ascii"= /> =20 </params> <script language=3D"java" java_class=3D"sos.scheduler.jade.JadeJob"= /> <run_time /> </job>