Simplify and unify hazelcast-code-samples
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 20/100
- Issue 类型
- 重构
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 领域
- build-system, ci-cd
调研方向
首先检查 214 个示例模块、它们的 312 个主类、Shell 脚本以及父 POM 配置。比较示例的启动和关闭方式,然后考虑哪些候选项可以统一或移除。拟议的结果是一个更小且命名一致的示例集,可通过 maven-exec-plugin 运行,并适合 Jenkins 验证,但该 issue 未指出具体的文件或测试。
由索引模型根据 Issue 内容生成。
描述
I would like to open discussion about simplifying and unifying code samples. The idea behind is to provide unified experience to users and allow QE to verify the samples in a CI job.
Suggested improvements:
- use one main class per sample and unify its name across the samples (e.g.
Main.java), so the maven-exec-plugin can be configured in the parent POM and users can usemvn exec:javain each sample - shut down the whole cluster at the end of each sample
- remove shell scripts - the maven-exec-plugin shall be used instead (lets provide
README.mdwhere necessary) - use
System.outto print what the samples do- it will allow to introduce basic test automation in Jenkins
We should also think about slimming down the samples - i.e. find candidates for a removal. We have 214 modules with 312 main classes included now. Such amount is not easy to maintain. I would prefer to have 100 main classes at most.
Comments and suggestions for other improvements are welcome.
- 主要语言
- Java
- 星标
- 558
- 派生
- 599
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
hazelcast/hazelcast-code-samples 的其他 Issue
-
[BUG] ClassLoader Leak / Metaspace OOM: Unmanaged static ThreadLocal<Kryo> in PersonKryoSerializer未关闭
难度 5/5 一周以上 新手友好度 35/100
-
难度 3/5 1-2 天 新手友好度 45/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 2/5 1-3 小时 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 35/100
hazelcast/hazelcast-code-samples#553 · 4 条评论 ·
查看 hazelcast/hazelcast-code-samples 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 66/100
tchiotludo/akhq#3438 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 66/100
Paul-Austin-Oswego-CSC480-HCI521/gift-app#266 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
ome/bioformats#4509 ·
维护者通常 2 天内回复
-
module/email Type/Bug
难度 2/5 1-3 小时 新手友好度 79/100
ballerina-platform/ballerina-library#9758 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
Azure/azure-functions-java-worker#909 · 1 个 reaction ·