-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wip: example ToC for maintainer guide
- Loading branch information
Showing
13 changed files
with
190 additions
and
4 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
website/docs/implementation_guides/maintainer/checklist/readme.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
title: Checklist | ||
sidebar_label: Checklist | ||
--- | ||
|
||
# Checklist | ||
|
||
## Hygiene | ||
|
||
* [ ] Project created from template | ||
* [ ] Documentation populated from template | ||
* [ ] Documentation synced via automation to docs.pact.io | ||
* [ ] Issue templates added | ||
* [ ] Labels added | ||
* [ ] Example projects created | ||
* [ ] Tutorials/workshops to get started | ||
* [ ] Supports minimum OS/Arch combinations? | ||
|
||
## Quality | ||
|
||
* [ ] TCK completed and published |
10 changes: 10 additions & 0 deletions
10
website/docs/implementation_guides/maintainer/dsl/consumer/readme.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: Consumer | ||
sidebar_label: Consumer | ||
--- | ||
|
||
# Consumer DSL | ||
|
||
- General consumer guidance | ||
- Matching Rules | ||
- Specification versions and how this impacts the DSL |
13 changes: 13 additions & 0 deletions
13
website/docs/implementation_guides/maintainer/dsl/http/readme.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
title: HTTP | ||
sidebar_label: HTTP | ||
--- | ||
|
||
# HTTP DSL | ||
|
||
## Consumer | ||
TBC | ||
|
||
## Provider | ||
|
||
TBC |
13 changes: 13 additions & 0 deletions
13
website/docs/implementation_guides/maintainer/dsl/message/readme.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
title: Message | ||
sidebar_label: Message | ||
--- | ||
|
||
# Message DSL | ||
|
||
## Consumer | ||
TBC | ||
|
||
## Provider | ||
|
||
TBC |
13 changes: 13 additions & 0 deletions
13
website/docs/implementation_guides/maintainer/dsl/plugins/readme.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
title: Plugins | ||
sidebar_label: Plugins | ||
--- | ||
|
||
# Plugins DSL | ||
|
||
## Consumer | ||
TBC | ||
|
||
## Provider | ||
|
||
TBC |
16 changes: 16 additions & 0 deletions
16
website/docs/implementation_guides/maintainer/dsl/provider/readme.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
title: Provider | ||
sidebar_label: Provider | ||
--- | ||
|
||
# Provider DSL | ||
|
||
- General provider guidance e.g. | ||
- Pact fetching guidance (local, broker etc.) | ||
- how to setup `pactffi_verifier_set_provider_info` and `pactffi_verifier_add_provider_transport` effectively to support multiple transports | ||
- state handlers, request filters | ||
- FFI calls | ||
- Transports (multiple, how they work, default host/port) | ||
- State Handlers (setup/teardown, use as hooks, and behaviour if there are no states) | ||
|
||
see https://pact-foundation.slack.com/archives/C02BXLDJ7JR/p1683037785422899 and https://pact-foundation.slack.com/archives/C02BXLDJ7JR/p1683282113939749 for more on this |
12 changes: 12 additions & 0 deletions
12
website/docs/implementation_guides/maintainer/dsl/readme.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
title: DSL | ||
sidebar_label: Introduction | ||
--- | ||
|
||
# DSL | ||
|
||
DSL Implementation | ||
|
||
Covers Pact nomenclature vs idiomatic naming of things, how to cater for different spec versions, and FFI methods to call. | ||
|
||
*NOTE: It might make sense to split by consumer/provider, rather than use case* |
8 changes: 8 additions & 0 deletions
8
website/docs/implementation_guides/maintainer/example/readme.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
title: Example | ||
sidebar_label: Example | ||
--- | ||
|
||
## Reference Example | ||
|
||
-> Annotated Pact JS/Pact Node code base |
15 changes: 15 additions & 0 deletions
15
website/docs/implementation_guides/maintainer/ffi/readme.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
title: FFI | ||
sidebar_label: FFI | ||
--- | ||
|
||
## FFI (Framework? SDK?) | ||
|
||
- Introduction to the Pact Reference implementation / SDK framework / FFI | ||
- Hello FFI (https://github.com/YOU54F/hello_ffi) | ||
- Getting started (where to find, download) | ||
- Ergonomics (make it easy on the end user) | ||
- General usage, boundaries between FFI and Application | ||
- Setting up for logging, debugging etc. | ||
- Identifying the client language | ||
- Specific methods to call (or should this be spread across the DSL implementation?) |
14 changes: 14 additions & 0 deletions
14
website/docs/implementation_guides/maintainer/general/readme.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
title: General | ||
sidebar_label: General | ||
--- | ||
|
||
## General | ||
|
||
- Language / Naming Things / Idioms | ||
- Minimum supported OS/Arch combinations | ||
- Logging | ||
- Debugging | ||
- Repository hygiene (issue labels, triage etc.) | ||
- Specification versions | ||
- A short comparison between the different versions, and how this should be considered in API/DSL design |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
title: Introduction | ||
sidebar_label: Introduction | ||
--- | ||
|
||
## Introduction | ||
|
||
- Who it's for | ||
- Ecosystem view: How it all hangs together (FFI, plugins, client language, CLI tools. Possibly use the diagrams from docs.pact.io/plugins) | ||
- Maintainer meetings (how to stay in touch. Slack, Zoom monthly etc.) | ||
- Roadmap (Where to find it, how to contribute to it, RFC process) | ||
- Criteria for an implementation to be accepted into pact-foundation | ||
- License should be MIT | ||
- 2 maintainers (?) | ||
- Agree to our community guidelines | ||
- ...? |
9 changes: 9 additions & 0 deletions
9
website/docs/implementation_guides/maintainer/testing/readme.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: Testing | ||
sidebar_label: Testing | ||
--- | ||
|
||
# Testing | ||
|
||
- Expectations for a quality Pact implementation | ||
- Compatibility suite (should elements of this be threaded throughout the guide rather than its own section?) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters