0.0.1-next.7 • Published 4 months ago

@twin.org/blob-storage-connector-gcp v0.0.1-next.7

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
4 months ago

TWIN Blob Storage Connector Google Cloud Storage

Blob Storage connector implementation using Google Cloud Storage.

Installation

npm install @twin.org/blob-storage-connector-gcp

Testing

The tests developed are functional tests and need an instance of Google Cloud Storage up and running. For testing purposes, we use fake-gcs-server, which is an emulator for Google Cloud Storage.

To run Google Cloud Storage locally using the emulator with HTTP protocol:

docker run -p 4443:4443 --name twin-blob-gcp -d fsouza/fake-gcs-server -scheme http

This command pulls and runs the fake-gcs-server Docker image, which provides a local emulation of Google Cloud Storage. We use the -scheme http flag to configure the emulator to use HTTP instead of HTTPS for local testing purposes. This simplifies the setup and avoids potential SSL/TLS configuration issues in the local environment.

Afterwards you can run the tests as follows:

npm run test

Note that while we use HTTP for local testing, in a production environment, you should always use HTTPS for secure communication with Google Cloud Storage.

Examples

Usage of the APIs is shown in the examples docs/examples.md

Reference

Detailed reference documentation for the API can be found in docs/reference/index.md

Changelog

The changes between each version can be found in docs/changelog.md

0.0.1-next.28

4 months ago

0.0.1-next.27

4 months ago

0.0.1-next.26

4 months ago

0.0.1-next.22

4 months ago

0.0.1-next.21

4 months ago

0.0.1-next.24

4 months ago

0.0.1-next.23

4 months ago

0.0.1-next.25

4 months ago

0.0.1-next.20

4 months ago

0.0.1-next.19

5 months ago

0.0.1-next.18

6 months ago

0.0.1-next.17

7 months ago

0.0.1-next.16

7 months ago

0.0.1-next.10

8 months ago

0.0.1-next.13

8 months ago

0.0.1-next.12

8 months ago

0.0.1-next.15

8 months ago

0.0.1-next.14

8 months ago

0.0.1-next.9

8 months ago

0.0.1-next.8

8 months ago

0.0.1-next.7

8 months ago