Skip to content

Conversation

@heimanba
Copy link
Contributor

  • 将 rewrite 字段从必填改为非必填,反映配置灵活性调整
  • 更新 rules 中 name 字段的关联,从 deploy.gray[].name 改为 grayDeployments[].name
  • 修改 backendVersion 和 enabled 字段为非必填,提升配置兼容性
  • 同步更新中英文 README 及 spec.yaml 文件中的字段描述与要求
  • 修正文档中部分描述文本,确保术语一致性和准确性

- 将 rewrite 字段从必填改为非必填,反映配置灵活性调整
- 更新 rules 中 name 字段的关联,从 deploy.gray[].name 改为 grayDeployments[].name
- 修改 backendVersion 和 enabled 字段为非必填,提升配置兼容性
- 同步更新中英文 README 及 spec.yaml 文件中的字段描述与要求
- 修正文档中部分描述文本,确保术语一致性和准确性

Change-Id: I78921e8b2160fc59ac8ad29cb8f722732b970c5a
Co-developed-by: Qoder <[email protected]>
@CLAassistant
Copy link

CLAassistant commented Oct 24, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ Erica177
❌ 丹坤


丹坤 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@lingma-agents
Copy link

lingma-agents bot commented Oct 24, 2025

调整前端灰度插件配置字段的必填说明及关联关系

变更概述
  • 文档

    • rewrite 字段在中英文文档和 spec.yaml 中由必填改为非必填,体现其可选配置特性。
    • 更新 rules[].name 字段的描述,明确指出它应与 grayDeployments[].name 进行关联以生效,取代了原先错误地指向 deploy.gray[].name 的引用。
    • backendVersionenabled 字段在文档和 spec.yaml 中标记为非必填,提高配置灵活性和兼容性。
    • 统一并修正了中英文文档及 spec.yaml 文件中的字段描述语言,保证术语一致性。
  • 配置调整

    • spec.yaml 中更新多个位置对 namebackendVersionenabled 等字段的要求和描述,使其更符合实际使用逻辑。
变更文件
文件路径 变更说明
backend/​sdk/​src/​main/​resources/​plugins/​frontend-gray/​README.​md 修改了 `rewrite`、`rules[].name`、`backendVersion` 和 `enabled` 等字段的填写要求,并更新了相关描述。
backend/​sdk/​src/​main/​resources/​plugins/​frontend-gray/​README_​EN.​md 英文文档同步修改了对应字段的填写要求和描述内容。
backend/​sdk/​src/​main/​resources/​plugins/​frontend-gray/​spec.​yaml 在规范文件中将 `rewrite`、`backendVersion` 和 `enabled` 设置为非必填项,并更新了多处关于 `name` 字段与其他对象关联的描述。

💡 小贴士

与 lingma-agents 交流的方式

📜 直接回复评论
直接回复本条评论,lingma-agents 将自动处理您的请求。例如:

  • 在当前代码中添加详细的注释说明。

  • 请详细介绍一下你说的 LRU 改造方案,并使用伪代码加以说明。

📜 在代码行处标记
在文件的特定位置创建评论并 @lingma-agents。例如:

  • @lingma-agents 分析这个方法的性能瓶颈并提供优化建议。

  • @lingma-agents 对这个方法生成优化代码。

📜 在讨论中提问
在任何讨论中 @lingma-agents 来获取帮助。例如:

  • @lingma-agents 请总结上述讨论并提出解决方案。

  • @lingma-agents 请根据讨论内容生成优化代码。

@heimanba heimanba merged commit 198afc2 into main Oct 30, 2025
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants