File tree 3 files changed +5
-5
lines changed
src/test/java/au/com/dius/pactworkshop/provider
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ apply plugin: "net.idlestate.download-dependencies"
28
28
29
29
group = ' au.com.dius.pactworkshop'
30
30
version = ' 0.0.1'
31
- sourceCompatibility = " 16 "
32
- targetCompatibility = " 16 "
31
+ sourceCompatibility = " 14 "
32
+ targetCompatibility = " 14 "
33
33
34
34
configurations {
35
35
compileOnly {
Original file line number Diff line number Diff line change 34
34
@ Provider ("ProductService" )
35
35
//@PactFolder("pacts")
36
36
@ PactBroker (
37
- host = "localhost " ,
37
+ host = "pactbroker.dev.gazprombank.ru " ,
38
38
port = "8000" ,
39
39
authentication = @ PactBrokerAuth (username = "pact_workshop" , password = "pact_workshop" )
40
40
// enablePendingPacts = "true",
41
- // providerTags = "true "
41
+ // providerTags = "master "
42
42
)
43
43
@ ExtendWith (SpringExtension .class )
44
44
@ SpringBootTest (webEnvironment = SpringBootTest .WebEnvironment .RANDOM_PORT )
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ public class validateWithOAS {
14
14
public void validateWithOASTest () {
15
15
16
16
final String API_SPEC_URL = new File ("oas/schema.json" ).getAbsolutePath ();
17
- final String BROKER_URL = "http://localhost :8000" ;
17
+ final String BROKER_URL = "http://pactbroker.dev.gazprombank.ru :8000" ;
18
18
final String USERNAME = "pact_workshop" ;
19
19
final String PASSWORD = "pact_workshop" ;
20
20
final String PROVIDER_ID = "ProductService" ;
You can’t perform that action at this time.
0 commit comments