Spring Cloud Contract (HTTP)

Sdílet
Vložit
  • čas přidán 7. 09. 2024
  • Speaker: Josh Long
    / starbuxman
    Hi Spring fans! In this tip, we'll look at how to get fast-feedback and do integration testing with Spring Cloud Contract. In this video, we'll focus on HTTP-based services.

Komentáře • 12

  • @pramodnikam1
    @pramodnikam1 Před 6 lety +3

    Best rapid coverage of CDC

  • @ahzaghloul171056
    @ahzaghloul171056 Před 2 lety +1

    awesome one , keep it up 👌

  • @jameskoh3463
    @jameskoh3463 Před 9 dny

    The tests are written using JUnit 4 (?), but I am using JUnit 5 now and I just can't mock the JPA Repository and the RestTemplate properly ... 😥
    Errors keep showing up indicating that they actually trying to do real connections (and failed) ...

  • @NeerajSinghBadal
    @NeerajSinghBadal Před 2 lety

    thanks nice explanations with example

  • @alexandersmirnov4274
    @alexandersmirnov4274 Před 2 lety

    Thanks, Josh!

  • @jj2006h
    @jj2006h Před 2 lety +1

    excelanto 🤩

  • @maopuerta3430
    @maopuerta3430 Před 2 lety +2

    excellent video. Example with spring webflux???

  • @dsergespb111
    @dsergespb111 Před 2 lety

    nice presentation .
    what is the recommended way for work with clients - put all of them into 1 git repository or create a new repository for every service?
    example:
    repository: service A
    repository: service B
    repository: service C
    repository: clients:
    module: service A client
    module: service B client
    module: service C client
    or
    repository: service A
    repository: service A client
    repository: service B
    repository: service B client
    repository: service C
    repository: service C client
    ?

    • @agguLi
      @agguLi Před rokem

      I highly recommend to use one repo per service. This will be much easier to handle when you combine a build pipeline and build triggers. In addition it underlines the principle of encapsulation of microservices.

  • @vpsrj
    @vpsrj Před 6 lety

    Why it's unlisted?

  • @jameskoh3463
    @jameskoh3463 Před 9 dny

    I need to use 0.75x haha ...

  • @agrinbrg
    @agrinbrg Před 2 lety

    Hi I am using -spring-cloud-contract ver 3.0.0
    I have contracts written in groovy and specify in gradle.build file BaseCallForTest ,unfortunately my ContractVerifierTest classes generated without extending class specified in BaseCallForTest in contracts.
    I am printing out value for BaseCallForTest and it is what i expect
    Any ideas/recomendations will be helpful