New Container: Couchbase
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
Línea de trabajo
Comienza revisando las referencias de Java Couchbase Testcontainers y la documentación de Couchbase para empezar a usar Docker. Define la inicialización del contenedor de Python, las credenciales, la configuración de Bucket/Scope/Collection, los puertos y las interacciones con couchbase-python-client. Se considera terminado cuando haya una clase dedicada de Testcontainers lista para las pruebas de integración y de sistema, con estos pasos de configuración gestionados automáticamente.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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:
- Lenguaje dominante
- Python
- Estrellas
- 2.3k
- Forks
- 397
- Merge medio
- 8 d 16 h
- PR fusionados (30 d)
- 5
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de testcontainers/testcontainers-python
-
Feature: Stream bytes out on copy_from_containerPosiblemente ocupada @archit15singh la tomó hace 11 días. Abierto🚀 enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
-
Bug: HttpWaitStrategy ignores response predicates for accepted HTTP error statusesPosiblemente ocupada @PranavMulakala la tomó hace 41 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
-
Bug: LogMessageWaitStrategy: a container that exits before its message raises without its logs, and __enter__ then removes the containerPosiblemente ocupada @granzer69 la tomó hace 42 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
-
Updating the documentationAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
testcontainers/testcontainers-python#1086 · 1 comentario ·
-
Bug: [minio] _healthcheck calls for nested wait_container_is_ready resulting in long wait timeAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
testcontainers/testcontainers-python#578 · 5 comentarios ·
Todos los issues de testcontainers/testcontainers-python
Issues similares
-
bug feature request
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Qiskit/qiskit-obp#156 ·
-
perf(batch-jobs): discover-misses reads the state list without running the whole stage reportAbiertoaction-item enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
getcommunityone/open-navigator#1658 ·
Los mantenedores suelen responder en 1 día
-
review-panel severity:low
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
kristovatlas/coin-accounting#636 ·
Los mantenedores suelen responder en 1 día