To trigger a third party software based on data queried from a Mongo DB. The module should check from the MongoDB at regular interval (this should be configurable) for orders which are in a status of “PDF Ready” and not currently being processed by another thread.
If any order is found in that state, the PDF name, and preflight profile name (please note that if no preflight profile name is found against that particular item, then the profile information should be retrieved from the client config) should be retrieved for that particular item to be parsed in the Linux CLI.
On successful download of this data, the module should create a command line for the Linux CLI which contains the static path to the relevant profile file, the static path to the PDF file to be preflighted and the destination folder path for the processed file.
Once the command has been passed to the Linux CLI and the pdfToolbox engine returned a report xml, the status of the item is updated in the Mongo DB as “print ready”.
A report xml file will need to be processed and certain namespaces within the xml ingested back into the Mongo database so that we can enable some reporting services to the end user.
Sample of a Linux CLI command to be triggered:
./pdfToolbox /”root/preflightprofiles/[url removed, login to view]” /”root/dropbox/PDF/[url removed, login to view]” –report –outputfolder /”root/dropbox/preflighted/site1” –suffix “pref”
7 freelancers are bidding on average £19/hour for this job
Hi, I have a good experience in [url removed, login to view] development and can do this project carefully. Also I'm very good with pools, cluster module so multiprocessing/multithreading is guaranteed. :)