Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Juplo master #25

Merged
merged 24 commits into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
31e74c5
Fixed the consumer-contract
kai-moritz May 21, 2022
59332c6
Checked in the generated contract for comparison
kai-moritz May 21, 2022
b01ab68
Added a Spring-based consumer
kai-moritz May 21, 2022
e492dc8
Migrated the example from the classic DSL to the Lambda-DSL
kai-moritz May 21, 2022
2faa2b6
Re-staged the contract for `get all orders`
kai-moritz Jun 3, 2022
9e571f4
Re-staged the contract for `get root`
kai-moritz May 21, 2022
969dd5d
Re-staged the contract for `delete order`
kai-moritz May 21, 2022
20ff01b
Defined all contracts in a single pact, like in the original example
kai-moritz May 21, 2022
17ba76d
Made Gradle check the version of the pact, that was generated via Spring
kai-moritz May 22, 2022
ff7842d
Further aligned the contracts: name and method are named exactly alik…
kai-moritz May 22, 2022
b7873cf
Fixed an issue with the matching of the URIs for `actions`
kai-moritz May 22, 2022
22ec470
Added a contract-test, that is implemented as a Spring intetration-test
kai-moritz May 22, 2022
4ba4f82
The contract-test uses a random port on the provider
kai-moritz May 22, 2022
7069e64
Moved all classes to io.pactfolw.example.sirenconsumer
kai-moritz Jun 3, 2022
767e652
Replaced the sub-projects by the standalone replacements
kai-moritz Jun 3, 2022
ca4e758
Merge branch 'master' of github.com:juplo/example-siren into juplo-ma…
YOU54F Nov 7, 2024
9f1ee6e
Revert "Replaced the sub-projects by the standalone replacements"
YOU54F Nov 7, 2024
c3997f2
chore: update pact-js to 13.x / add ci
YOU54F Nov 7, 2024
d379f35
ci: test
YOU54F Nov 7, 2024
f3dec8b
ci: set working dir
YOU54F Nov 7, 2024
995626a
deps: update provider to pact 4.5.13
YOU54F Nov 8, 2024
72e2d96
test: support consumer starting
YOU54F Nov 8, 2024
7506d4b
test: consumer-spring - add Application code
YOU54F Nov 8, 2024
4838124
ci: test provider with java17
YOU54F Nov 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Build

on:
push:
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '11'
- name: Set up Node JS
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Test consumer siren project (js)
working-directory: consumer
run: |
npm install
npm test
- name: Test consumer siren project (java)
working-directory: spring-consumer
run: |
mvn test
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
- name: Test provider siren project (java)
working-directory: provider
run: |
./gradlew pactverify
- name: Test provider siren project (java)
working-directory: provider
run: |
./gradlew clean test --info
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.gradle
build/
node_modules/
target/

# Ignore Gradle GUI config
gradle-app.setting
Expand All @@ -15,3 +16,5 @@ gradle-app.setting
*.iml

pacts/

bin/
Loading