James Weng
05/16/2022, 2:15 AMrholshausen
05/16/2022, 2:27 AMJames Weng
05/16/2022, 2:27 AMJames Weng
05/16/2022, 2:28 AMrholshausen
05/16/2022, 2:31 AMrholshausen
05/16/2022, 2:32 AMβ― ls -la ~/.pact/plugins/protobuf-0.1.5/
total 311140
drwxr-xr-x 5 ronald ronald 4096 May 10 11:43 .
drwxr-xr-x 4 ronald ronald 4096 May 11 14:12 ..
drwxr-xr-x 2 ronald ronald 4096 May 12 10:58 log
-rw-r--r-- 1 ronald ronald 309 Apr 29 10:08 pact-plugin.json
-rwxr-xr-x 1 ronald ronald 316877496 May 10 11:43 pact-protobuf-plugin
drwxr-xr-x 4 ronald ronald 4096 May 5 13:10 protoc
-rw-r--r-- 1 ronald ronald 1699854 May 5 13:10 protoc-3.19.1-linux-x86_64.zip
drwxr-xr-x 2 ronald ronald 4096 May 12 10:58 tmp
rholshausen
05/16/2022, 2:33 AMx
set on pact-protobuf-plugin
James Weng
05/16/2022, 2:34 AMrholshausen
05/16/2022, 2:36 AMchmod +x ~/.pact/plugins/protobuf-0.1.5/pact-protobuf-plugin
will make it executableJames Weng
05/16/2022, 2:39 AMJames Weng
05/16/2022, 2:39 AMJames Weng
05/16/2022, 2:41 AMrholshausen
05/16/2022, 2:41 AMJames Weng
05/16/2022, 2:42 AMJames Weng
05/16/2022, 2:42 AMrholshausen
05/16/2022, 2:45 AMMatt (pactflow.io / pact-js / pact-go)
sorry im very new to PACT im just wondering why this plugin cant be built it part of a library which you can import just like the PACT core module?As Ron said, we need a language independent way to create extension points into the system. For example, you could (if you wanted) write a Pact plugin in whatever language you were comfortable in to support some new feature. Because you donβt need to add it to Pact JS or Pact JVM, you could also choose not to make it a public plugin as well, if that were desired
Matt (pactflow.io / pact-js / pact-go)
James Weng
05/16/2022, 3:05 AMrholshausen
05/16/2022, 3:21 AMJames Weng
05/19/2022, 5:02 AMrholshausen
05/19/2022, 5:03 AMJames Weng
05/19/2022, 5:03 AMJames Weng
05/20/2022, 6:54 AMimport au.com.dius.pact.provider.junitsupport.loader.PactBroker;
import au.com.dius.pact.provider.junitsupport.loader.PactBrokerAuth;
......
......
@PactBroker(host = "<http://airwallex.pactflow.io|airwallex.pactflow.io>", scheme = "https",
authentication = @PactBrokerAuth( token = "xxxxx"))
in the pact verification for the areacalculator example you all provided
and was using this gradle command
./gradlew -DpactPublishResults=true provider:test --tests *Pact*Test
Could you please kindly adviseJames Weng
05/20/2022, 6:55 AMJames Weng
05/20/2022, 6:55 AMMatt (pactflow.io / pact-js / pact-go)
-P pact.verifier.publishResults=true
?James Weng
05/23/2022, 3:01 AMplugins {
id "au.com.dius.pact" version '4.1.0'
}
pact {
broker {
pactBrokerUrl = '<https://airwallex.pactflow.io>'
pactBrokerToken = 'xxxx-xxxx"'
}
}
James Weng
05/23/2022, 3:02 AMJames Weng
05/23/2022, 3:02 AMrholshausen
05/23/2022, 3:09 AMrholshausen
05/23/2022, 3:09 AMJames Weng
05/23/2022, 3:22 AMrholshausen
05/23/2022, 3:25 AMrholshausen
05/23/2022, 3:25 AMrholshausen
05/23/2022, 3:25 AMsystemProperty
James Weng
05/23/2022, 3:28 AMtest {
useJUnitPlatform()
systemProperty 'pact.verifier.publishResults', 'true'
}
rholshausen
05/23/2022, 3:29 AMJames Weng
05/23/2022, 3:30 AMJames Weng
05/23/2022, 3:31 AMJames Weng
05/23/2022, 3:31 AMrholshausen
05/23/2022, 3:31 AMJames Weng
05/23/2022, 3:32 AMrholshausen
05/23/2022, 3:34 AMrholshausen
05/23/2022, 3:34 AMrholshausen
05/23/2022, 3:36 AMJames Weng
05/23/2022, 3:36 AMrholshausen
05/23/2022, 3:36 AMpact.provider.tag
rholshausen
05/23/2022, 3:36 AMpact.provider.branch
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
James Weng
05/23/2022, 3:40 AMJames Weng
05/23/2022, 3:47 AMrholshausen
05/23/2022, 3:48 AM