知识卡片

普通读书笔记卡 · 1841.h.2.b.3

接口兼容需分层验证

理解等级:中级

API变更首先检查规格结构,再把新规格部署到沙箱执行功能验证,随后检验跨服务契约。各层承担不同责任:文档合法不等于实现正确,实现正确也不等于已有消费者兼容。最后配合生产开关和监控,才能覆盖变化的不同阶段。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Engineering Incremental Change · 查看原书依据

      In the case of API changes, the architects designed a multipart fitness function. Stage 1 of the verification chain starts with the design and definition of the new API, published in openapi.yaml. The team verifies the structure and other aspects of the new specification using Spectral and OpenAPI.Tools.

    参考来源

    - 位置:《Building Evolutionary Architectures Automated Software Governance, 2nd Edition》第03章《Engineering Incremental Change》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Evolutionary Architectures Automated Software Governance, 2nd Edition/_epub-src/OEBPS/ch03.html;段落定位:Stage 1 of the verification chain starts) - 结论依据:原文对“接口兼容需分层验证”的定义或案例,支撑“API变更首先检查规格结构,再把新规格部署到沙箱执行功能验证,随后检验跨服务契约”的归纳。据其上下文,各层承担不同责任:文档合法不等于实现正确,实现正确也不等于已有消费者兼容。 - 原始内容:In the case of API changes, the architects designed a multipart fitness function. Stage 1 of the verification chain starts with the design and definition of the new API, published in openapi.yaml. The team verifies the structure and other aspects of the new specification using Spectral and OpenAPI.Tools.