0.0.1-next.7 • Published 6 months ago

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

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
6 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

6 months ago

0.0.1-next.27

6 months ago

0.0.1-next.26

7 months ago

0.0.1-next.22

7 months ago

0.0.1-next.21

7 months ago

0.0.1-next.24

7 months ago

0.0.1-next.23

7 months ago

0.0.1-next.25

7 months ago

0.0.1-next.20

7 months ago

0.0.1-next.19

8 months ago

0.0.1-next.18

8 months ago

0.0.1-next.17

10 months ago

0.0.1-next.16

10 months ago

0.0.1-next.10

11 months ago

0.0.1-next.13

11 months ago

0.0.1-next.12

11 months ago

0.0.1-next.15

11 months ago

0.0.1-next.14

11 months ago

0.0.1-next.9

11 months ago

0.0.1-next.8

11 months ago

0.0.1-next.7

11 months ago