Spring
為何選擇 Spring
概覽 微服務 響應式 事件驅動 雲 Web 應用程式 無伺服器 批處理
學習
概覽 快速入門 指南 部落格
專案
概覽 Spring Boot Spring Framework Spring Cloud Spring Cloud Data Flow Spring Data Spring Integration Spring Batch Spring Security 檢視所有專案
  • 開發工具
  • Spring Tools 4 Spring Initializr
    學院
    課程 獲取認證
    解決方案
    概覽 Spring Runtime Spring 諮詢 Spring 團隊學院 安全公告
    社群
    概覽 活動 團隊
    spring-cloud-contract 4.2.1
      • Spring Cloud Contract 參考文件
      • 法律宣告
      • 入門
        • Spring Cloud Contract 簡介
        • 三秒速覽
        • 開發您的第一個基於 Spring Cloud Contract 的應用程式
        • 消費者驅動契約(CDC)分步指南:契約在生產者側
        • 下一步
      • 使用 Spring Cloud Contract
        • 使用 Nexus 或 Artifactory 中的存根進行提供者契約測試
        • 使用 Git 中的存根進行提供者契約測試
        • 契約在生產者側的消費者驅動契約
        • 契約在外部倉庫的消費者驅動契約
        • 契約在生產者側並推送到 Git 的消費者驅動契約
        • 使用 Artifactory 中的存根對非 Spring 應用程式進行提供者契約測試
        • 在非 JVM 環境下使用 Artifactory 中的存根進行提供者契約測試
        • 使用 REST Docs 和 Nexus 或 Artifactory 中的存根進行提供者契約測試
      • Spring Cloud Contract 特性
        • 契約 DSL
          • 常見的頂級元素
          • 動態屬性
        • Spring Cloud Contract 整合
          • JAX-RS
          • 結合 WebTestClient 使用 WebFlux
          • 結合顯式模式使用 WebFlux
          • 自定義模式
          • 使用 Context Paths
          • 使用 REST Docs
          • GraphQL
          • GRPC
        • 訊息傳遞
        • Spring Cloud Contract Stub Runner
          • 快照版本
          • 將存根釋出為 JAR
          • Stub Runner Core
          • Stub Runner JUnit Rule 和 Stub Runner JUnit5 Extension
          • Stub Runner Spring Cloud
          • 使用 Stub Runner Boot 應用程式
          • 消費者驅動契約:每個消費者的存根
          • 從某個位置獲取存根或契約定義
          • 在執行時生成存根
          • 無存根時失敗
          • 通用屬性
        • Spring Cloud Contract WireMock
      • 構建工具
        • Docker 專案
        • Gradle 專案
        • Maven 專案
      • “如何做”指南
        • 為何使用 Spring Cloud Contract?
        • 如何用 Groovy 以外的語言編寫契約?
        • 如何為契約提供動態值?
        • 如何進行存根版本控制?
        • 如何使用一個公共倉庫儲存契約,而不是將其儲存在生產者側?
        • 如何使用 Git 作為契約和存根的儲存?
        • 如何除錯由生成的測試客戶端傳送的請求/響應?
        • 如何除錯由 WireMock 傳送的對映、請求或響應?
        • 如何檢視 HTTP 伺服器存根中註冊了什麼?
        • 如何引用檔案中的文字?
        • 如何從 Spring Cloud Contract 契約生成 YAML 或 X 檔案?
        • 如何處理傳遞性依賴?
        • 如何從契約生成 Spring REST Docs 片段?
        • 如何使用來自某個位置的存根
        • 如何在執行時生成存根
        • 在沒有契約或存根時如何使構建透過
        • 如何標記契約正在進行中
      • Spring Cloud Contract 定製
        • DSL 定製
        • WireMock 定製
        • 使用可插拔架構
      • 常見的應用程式屬性
        • 如何構建 Spring Cloud Contract
        • 配置屬性
        • YML 模式

    Spring 專案

    • Spring Boot
    • Spring Framework
    • Spring Cloud
      • Spring Cloud Build
      • Spring Cloud Bus
      • Spring Cloud Circuit Breaker
      • Spring Cloud Commons
      • Spring Cloud Config
      • Spring Cloud Consul
      • Spring Cloud Contract
      • Spring Cloud Function
      • Spring Cloud Gateway
      • Spring Cloud Kubernetes
      • Spring Cloud Netflix
      • Spring Cloud OpenFeign
      • Spring Cloud Stream
      • Spring Cloud Task
      • Spring Cloud Vault
      • Spring Cloud Zookeeper
    • Spring Data
      • Spring Data Cassandra
      • Spring Data Commons
      • Spring Data Couchbase
      • Spring Data Elasticsearch
      • Spring Data JPA
      • Spring Data KeyValue
      • Spring Data LDAP
      • Spring Data MongoDB
      • Spring Data Neo4j
      • Spring Data Redis
      • Spring Data JDBC & R2DBC
      • Spring Data REST
    • Spring Integration
    • Spring Batch
    • Spring Security
      • Spring Authorization Server
      • Spring LDAP
      • Spring Security Kerberos
      • Spring Session
      • Spring Vault
    • Spring AI
    • Spring AMQP
    • Spring CLI
    • Spring GraphQL
    • Spring for Apache Kafka
    • Spring Modulith
    • Spring for Apache Pulsar
    • Spring Shell
    • spring-cloud-contract
      • 4.3.0-SNAPSHOT
      • 4.3.0-RC1
      • 4.2.1當前版本
      • 4.1.6-SNAPSHOT
      • 4.1.5
    • 相關 Spring 文件
      • Spring Boot
      • Spring Framework
      • Spring Cloud
        • Spring Cloud Build
        • Spring Cloud Bus
        • Spring Cloud Circuit Breaker
        • Spring Cloud Commons
        • Spring Cloud Config
        • Spring Cloud Consul
        • Spring Cloud Contract
        • Spring Cloud Function
        • Spring Cloud Gateway
        • Spring Cloud Kubernetes
        • Spring Cloud Netflix
        • Spring Cloud OpenFeign
        • Spring Cloud Stream
        • Spring Cloud Task
        • Spring Cloud Vault
        • Spring Cloud Zookeeper
      • Spring Data
        • Spring Data Cassandra
        • Spring Data Commons
        • Spring Data Couchbase
        • Spring Data Elasticsearch
        • Spring Data JPA
        • Spring Data KeyValue
        • Spring Data LDAP
        • Spring Data MongoDB
        • Spring Data Neo4j
        • Spring Data Redis
        • Spring Data JDBC & R2DBC
        • Spring Data REST
      • Spring Integration
      • Spring Batch
      • Spring Security
        • Spring Authorization Server
        • Spring LDAP
        • Spring Security Kerberos
        • Spring Session
        • Spring Vault
      • Spring AI
      • Spring AMQP
      • Spring CLI
      • Spring GraphQL
      • Spring for Apache Kafka
      • Spring Modulith
      • Spring for Apache Pulsar
      • Spring Shell
    • 所有文件...
    Spring

    版權所有 © 2005 -Broadcom。保留所有權利。“Broadcom”一詞指 Broadcom Inc. 和/或其子公司。
    使用條款 • 隱私政策 • 商標指南 • 致謝 • 您的加州隱私權 • Cookie 設定

    Apache®, Apache Tomcat®, Apache Kafka®, Apache Cassandra™, 和 Apache Geode™ 是 Apache Software Foundation 在美國和/或其他國家/地區的商標或註冊商標。Java™、Java™ SE、Java™ EE 和 OpenJDK™ 是 Oracle 和/或其附屬公司的商標。Kubernetes® 是 Linux Foundation 在美國和其他國家/地區的註冊商標。Linux® 是 Linus Torvalds 在美國和其他國家/地區的註冊商標。Windows® 和 Microsoft® Azure 是 Microsoft Corporation 的註冊商標。“AWS” 和 “Amazon Web Services” 是 Amazon.com Inc. 或其附屬公司的商標或註冊商標。所有其他商標和版權均屬於其各自所有者,在此僅用於提供資訊。其他名稱可能是其各自所有者的商標。

    在所有 Spring 文件中搜索