-
Notifications
You must be signed in to change notification settings - Fork 435
Spring Cloud Contract 1.0.0 M2 Release Notes
Marcin Grzejszczak edited this page Aug 25, 2016
·
8 revisions
For changes in earlier milestones, please refer to:
With this feature the @AutoConfigureStubRunner
annotation can pass additional information. Example
@RunWith(SpringRunner.class)
@SpringBootTest
@AutoConfigureStubRunner(ids = {"com.example:http-server-dsl:+:stubs:8080"}, workOffline = true)
public class LoanApplicationServiceTests {
What needs to be migrated when going from M1 -> M2 are the property values. We used to have the subproperty stubs
in the props:
stubrunner.stubs:
ids: 'com.example:http-server-dsl:+:stubs:8080'
repositoryRoot: http://repo.spring.io/libs-snapshot
Now this subproperty is removed
stubrunner:
ids: 'com.example:http-server-dsl:+:stubs:8080'
repositoryRoot: http://repo.spring.io/libs-snapshot
So *wherever you have the property stubrunner.stubs
you have to migrate it to stubrunner
.