Skip to content

Commit d45b2e4

Browse files
committed
doc
1 parent a93fcbc commit d45b2e4

File tree

1 file changed

+5
-0
lines changed
  • services/api-server/tests/unit/pact_broker

1 file changed

+5
-0
lines changed

services/api-server/tests/unit/pact_broker/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,18 @@ PACT_BROKER_URL=<fill-broker-url> PACT_BROKER_USERNAME=<fill-username> PACT_BROK
77
```
88

99
## Install and Publish new contract to Broker
10+
1011
Contracts are generated by Consumer (ex. Sim4Life)
1112
TODO: add reference to Sim4life repo where they can be generated
13+
1214
#### Install
15+
1316
```bash
1417
npm install @pact-foundation/pact-cli
1518
```
19+
1620
#### Publish
21+
1722
```bash
1823
pact-broker publish ./pacts/05_licensed_items.json --tag licensed_items --consumer-app-version 8.2.1 --broker-base-url=<fill-broker-url> --broker-username=<fill-username> --broker-password=<fill-secret>
1924
```

0 commit comments

Comments
 (0)