Jor van der Poel
09/13/2024, 9:36 AMYousaf Nabi (pactflow.io)
Yousaf Nabi (pactflow.io)
Jor van der Poel
09/13/2024, 9:48 AMJor van der Poel
09/13/2024, 9:48 AMYousaf Nabi (pactflow.io)
Yousaf Nabi (pactflow.io)
Jor van der Poel
09/13/2024, 9:53 AMWe have auto-generated OpenAPI specs, e.g. here.
However they are not 100% valid, and unfortunately can't be, because OpenAPI can't express JSON-RPC endpoints. 😞Would there be some way around this issue?
Yousaf Nabi (pactflow.io)
Yousaf Nabi (pactflow.io)
Jor van der Poel
09/13/2024, 9:54 AMJor van der Poel
09/13/2024, 9:55 AMYousaf Nabi (pactflow.io)
Jor van der Poel
09/13/2024, 10:00 AMJor van der Poel
09/18/2024, 1:16 PMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
/resource#subResource because usually hashes are client-only, so you might need to test how this works.
The other problem will be the consumer side of this.
I’d start with a single OAS document and a basic pact file and see if you can get it to work with BDCT. If not, then yes, back to the drawing board I’m afraid.Matt (pactflow.io / pact-js / pact-go)
Jor van der Poel
10/14/2024, 1:08 PM# in the path (I sent you the 'openAPI' file privately) to make them unique. We did get a working example but only when there's one method per path.
So it's really mostly about how to organize the file, I tried using some custom fields but it seems they get removed when Pact does its formatting. Screenshots are from Swagger and from Pact where the x- fields are gone.
On FE our current workaround is to tell Pact we called e.g. /path#method , but in reality we called /path with method just in the payload.Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Jor van der Poel
10/16/2024, 4:29 PMJor van der Poel
11/06/2024, 9:46 AMfrontend wants to deploy -> asks pact broker
pact broker -> triggers backend pipeline and waits for result
pact broker -> report back to frontend
frontend -> do actual deployment
Some of the devs are concerned due to some flaky pipelines which might cause significant delays with a procedure like this.