apache / trafficcontrol

Apache Traffic Control is an Open Source implementation of a Content Delivery Network
https://trafficcontrol.apache.org/
Apache License 2.0
1.06k stars 340 forks source link

Add Traffic Ops API Testing Monitor Support #3924

Open rob05c opened 4 years ago

rob05c commented 4 years ago

Currently, the TO API Tests don't support Traffic Monitors. This makes it impossible to write integration tests for endpoints that call out to Monitors.

We need to add Monitor support, so we can test the Monitor endpoints.

This may be as simple as adding a few fixtures and configs, or it may be rather difficult. To begin with, someone needs to investigate or prototype it, to find out how much work it's going to be.

See also https://github.com/apache/trafficcontrol/issues/3348

I'm submitting a ...

Traffic Control components affected ...

Current behavior:

API Tests don't support Monitors.

Expected / new behavior:

API Tests support Monitors, and support tests that make requests to them.

Minimal reproduction of the problem with instructions:

Write an API Test that requests a Monitor endpoint.

Anything else:

mitchell852 commented 2 years ago

added high impact label as this blocks any testing for certain TO API endpoints.