devrel icon indicating copy to clipboard operation
devrel copied to clipboard

Updated target server validator tool

Open payaljindal opened this issue 1 year ago • 9 comments

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

payaljindal avatar Mar 06 '24 09:03 payaljindal

/gcbrun

OmidTahouri avatar Mar 13 '24 09:03 OmidTahouri

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

apigee-devrel-bot avatar Mar 13 '24 09:03 apigee-devrel-bot

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.

OmidTahouri avatar Mar 13 '24 15:03 OmidTahouri

/gcbrun

danistrebel avatar Mar 20 '24 06:03 danistrebel

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

apigee-devrel-bot avatar Mar 20 '24 06:03 apigee-devrel-bot

/gcbrun

OmidTahouri avatar Mar 22 '24 02:03 OmidTahouri

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

apigee-devrel-bot avatar Mar 22 '24 02:03 apigee-devrel-bot

/gcbrun

danistrebel avatar Mar 22 '24 18:03 danistrebel

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

apigee-devrel-bot avatar Mar 22 '24 19:03 apigee-devrel-bot

/gcbrun

danistrebel avatar Mar 25 '24 07:03 danistrebel

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

apigee-devrel-bot avatar Mar 25 '24 07:03 apigee-devrel-bot

Great stuff @payaljindal !

danistrebel avatar Mar 25 '24 07:03 danistrebel