Subject: | LinkSOFT WEB API to handle data transmission between two LinkSOFT Databases instead of using "Linked Servers" |
Summary: | LinkSOFT API development to handle data transmission between two LinkSOFT Databases. This is required to eliminate the following issues: - Replication uses Linked Servers. We have a lot better control via an API and can throttle and add size limits to handle bandwidth and traceability.
- Opening SQL server PORT 1433 on a LAN environment poses some risk. Some customers require replication over the internet and are opening SQL server port despite being advised to use a VPN.
- Some data for TNA needs to be sent from local installations to the cloud.
High-level design: - Each transmission should be a closed-loop transmission. i.e. there should have a known origin and each batch must be tracked from Initiation, transmission to closure.
- Create a function that allocates a unique number to each transmission. The unique ID should be readable, suggest YYMMDD-HHMMSSS-{3 digit code}. Let's name this "Transmission ID", referenced as "TID", to denote a readable code user can use to track each transmission.
- This code should be referenced in the status of each transmission. e.g. In TNA, a file being transmitted should have Statuses: "Queued {TID}", "Transmitted {TID}" and at the receiving end, "Received {TID}", "Processed {TID}", "Closed {TID}"
|
Audit Notes: | Edited by sanjay on 12/08/21 17:02. Edited by sanjay on 26/07/21 09:04. Edited by sanjay on 12/07/21 08:20. Edited by sanjay on 12/07/21 08:04. |
12 Jul 2021 | 08:04AM Comment 1 by Sanjay (Link Technologies) Case L12317 added to project 12.44 |
12 Jul 2021 | 08:11AM Comment 2 by Sanjay (Link Technologies) Assigned To: Sanjay (Link Technologies) Followup Date: 12-07-2021 12:10 PM |
| Proceed with Replication Testing using 12.44 |
|
12 Jul 2021 | 08:16AM Comment 3 by Sanjay (Link Technologies) Assigned To: Sanjay (Link Technologies) Followup Date: 12-07-2021 12:13 PM Time Taken: 3.00 |
| Please perform the following tests on Compare Data - Verify Masterfile
- Send/Receive Differences
- Verify again to confirm data has transmitted correctly
- Verify Transactions
- Send/Receive Differences
- Verify again to confirm data has transmitted correctly
- Review Error logs and API Queues
- Use Queue monitor to track packages
|
|
12 Jul 2021 | 08:18AM Comment 4 by Sanjay (Link Technologies) Assigned To: Sanjay (Link Technologies) Followup Date: 12-07-2021 12:16 PM |
| For Replication Testing, setup the environment as follows: - One Standalone
- Two Branch
- HQ
Test data flow between all stations, monitor time taken and record results |
|
12 Jul 2021 | 08:20AM Comment 5 by Sanjay (Link Technologies) ETC was changed from 06/07/2021 to 06/07/2021 |
26 Jul 2021 | 09:04AM Comment 6 by Sanjay (Link Technologies) Case L12317 added to project 12.50 |
11 Aug 2021 | 04:08PM Comment 7 by Rashna (Edge Business Solutions) Assigned To: Alvis (Link Technologies) Followup Date: 11-08-2021 01:47 PM Time Taken: 4.00 |
|
The following tests were performed: Table 1 - Test Results
# | Test Case Details | Pass/Fail | Comments | 1 | - Create replication setup with below connections
- Head Office
- Branch
- Standalone
| Pass
| | 2 | - Test replication of master files
| Pass | - Created a product in Branch and it replicated to the HQ and standalone DB under 1 under.
| 3 | - Test Inventory Transaction
| Pass | - Created a Purchase Order in Branch and it replicated to the HQ and standalone DB under 1 under.
| 4 | - Test sales transactions
| Pass | - Processed a sale in Branch and verified the sales report in HQ and Standalone. Data was replicated under 1 min.
| 5
| - Test compare data
| Pass
|
| Environment Details - OS version:
- Application version: 12.50.07023GA
- Setup on:
- Server:LinkQA4
- Database: LinkSOFT-HQ, LinkSOFT-B1, and LINK SOFT-Standalone
- LinkSOFT URL: HTTP://10.0.13/LinkWEB-HQ, HTTP://10.0.13/LinkWEB-B1, HTTP://10.0.13/LinkWEB-Standalone
- Login Details: Standard username and password for user "admin"
Next Step: - As per the discussion with Alvis, expired token keys are not validated in version 12.50. This has been resolved in version 12.51.
- Documentation of replication setup using the "LinkSOFT API".
|
|
12 Aug 2021 | 05:02PM Comment 8 by Sanjay (Link Technologies) Case L12317 added to project 12.51 |
16 Aug 2021 | 02:22PM Comment 9 by Sanjay (Link Technologies) Assigned To: Sanjay (Link Technologies) Followup Date: 16-08-2021 06:18 PM Time Taken: 8.00 |
| Documentation completed and published. |
|