New Container: Couchbase
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 48/100
Piste de recherche
Commencez par examiner les références Java Couchbase Testcontainers et la documentation de démarrage de Couchbase avec Docker. Définissez l’initialisation du conteneur Python, les identifiants, la configuration de Bucket/Scope/Collection, les ports et les interactions avec couchbase-python-client. Le travail est considéré comme terminé lorsqu’une classe Testcontainers dédiée est prête pour les tests d’intégration et les tests système, avec ces étapes de configuration gérées automatiquement.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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:
- Langage dominant
- Python
- Étoiles
- 2.3k
- Forks
- 397
- Merge moyen
- 8 j 16 h
- PR mergées (30 j)
- 5
Préparer son environnement
Lance le conteneur de développement du projet dans votre navigateur, avec votre propre compte GitHub.
- Fournit un Dockerfile ou un fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de testcontainers/testcontainers-python
-
Feature: Stream bytes out on copy_from_containerPeut-être pris @archit15singh l’a pris il y a 11 jours. Ouverte🚀 enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 67/100
-
Bug: HttpWaitStrategy ignores response predicates for accepted HTTP error statusesPeut-être pris @PranavMulakala l’a pris il y a 41 jours. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 85/100
-
Bug: LogMessageWaitStrategy: a container that exits before its message raises without its logs, and __enter__ then removes the containerPeut-être pris @granzer69 l’a pris il y a 42 jours. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
-
Updating the documentationOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 67/100
testcontainers/testcontainers-python#1086 · 1 commentaire ·
-
Bug: [minio] _healthcheck calls for nested wait_container_is_ready resulting in long wait timeOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
testcontainers/testcontainers-python#578 · 5 commentaires ·
Toutes les issues de testcontainers/testcontainers-python
Issues similaires
-
bug feature request
Difficulté 2/5 1-3 heures Accessibilité débutants 67/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 1-3 heures Accessibilité débutants 66/100
Les mainteneurs répondent en général sous 3 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
Qiskit/qiskit-obp#156 ·
-
perf(batch-jobs): discover-misses reads the state list without running the whole stage reportOuverteaction-item enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
getcommunityone/open-navigator#1658 ·
Les mainteneurs répondent en général sous 1 jour
-
review-panel severity:low
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
kristovatlas/coin-accounting#636 ·
Les mainteneurs répondent en général sous 1 jour