New Container: Couchbase
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 48/100
Direção de pesquisa
Comece revisando as referências de Java Couchbase Testcontainers e a documentação de primeiros passos do Couchbase com Docker. Defina a inicialização do contêiner Python, as credenciais, a configuração de Bucket/Scope/Collection, as portas e as interações com couchbase-python-client. Considera-se concluído quando uma classe dedicada de Testcontainers estiver pronta para testes de integração e de sistema, com essas etapas de configuração tratadas automaticamente.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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:
- Linguagem predominante
- Python
- Estrelas
- 2.3k
- Forks
- 397
- Merge médio
- 8d 16h
- PRs com merge (30d)
- 5
Preparar o ambiente
Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.
- Inclui um Dockerfile ou arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de testcontainers/testcontainers-python
-
Feature: Stream bytes out on copy_from_containerTalvez já em andamento @archit15singh assumiu há 11 dias. Aberta🚀 enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 67/100
-
Bug: HttpWaitStrategy ignores response predicates for accepted HTTP error statusesTalvez já em andamento @PranavMulakala assumiu há 41 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
-
Bug: LogMessageWaitStrategy: a container that exits before its message raises without its logs, and __enter__ then removes the containerTalvez já em andamento @granzer69 assumiu há 42 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
-
Updating the documentationAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 67/100
testcontainers/testcontainers-python#1086 · 1 comentário ·
-
Bug: [minio] _healthcheck calls for nested wait_container_is_ready resulting in long wait timeAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
testcontainers/testcontainers-python#578 · 5 comentários ·
Todas as issues de testcontainers/testcontainers-python
Issues semelhantes
-
bug feature request
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 67/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 66/100
Mantenedores costumam responder em até 3 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
Qiskit/qiskit-obp#156 ·
-
perf(batch-jobs): discover-misses reads the state list without running the whole stage reportAbertaaction-item enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
getcommunityone/open-navigator#1658 ·
Mantenedores costumam responder em até 1 dia
-
review-panel severity:low
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
kristovatlas/coin-accounting#636 ·
Mantenedores costumam responder em até 1 dia