Hi,
We are trying to integrate different workflows into the OSS pact broker.
One of these is to create a pipeline that has a can-i-deploy check for the provider. Now no consumers have used PACT before on any of its interfaces. Thus the provider isn't available as a pacticipant in the broker.
We are looking at adding in the provider tests, doing a can-i-deploy and then deploy. At a later date the consumers will then generate their PACTs as they implement PACT - start publishing, and then checking that they can deploy, having provider verify etc.
However the initial call to can-i-deploy fails as the pacticipant isn't known in the broker
""error": "No provider with name 'example-provider' found"".
Is this an invalid workflow in PACT? Do we need to / can we, just create the pacticipant (even without integrations) if it doesn't exists? so other stages will work.
I realise it is consumer driven - so is it actually valid to have a provider without consumer interactions?
It would be nice to fully complete the provider's pipeline as their 'test' is quite generic, so it would just work until and when consumers start using it (or implementing their tests), without then returning to update the provider unless any initial state is required.
Thanks