apache / trafficcontrol

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

Provide a better message on DS create/update/delete to indicate if a CDN snapshot and/or queue updates is required #4351

Open mitchell852 opened 4 years ago

mitchell852 commented 4 years ago

I'm submitting a ...

Traffic Control components affected ...

Current behavior:

Currently when you successfully create/edit/delete a delivery service you get a very simple message like "DS create/updated/deleted successfully". However, creating, updating and deleting a delivery service requires more than simply persisting the change to the database. In some cases it requires a cdn snapshot and/or an ATS config file update via a queue updates of all servers in the cdn for the change to take affect.

Expected / new behavior:

IMO it would be very helpful if the success message was something like:

Of course in the case of an update this would require inspecting which properties changed to determine the appropriate message.

In fact, this more informative message could apply to any delivery service related change that requires a queue updates and/or a cdn snapshot such as:

Minimal reproduction of the problem with instructions:

create/update or delete a DS via the TO API or TP and observe the very non-informative message that is returned from the API and presented in TP.

mitchell852 commented 3 years ago

it's very unclear what the user is supposed to do after making changes to a ds. should i queue updates? snapshot? both? i'm going to mark this as high impact as i believe it to be "high value" from a user perspective but i know that's very debatable.