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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c5089c183a535af491e824cdb9d198cb06150cb44d77014b09957564b9a47be7
4
- data.tar.gz: 4d86ae219d734f0d4266214d1adca636f4557691104e75a720e8860d4103f831
3
+ metadata.gz: 25fa6bc80f249b0fab107d35df31217cb95384936f35d3fcbf91edb81a1e14b2
4
+ data.tar.gz: 62f6989736a53ce0088b6e13304d4ed5812704a8bba9ead8b6eb03f02e1863a8
5
5
  SHA512:
6
- metadata.gz: 4f7e075d702ae824e91835cfbf14068c8c2938877cc0a156f7d99e8f9a577bd41d4b4507f06f714897c8f911e7c85f647f94898d4eb0ebf1ea938b270d004708
7
- data.tar.gz: e7f787f092e10fec2166328a1bca16c7517a5a1c65179f92e4b9b71f6a97caaf0633a0ecc71f03cc0b9baaf303a86d26567a11399ff8fcd9a00d1de54685f856
6
+ metadata.gz: a01cea196f9a7b6825424777cdafbf03d3365ec022f8659f9253b44dc13867876a2b2072ffa6b2690144abfda24ab5523cfbf103b64b7096c22f2f6cadfd6620
7
+ data.tar.gz: cf2a61065048ef7800502414d8b9f58f79c062857d56151c89d6c8b4cd444b84d345c77bcf77eb2ea9ca278872425f9fa2a1f4c9cddcd33eccd48257798a822a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ <a name="v1.75.1"></a>
2
+ ### v1.75.1 (2023-11-23)
3
+
4
+ #### Bug Fixes
5
+
6
+ * verification-required command invalid arg number ([fa3b1ca](/../../commit/fa3b1ca))
7
+
1
8
  <a name="v1.75.0"></a>
2
9
  ### v1.75.0 (2023-11-11)
3
10
 
@@ -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 target](#a_request_to_list_the_versions_deployed_to_an_environment_for_a_pacticipant_name_and_target_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
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="a_request_to_list_the_versions_deployed_to_an_environment_for_a_pacticipant_name_and_target_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 target** from Pact Broker Client, with
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
- "target": "customer-1",
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(options.broker_base_url, selectors, { to_tag: options.to, to_environment: options.in_environment, ignore_selectors: [] }, verification_required_options, pact_broker_client_options)
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
@@ -1,5 +1,5 @@
1
1
  module PactBroker
2
2
  module Client
3
- VERSION = '1.75.0'
3
+ VERSION = '1.75.1'
4
4
  end
5
5
  end
@@ -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 target",
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
- "target": "customer-1",
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 target")
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
- target: application_instance,
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.0
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-13 00:00:00.000000000 Z
11
+ date: 2023-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty