Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions docs/modules/azurite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Azurite Module

[Azurite](https://github.com/Azure/Azurite) is an open source Azure Storage API compatible server (emulator). Based on Node.js, Azurite provides cross platform experiences for developers wanting to try Azure Storage easily in a local environment. Azurite simulates most of the commands supported by Azure Storage with minimal dependencies.

## Install

```bash
npm install @testcontainers/azurite --save-dev
```

## Examples

<!--codeinclude-->
[Upload and download a blob:](../../packages/modules/azurite/src/azurite-container.test.ts) inside_block:uploadAndDownloadBlob
<!--/codeinclude-->

<!--codeinclude-->
[Send and receive queue messages:](../../packages/modules/azurite/src/azurite-container.test.ts) inside_block:sendAndReceiveQueue
<!--/codeinclude-->

<!--codeinclude-->
[Create and insert on table:](../../packages/modules/azurite/src/azurite-container.test.ts) inside_block:createAndInsertOnTable
<!--/codeinclude-->

<!--codeinclude-->
[Use custom credentials:](../../packages/modules/azurite/src/azurite-container.test.ts) inside_block:customCredentials
<!--/codeinclude-->

<!--codeinclude-->
[Use custom ports:](../../packages/modules/azurite/src/azurite-container.test.ts) inside_block:customPorts
<!--/codeinclude-->

<!--codeinclude-->
[Enable in-memory persistence:](../../packages/modules/azurite/src/azurite-container.test.ts) inside_block:inMemoryPersistence
<!--/codeinclude-->
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ nav:
- Advanced: features/advanced.md
- Modules:
- ArangoDB: modules/arangodb.md
- Azurite: modules/azurite.md
- Cassandra: modules/cassandra.md
- ChromaDB: modules/chromadb.md
- Couchbase: modules/couchbase.md
Expand Down
182 changes: 177 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions packages/modules/azurite/jest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import type { Config } from "jest";
import * as path from "path";

const config: Config = {
preset: "ts-jest",
moduleNameMapper: {
"^testcontainers$": path.resolve(__dirname, "../../testcontainers/src"),
},
};

export default config;
39 changes: 39 additions & 0 deletions packages/modules/azurite/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"name": "@testcontainers/azurite",
"version": "10.13.2",
"license": "MIT",
"keywords": [
"azurite",
"testing",
"docker",
"testcontainers"
],
"description": "Azurite module for Testcontainers",
"homepage": "https://github.com/testcontainers/testcontainers-node#readme",
"repository": {
"type": "git",
"url": "https://github.com/testcontainers/testcontainers-node"
},
"bugs": {
"url": "https://github.com/testcontainers/testcontainers-node/issues"
},
"main": "build/index.js",
"files": [
"build"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"prepack": "shx cp ../../../README.md . && shx cp ../../../LICENSE .",
"build": "tsc --project tsconfig.build.json"
},
"dependencies": {
"testcontainers": "^10.13.2"
},
"devDependencies": {
"@azure/data-tables": "^13.2.2",
"@azure/storage-blob": "^12.25.0",
"@azure/storage-queue": "^12.24.0"
}
}
Loading
Loading