@twin.org/blob-storage-connector-gcp v0.0.1-next.27
TWIN Blob Storage Connector Google Cloud Storage
Blob Storage connector implementation using Google Cloud Storage.
Installation
npm install @twin.org/blob-storage-connector-gcpTesting
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 httpThis 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 testNote 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
10 months ago
10 months ago
10 months ago
11 months ago
11 months ago
10 months ago
10 months ago
10 months ago
11 months ago
12 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago