New Container: Couchbase
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
Hướng nghiên cứu
Bắt đầu bằng việc xem xét các tài liệu tham chiếu về Java Couchbase Testcontainers và tài liệu hướng dẫn bắt đầu sử dụng Docker của Couchbase. Xác định việc khởi tạo container Python, thông tin xác thực, thiết lập Bucket/Scope/Collection, các cổng và các tương tác với couchbase-python-client. Hoàn thành khi một lớp Testcontainers chuyên biệt sẵn sàng cho các bài kiểm thử tích hợp và kiểm thử hệ thống, với các bước thiết lập này được xử lý tự động.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What is the new container you'd like to have?
I would like to contribute a Couchbase container. More documentation here.
Couchbase Server is a powerful NoSQL database designed for high performance and scalability. It provides fast, low-latency data access with built-in replication and high availability. It also supports SQL-like queries through N1QL, making it easy to work with for developers familiar with relational databases.
I am proposing a dedicated Couchbase TestContainer for integration/system testing when using Couchbase as a NoSQL database.
Why not just use a generic container for this?
A dedicated custom Couchbase container is beneficial because it provides an abstraction layer when using it together with couchbase-python-client library. The container also allows for the simple and easy setup and interactions with the Couchbase database server via the couchbase-python-client.
Additionally, the container requires some initialization steps before it is ready to serve requests, such as setting up authentication credentials and creating a default bucket, scope, and collection. There are also several ports that need to be configured. Having these steps handled automatically in a dedicated Couchbase TestContainer class simplifies the process and ensures that the test container is ready to use quickly, with most of the necessary setup pre-configured. This results in a smoother integration and testing experience.
Other references:
The Java version of Testcontainers already supports Couchbase and is widely used within the community. Given its popularity, it would be beneficial to have similar functionality available for Python as well. Below are references to the Couchbase Testcontainers in Java:
- Ngôn ngữ chính
- Python
- Star
- 2.3k
- Fork
- 397
- Merge trung bình
- 8 ngày 16 giờ
- Pull request đã merge (30 ngày)
- 5
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của testcontainers/testcontainers-python
-
Feature: Stream bytes out on copy_from_containerCó thể đã có người làm @archit15singh đã nhận 11 ngày trước. Đang mở🚀 enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
-
Bug: HttpWaitStrategy ignores response predicates for accepted HTTP error statusesCó thể đã có người làm @PranavMulakala đã nhận 41 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
-
Bug: LogMessageWaitStrategy: a container that exits before its message raises without its logs, and __enter__ then removes the containerCó thể đã có người làm @granzer69 đã nhận 42 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
Updating the documentationĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
testcontainers/testcontainers-python#1086 · 1 bình luận ·
-
Bug: [minio] _healthcheck calls for nested wait_container_is_ready resulting in long wait timeĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
testcontainers/testcontainers-python#578 · 5 bình luận ·
Tất cả issue của testcontainers/testcontainers-python
Issue tương tự
-
bug feature request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Qiskit/qiskit-obp#156 ·
-
perf(batch-jobs): discover-misses reads the state list without running the whole stage reportĐang mởaction-item enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
getcommunityone/open-navigator#1658 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
review-panel severity:low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
kristovatlas/coin-accounting#636 ·
Maintainer thường phản hồi trong vòng 1 ngày