-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Labels
Description
-
File Integration in WSO2 Integrator: BI
- Entry point to file integration
-
[Listener] Processing Local Files - Current
service "localObserver" on inFolder { remote function onCreate(file:FileEvent m) { string msg = "Create: " + m.name; log:printInfo(msg); } }
-
[Listener] Work with remote servers
- Setup for FTP, FTPS, SFTP
-
Full fledged file integration usecase,
- Listen to directory
- Process new CSV files,
- Validate a field in the CSV record.
- If 90% passes
-
[Client] Writing Files
HTTP service which will trigger a file send -
Handling large files
- Streaming is your friend
- Process a 10000 record CSV?
-
Troubleshooting Guide
- Scenario: Connection Refused (FTP/SFTP)
- Firewall/network
- Debugging-> Connect through a client and check?
- Authentication failed
- Verify password
- Verify SSH permission
- Failing in mac with default private key -> BUG
- Certificate is untrusted
- Add cert
- If refused? what is the error message
- Permission for the folder is refused
- Enable debug logs easily
- Scenario: Connection Refused (FTP/SFTP)