Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI for getting supported version for specific participant #163

Open
canny bot opened this issue Jun 26, 2024 · 2 comments
Open

CLI for getting supported version for specific participant #163

canny bot opened this issue Jun 26, 2024 · 2 comments

Comments

@canny
Copy link

canny bot commented Jun 26, 2024

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:
http://localhost/environments/
To get the currently supported version:
http://localhost/environments/{envIdFromAboveAPIResponse}/released-versions/currently-supported
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.

https://pact.canny.io/admin/board/feature-requests/p/cli-for-getting-supported-version-for-specific-participant

Copy link
Author

canny bot commented Jun 26, 2024

This issue has been linked to a Canny post: CLI for getting supported version for specific participant 🎉

Copy link
Author

canny bot commented Jun 26, 2024

This issue has been linked to a Canny post: API for getting supported version for specific participant 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants