We are implementing contract testing for mobile apps. To perform the record release & record support ended for multiple supported versions for mobile apps. How do we get the list of production versions from pact broker for a specific participant. In our case there are multiple active versions on production but we want to keep n-3 versions for the contract validation.
As per our finding we can use below APIs to get the supported versions from pact broker but it will require some custom code to be written to get from the APIs.
To get environment ID:
To get the currently supported version:
Expected:
It will be nice to have a CLI command to get the supported version from pact broker for specific participant.
CLI for getting supported version for specific participant. It will make it very easy to use it on CI/CD.