pact-provider-verifier 1.16.0 → 1.16.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/README.md +28 -10
- data/lib/pact/provider_verifier/cli/verify.rb +1 -1
- data/lib/pact/provider_verifier/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8f2845cce38788cc0241f33bd904fe6450116e71105e40e6c63f0fa577f4e6d
|
4
|
+
data.tar.gz: 8e9a4f0d417052fb57cb9986c105990b39cad6a94f4501bd6e5f0f673c6bf608
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bcbd0c5c3e3578546644fcf8ac957244c64dec810d5bb9ef2a9d4e5a064c9ab5694a6c4bd3bebf15e575070fd57ae42411917e5d7b8f002143058f7391e3e9a
|
7
|
+
data.tar.gz: 54b83559ebf1ec81157cd1733f32c550b3d4cbcb6093c911c066cc68b91e5f2c36a6331aeaac568bd8d9ff4cec16f4b823f51ac6826689858b03a07d4c835b57
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -40,16 +40,34 @@ Usage:
|
|
40
40
|
pact-provider-verifier PACT_URL ... -h, --provider-base-url=PROVIDER_BASE_URL
|
41
41
|
|
42
42
|
Options:
|
43
|
-
-h, --provider-base-url=PROVIDER_BASE_URL
|
44
|
-
|
45
|
-
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
-
|
52
|
-
|
43
|
+
-h, --provider-base-url=PROVIDER_BASE_URL
|
44
|
+
# Provider host URL
|
45
|
+
-c, [--provider-states-setup-url=PROVIDER_STATES_SETUP_URL]
|
46
|
+
# Base URL to setup the provider states at
|
47
|
+
[--pact-broker-base-url=PACT_BROKER_BASE_URL]
|
48
|
+
# Base URL of the Pact Broker from which to retrieve the pacts.
|
49
|
+
-n, [--broker-username=BROKER_USERNAME]
|
50
|
+
# Pact Broker basic auth username
|
51
|
+
-p, [--broker-password=BROKER_PASSWORD]
|
52
|
+
# Pact Broker basic auth password
|
53
|
+
[--provider=PROVIDER]
|
54
|
+
[--consumer-version-tag=TAG]
|
55
|
+
# Retrieve the latest pacts with this consumer version tag.
|
56
|
+
Used in conjuction with --provider. May be specified multiple times.
|
57
|
+
-a, [--provider-app-version=PROVIDER_APP_VERSION]
|
58
|
+
# Provider application version, required when publishing verification results
|
59
|
+
-r, [--publish-verification-results=PUBLISH_VERIFICATION_RESULTS]
|
60
|
+
# Publish verification results to the broker
|
61
|
+
[--custom-provider-header=CUSTOM_PROVIDER_HEADER]
|
62
|
+
# Header to add to provider state set up and pact verification requests.
|
63
|
+
eg 'Authorization: Basic cGFjdDpwYWN0'. May be specified multiple times.
|
64
|
+
-v, [--verbose=VERBOSE]
|
65
|
+
# Verbose output
|
66
|
+
-f, [--format=FORMATTER]
|
67
|
+
# RSpec formatter. Defaults to custom Pact formatter. Other options are
|
68
|
+
json and RspecJunitFormatter (which outputs xml).
|
69
|
+
-o, [--out=FILE]
|
70
|
+
# Write output to a file instead of $stdout.
|
53
71
|
|
54
72
|
Verify pact(s) against a provider. Supports local and networked (http-based) files.
|
55
73
|
```
|
@@ -17,7 +17,7 @@ module Pact
|
|
17
17
|
method_option :broker_username, aliases: "-n", desc: "Pact Broker basic auth username", :required => false
|
18
18
|
method_option :broker_password, aliases: "-p", desc: "Pact Broker basic auth password", :required => false
|
19
19
|
method_option :provider, required: false
|
20
|
-
method_option :consumer_version_tag, type: :array, desc: "Retrieve the latest pacts with this consumer version tag. Used in conjuction with --provider.", :required => false
|
20
|
+
method_option :consumer_version_tag, type: :array, banner: "TAG", desc: "Retrieve the latest pacts with this consumer version tag. Used in conjuction with --provider. May be specified multiple times.", :required => false
|
21
21
|
method_option :provider_app_version, aliases: "-a", desc: "Provider application version, required when publishing verification results", :required => false
|
22
22
|
method_option :publish_verification_results, aliases: "-r", desc: "Publish verification results to the broker", required: false
|
23
23
|
method_option :custom_provider_header, type: :array, banner: 'CUSTOM_PROVIDER_HEADER', desc: "Header to add to provider state set up and pact verification requests. eg 'Authorization: Basic cGFjdDpwYWN0'. May be specified multiple times.", :required => false
|