Matt (pactflow.io / pact-js / pact-go)
rohan shah
04/19/2023, 6:36 PMPaul Caplan
04/20/2023, 6:07 PMDarren Oc
04/20/2023, 9:33 PMHarold Robson
04/21/2023, 1:44 PMTatiana
04/21/2023, 4:18 PM--state-change-url
of the pact_verifier_cli accepts several urls?
For example, if there are two provider states endpoints as
/app_one/pact/provider_states
and /app_two/pact/provider_states
Alicia (pactflow.io)
Julie Røsok
04/24/2023, 1:29 PMvandana wadhwani
04/24/2023, 6:26 PMSeb Rose
04/25/2023, 5:16 PMJulie Røsok
04/26/2023, 9:35 AMroot.datetime("lastModifiedDate", DATETIME_FORMAT, DateUtil.toInstantFromDatetime("2022-06-27T12:30:10.767Z"))
JSON output from this is 2022-06-27T143010.767Z. Can someone explain to me how I can fix this?Mark Wilson
04/26/2023, 10:36 AMRahul Pandey
04/27/2023, 10:14 AMAlfredo Castro Ranz
04/27/2023, 3:22 PMLewis Prescott
04/28/2023, 7:09 AMHaiyang Huang
05/04/2023, 9:23 AMHulia Iordache
05/04/2023, 5:33 PMPriyaranjan Mudliar
05/07/2023, 5:23 AM"No driver init in dynamic library"
I have tried multiple ways to load the pact ffi shared library but getting errors similar to the above one, any help would be appreciated. Thanks in advance!Jaswanth M
05/10/2023, 7:13 AMAlexandru Simion
05/10/2023, 2:03 PMAlexandru Simion
05/10/2023, 2:05 PMSimon
05/10/2023, 8:08 PMcan-i-deploy
against all environments on the main branch, which makes sense to me, but:
1. From that PR branch CI pipeline, do we also need to run can-i-deploy
against a main branch to catch any merged-but-not-deployed changes?
2. Is it still recommended to setup a webhook to trigger a provider verifications with native environments/branches? Since that doesn't sound like it recommends actually deploying those services changes from thatTam Norris
05/11/2023, 11:14 AMTimothy Jones
05/12/2023, 1:24 AMsiddharth shetty
05/12/2023, 10:17 AMauto syncInteraction1 = pactffi_new_sync_message_interaction( pact, "Interaction");
pactffi_given( syncInteraction1, "Given" );
pactffi_upon_receiving( syncInteraction1, "Upon receiving" );
pactffi_with_body( syncInteraction1, InteractionPart::InteractionPart_Request, "application/json", R"({"jsonrpc":"2.0","id":{"value":3,"pact:matcher:type":"type"}});
pactffi_with_body( syncInteraction3, InteractionPart::InteractionPart_Response, "application/json", R"#({"jsonrpc":"2.0","id":{"value":3,"pact:matcher:type":"type"}})#");
auto syncInteraction2 = pactffi_new_sync_message_interaction( pact, "Interaction");
pactffi_given( syncInteraction2, "Given" );
pactffi_upon_receiving( syncInteraction2, "Upon receiving" );
pactffi_with_body( syncInteraction2, InteractionPart::InteractionPart_Request, "application/json", R"({"jsonrpc":"2.0","id":{"value":4,"pact:matcher:type":"type"}});
pactffi_with_body( syncInteraction2, InteractionPart::InteractionPart_Response, "application/json", R"#({"jsonrpc":"2.0","id":{"value":4,"pact:matcher:type":"type"}})#");
The above 2 interactions are the same except that the id field(in the request/response) has different values but is matched by type. So, I was expecting this to generate only 1 entry in the contract for both interactions which the provider can verify. But in the contract, there are 2 entries. I suppose this is because there are 2 unique keys generated for each of the 2 interactions? Any ideas how we can get around this so we can have only 1 entry in the contract for such duplicated interactions when using the C++ FFI to write PACT consumer tests would be much appreciated.rock
05/15/2023, 10:23 AMYousaf Nabi (pactflow.io)
Shannon Harvey
05/17/2023, 3:46 AMAlicia (pactflow.io)
Nada Bukinac
05/18/2023, 7:42 AM