Skip to content

Commit

Permalink
just pact broker
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Mar 17, 2024
1 parent 1e65dd2 commit 2b13e8b
Show file tree
Hide file tree
Showing 5 changed files with 117 additions and 184 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build_ocra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ jobs:
- name: Show ocran build output
run: ls pkg
- name: Run ocran build output
run: .\packaging\pact-broker-cli.exe
run: .\\pact\\pact-broker-app.exe
# run: .\packaging\pact-broker-cli.exe
- name: Upload pact-
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -72,7 +73,7 @@ jobs:
- run: curl -LO https://raw.githubusercontent.com/pact-foundation/pact-5-minute-getting-started-guide/main/pacts/GettingStartedOrderWeb-GettingStartedOrderApi.json
- name: start pact broker
run: |
\\pact\\pact-broker-app.exe
.\\pact\\pact-broker-app.exe
shell: bash
- run: |
scoop install wget
Expand Down
14 changes: 7 additions & 7 deletions packaging/Gemfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
source 'http://rubygems.org'

gem "pact", "1.64.0"
gem "pact-message", "0.11.1"
gem "pact-mock_service", "3.11.2"
gem "pact-provider-verifier", "1.38.0"
gem "pact_broker-client", "1.75.1"
gem "webrick", "1.8.1"
gem 'rack', '>= 2.2.6'
# gem "pact", "1.64.0"
# gem "pact-message", "0.11.1"
# gem "pact-mock_service", "3.11.2"
# gem "pact-provider-verifier", "1.38.0"
# gem "pact_broker-client", "1.75.1"
# gem "webrick", "1.8.1"
# gem 'rack', '>= 2.2.6'
gem "json", "2.6.3"
gem 'pact_broker'
gem 'pg'
Expand Down
142 changes: 37 additions & 105 deletions packaging/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@ GEM
as-notifications (1.0.2)
awesome_print (1.9.2)
base64 (0.2.0)
bigdecimal (3.1.6)
bigdecimal (3.1.7)
concurrent-ruby (1.2.3)
crass (1.0.6)
declarative (0.0.20)
diff-lcs (1.5.1)
dig_rb (1.0.1)
disposable (0.6.3)
declarative (>= 0.0.9, < 1.0.0)
representable (>= 3.1.1, < 4)
Expand Down Expand Up @@ -50,71 +49,37 @@ GEM
zeitwerk (~> 2.6)
expgen (0.1.1)
parslet
faraday (2.9.0)
faraday-net_http (>= 2.0, < 3.2)
faraday-net_http (3.1.0)
net-http
faraday-retry (2.2.0)
faraday (~> 2.0)
find_a_port (1.0.1)
haml (5.2.2)
temple (>= 0.8.0)
tilt
httparty (0.21.0)
mini_mime (>= 1.0.0)
multi_xml (>= 0.5.2)
i18n (1.14.1)
i18n (1.14.4)
concurrent-ruby (~> 1.0)
json (2.6.3)
mini_mime (1.1.5)
moments (0.3.0)
multi_json (1.15.0)
multi_xml (0.6.0)
mustermann (3.0.0)
ruby2_keywords (~> 0.0.1)
net-http (0.4.1)
uri
nio4r (2.7.0)
nokogiri (1.16.2-arm64-darwin)
nokogiri (1.16.3-aarch64-linux)
racc (~> 1.4)
nokogiri (1.16.2-x64-mingw-ucrt)
nokogiri (1.16.3-arm-linux)
racc (~> 1.4)
nokogiri (1.16.3-arm64-darwin)
racc (~> 1.4)
nokogiri (1.16.3-x64-mingw-ucrt)
racc (~> 1.4)
nokogiri (1.16.3-x86-linux)
racc (~> 1.4)
nokogiri (1.16.3-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.16.3-x86_64-linux)
racc (~> 1.4)
pact (1.64.0)
pact-mock_service (~> 3.0, >= 3.3.1)
pact-support (~> 1.16, >= 1.16.9)
rack-test (>= 0.6.3, < 3.0.0)
rspec (~> 3.0)
term-ansicolor (~> 1.7)
thor (>= 0.20, < 2.0)
webrick (~> 1.8)
pact-message (0.11.1)
pact-mock_service (~> 3.1)
pact-support (~> 1.8)
thor (>= 0.20, < 2.0)
pact-mock_service (3.11.2)
find_a_port (~> 1.0.1)
json
pact-support (~> 1.16, >= 1.16.4)
rack (~> 2.0)
rspec (>= 2.14)
thor (>= 0.19, < 2.0)
webrick (~> 1.8)
pact-provider-verifier (1.38.0)
faraday (~> 2.5)
faraday-retry (~> 2.2)
json (> 1.8)
pact (~> 1.59)
pact-message (~> 0.5)
rack (~> 2.1)
rack-reverse-proxy
rspec (~> 3.5)
rspec_junit_formatter (~> 0.3)
pact-support (1.20.0)
awesome_print (~> 1.9)
diff-lcs (~> 1.5)
expgen (~> 0.1)
rainbow (~> 3.1.1)
pact_broker (2.109.0)
pact_broker (2.109.1)
anyway_config (~> 2.1)
dry-validation (~> 1.8)
haml (~> 5.0)
Expand All @@ -139,39 +104,24 @@ GEM
webmachine (>= 2.0.0.beta, < 3.0)
webrick (~> 1.8)
wisper (~> 2.0)
pact_broker-client (1.75.1)
dig_rb (~> 1.0)
httparty (>= 0.21.0, < 1.0.0)
rake (~> 13.0)
table_print (~> 1.5)
term-ansicolor (~> 1.7)
thor (>= 0.20, < 2.0)
padrino-core (0.15.3)
padrino-support (= 0.15.3)
sinatra (>= 2.2.4)
thor (~> 1.0)
padrino-support (0.15.3)
parslet (2.0.0)
pg (1.5.5)
pg (1.5.5-x64-mingw-ucrt)
pg (1.5.6)
pg (1.5.6-x64-mingw-ucrt)
psych (4.0.6)
stringio
puma (6.4.2)
nio4r (~> 2.0)
racc (1.7.3)
rack (2.2.8)
rack (2.2.8.1)
rack-protection (3.2.0)
base64 (>= 0.1.0)
rack (~> 2.2, >= 2.2.4)
rack-proxy (0.7.7)
rack
rack-reverse-proxy (0.12.0)
rack (>= 1.0.0)
rack-proxy (~> 0.6, >= 0.6.1)
rack-test (2.1.0)
rack (>= 1.3)
rainbow (3.1.1)
rake (13.1.0)
redcarpet (3.6.0)
reform (2.6.2)
disposable (>= 0.5.0, < 1.0.0)
Expand All @@ -185,80 +135,62 @@ GEM
rack (>= 1.4)
roar (1.2.0)
representable (~> 3.1)
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.0)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.0)
rspec_junit_formatter (0.6.0)
rspec-core (>= 2, < 4, != 2.12.0)
ruby-next-core (1.0.1)
ruby-next-core (1.0.2)
ruby2_keywords (0.0.5)
sanitize (6.1.0)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
semantic_logger (4.15.0)
concurrent-ruby (~> 1.0)
semver2 (3.4.2)
sequel (5.77.0)
sequel (5.78.0)
bigdecimal
sinatra (3.2.0)
mustermann (~> 3.0)
rack (~> 2.2, >= 2.2.4)
rack-protection (= 3.2.0)
tilt (~> 2.0)
sqlite3 (1.7.2-arm64-darwin)
sqlite3 (1.7.2-x64-mingw-ucrt)
sqlite3 (1.7.3-aarch64-linux)
sqlite3 (1.7.3-arm-linux)
sqlite3 (1.7.3-arm64-darwin)
sqlite3 (1.7.3-x64-mingw-ucrt)
sqlite3 (1.7.3-x86-linux)
sqlite3 (1.7.3-x86_64-darwin)
sqlite3 (1.7.3-x86_64-linux)
stringio (3.1.0)
sucker_punch (3.2.0)
concurrent-ruby (~> 1.0)
sync (0.5.0)
table_print (1.5.7)
temple (0.10.3)
term-ansicolor (1.7.1)
tins (~> 1.0)
thor (1.3.0)
thor (1.3.1)
tilt (2.3.0)
tins (1.32.1)
sync
trailblazer-option (0.1.2)
uber (0.1.0)
uri (0.13.0)
webmachine (2.0.0)
webmachine (2.0.1)
as-notifications (>= 1.0.2, < 2.0)
base64
i18n (>= 0.4.0)
multi_json
webrick (1.8.1)
wisper (2.0.1)
zeitwerk (2.6.13)

