Skip to content

Commit 320276f

Browse files
feat: add ScyllaDB adapter with sync/async support and BDD tests
1 parent d2599b7 commit 320276f

13 files changed

Lines changed: 2744 additions & 206 deletions

File tree

.env.test

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,11 @@ MINIO__IMAGE=quay.io/minio/minio:latest
5959
MINIO__ENDPOINT=localhost:9000
6060
MINIO__ACCESS_KEY=test_access_key
6161
MINIO__SECRET_KEY=test_secret_key
62+
63+
# ScyllaDB Configuration
64+
SCYLLADB__IMAGE=scylladb/scylla:2025.3
65+
SCYLLADB__CONTACT_POINTS=["localhost"]
66+
SCYLLADB__PORT=9042
67+
SCYLLADB__PROTOCOL_VERSION=4
68+
SCYLLADB__COMPRESSION=true
69+
SCYLLADB__DISABLE_SHARD_AWARENESS=true
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
"""ScyllaDB adapter module.
2+
3+
This module provides adapters for interacting with ScyllaDB/Cassandra databases
4+
using the Ports & Adapters pattern.
5+
"""
6+
7+
from archipy.adapters.scylladb.adapters import AsyncScyllaDBAdapter, ScyllaDBAdapter
8+
from archipy.adapters.scylladb.ports import AsyncScyllaDBPort, ScyllaDBPort
9+
10+
__all__ = [
11+
"AsyncScyllaDBAdapter",
12+
"AsyncScyllaDBPort",
13+
"ScyllaDBAdapter",
14+
"ScyllaDBPort",
15+
]

0 commit comments

Comments
 (0)