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 <firstname.lastname@example.org>
Reviewed-by: Kevin Shelton <email@example.com>
Commit-Queue: Greg Edelston <firstname.lastname@example.org>
2 files changed