PLATFORMS
arm64-darwin-22
arm64-darwin-23
aarch64-linux
arm-linux
arm64-darwin
x64-mingw-ucrt
x86-linux
x86_64-darwin
x86_64-linux

DEPENDENCIES
json (= 2.6.3)
nokogiri
pact (= 1.64.0)
pact-message (= 0.11.1)
pact-mock_service (= 3.11.2)
pact-provider-verifier (= 1.38.0)
pact_broker
pact_broker-client (= 1.75.1)
pg
puma
rack (>= 2.2.6)
sqlite3
webrick (= 1.8.1)

BUNDLED WITH
2.5.3
2.5.6
32 changes: 16 additions & 16 deletions packaging/generate_readme_contents.rb
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
require 'erb'
require 'pact/version'
require 'pact/message/version'
require 'pact/mock_service/version'
require 'pact/support/version'
require 'pact/provider_verifier/version'
require 'pact_broker/client/version'
# require 'erb'
# require 'pact/version'
# require 'pact/message/version'
# require 'pact/mock_service/version'
# require 'pact/support/version'
# require 'pact/provider_verifier/version'
# require 'pact_broker/client/version'

pact_mock_service_usage = `bundle exec pact-mock-service help` + `bundle exec pact-mock-service help service`
pact_stub_service_usage = `bundle exec pact-stub-service help`
pact_provider_verifier_usage = `bundle exec pact-provider-verifier help`
pact_publish_usage = `bundle exec pact-broker help publish`
pact_broker_can_i_deploy_usage = `bundle exec pact-broker help can-i-deploy`
pact_docs_usage = `bundle exec pact help docs`
pact_message_usage = `bundle exec pact-message help`
pactflow_publish_provider_contract_usage = `bundle exec pactflow help publish-provider-contract`
puts ERB.new(ARGF.read).result(binding)
# pact_mock_service_usage = `bundle exec pact-mock-service help` + `bundle exec pact-mock-service help service`
# pact_stub_service_usage = `bundle exec pact-stub-service help`
# pact_provider_verifier_usage = `bundle exec pact-provider-verifier help`
# pact_publish_usage = `bundle exec pact-broker help publish`
# pact_broker_can_i_deploy_usage = `bundle exec pact-broker help can-i-deploy`
# pact_docs_usage = `bundle exec pact help docs`
# pact_message_usage = `bundle exec pact-message help`
# pactflow_publish_provider_contract_usage = `bundle exec pactflow help publish-provider-contract`
# puts ERB.new(ARGF.read).result(binding)
Loading

0 comments on commit 2b13e8b

Please sign in to comment.