airs-2113
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| airs-2113 [2019/06/04 12:25] – [Conclusion] kalaschnikow | airs-2113 [2019/06/04 13:06] (current) – [Conclusion] kalaschnikow | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== AIRS-2113 ENABLER: Analyze - Handling large single processes (200 MB) ====== | ||
| + | |||
| + | ===== Common ===== | ||
| + | |||
| + | ==== Way ==== | ||
| + | |||
| + | We can send information about links to upload/ | ||
| + | * in special XML tags | ||
| + | * as MIME part of message from type '' | ||
| + | * more info: | ||
| + | * https:// | ||
| + | * https:// | ||
| + | * http:// | ||
| + | |||
| + | |||
| + | ==== Check full chain ==== | ||
| + | * The time to test the "full chain" should be planned. | ||
| + | ==== Credentials ==== | ||
| + | |||
| + | To download or upload attachments to / from a shared ressource we need credentials. Question: | ||
| + | * how to get them? | ||
| + | * from JBoss ('' | ||
| + | |||
| + | |||
| + | ==== FAT ==== | ||
| + | |||
| + | * Can FAT work with big files? | ||
| + | * At least DB column size (max. 2 GB) -> should work, but test it first | ||
| + | * Maybe it is something already available for sending/ | ||
| + | |||
| + | ==== Antivirus ==== | ||
| + | * Can Antivirus work with big files? | ||
| + | * Seems to work, because it seems that only the file name (and not payload) is transferred through the SOAP | ||
| + | * **-** Test on DEV | ||
| + | * Can the **Antivirus job** work with big files? | ||
| + | * **-** test it locally | ||
| + | * what is the job name? | ||
| + | * com.seeburger.smarti.dao.DAOSysException: | ||
| + | |||
| + | === Conclusion === | ||
| + | * **[-]** FAT creates a temporary file to give it to antivirus, but it writes it bytewise = byte by byte (see '' | ||
| + | |||
| + | ==== Upload ==== | ||
| + | |||
| + | * Is it possible to upload big files? | ||
| + | * **No** | ||
| + | * see '' | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ===== Import ===== | ||
| + | In '' | ||
| + | |||
| + | <code java> | ||
| + | public void initializeHandlerObjects(SerializableInputStream in, MessageProperties props) { | ||
| + | super.initializeHandlerObjects(in, | ||
| + | this.mimeMessageImportProcessor = FATProcessorFactory.createMimeMessageImportProcessor(in, | ||
| + | AttachmentProcessId.getIdBySmartiMType(props.getProperty(MessageProperties.MESSAGE_TYPE))); | ||
| + | } | ||
| + | |||
| + | </ | ||
| + | |||
| + | Here we can use different '' | ||
| + | |||
| + | |||
| + | ===== Misc ===== | ||
| + | |||
| + | ==== Inserting BLOB for tests ==== | ||
| + | |||
| + | To insert BLOB create a new record in FAT META table at first: | ||
| + | |||
| + | <code sql> | ||
| + | INSERT INTO TFATATTACHMENTMETA | ||
| + | (CMIMECONTENTID, | ||
| + | VALUES | ||
| + | (' | ||
| + | </ | ||
| + | |||
| + | After that run the small program " | ||
| + | |||
| + | |||
| + | ===== Conclusion ===== | ||
| + | |||
| + | * All steps should be checked first | ||
| + | * To check: | ||
| + | * JMS as technology | ||
| + | * **Checked** -> It is not possible. | ||
| + | * JMS is not good technology to transfer big data. | ||
| + | * BIS could not send/ | ||
| + | * Upload | ||
| + | * **Checked** -> It is not possible at the moment. | ||
| + | * FAT | ||
| + | * **Checked** -> It is not possible at the moment. -> FAT creates a temporary file to give it to antivirus, but it writes it bytewise = byte by byte | ||
| + | * Antivirus | ||
| + | * Antivirus job | ||
| + | * **Checked** -> It is not possible at the moment. -> FAT creates a temporary file to give it to antivirus, but it writes it bytewise = byte by byte | ||
| + | * Antivirus service | ||
| + | * **TBD** | ||
| + | * Download | ||
| + | * **TBD** | ||
| + | * ... | ||
| + | * **TBD** | ||
| + | * The time to test “all steps” should be planned. | ||
| + | * After that all necessary fixes should be done | ||
| + | * At least: | ||
| + | * Replace JMS with other technology | ||
| + | * Proposal: shared directory | ||
| + | * FAT | ||
| + | * Read/Write files (don't read/write bytewise) | ||
| + | * Upload | ||
| + | * Read/write files (don't use ByteBufferedStream) | ||
