Compare commits
11 Commits
Author | SHA1 | Date |
---|---|---|
|
3b1b432b13 | |
|
11a3caf2d3 | |
|
479800e419 | |
|
3ada3ddf4e | |
|
5668fe31f4 | |
|
c8f3b24141 | |
|
fd1a2527f2 | |
|
d020a178c4 | |
|
6a18af7774 | |
|
fee0855137 | |
|
02569bd3b5 |
|
@ -1,37 +0,0 @@
|
||||||
<!--
|
|
||||||
Questions:
|
|
||||||
https://groups.google.com/forum/#!forum/loopbackjs
|
|
||||||
https://gitter.im/strongloop/loopback
|
|
||||||
Immediate support:
|
|
||||||
https://strongloop.com/api-connect-faqs/
|
|
||||||
https://strongloop.com/node-js/subscription-plans/
|
|
||||||
-->
|
|
||||||
|
|
||||||
# Description/Steps to reproduce
|
|
||||||
|
|
||||||
<!--
|
|
||||||
If feature: A description of the feature
|
|
||||||
If bug: Steps to reproduce
|
|
||||||
-->
|
|
||||||
|
|
||||||
# Link to reproduction sandbox
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Link to an app sandbox for reproduction
|
|
||||||
|
|
||||||
Note: Failure to provide a sandbox application for reproduction purposes will result in the issue being closed.
|
|
||||||
-->
|
|
||||||
|
|
||||||
# Expected result
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Also include actual results if bug
|
|
||||||
-->
|
|
||||||
|
|
||||||
# Additional information
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Copy+paste the output of these two commands:
|
|
||||||
node -e 'console.log(process.platform, process.arch, process.versions.node)'
|
|
||||||
npm ls --prod --depth 0 | grep loopback
|
|
||||||
-->
|
|
|
@ -0,0 +1,50 @@
|
||||||
|
---
|
||||||
|
name: Bug report
|
||||||
|
about: Create a report to help us improve
|
||||||
|
labels: bug
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<!-- 🚨 STOP 🚨 STOP 🚨 STOP 🚨
|
||||||
|
|
||||||
|
HELP US HELP YOU, PLEASE
|
||||||
|
- Do a quick search to avoid duplicate issues
|
||||||
|
- Provide as much information as possible (reproduction sandbox, use case for features, etc.)
|
||||||
|
- Consider using a more suitable venue for questions such as Stack Overflow, Gitter, etc.
|
||||||
|
|
||||||
|
Please fill in the *entire* template below.
|
||||||
|
|
||||||
|
-->
|
||||||
|
|
||||||
|
## Steps to reproduce
|
||||||
|
|
||||||
|
<!-- Describe how to reproduce the issue -->
|
||||||
|
|
||||||
|
## Current Behavior
|
||||||
|
|
||||||
|
<!-- Describe the observed result -->
|
||||||
|
|
||||||
|
## Expected Behavior
|
||||||
|
|
||||||
|
<!-- Describe what did you expect instead, what is the desired outcome? -->
|
||||||
|
|
||||||
|
## Link to reproduction sandbox
|
||||||
|
|
||||||
|
<!--
|
||||||
|
See https://loopback.io/doc/en/contrib/Reporting-issues.html#loopback-3x-bugs
|
||||||
|
Note: Failure to provide a sandbox application for reproduction purposes will result in the issue being closed.
|
||||||
|
-->
|
||||||
|
|
||||||
|
## Additional information
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Copy+paste the output of these two commands:
|
||||||
|
node -e 'console.log(process.platform, process.arch, process.versions.node)'
|
||||||
|
npm ls --prod --depth 0 | grep loopback
|
||||||
|
-->
|
||||||
|
|
||||||
|
## Related Issues
|
||||||
|
|
||||||
|
<!-- Did you find other bugs that looked similar? -->
|
||||||
|
|
||||||
|
_See [Reporting Issues](http://loopback.io/doc/en/contrib/Reporting-issues.html) for more tips on writing good issues_
|
|
@ -0,0 +1,25 @@
|
||||||
|
---
|
||||||
|
name: Feature request
|
||||||
|
about: Suggest an idea for this project
|
||||||
|
labels: feature
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Suggestion
|
||||||
|
|
||||||
|
<!-- A summary of what you'd like to see added or changed -->
|
||||||
|
|
||||||
|
## Use Cases
|
||||||
|
|
||||||
|
<!--
|
||||||
|
What do you want to use this for?
|
||||||
|
What shortcomings exist with current approaches?
|
||||||
|
-->
|
||||||
|
|
||||||
|
## Examples
|
||||||
|
|
||||||
|
<!-- Show how this would be used and what the behavior would be -->
|
||||||
|
|
||||||
|
## Acceptance criteria
|
||||||
|
|
||||||
|
TBD - will be filled by the team.
|
|
@ -0,0 +1,27 @@
|
||||||
|
---
|
||||||
|
name: Question
|
||||||
|
about: The issue tracker is not for questions. Please use Stack Overflow or other resources for help.
|
||||||
|
labels: question
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<!-- 🚨 STOP 🚨 STOP 🚨 STOP 🚨
|
||||||
|
|
||||||
|
THE ISSUE TRACKER IS NOT FOR QUESTIONS.
|
||||||
|
|
||||||
|
DO NOT CREATE A NEW ISSUE TO ASK A QUESTION.
|
||||||
|
|
||||||
|
Please use one of the following resources for help:
|
||||||
|
|
||||||
|
**Questions**
|
||||||
|
|
||||||
|
- https://stackoverflow.com/tags/loopbackjs
|
||||||
|
- https://groups.google.com/forum/#!forum/loopbackjs
|
||||||
|
- https://gitter.im/strongloop/loopback
|
||||||
|
|
||||||
|
**Immediate support**
|
||||||
|
|
||||||
|
- https://strongloop.com/api-connect-faqs/
|
||||||
|
- https://strongloop.com/node-js/subscription-plans/
|
||||||
|
|
||||||
|
-->
|
|
@ -0,0 +1,11 @@
|
||||||
|
blank_issues_enabled: false
|
||||||
|
contact_links:
|
||||||
|
- name: Report a security vulnerability
|
||||||
|
url: https://loopback.io/doc/en/contrib/Reporting-issues.html#security-issues
|
||||||
|
about: Do not report security vulnerabilities using GitHub issues. Please send an email to `reachsl@us.ibm.com` instead.
|
||||||
|
- name: Get help on StackOverflow
|
||||||
|
url: https://stackoverflow.com/tags/loopbackjs
|
||||||
|
about: Please ask and answer questions on StackOverflow.
|
||||||
|
- name: Join our mailing list
|
||||||
|
url: https://groups.google.com/forum/#!forum/loopbackjs
|
||||||
|
about: You can also post your question to our mailing list.
|
|
@ -1,25 +1,18 @@
|
||||||
### Description
|
|
||||||
|
|
||||||
|
|
||||||
#### Related issues
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Please use the following link syntaxes:
|
Please provide a high-level description of the changes made by your pull request.
|
||||||
|
|
||||||
- connect to #49 (to reference issues in the current repository)
|
Include references to all related GitHub issues and other pull requests, for example:
|
||||||
- connect to strongloop/loopback#49 (to reference issues in another repository)
|
|
||||||
|
Fixes #123
|
||||||
|
Implements #254
|
||||||
|
See also #23
|
||||||
-->
|
-->
|
||||||
|
|
||||||
- connect to <link_to_referenced_issue>
|
## Checklist
|
||||||
|
|
||||||
### Checklist
|
👉 [Read and sign the CLA (Contributor License Agreement)](https://cla.strongloop.com/agreements/strongloop/loopback-component-storage) 👈
|
||||||
|
|
||||||
<!--
|
|
||||||
- Please mark your choice with an "x" (i.e. [x], see
|
|
||||||
https://github.com/blog/1375-task-lists-in-gfm-issues-pulls-comments)
|
|
||||||
- PR's without test coverage will be closed.
|
|
||||||
-->
|
|
||||||
|
|
||||||
|
- [ ] `npm test` passes on your machine
|
||||||
- [ ] New tests added or existing tests modified to cover all changes
|
- [ ] New tests added or existing tests modified to cover all changes
|
||||||
- [ ] Code conforms with the [style
|
- [ ] Code conforms with the [style guide](https://loopback.io/doc/en/contrib/style-guide-es6.html)
|
||||||
guide](http://loopback.io/doc/en/contrib/style-guide.html)
|
- [ ] Commit messages are following our [guidelines](https://loopback.io/doc/en/contrib/git-commit-messages.html)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- "6"
|
|
||||||
- "8"
|
- "8"
|
||||||
- "10"
|
- "10"
|
||||||
|
- "12"
|
||||||
|
|
14
CHANGES.md
14
CHANGES.md
|
@ -1,3 +1,17 @@
|
||||||
|
2020-03-06, Version 3.7.0
|
||||||
|
=========================
|
||||||
|
|
||||||
|
* Update LTS status in README (Miroslav Bajtoš)
|
||||||
|
|
||||||
|
* chore: update copyright year (Diana Lau)
|
||||||
|
|
||||||
|
* Update README.md (Shaun)
|
||||||
|
|
||||||
|
* chore: improve issue and PR templates (Nora)
|
||||||
|
|
||||||
|
* chore: drop Node.js 6 and add Node.js 12 to travis (Nora)
|
||||||
|
|
||||||
|
|
||||||
2019-07-25, Version 3.6.3
|
2019-07-25, Version 3.6.3
|
||||||
=========================
|
=========================
|
||||||
|
|
||||||
|
|
25
README.md
25
README.md
|
@ -1,6 +1,15 @@
|
||||||
# LoopBack Storage Component
|
# LoopBack Storage Component
|
||||||
|
|
||||||
**NOTE: The loopback-component-storage module supersedes [loopback-storage-service](https://www.npmjs.org/package/loopback-storage-service). Please update your package.json accordingly.**
|
**⚠️ LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical
|
||||||
|
security fixes will be provided. (See
|
||||||
|
[Module Long Term Support Policy](#module-long-term-support-policy) below.)**
|
||||||
|
|
||||||
|
We urge all LoopBack 3 users to migrate their applications to LoopBack 4 as
|
||||||
|
soon as possible. Refer to our
|
||||||
|
[Migration Guide](https://loopback.io/doc/en/lb4/migration-overview.html)
|
||||||
|
for more information on how to upgrade.
|
||||||
|
|
||||||
|
## Overview
|
||||||
|
|
||||||
LoopBack storage component provides Node.js and REST APIs to manage binary file contents
|
LoopBack storage component provides Node.js and REST APIs to manage binary file contents
|
||||||
using pluggable storage providers, such as local file systems, Amazon S3, or
|
using pluggable storage providers, such as local file systems, Amazon S3, or
|
||||||
|
@ -13,10 +22,22 @@ storage services including:
|
||||||
- Openstack
|
- Openstack
|
||||||
- Rackspace
|
- Rackspace
|
||||||
|
|
||||||
> Please see the [Storage Service Documentaion](http://loopback.io/doc/en/lb3/Storage-component.html).
|
> Please see the [Storage Service Documentation](http://loopback.io/doc/en/lb3/Storage-component.html).
|
||||||
|
|
||||||
For more details on the architecture of the module, please see the introduction section of the [blog post](https://strongloop.com/strongblog/managing-nodejs-loopback-storage-service-provider/).
|
For more details on the architecture of the module, please see the introduction section of the [blog post](https://strongloop.com/strongblog/managing-nodejs-loopback-storage-service-provider/).
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
See https://github.com/strongloop/loopback-example-storage.
|
See https://github.com/strongloop/loopback-example-storage.
|
||||||
|
|
||||||
|
## Module Long Term Support Policy
|
||||||
|
|
||||||
|
This module adopts the [
|
||||||
|
Module Long Term Support (LTS)](http://github.com/CloudNativeJS/ModuleLTS) policy,
|
||||||
|
with the following End Of Life (EOL) dates:
|
||||||
|
|
||||||
|
| Version | Status | Published | EOL |
|
||||||
|
| ------- | --------------- | --------- | -------- |
|
||||||
|
| 3.x | Maintenance LTS | Dec 2016 | Dec 2020 |
|
||||||
|
|
||||||
|
Learn more about our LTS plan in [docs](https://loopback.io/doc/en/contrib/Long-term-support.html).
|
||||||
|
|
2
index.js
2
index.js
|
@ -1,4 +1,4 @@
|
||||||
// Copyright IBM Corp. 2014,2016. All Rights Reserved.
|
// Copyright IBM Corp. 2014,2019. All Rights Reserved.
|
||||||
// Node module: loopback-component-storage
|
// Node module: loopback-component-storage
|
||||||
// This file is licensed under the Artistic License 2.0.
|
// This file is licensed under the Artistic License 2.0.
|
||||||
// License text available at https://opensource.org/licenses/Artistic-2.0
|
// License text available at https://opensource.org/licenses/Artistic-2.0
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright IBM Corp. 2013,2017. All Rights Reserved.
|
// Copyright IBM Corp. 2013,2019. All Rights Reserved.
|
||||||
// Node module: loopback-component-storage
|
// Node module: loopback-component-storage
|
||||||
// This file is licensed under the Artistic License 2.0.
|
// This file is licensed under the Artistic License 2.0.
|
||||||
// License text available at https://opensource.org/licenses/Artistic-2.0
|
// License text available at https://opensource.org/licenses/Artistic-2.0
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright IBM Corp. 2013,2016. All Rights Reserved.
|
// Copyright IBM Corp. 2013,2019. All Rights Reserved.
|
||||||
// Node module: loopback-component-storage
|
// Node module: loopback-component-storage
|
||||||
// This file is licensed under the Artistic License 2.0.
|
// This file is licensed under the Artistic License 2.0.
|
||||||
// License text available at https://opensource.org/licenses/Artistic-2.0
|
// License text available at https://opensource.org/licenses/Artistic-2.0
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright IBM Corp. 2013,2016. All Rights Reserved.
|
// Copyright IBM Corp. 2013,2019. All Rights Reserved.
|
||||||
// Node module: loopback-component-storage
|
// Node module: loopback-component-storage
|
||||||
// This file is licensed under the Artistic License 2.0.
|
// This file is licensed under the Artistic License 2.0.
|
||||||
// License text available at https://opensource.org/licenses/Artistic-2.0
|
// License text available at https://opensource.org/licenses/Artistic-2.0
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright IBM Corp. 2013,2018. All Rights Reserved.
|
// Copyright IBM Corp. 2013,2019. All Rights Reserved.
|
||||||
// Node module: loopback-component-storage
|
// Node module: loopback-component-storage
|
||||||
// This file is licensed under the Artistic License 2.0.
|
// This file is licensed under the Artistic License 2.0.
|
||||||
// License text available at https://opensource.org/licenses/Artistic-2.0
|
// License text available at https://opensource.org/licenses/Artistic-2.0
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright IBM Corp. 2013,2016. All Rights Reserved.
|
// Copyright IBM Corp. 2013,2019. All Rights Reserved.
|
||||||
// Node module: loopback-component-storage
|
// Node module: loopback-component-storage
|
||||||
// This file is licensed under the Artistic License 2.0.
|
// This file is licensed under the Artistic License 2.0.
|
||||||
// License text available at https://opensource.org/licenses/Artistic-2.0
|
// License text available at https://opensource.org/licenses/Artistic-2.0
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright IBM Corp. 2018. All Rights Reserved.
|
// Copyright IBM Corp. 2018,2019. All Rights Reserved.
|
||||||
// Node module: loopback-component-storage
|
// Node module: loopback-component-storage
|
||||||
// This file is licensed under the Artistic License 2.0.
|
// This file is licensed under the Artistic License 2.0.
|
||||||
// License text available at https://opensource.org/licenses/Artistic-2.0
|
// License text available at https://opensource.org/licenses/Artistic-2.0
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=8"
|
"node": ">=8"
|
||||||
},
|
},
|
||||||
"version": "3.6.3",
|
"version": "3.7.0",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright IBM Corp. 2016. All Rights Reserved.
|
// Copyright IBM Corp. 2016,2019. All Rights Reserved.
|
||||||
// Node module: loopback-component-storage
|
// Node module: loopback-component-storage
|
||||||
// This file is licensed under the Artistic License 2.0.
|
// This file is licensed under the Artistic License 2.0.
|
||||||
// License text available at https://opensource.org/licenses/Artistic-2.0
|
// License text available at https://opensource.org/licenses/Artistic-2.0
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright IBM Corp. 2013,2018. All Rights Reserved.
|
// Copyright IBM Corp. 2013,2019. All Rights Reserved.
|
||||||
// Node module: loopback-component-storage
|
// Node module: loopback-component-storage
|
||||||
// This file is licensed under the Artistic License 2.0.
|
// This file is licensed under the Artistic License 2.0.
|
||||||
// License text available at https://opensource.org/licenses/Artistic-2.0
|
// License text available at https://opensource.org/licenses/Artistic-2.0
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright IBM Corp. 2013,2018. All Rights Reserved.
|
// Copyright IBM Corp. 2013,2019. All Rights Reserved.
|
||||||
// Node module: loopback-component-storage
|
// Node module: loopback-component-storage
|
||||||
// This file is licensed under the Artistic License 2.0.
|
// This file is licensed under the Artistic License 2.0.
|
||||||
// License text available at https://opensource.org/licenses/Artistic-2.0
|
// License text available at https://opensource.org/licenses/Artistic-2.0
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright IBM Corp. 2014,2018. All Rights Reserved.
|
// Copyright IBM Corp. 2014,2019. All Rights Reserved.
|
||||||
// Node module: loopback-component-storage
|
// Node module: loopback-component-storage
|
||||||
// This file is licensed under the Artistic License 2.0.
|
// This file is licensed under the Artistic License 2.0.
|
||||||
// License text available at https://opensource.org/licenses/Artistic-2.0
|
// License text available at https://opensource.org/licenses/Artistic-2.0
|
||||||
|
|
Loading…
Reference in New Issue