fgauer / jsreport-s3-storage Goto Github PK
View Code? Open in Web Editor NEWA jsreport extension that saves jsreport output to Amazon S3.
A jsreport extension that saves jsreport output to Amazon S3.
Is there a way to prevent dual-storage of the generated reports? Currently I am saving the report files to Amazon S3, but jsreport is also saving them on the filesystem. Can this be prevented in your s3 plugin, or does it need to be done through jsreport somehow?
Thanks for your great jsreport plugin! I just got it setup and tested it with some sample reports, and it works as advertised, but with one minor issue - it appears to save 2 copies of the .pdf file to S3, and I'm not sure why...
I'm using the Postman REST client and POST
ing this as my request body (with a Content-Type: application/json
header):
{
"template": { "shortid" : "4yxoH6IzW" },
"options": {
"reports": { "save": true }
}
}
The result in my S3 Bucket is two files with a one-second time-difference (in the filename).
I'm not sure if this is due to your plugin, or if jsreport is actually sending two 'afterRender' events. Are you aware of this issue? Have you experienced anything like this before?
can anyone tell me how to implement this?
because no example is given.
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.