Provide a better message on DS create/update/delete to indicate if a CDN snapshot and/or queue updates is required #4351
Labels
improvement
The functionality exists but it could be improved in some way.
medium difficulty
the estimated level of effort to resolve this issue is medium
medium impact
impacts a significant portion of a CDN, or has the potential to do so
Traffic Ops
related to Traffic Ops
Traffic Portal v1
related to Traffic Portal version 1
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:
DS updated successfully. A CDN snapshot is required for the changes to take affect.
DS updated successfully. Queue updates on all servers in the cdn for the changes to take affect.
DS updated successfully. Queue updates on all servers in the cdn and perform a CDN snapshot for the changes to take affect.
DS created successfully. Queue updates on all servers in the cdn then perform a CDN snapshot for the changes to take affect.
DS deleted successfully. Perform a CDN snapshot then queue updates on all servers in the cdn for the changes to take affect.
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.
The text was updated successfully, but these errors were encountered: