We have short-lived process that accepts an xml file as an input parameter to it and along with a template generates a pdf as the output . The process returns the link to the generated pdf file. The PDF is persisted to the NAS drive to which GDS is mapped.
REST call:
POST
http://aem1.ute.fedex.com:8080/rest/services/FedEx-OMS/GenerateJobTicket.xml?templatePath=%2Fecommer...
Response:
<result>
<exceptionType></exceptionType>
<jobTicketPDF length="20682" contentType="application/pdf" file="%2Fvar%2Ffedex%2Ffxo%2Faem%2Ftmp%2FAdobeDocumentStorage%2Flocal%2Fdocm1687378526962%2F177b16debc157af939631ed028fb6c9f" basename="177b16debc157af939631ed028fb6c9f" wsfilename="%2Fvar%2Ffedex%2Ffxo%2Faem%2Ftmp%2FAdobeDocumentStorage%2Flocal%2Fdocm1687378526962%2F177b16debc157af939631ed028fb6c9f" CONTENT_TYPE="OUTPUT_DATA">http://aem1.ute.fedex.com:8080/DocumentManager/docm1687378526938/dfd27a76b74a2087f5e47300771ee58f?type=YXBwbGljYXRpb24vcGRm</jobTicketPDF> <outputStatus>0</outputStatus>
<jobID>1016201910183017</jobID>
<exceptionActivity></exceptionActivity>
</result>
If document storage is enabled for GDS, will AEM save the generated document in the database as well? If yes then then which are these tables? Asking because soon the AEM on-premise installation needs to be a setup on a new data center which is not owned by the client( i.e. IaaS) and one of the requirements is NAS is not allowed. So we are wondering how to migrate the short lived processes if GDS cannot be mapped to a NAS. So if local storage is used along with database, can the generated PDF document be retrieved from the database?
AEM on-premise setup:
- JBoss 7.1.4.GA
- AEM Forms 6.5