Skip to content

Extend storage clients to handle Streams when used in node #1702

@umesh-timalsina

Description

@umesh-timalsina

Resolving #1690 in a manageable way requires that we divide the changes needed into separate independent PRs. First, the storage clients should be able to operate with streams in Node.

Goals to be resolved in this issue:

  • Extend the BlobClient to StreamBlobClient for supporting streams. This can be achieved relatively straight forward manner since streams are supported in node-fetch and superagent.

  • Change StorageBackend and Clients with support for getStream and putStream. One question is should the existing getFile and putFile methods be updated or should we create separate methods to support streams?

  • Update tests for StorageClients.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions