pact_broker-client 1.75.0 → 1.75.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 +7 -0
- data/doc/pacts/markdown/Pact Broker Client - Pact Broker.md +4 -4
- data/lib/pact_broker/client/cli/matrix_commands.rb +1 -1
- data/lib/pact_broker/client/version.rb +1 -1
- data/spec/pacts/pact_broker_client-pact_broker.json +2 -2
- data/spec/service_providers/record_undeployment_spec.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25fa6bc80f249b0fab107d35df31217cb95384936f35d3fcbf91edb81a1e14b2
|
4
|
+
data.tar.gz: 62f6989736a53ce0088b6e13304d4ed5812704a8bba9ead8b6eb03f02e1863a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a01cea196f9a7b6825424777cdafbf03d3365ec022f8659f9253b44dc13867876a2b2072ffa6b2690144abfda24ab5523cfbf103b64b7096c22f2f6cadfd6620
|
7
|
+
data.tar.gz: cf2a61065048ef7800502414d8b9f58f79c062857d56151c89d6c8b4cd444b84d345c77bcf77eb2ea9ca278872425f9fa2a1f4c9cddcd33eccd48257798a822a
|
data/CHANGELOG.md
CHANGED
@@ -90,7 +90,7 @@
|
|
90
90
|
|
91
91
|
* [A request to list the latest pacts](#a_request_to_list_the_latest_pacts_given_a_pact_between_Condor_and_the_Pricing_Service_exists) given a pact between Condor and the Pricing Service exists
|
92
92
|
|
93
|
-
* [A request to list the versions deployed to an environment for a pacticipant name and
|
93
|
+
* [A request to list the versions deployed to an environment for a pacticipant name and application instance](#a_request_to_list_the_versions_deployed_to_an_environment_for_a_pacticipant_name_and_application_instance_given_an_version_is_deployed_to_environment_with_UUID_16926ef3-590f-4e3f-838e-719717aa88c9_with_target_customer-1) given an version is deployed to environment with UUID 16926ef3-590f-4e3f-838e-719717aa88c9 with target customer-1
|
94
94
|
|
95
95
|
* [A request to mark a deployed version as not currently deploye](#a_request_to_mark_a_deployed_version_as_not_currently_deploye_given_a_currently_deployed_version_exists) given a currently deployed version exists
|
96
96
|
|
@@ -2052,8 +2052,8 @@ Pact Broker will respond with:
|
|
2052
2052
|
}
|
2053
2053
|
}
|
2054
2054
|
```
|
2055
|
-
<a name="
|
2056
|
-
Given **an version is deployed to environment with UUID 16926ef3-590f-4e3f-838e-719717aa88c9 with target customer-1**, upon receiving **a request to list the versions deployed to an environment for a pacticipant name and
|
2055
|
+
<a name="a_request_to_list_the_versions_deployed_to_an_environment_for_a_pacticipant_name_and_application_instance_given_an_version_is_deployed_to_environment_with_UUID_16926ef3-590f-4e3f-838e-719717aa88c9_with_target_customer-1"></a>
|
2056
|
+
Given **an version is deployed to environment with UUID 16926ef3-590f-4e3f-838e-719717aa88c9 with target customer-1**, upon receiving **a request to list the versions deployed to an environment for a pacticipant name and application instance** from Pact Broker Client, with
|
2057
2057
|
```json
|
2058
2058
|
{
|
2059
2059
|
"method": "GET",
|
@@ -2075,7 +2075,7 @@ Pact Broker will respond with:
|
|
2075
2075
|
"_embedded": {
|
2076
2076
|
"deployedVersions": [
|
2077
2077
|
{
|
2078
|
-
"
|
2078
|
+
"applicationInstance": "customer-1",
|
2079
2079
|
"_links": {
|
2080
2080
|
"self": {
|
2081
2081
|
"href": "http://localhost:1234/PLACEHOLDER-DEPLOYED-VERSION-ff3adecf-cfc5-4653-a4e3-f1861092f8e0"
|
@@ -88,7 +88,7 @@ module PactBroker
|
|
88
88
|
selectors = VersionSelectorOptionsParser.call(ARGV)
|
89
89
|
validate_can_i_deploy_selectors(selectors)
|
90
90
|
verification_required_options = { output: options.output, verbose: options.verbose, retry_while_unknown: 0 }
|
91
|
-
result = VerificationRequired.call(
|
91
|
+
result = VerificationRequired.call(selectors, { to_tag: options.to, to_environment: options.in_environment, ignore_selectors: [] }, verification_required_options, pact_broker_client_options)
|
92
92
|
$stdout.puts result.message
|
93
93
|
$stdout.flush
|
94
94
|
exit(1) unless result.success
|
@@ -1928,7 +1928,7 @@
|
|
1928
1928
|
}
|
1929
1929
|
},
|
1930
1930
|
{
|
1931
|
-
"description": "a request to list the versions deployed to an environment for a pacticipant name and
|
1931
|
+
"description": "a request to list the versions deployed to an environment for a pacticipant name and application instance",
|
1932
1932
|
"providerState": "an version is deployed to environment with UUID 16926ef3-590f-4e3f-838e-719717aa88c9 with target customer-1",
|
1933
1933
|
"request": {
|
1934
1934
|
"method": "GET",
|
@@ -1947,7 +1947,7 @@
|
|
1947
1947
|
"_embedded": {
|
1948
1948
|
"deployedVersions": [
|
1949
1949
|
{
|
1950
|
-
"
|
1950
|
+
"applicationInstance": "customer-1",
|
1951
1951
|
"_links": {
|
1952
1952
|
"self": {
|
1953
1953
|
"href": "http://localhost:1234/PLACEHOLDER-DEPLOYED-VERSION-ff3adecf-cfc5-4653-a4e3-f1861092f8e0"
|
@@ -86,7 +86,7 @@ RSpec.describe "recording an undeployment", pact: true do
|
|
86
86
|
def mock_deployed_versions_search_results
|
87
87
|
pact_broker
|
88
88
|
.given("an version is deployed to environment with UUID 16926ef3-590f-4e3f-838e-719717aa88c9 with target customer-1")
|
89
|
-
.upon_receiving("a request to list the versions deployed to an environment for a pacticipant name and
|
89
|
+
.upon_receiving("a request to list the versions deployed to an environment for a pacticipant name and application instance")
|
90
90
|
.with(
|
91
91
|
method: "GET",
|
92
92
|
path: currently_deployed_versions_placeholder_path,
|
@@ -100,7 +100,7 @@ RSpec.describe "recording an undeployment", pact: true do
|
|
100
100
|
_embedded: {
|
101
101
|
deployedVersions: [
|
102
102
|
{
|
103
|
-
|
103
|
+
applicationInstance: application_instance,
|
104
104
|
_links: {
|
105
105
|
self: {
|
106
106
|
href: Pact.term(pact_broker.mock_service_base_url + deployed_version_placeholder_path, /^http/)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pact_broker-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.75.
|
4
|
+
version: 1.75.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Beth Skurrie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|