LoginSignup
0
0

More than 5 years have passed since last update.

Pact Brokerにpact file(json)を置く方法

Posted at

公式サイトによると

The generated pact is then published to the Pact Broker. This is simply a PUT to a resource that specifies the consumer name and version, and the provider name. eg http://my-pact-broker/pacts/provider/Animal%20Service/consumer/Zoo%20App/version/1.0.0

ということなので、curlでこんな感じにすれば、jsonを配置できる。

curl  -T 1.0.0.json --header 'Content-Type: application/json' -s http://my-pact-broker/pacts/provider/Animal%20Service/consumer/Zoo%20App/version/1.0.0 -D -
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0