BankFile » History » Version 7
Soh Keong, 08/09/2012 02:55 PM
1 | 1 | Soh Keong | h1. Bank File |
---|---|---|---|
2 | |||
3 | 3 | Soh Keong | This is an offline application that will generate total 4 files. |
4 | 1 | Soh Keong | # Banamex bank file (text file) |
5 | # Others bank file (text file) |
||
6 | # Banamex bank finance Report (csv file) |
||
7 | # Exception Report (csv file) |
||
8 | |||
9 | 3 | Soh Keong | h2. Properties file |
10 | 1 | Soh Keong | |
11 | 3 | Soh Keong | +db.config+ |
12 | 1 | Soh Keong | # *user* - database user |
13 | # *password* - database password |
||
14 | # *dbUrl* - database url (jdbc:db2://{IP}:{port}/{dbName}) |
||
15 | # *logPath* - logger file path |
||
16 | # *financeRptPath* - path where the text file and csv file will generate to |
||
17 | 3 | Soh Keong | |
18 | +properties/config.properties+ |
||
19 | 1 | Soh Keong | # *bankBranchNumber* - Bank branch number (4 digits) |
20 | # *bankAccountNumber* - Bank account number (20 digits) |
||
21 | |||
22 | 7 | Soh Keong | h3. deployment steps |
23 | 1 | Soh Keong | |
24 | 7 | Soh Keong | # export *src-batch-job* as jar. |
25 | # change the file ext from *.jar* to *.zip* |
||
26 | # unzip *src-batch-job.zip* into /usr/ecosway/batches/src-batch-job/ |
||
27 | 1 | Soh Keong | |
28 | 7 | Soh Keong | h3. run script |
29 | 1 | Soh Keong | |
30 | 7 | Soh Keong | <pre> |
31 | cd /usr/ecosway/batches/scripts/ |
||
32 | ./src-batch-job.sh |
||
33 | </pre> |
||
34 | 1 | Soh Keong | |
35 | 2 | Soh Keong | |
36 | h2. SCM |
||
37 | 6 | Soh Keong | |
38 | 2 | Soh Keong | <pre> |
39 | Host: cwyrnd2-server [IP address:192.168.2.11] |
||
40 | 7 | Soh Keong | Path: d:/source/hongkong-batchNew |
41 | Module: Migration-Batch/src-batch-job |
||
42 | 2 | Soh Keong | Tag: HEAD |
43 | </pre> |