You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2020/04/20 15:23:19 UTC

[GitHub] [trafficcontrol] mitchell852 commented on a change in pull request #4633: Flexible Topologies in Traffic Ops and Traffic Portal

mitchell852 commented on a change in pull request #4633:
URL: https://github.com/apache/trafficcontrol/pull/4633#discussion_r411467733



##########
File path: traffic_ops/traffic_ops_golang/routing/routes.go
##########
@@ -279,6 +280,11 @@ func Routes(d ServerData) ([]Route, []RawRoute, http.Handler, error) {
 		{api.Version{2, 0}, http.MethodPost, `regions/?$`, api.CreateHandler(&region.TORegion{}), auth.PrivLevelOperations, Authenticated, nil, 2288334488, noPerlBypass},
 		{api.Version{2, 0}, http.MethodDelete, `regions/?$`, api.DeleteHandler(&region.TORegion{}), auth.PrivLevelOperations, Authenticated, nil, 2232626758, noPerlBypass},
 
+		{api.Version{2, 0}, http.MethodPost, `topologies/?$`, api.CreateHandler(&topology.TOTopology{}), auth.PrivLevelOperations, Authenticated, nil, 3871452221, noPerlBypass},

Review comment:
       I'm starting to think these need to all be 3.0 as it looks like the 4.1 ATC branch is about to be cut and the next TC version will be 5.0 that will have APIv3....




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org