testcontainers / testcontainers/testcontainers-python
New Container: Solr
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 2.3k
- 派生
- 386
- 平均合并
- 4 小时 40 分钟
- 30 天内合并 PR
- 1
描述
What is the new container you'd like to have?
Apache Solr
- https://hub.docker.com/_/solr
- https://solr.apache.org/guide/solr/latest/deployment-guide/solr-in-docker.html
Why not just use a generic container for this?
Similar to OpenSearch and Elasticsearch, there's a somewhat complicated setup and wait strategy that needs to be used. This is handled already in the Java implementation.
Other references:
Solr is already supported in the Java testcontainers library: https://java.testcontainers.org/modules/solr/
This enhancement would bring the same support to Python, allowing tests to be written with Pysolr and Testcontainers with minimal setup.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先查看 issue 中链接的 Java SolrContainer 实现以及 Apache Solr Docker 部署参考。将现有的 Python 容器模块与所请求的设置和等待策略进行比较。当使用 Pysolr 的 Python 测试能够通过最少的设置获得 Solr 支持,并与所述的 Java 支持一致时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- docker, python
- 领域
- databases, testing
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100