Skip to content

Commit

Permalink
chore(release): release v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Jun 1, 2017
1 parent 84ea981 commit 31fe4ce
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 17 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ Do this to generate your change history

git log --pretty=format:' * %h - %s (%an, %ad)' vX.Y.Z..HEAD

### 1.1.0 (01 June 2017)
* 7106832 - chore(docs): update docs for provider states URL (Matt Fellows, Fri May 26 22:45:09 2017 +1000)
* 8f787e6 - Add deprecation warning for --provider-states-url (Beth Skurrie, Fri May 26 20:51:48 2017 +1000)
* 982ba7c - Remove need for provider-states-url by dynamically calling the set up code during test execution (Beth Skurrie, Fri May 26 16:30:14 2017 +1000)
* f055375 - Turn silent mode on for zip task in rake package (Beth Skurrie, Tue May 23 09:34:51 2017 +1000)

### 1.0.2 (23 May 2017)
* 33f0811 - Upgrade rspec version to ~>3.5 to fix #11 (Beth Skurrie, Tue May 23 09:01:07 2017 +1000)

Expand Down
18 changes: 2 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,28 +53,14 @@ bundle install

Execute pact provider verification against a provider which implements the following:

* an http get endpoint (`--provider-states-url`) which returns the available [Provider States](https://docs.pact.io/documentation/provider_states.html), grouped by consumer and returning an HTTP `200`:

{
"SomeUI": [
"customer A is logged in",
"customer A has a million dollars"
],
"BackendAPI": [
"customer A is logged in",
"there are no customers"
]
}

* an http post endpoint (`--provider-states-setup-url`) which sets the active pact consumer and provider state accepting two parameters: `consumer` and `state` and returns an HTTP `200` eg.
* an http POST endpoint (`--provider-states-setup-url`) which sets the active pact consumer and provider state accepting two parameters: `consumer` and `state` and returns an HTTP `200` eg.

consumer=web&state=customer%20is%20logged%20in

The following flags are required:

* `--pact-urls` - a comma delimited list of pact file urls
* `--provider-base-url` - the base url of the pact provider
* `--provider-states-url` - the full url of the endpoint which returns provider states by consumer
* `--provider-states-setup-url` - the full url of the endpoint which sets the active pact consumer and provider state

### Using the Pact Broker with Basic authentication
Expand All @@ -84,7 +70,7 @@ The following flags are required to use basic authentication with a Pact Broker:
* `--broker-user` - the Username for Pact Broker basic authentication.
* `--broker-password` - the Password for Pact Broker basic authentication.

NOTE: the `http://user:password@host` format for basic HTTP auth is not supported.
NOTE: the `http://user:password@host` format for basic HTTP auth is not supported.

## Contributing

Expand Down
2 changes: 1 addition & 1 deletion lib/pact/provider_verifier/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Pact
module ProviderVerifier
VERSION = "1.0.2"
VERSION = "1.1.0"
end
end

0 comments on commit 31fe4ce

Please sign in to comment.