Project

General

Profile

BankFile » History » Revision 8

Revision 7 (Soh Keong, 08/09/2012 02:55 PM) → Revision 8/10 (Soh Keong, 08/10/2012 10:05 AM)

h1. Bank File 

 This is an offline application that will generate total 4 files. 
 # Banamex bank file (text file) 
 # Others bank file (text file) 
 # Banamex bank finance Report (csv file) 
 # Exception Report (csv file) 

 h2. Properties file 

 +db.config+ 
 # *user* - database user 
 # *password* - database password 
 # *dbUrl* - database url (jdbc:db2://{IP}:{port}/{dbName}) 
 # *logPath* - logger file path 
 # *financeRptPath* - path where the text file and csv file will generate to 

 +properties/config.properties+ 
 # *bankBranchNumber* - Bank branch number (4 digits) 
 # *bankAccountNumber* - Bank account number (20 digits) 

 h3. deployment steps 

 # export *src-batch-job* as jar. 
 # change the file ext from *.jar* to *.zip* 
 # unzip *src-batch-job.zip* into /usr/ecosway/batches/src-batch-job/ 

 h3. run script 

 <pre> 
   cd /usr/ecosway/batches/scripts/ 
   ./src-batch-job.sh 
 </pre>  


 h2. SCM 
 
 <pre> 
 Host: cwyrnd2-server [IP address:192.168.2.11] 
 Path: d:/source/ecoswayNew d:/source/hongkong-batchNew 
 Module: ecwybatch Migration-Batch/src-batch-job 
 Tag: HEAD 
 </pre>