Support #13714
[SCP ID :##6845##] : FIle not sent from Batch to SFTP server (LUTH)
Status: | System Integration Test | Start date: | November 06, 2023 | ||
---|---|---|---|---|---|
Priority: | Normal | Due date: | |||
Assignee: | Binti Marobi Athirah Umairah | % Done: | 90% | ||
Category: | Bug | Spent time: | - | ||
Target version: | - |
Description
Hi,
Kindly attend below request:-
File from ICBS not sent to SFTP server.
Company Name : LUTH
File Name : THINBBSNAMYKYYYYMMDD.txt (THPCTBSNAMYKL20230822.txt)
History
#1 Updated by Binti Marobi Athirah Umairah 11 months ago
- Category set to Bug
- Assignee changed from Nurul Athira Abdul Rahim to Nurul Hasnieza Bt Mohd Zamri
#2 Updated by Najmi Pasarudin 11 months ago
- Status changed from New - Begin Life Cycle to Development / Work In Progress
- % Done changed from 0 to 90
Salam Hasnieza,
There is no need to patch for this issue:
Issue:
Batch program need to push 2 files(THINBBSNAMYKYYYYMMDD.txt and THPCTBSNAMYKL20230822.txt) to SFTP server but only THPCTBSNAMYKL20230822.txt is sent.
Finding:
In setting.properties, there is ignore file name list that will ignore file name containing IN. Since THINBBSNAMYKYYYYMMDD.txt has the word IN, Batch program ignore this file.
- Access sacda951/batch/BSN/BatchJobsSIT/setting.properties
- Find the parameter b2b.push.ignore.list. The ignore list is to avoid conflicting with another B2B program.
- Should see something similar to b2b.push.ignore.list=IN;GETBALANCE;VERIFICATION;PAYMENT;BSNMCHSP
- Change to b2b.push.ignore.list=IN*;GETBALANCE;VERIFICATION;PAYMENT;BSNMCHSP
- The value IN* will ignore file starting with IN instead of containing IN
- Prepare B2B setup. Make to fill in all outgoing directory and create the folder. Sample in VOC company.
- Access Batch server at the outgoing directory
- Prepare text files named THINBBSNAMYKYYYYMMDD.txt and THPCTBSNAMYKL20230822.txt
- Execute the script SIT B2BProgram.sh (refer crontab -l)
- Expected result, both files sent to SFTP server
#3 Updated by Nurul Hasnieza Bt Mohd Zamri 10 months ago
- File luthTest01.JPG added
- File luthTest02.JPG added
- File luthTest03.JPG added
- Status changed from Development / Work In Progress to System Integration Test
- Assignee changed from Nurul Hasnieza Bt Mohd Zamri to Binti Marobi Athirah Umairah
Salam Umai,
Attached is the test result.
Tested and passed.
#4 Updated by Nurul Athira Abdul Rahim 2 months ago
- Status changed from System Integration Test to Development / Work In Progress
- Assignee changed from Binti Marobi Athirah Umairah to Najmi Pasarudin
Tested but failed in sit due to :
Cron job hang upon change the setting
#5 Updated by Najmi Pasarudin about 1 month ago
- Status changed from Development / Work In Progress to Pending SIT Deployment
#6 Updated by Najmi Pasarudin about 1 month ago
- Status changed from Pending SIT Deployment to Finished Development
#7 Updated by Najmi Pasarudin about 1 month ago
- Status changed from Finished Development to Development / Work In Progress
#8 Updated by Najmi Pasarudin about 1 month ago
- Status changed from Development / Work In Progress to System Integration Test
- Assignee changed from Najmi Pasarudin to Binti Marobi Athirah Umairah
Salam Umairah,
I have updated SIT Batch program. Please request Asrul to test.
Please take note SIT cronjob is not working. Asrul need to execute the batch program manually.