← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 2590.d.2.a

资源匹配即接口

理解等级:高级

资源匹配用云平台 API 按名称、标签等特征发现依赖,双方不必使用同一种基础设施工具。但匹配规则一旦被依赖就成为接口,即使提供者并不知道消费者存在。只应依赖提供者明确支持的匹配规则,并把规则变更当契约变更处理。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 集成基础设施栈 · 查看原书依据

      As soon as a consumer stack implements Resource Matching to discover a resource from another stack, the matching pattern becomes a contract. If someone changes the naming pattern of the subnet in the core networking stack, the consumer’s dependency breaks. The consumer can implement Resource Matching for any resource created by another stack, even if

    参考来源

    - 位置:《Infrastructure As Code》第9章《集成基础设施栈》(来源项目:book-sources;源文件:extracted/Infrastructure As Code/_epub-src/OEBPS/ch09.html) - 结论依据:原文说明资源匹配用云平台 API 按名称、标签等特征发现依赖,双方不必使用同一种基础设施工具;本卡据此解释其用途及适用边界。 - 原始内容:As soon as a consumer stack implements Resource Matching to discover a resource from another stack, the matching pattern becomes a contract. If someone changes the naming pattern of the subnet in the core networking stack, the consumer’s dependency breaks. The consumer can implement Resource Matching for any resource created by another stack, even if