← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 2275.as.6.f.3.c.9.b.1.c.3 · 生成模型:未记录

按契约版本记录符合性

理解等级:中级

部署后通过网关访问服务,用预期契约检查真实路由及响应。保存包含失败定位信息的报告,并以制品版本把通过记录绑定到具体 OpenAPI,门户或发布者据此核对该版本的验证状态。生产化时测试输入与被标记版本应来自同一构建引用,避免并发发布时依赖 latest。

定义存在多种视图时,用[[设计视图与线上视图]]确认测试基线是否对应消费者所见。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    参考来源

    - 位置:《Automating API Delivery APIOps with OpenAPI》《第 09 章 API 制品的构建与配置部署》(9.4.5 Deploying in your example pipeline;来源项目 book-source,extracted/Automating API Delivery APIOps with OpenAPI/_epub-src/OEBPS/Text/chapter-9.xhtml#p266) - 结论依据:原文说明归档报告、仅测试成功时在注册表标记对应定义,并据此决定后续分发。 - 原始内容:Finally, add a step to archive your test report (so you can view it after the pipeline run), and add a step to mark the API definition file as passing conformance testing if the run succeeds (see the next listing).