dneuman64 commented on a change in pull request #3104: Add monitoring.json 
snapshotting
URL: https://github.com/apache/trafficcontrol/pull/3104#discussion_r240738998
 
 

 ##########
 File path: traffic_ops/traffic_ops_golang/routes.go
 ##########
 @@ -142,7 +141,7 @@ func Routes(d ServerData) ([]Route, []RawRoute, 
http.Handler, error) {
                {1.4, http.MethodGet, `cdns/dnsseckeys/refresh/?(\.json)?$`, 
cdn.RefreshDNSSECKeys, auth.PrivLevelOperations, Authenticated, nil},
 
                //CDN: Monitoring: Traffic Monitor
-               {1.1, http.MethodGet, 
`cdns/{cdn}/configs/monitoring(\.json)?$`, monitoring.Get, 
auth.PrivLevelReadOnly, Authenticated, nil},
+               {1.1, http.MethodGet, 
`cdns/{cdn}/configs/monitoring(\.json)?$`, 
crconfig.SnapshotGetMonitoringHandler, auth.PrivLevelReadOnly, Authenticated, 
nil},
 
 Review comment:
   Yes, I think the idea is that at some point we will want to be able to diff 
what is snapshotted vs what is raw.   There could also be some future use cases 
where the raw data really is desired, I just want to make sure that we keep it 
available like it is today.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to