jsreport-pkgcloud-storage

2.0.2 • Public • Published

jsreport-pkgcloud-storage

NPM Version

jsreport extension adding support for storing blobs in pkgcloud supported cloud storage.

Some of the jsreport extensions requires a blob storage for storing binary objects. This implementation stores these objects like output reports inside in a cloud storage service provider. This library supports:

  • Amazon
  • Azure
  • Google
  • HP
  • Openstack
  • Rackspace

Installation

jsreport version 1.x

npm install jsreport-pkgcloud-storage@1.0.0

jsreport version 2.x

npm install jsreport-pkgcloud-storage

Configuration

Rackspace

Global blobStorage options

{
	"blobStorage": {  
            "name": "pkgcloud-storage", 
            "container": "...", // Defaults for `jsreports`
            "connection":  { 
                provider: 'rackspace', // required
                username: 'your-user-name', // required
                apiKey: 'your-api-key', // required
                region: 'IAD', // required, regions can be found at:
                               // http://www.rackspace.com/knowledge_center/article/about-regions
                useInternal: false // optional, use to talk to serviceNet from a Rackspace machine
            }
        }

Package Sidebar

Install

npm i jsreport-pkgcloud-storage

Weekly Downloads

8

Version

2.0.2

License

none

Unpacked Size

6.57 kB

Total Files

8

Last publish

Collaborators

  • timemachine