Add a wrapper around monorail.issues.list API
The end-to-end coverage summarizer is intended to display tests which
are unwritten or flaky so that we can measure our percentage of tests
written. (See attached bug.)
In order to do so, we need to query the Monorail API.
This CL adds functions which query the Monorail API, allowing us to
retrieve a list of issues based on some parameters.
The API is called via a service account, which has secret credentials.
The credentials can be found on x20. URL is provided in an error msg.
TEST=go run fw_e2e_coverage_summarizer.go. Compare results against
Monorail web UI. Try it both with and without credentials file.
Tested-by: Greg Edelston <email@example.com>
Reviewed-by: Kevin Shelton <firstname.lastname@example.org>
Commit-Queue: Greg Edelston <email@example.com>
2 files changed