Updated target server validator tool
Description
What's changed, or what was fixed?
- Divided the tool into three parts - onboard, scan and monitor.
- Added functionality to push the monitor output to GCP metrics and create a GCP dashboard which has an alerting widget. Whenever any target server host is not REACHABLE, it can send alerts.
- Added functionality to store the scan output in either GCS bucket or local file.
- Added suppor to use Application Default Credentials
Issues Fixed
- Fixes #
Housekeeping
(please check all that apply [x], do not edit the text)
- [ ] I have run all the tests locally and they all pass.
- [ ] I have followed the relevant style guide for my changes.
Full Repo Validation Required
(please check all that apply [x], do not edit the text)
- [ ] PR requires full pipeline run (Run for changes only by default).
CC: @apigee-devrel-reviewers
/gcbrun
Pipeline Report
| Pipeline | Result | Elapsed Wall Time |
|---|---|---|
| tools/target-server-validator | fail | 34s |
| TOTAL PIPELINE | pass | 34s |
View details in Cloud Build (permission required)
Commit version: 5429854
To reduce duplication and maintenance overhead, can we make pipeline.sh simply use the existing input.properties file instead of generating its own one on-the-fly? use envsubst if you'd like to template in any ENV vars.
/gcbrun
Pipeline Report
| Pipeline | Result | Elapsed Wall Time |
|---|---|---|
| tools/target-server-validator | fail | 101s |
| TOTAL PIPELINE | pass | 101s |
View details in Cloud Build (permission required)
Commit version: f8333ef
/gcbrun
Pipeline Report
| Pipeline | Result | Elapsed Wall Time |
|---|---|---|
| tools/target-server-validator | fail | 126s |
| TOTAL PIPELINE | pass | 126s |
View details in Cloud Build (permission required)
Commit version: 4e1b9cc
/gcbrun
Pipeline Report
| Pipeline | Result | Elapsed Wall Time |
|---|---|---|
| tools/target-server-validator | pass | 183s |
| TOTAL PIPELINE | pass | 183s |
View details in Cloud Build (permission required)
Commit version: 87e2d55
/gcbrun
Pipeline Report
| Pipeline | Result | Elapsed Wall Time |
|---|---|---|
| tools/target-server-validator | pass | 152s |
| TOTAL PIPELINE | pass | 152s |
View details in Cloud Build (permission required)
Commit version: 87e2d55
Great stuff @payaljindal !