New Container: Couchbase
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
Inizia esaminando i riferimenti Java Couchbase Testcontainers e la documentazione introduttiva di Couchbase per Docker. Definisci l'inizializzazione del container Python, le credenziali, la configurazione di Bucket/Scope/Collection, le porte e le interazioni con couchbase-python-client. Il lavoro è completato quando una classe Testcontainers dedicata è pronta per i test di integrazione e di sistema, con questi passaggi di configurazione gestiti automaticamente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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:
- Lingua principale
- Python
- Stelle
- 2.3k
- Fork
- 397
- Merge medio
- 8g 16h
- PR unite (30g)
- 5
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di testcontainers/testcontainers-python
-
Feature: Stream bytes out on copy_from_containerForse già presa @archit15singh l’ha presa 11 giorni fa. Aperta🚀 enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
-
Bug: HttpWaitStrategy ignores response predicates for accepted HTTP error statusesForse già presa @PranavMulakala l’ha presa 41 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
-
Bug: LogMessageWaitStrategy: a container that exits before its message raises without its logs, and __enter__ then removes the containerForse già presa @granzer69 l’ha presa 42 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Updating the documentationAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
testcontainers/testcontainers-python#1086 · 1 commento ·
-
Bug: [minio] _healthcheck calls for nested wait_container_is_ready resulting in long wait timeAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
testcontainers/testcontainers-python#578 · 5 commenti ·
Tutte le issue di testcontainers/testcontainers-python
Issue simili
-
bug feature request
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
Qiskit/qiskit-obp#156 ·
-
perf(batch-jobs): discover-misses reads the state list without running the whole stage reportApertaaction-item enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
getcommunityone/open-navigator#1658 ·
I maintainer di solito rispondono entro 1 giorno
-
review-panel severity:low
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
kristovatlas/coin-accounting#636 ·
I maintainer di solito rispondono entro 1 giorno