Scenario:
I have microservice which acts a provider (BDCT) with the pacticipant name "microservice-api". This same microservice will also acts as provider for message based interactions (2 event types - ServiceCreate & ServiceDelete). I planned to use the same pacticipant name "microservice-api" for message based interaction & BDCT. But unable to do so.
Issue:
When I use the same pacticipant name "microservice-api", the message based interactions are automatically getting verified based on the OAS document published as part of BDCT. But I was expecting that the message based interactions shouldnt be verified against OAS contract and wait until I run the Provider verifier tests for "microservice-api" events.
Scenario: I have microservice which acts a provider (BDCT) with the pacticipant name "microservice-api". This same microservice will also acts as provider for message based interactions (2 event types - ServiceCreate & ServiceDelete). I planned to use the same pacticipant name "microservice-api" for message based interaction & BDCT. But unable to do so.
Issue: When I use the same pacticipant name "microservice-api", the message based interactions are automatically getting verified based on the OAS document published as part of BDCT. But I was expecting that the message based interactions shouldnt be verified against OAS contract and wait until I run the Provider verifier tests for "microservice-api" events.
Workaround: As per the discussion with the community support, we need this feature request for this item. For now, we can follow the work around of using 2 different provider names (one for BDCT & one for message based interactions). https://pact-foundation.slack.com/archives/CLS16AVEE/p1689695352765749?thread_ts=1688139376.146759&cid=CLS16AVEE