[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-15 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
 - https://github.com/apache/incubator-trafficcontrol/pull/2278
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-14 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-10 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [x] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [x] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [x] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [ ] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [ ] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2229
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] post /api/1.1/deliveryservices
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
- PR https://github.com/apache/incubator-trafficcontrol/pull/2124
   - [ ] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [ ] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2234
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
- PR https://github.com/apache/incubator-trafficcontrol/pull/2234
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
- PR 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [ ] get /api/1.1/cdns/:name/snapshot/new
   - [ ] put /api/1.1/cdns/:id/snapshot
   - [ ] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [ ] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
   - [ ] get /api/1.1/deliveryservices/:id
   - [ ] post /api/1.1/deliveryservices
   - [ ] put /api/1.1/deliveryservices/:id
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
   - [ ] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [ ] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] post /api/1.1/deliveryservices/:dsId/regexes
   - [ ] put /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] delete /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] get /api/1.1/deliveryservice_matches
   - [ ] get /api/1.1/deliveryserviceserver
   - [ ] post /api/1.1/deliveryserviceserver
   - [ ] get /api/1.1/divisions
   - [ ] get /api/1.1/divisions/:id
   - [ ] get /api/1.1/divisions/name/:name
   - [ ] put /api/1.1/divisions/:id
   - [ ] post /api/1.1/divisions
   - [ ] delete /api/1.1/divisions/:id
   - [ 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [x] get /api/1.1/deliveryservices
   - [x] get /api/1.1/deliveryservices/:id
   - [ ] post /api/1.1/deliveryservices
   - [ ] put /api/1.1/deliveryservices/:id
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
   - [ ] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [ ] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] post /api/1.1/deliveryservices/:dsId/regexes
   - [ ] put /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] delete /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] get /api/1.1/deliveryservice_matches
   - [ ] get /api/1.1/deliveryserviceserver
   - [ ] post /api/1.1/deliveryserviceserver
   - [ ] get /api/1.1/divisions
   - [ ] get /api/1.1/divisions/:id
   - [ ] get /api/1.1/divisions/name/:name
   - [ ] put /api/1.1/divisions/:id
   - [ ] post /api/1.1/divisions
   - [ ] delete /api/1.1/divisions/:id
   - [ 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
   - [ ] get /api/1.1/deliveryservices/:id
   - [ ] post /api/1.1/deliveryservices
   - [ ] put /api/1.1/deliveryservices/:id
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
   - [ ] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [ ] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] post /api/1.1/deliveryservices/:dsId/regexes
   - [ ] put /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] delete /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] get /api/1.1/deliveryservice_matches
   - [ ] get /api/1.1/deliveryserviceserver
   - [ ] post /api/1.1/deliveryserviceserver
   - [ ] get /api/1.1/divisions
   - [ ] get /api/1.1/divisions/:id
   - [ ] get /api/1.1/divisions/name/:name
   - [ ] put /api/1.1/divisions/:id
   - [ ] post /api/1.1/divisions
   - [ ] delete /api/1.1/divisions/:id
   - [ 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [x] get /api/1.1/deliveryservices
   - [ ] get /api/1.1/deliveryservices/:id
   - [ ] post /api/1.1/deliveryservices
   - [ ] put /api/1.1/deliveryservices/:id
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
   - [ ] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [ ] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] post /api/1.1/deliveryservices/:dsId/regexes
   - [ ] put /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] delete /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] get /api/1.1/deliveryservice_matches
   - [ ] get /api/1.1/deliveryserviceserver
   - [ ] post /api/1.1/deliveryserviceserver
   - [ ] get /api/1.1/divisions
   - [ ] get /api/1.1/divisions/:id
   - [ ] get /api/1.1/divisions/name/:name
   - [ ] put /api/1.1/divisions/:id
   - [ ] post /api/1.1/divisions
   - [ ] delete /api/1.1/divisions/:id
   - [ 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [x] get /api/1.1/deliveryservices
   - [x] get /api/1.1/deliveryservices/:id
   - [x] post /api/1.1/deliveryservices
   - [ ] put /api/1.1/deliveryservices/:id
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
   - [ ] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [ ] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] post /api/1.1/deliveryservices/:dsId/regexes
   - [ ] put /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] delete /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] get /api/1.1/deliveryservice_matches
   - [ ] get /api/1.1/deliveryserviceserver
   - [ ] post /api/1.1/deliveryserviceserver
   - [ ] get /api/1.1/divisions
   - [ ] get /api/1.1/divisions/:id
   - [ ] get /api/1.1/divisions/name/:name
   - [ ] put /api/1.1/divisions/:id
   - [ ] post /api/1.1/divisions
   - [ ] delete /api/1.1/divisions/:id
   - [ 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [x] get /api/1.1/deliveryservices
   - [x] get /api/1.1/deliveryservices/:id
   - [x] post /api/1.1/deliveryservices
   - [x] put /api/1.1/deliveryservices/:id
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
   - [ ] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [ ] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] post /api/1.1/deliveryservices/:dsId/regexes
   - [ ] put /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] delete /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] get /api/1.1/deliveryservice_matches
   - [ ] get /api/1.1/deliveryserviceserver
   - [ ] post /api/1.1/deliveryserviceserver
   - [ ] get /api/1.1/divisions
   - [ ] get /api/1.1/divisions/:id
   - [ ] get /api/1.1/divisions/name/:name
   - [ ] put /api/1.1/divisions/:id
   - [ ] post /api/1.1/divisions
   - [ ] delete /api/1.1/divisions/:id
   - [ 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [x] get /api/1.1/deliveryservices
   - [x] get /api/1.1/deliveryservices/:id
   - [x] post /api/1.1/deliveryservices
   - [ ] put /api/1.1/deliveryservices/:id
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
   - [ ] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [ ] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] post /api/1.1/deliveryservices/:dsId/regexes
   - [ ] put /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] delete /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] get /api/1.1/deliveryservice_matches
   - [ ] get /api/1.1/deliveryserviceserver
   - [ ] post /api/1.1/deliveryserviceserver
   - [ ] get /api/1.1/divisions
   - [ ] get /api/1.1/divisions/:id
   - [ ] get /api/1.1/divisions/name/:name
   - [ ] put /api/1.1/divisions/:id
   - [ ] post /api/1.1/divisions
   - [ ] delete /api/1.1/divisions/:id
   - [ 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [x] get /api/1.1/deliveryservices
   - [x] get /api/1.1/deliveryservices/:id
   - [ ] post /api/1.1/deliveryservices
   - [ ] put /api/1.1/deliveryservices/:id
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
   - [ ] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [ ] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] post /api/1.1/deliveryservices/:dsId/regexes
   - [ ] put /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] delete /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] get /api/1.1/deliveryservice_matches
   - [ ] get /api/1.1/deliveryserviceserver
   - [ ] post /api/1.1/deliveryserviceserver
   - [ ] get /api/1.1/divisions
   - [ ] get /api/1.1/divisions/:id
   - [ ] get /api/1.1/divisions/name/:name
   - [ ] put /api/1.1/divisions/:id
   - [ ] post /api/1.1/divisions
   - [ ] delete /api/1.1/divisions/:id
   - [ 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [x] get /api/1.1/deliveryservices
   - [ ] get /api/1.1/deliveryservices/:id
   - [ ] post /api/1.1/deliveryservices
   - [ ] put /api/1.1/deliveryservices/:id
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
   - [ ] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [ ] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] post /api/1.1/deliveryservices/:dsId/regexes
   - [ ] put /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] delete /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] get /api/1.1/deliveryservice_matches
   - [ ] get /api/1.1/deliveryserviceserver
   - [ ] post /api/1.1/deliveryserviceserver
   - [ ] get /api/1.1/divisions
   - [ ] get /api/1.1/divisions/:id
   - [ ] get /api/1.1/divisions/name/:name
   - [ ] put /api/1.1/divisions/:id
   - [ ] post /api/1.1/divisions
   - [ ] delete /api/1.1/divisions/:id
   - [ 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [x] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [x] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
   - [ ] get /api/1.1/deliveryservices/:id
   - [ ] post /api/1.1/deliveryservices
   - [ ] put /api/1.1/deliveryservices/:id
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
   - [ ] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [ ] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] post /api/1.1/deliveryservices/:dsId/regexes
   - [ ] put /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] delete /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] get /api/1.1/deliveryservice_matches
   - [ ] get /api/1.1/deliveryserviceserver
   - [ ] post /api/1.1/deliveryserviceserver
   - [ ] get /api/1.1/divisions
   - [ ] get /api/1.1/divisions/:id
   - [ ] get /api/1.1/divisions/name/:name
   - [ ] put /api/1.1/divisions/:id
   - [ ] post /api/1.1/divisions
   - [ ] delete /api/1.1/divisions/:id
   - [ 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [x] put /api/1.1/cdns/:id/snapshot
   - [ ] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [ ] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
   - [ ] get /api/1.1/deliveryservices/:id
   - [ ] post /api/1.1/deliveryservices
   - [ ] put /api/1.1/deliveryservices/:id
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
   - [ ] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [ ] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] post /api/1.1/deliveryservices/:dsId/regexes
   - [ ] put /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] delete /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] get /api/1.1/deliveryservice_matches
   - [ ] get /api/1.1/deliveryserviceserver
   - [ ] post /api/1.1/deliveryserviceserver
   - [ ] get /api/1.1/divisions
   - [ ] get /api/1.1/divisions/:id
   - [ ] get /api/1.1/divisions/name/:name
   - [ ] put /api/1.1/divisions/:id
   - [ ] post /api/1.1/divisions
   - [ ] delete /api/1.1/divisions/:id
   - [ 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [x] get /api/1.1/cdns/:name/snapshot
   - [x] get /api/1.1/cdns/:name/snapshot/new
   - [ ] put /api/1.1/cdns/:id/snapshot
   - [ ] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [ ] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
   - [ ] get /api/1.1/deliveryservices/:id
   - [ ] post /api/1.1/deliveryservices
   - [ ] put /api/1.1/deliveryservices/:id
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
   - [ ] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [ ] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] post /api/1.1/deliveryservices/:dsId/regexes
   - [ ] put /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] delete /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] get /api/1.1/deliveryservice_matches
   - [ ] get /api/1.1/deliveryserviceserver
   - [ ] post /api/1.1/deliveryserviceserver
   - [ ] get /api/1.1/divisions
   - [ ] get /api/1.1/divisions/:id
   - [ ] get /api/1.1/divisions/name/:name
   - [ ] put /api/1.1/divisions/:id
   - [ ] post /api/1.1/divisions
   - [ ] delete /api/1.1/divisions/:id
   - [ 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [x] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [ ] get /api/1.1/cdns/:name/snapshot
   - [ ] get /api/1.1/cdns/:name/snapshot/new
   - [ ] put /api/1.1/cdns/:id/snapshot
   - [ ] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [ ] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
   - [ ] get /api/1.1/deliveryservices/:id
   - [ ] post /api/1.1/deliveryservices
   - [ ] put /api/1.1/deliveryservices/:id
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
   - [ ] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [ ] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] post /api/1.1/deliveryservices/:dsId/regexes
   - [ ] put /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] delete /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] get /api/1.1/deliveryservice_matches
   - [ ] get /api/1.1/deliveryserviceserver
   - [ ] post /api/1.1/deliveryserviceserver
   - [ ] get /api/1.1/divisions
   - [ ] get /api/1.1/divisions/:id
   - [ ] get /api/1.1/divisions/name/:name
   - [ ] put /api/1.1/divisions/:id
   - [ ] post /api/1.1/divisions
   - [ ] delete /api/1.1/divisions/:id
   - [ 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [x] put /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [ ] get /api/1.1/cdns/:name/snapshot
   - [ ] get /api/1.1/cdns/:name/snapshot/new
   - [ ] put /api/1.1/cdns/:id/snapshot
   - [ ] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [ ] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
   - [ ] get /api/1.1/deliveryservices/:id
   - [ ] post /api/1.1/deliveryservices
   - [ ] put /api/1.1/deliveryservices/:id
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
   - [ ] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [ ] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] post /api/1.1/deliveryservices/:dsId/regexes
   - [ ] put /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] delete /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] get /api/1.1/deliveryservice_matches
   - [ ] get /api/1.1/deliveryserviceserver
   - [ ] post /api/1.1/deliveryserviceserver
   - [ ] get /api/1.1/divisions
   - [ ] get /api/1.1/divisions/:id
   - [ ] get /api/1.1/divisions/name/:name
   - [ ] put /api/1.1/divisions/:id
   - [ ] post /api/1.1/divisions
   - [ ] delete /api/1.1/divisions/:id
   - [ 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [x] post /api/1.1/cdns
   - [ ] put /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [ ] get /api/1.1/cdns/:name/snapshot
   - [ ] get /api/1.1/cdns/:name/snapshot/new
   - [ ] put /api/1.1/cdns/:id/snapshot
   - [ ] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [ ] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
   - [ ] get /api/1.1/deliveryservices/:id
   - [ ] post /api/1.1/deliveryservices
   - [ ] put /api/1.1/deliveryservices/:id
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
   - [ ] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [ ] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] post /api/1.1/deliveryservices/:dsId/regexes
   - [ ] put /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] delete /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] get /api/1.1/deliveryservice_matches
   - [ ] get /api/1.1/deliveryserviceserver
   - [ ] post /api/1.1/deliveryserviceserver
   - [ ] get /api/1.1/divisions
   - [ ] get /api/1.1/divisions/:id
   - [ ] get /api/1.1/divisions/name/:name
   - [ ] put /api/1.1/divisions/:id
   - [ ] post /api/1.1/divisions
   - [ ] delete /api/1.1/divisions/:id
   - [ 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [x] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns
   - [ ] put /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [ ] get /api/1.1/cdns/:name/snapshot
   - [ ] get /api/1.1/cdns/:name/snapshot/new
   - [ ] put /api/1.1/cdns/:id/snapshot
   - [ ] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [ ] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
   - [ ] get /api/1.1/deliveryservices/:id
   - [ ] post /api/1.1/deliveryservices
   - [ ] put /api/1.1/deliveryservices/:id
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
   - [ ] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [ ] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] post /api/1.1/deliveryservices/:dsId/regexes
   - [ ] put /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] delete /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] get /api/1.1/deliveryservice_matches
   - [ ] get /api/1.1/deliveryserviceserver
   - [ ] post /api/1.1/deliveryserviceserver
   - [ ] get /api/1.1/divisions
   - [ ] get /api/1.1/divisions/:id
   - [ ] get /api/1.1/divisions/name/:name
   - [ ] put /api/1.1/divisions/:id
   - [ ] post /api/1.1/divisions
   - [ ] delete /api/1.1/divisions/:id
   - [ 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [ ] get /api/1.1/cdns
   - [x] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns
   - [ ] put /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [ ] get /api/1.1/cdns/:name/snapshot
   - [ ] get /api/1.1/cdns/:name/snapshot/new
   - [ ] put /api/1.1/cdns/:id/snapshot
   - [ ] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [ ] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
   - [ ] get /api/1.1/deliveryservices/:id
   - [ ] post /api/1.1/deliveryservices
   - [ ] put /api/1.1/deliveryservices/:id
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
   - [ ] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [ ] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] post /api/1.1/deliveryservices/:dsId/regexes
   - [ ] put /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] delete /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] get /api/1.1/deliveryservice_matches
   - [ ] get /api/1.1/deliveryserviceserver
   - [ ] post /api/1.1/deliveryserviceserver
   - [ ] get /api/1.1/divisions
   - [ ] get /api/1.1/divisions/:id
   - [ ] get /api/1.1/divisions/name/:name
   - [ ] put /api/1.1/divisions/:id
   - [ ] post /api/1.1/divisions
   - [ ] delete /api/1.1/divisions/:id
   - [ 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [ ] put /api/1.1/cachegroups/:id
   - [ ] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [ ] get /api/1.1/cdns
   - [ ] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns
   - [ ] put /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [ ] get /api/1.1/cdns/:name/snapshot
   - [ ] get /api/1.1/cdns/:name/snapshot/new
   - [ ] put /api/1.1/cdns/:id/snapshot
   - [ ] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [ ] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
   - [ ] get /api/1.1/deliveryservices/:id
   - [ ] post /api/1.1/deliveryservices
   - [ ] put /api/1.1/deliveryservices/:id
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
   - [ ] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [ ] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] post /api/1.1/deliveryservices/:dsId/regexes
   - [ ] put /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] delete /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] get /api/1.1/deliveryservice_matches
   - [ ] get /api/1.1/deliveryserviceserver
   - [ ] post /api/1.1/deliveryserviceserver
   - [ ] get /api/1.1/divisions
   - [ ] get /api/1.1/divisions/:id
   - [ ] get /api/1.1/divisions/name/:name
   - [ ] put /api/1.1/divisions/:id
   - [ ] post /api/1.1/divisions
   - [ ] delete /api/1.1/divisions/:id
   - [ 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups
   - [ ] put /api/1.1/cachegroups/:id
   - [ ] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [ ] get /api/1.1/cdns
   - [ ] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns
   - [ ] put /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [ ] get /api/1.1/cdns/:name/snapshot
   - [ ] get /api/1.1/cdns/:name/snapshot/new
   - [ ] put /api/1.1/cdns/:id/snapshot
   - [ ] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [ ] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
   - [ ] get /api/1.1/deliveryservices/:id
   - [ ] post /api/1.1/deliveryservices
   - [ ] put /api/1.1/deliveryservices/:id
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
   - [ ] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [ ] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] post /api/1.1/deliveryservices/:dsId/regexes
   - [ ] put /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] delete /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] get /api/1.1/deliveryservice_matches
   - [ ] get /api/1.1/deliveryserviceserver
   - [ ] post /api/1.1/deliveryserviceserver
   - [ ] get /api/1.1/divisions
   - [ ] get /api/1.1/divisions/:id
   - [ ] get /api/1.1/divisions/name/:name
   - [ ] put /api/1.1/divisions/:id
   - [ ] post /api/1.1/divisions
   - [ ] delete /api/1.1/divisions/:id
   - [ 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [x] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [ ] get /api/1.1/cdns
   - [ ] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns
   - [ ] put /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [ ] get /api/1.1/cdns/:name/snapshot
   - [ ] get /api/1.1/cdns/:name/snapshot/new
   - [ ] put /api/1.1/cdns/:id/snapshot
   - [ ] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [ ] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
   - [ ] get /api/1.1/deliveryservices/:id
   - [ ] post /api/1.1/deliveryservices
   - [ ] put /api/1.1/deliveryservices/:id
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
   - [ ] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [ ] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] post /api/1.1/deliveryservices/:dsId/regexes
   - [ ] put /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] delete /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] get /api/1.1/deliveryservice_matches
   - [ ] get /api/1.1/deliveryserviceserver
   - [ ] post /api/1.1/deliveryserviceserver
   - [ ] get /api/1.1/divisions
   - [ ] get /api/1.1/divisions/:id
   - [ ] get /api/1.1/divisions/name/:name
   - [ ] put /api/1.1/divisions/:id
   - [ ] post /api/1.1/divisions
   - [ ] delete /api/1.1/divisions/:id
   - [ 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [ ] get /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups
   - [ ] put /api/1.1/cachegroups/:id
   - [ ] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [ ] get /api/1.1/cdns
   - [ ] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns
   - [ ] put /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [ ] get /api/1.1/cdns/:name/snapshot
   - [ ] get /api/1.1/cdns/:name/snapshot/new
   - [ ] put /api/1.1/cdns/:id/snapshot
   - [ ] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [ ] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
   - [ ] get /api/1.1/deliveryservices/:id
   - [ ] post /api/1.1/deliveryservices
   - [ ] put /api/1.1/deliveryservices/:id
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
   - [ ] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [ ] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] post /api/1.1/deliveryservices/:dsId/regexes
   - [ ] put /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] delete /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] get /api/1.1/deliveryservice_matches
   - [ ] get /api/1.1/deliveryserviceserver
   - [ ] post /api/1.1/deliveryserviceserver
   - [ ] get /api/1.1/divisions
   - [ ] get /api/1.1/divisions/:id
   - [ ] get /api/1.1/divisions/name/:name
   - [ ] put /api/1.1/divisions/:id
   - [ ] post /api/1.1/divisions
   - [ ] delete /api/1.1/divisions/:id
   - [ 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [x] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [x] get /api/1.1/cachegroups/:id
   - [x] post /api/1.1/cachegroups
   - [x] put /api/1.1/cachegroups/:id
   - [ ] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [ ] get /api/1.1/cdns
   - [ ] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns
   - [ ] put /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [ ] get /api/1.1/cdns/:name/snapshot
   - [ ] get /api/1.1/cdns/:name/snapshot/new
   - [ ] put /api/1.1/cdns/:id/snapshot
   - [ ] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [ ] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
   - [ ] get /api/1.1/deliveryservices/:id
   - [ ] post /api/1.1/deliveryservices
   - [ ] put /api/1.1/deliveryservices/:id
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
   - [ ] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [ ] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] post /api/1.1/deliveryservices/:dsId/regexes
   - [ ] put /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] delete /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] get /api/1.1/deliveryservice_matches
   - [ ] get /api/1.1/deliveryserviceserver
   - [ ] post /api/1.1/deliveryserviceserver
   - [ ] get /api/1.1/divisions
   - [ ] get /api/1.1/divisions/:id
   - [ ] get /api/1.1/divisions/name/:name
   - [ ] put /api/1.1/divisions/:id
   - [ ] post /api/1.1/divisions
   - [ ] delete /api/1.1/divisions/:id
   - [ 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [x] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [ ] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [ ] get /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups
   - [ ] put /api/1.1/cachegroups/:id
   - [ ] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [ ] get /api/1.1/cdns
   - [ ] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns
   - [ ] put /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [ ] get /api/1.1/cdns/:name/snapshot
   - [ ] get /api/1.1/cdns/:name/snapshot/new
   - [ ] put /api/1.1/cdns/:id/snapshot
   - [ ] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [ ] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
   - [ ] get /api/1.1/deliveryservices/:id
   - [ ] post /api/1.1/deliveryservices
   - [ ] put /api/1.1/deliveryservices/:id
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
   - [ ] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [ ] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] post /api/1.1/deliveryservices/:dsId/regexes
   - [ ] put /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] delete /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] get /api/1.1/deliveryservice_matches
   - [ ] get /api/1.1/deliveryserviceserver
   - [ ] post /api/1.1/deliveryserviceserver
   - [ ] get /api/1.1/divisions
   - [ ] get /api/1.1/divisions/:id
   - [ ] get /api/1.1/divisions/name/:name
   - [ ] put /api/1.1/divisions/:id
   - [ ] post /api/1.1/divisions
   - [ ] delete /api/1.1/divisions/:id
   - [ 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [x] put /api/1.1/asns/:id
   - [ ] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [ ] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [ ] get /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups
   - [ ] put /api/1.1/cachegroups/:id
   - [ ] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [ ] get /api/1.1/cdns
   - [ ] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns
   - [ ] put /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [ ] get /api/1.1/cdns/:name/snapshot
   - [ ] get /api/1.1/cdns/:name/snapshot/new
   - [ ] put /api/1.1/cdns/:id/snapshot
   - [ ] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [ ] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
   - [ ] get /api/1.1/deliveryservices/:id
   - [ ] post /api/1.1/deliveryservices
   - [ ] put /api/1.1/deliveryservices/:id
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
   - [ ] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [ ] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] post /api/1.1/deliveryservices/:dsId/regexes
   - [ ] put /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] delete /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] get /api/1.1/deliveryservice_matches
   - [ ] get /api/1.1/deliveryserviceserver
   - [ ] post /api/1.1/deliveryserviceserver
   - [ ] get /api/1.1/divisions
   - [ ] get /api/1.1/divisions/:id
   - [ ] get /api/1.1/divisions/name/:name
   - [ ] put /api/1.1/divisions/:id
   - [ ] post /api/1.1/divisions
   - [ ] delete /api/1.1/divisions/:id
   - [ 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [ ] put /api/1.1/asns/:id
   - [ ] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [ ] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [ ] get /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups
   - [ ] put /api/1.1/cachegroups/:id
   - [ ] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [ ] get /api/1.1/cdns
   - [ ] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns
   - [ ] put /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [ ] get /api/1.1/cdns/:name/snapshot
   - [ ] get /api/1.1/cdns/:name/snapshot/new
   - [ ] put /api/1.1/cdns/:id/snapshot
   - [ ] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [ ] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
   - [ ] get /api/1.1/deliveryservices/:id
   - [ ] post /api/1.1/deliveryservices
   - [ ] put /api/1.1/deliveryservices/:id
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
   - [ ] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [ ] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] post /api/1.1/deliveryservices/:dsId/regexes
   - [ ] put /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] delete /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] get /api/1.1/deliveryservice_matches
   - [ ] get /api/1.1/deliveryserviceserver
   - [ ] post /api/1.1/deliveryserviceserver
   - [ ] get /api/1.1/divisions
   - [ ] get /api/1.1/divisions/:id
   - [ ] get /api/1.1/divisions/name/:name
   - [ ] put /api/1.1/divisions/:id
   - [ ] post /api/1.1/divisions
   - [ ] delete /api/1.1/divisions/:id
   - [ 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [ ] get /api/1.2/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [ ] put /api/1.1/asns/:id
   - [ ] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [ ] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [ ] get /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups
   - [ ] put /api/1.1/cachegroups/:id
   - [ ] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [ ] get /api/1.1/cdns
   - [ ] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns
   - [ ] put /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [ ] get /api/1.1/cdns/:name/snapshot
   - [ ] get /api/1.1/cdns/:name/snapshot/new
   - [ ] put /api/1.1/cdns/:id/snapshot
   - [ ] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [ ] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
   - [ ] get /api/1.1/deliveryservices/:id
   - [ ] post /api/1.1/deliveryservices
   - [ ] put /api/1.1/deliveryservices/:id
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
   - [ ] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [ ] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] post /api/1.1/deliveryservices/:dsId/regexes
   - [ ] put /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] delete /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] get /api/1.1/deliveryservice_matches
   - [ ] get /api/1.1/deliveryserviceserver
   - [ ] post /api/1.1/deliveryserviceserver
   - [ ] get /api/1.1/divisions
   - [ ] get /api/1.1/divisions/:id
   - [ ] get /api/1.1/divisions/name/:name
   - [ ] put /api/1.1/divisions/:id
   - [ ] post /api/1.1/divisions
   - [ ] delete /api/1.1/divisions/:id
   - [ 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [ ] get /api/1.1/asns
   - [x] get /api/1.1/asns/:id
   - [x] post /api/1.1/asns
   - [ ] put /api/1.1/asns/:id
   - [ ] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [ ] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [ ] get /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups
   - [ ] put /api/1.1/cachegroups/:id
   - [ ] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [ ] get /api/1.1/cdns
   - [ ] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns
   - [ ] put /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [ ] get /api/1.1/cdns/:name/snapshot
   - [ ] get /api/1.1/cdns/:name/snapshot/new
   - [ ] put /api/1.1/cdns/:id/snapshot
   - [ ] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [ ] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
   - [ ] get /api/1.1/deliveryservices/:id
   - [ ] post /api/1.1/deliveryservices
   - [ ] put /api/1.1/deliveryservices/:id
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
   - [ ] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [ ] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] post /api/1.1/deliveryservices/:dsId/regexes
   - [ ] put /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] delete /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] get /api/1.1/deliveryservice_matches
   - [ ] get /api/1.1/deliveryserviceserver
   - [ ] post /api/1.1/deliveryserviceserver
   - [ ] get /api/1.1/divisions
   - [ ] get /api/1.1/divisions/:id
   - [ ] get /api/1.1/divisions/name/:name
   - [ ] put /api/1.1/divisions/:id
   - [ ] post /api/1.1/divisions
   - [ ] delete /api/1.1/divisions/:id
   - [ 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [ ] get /api/1.1/asns
   - [x] get /api/1.1/asns/:id
   - [ ] post /api/1.1/asns
   - [ ] put /api/1.1/asns/:id
   - [ ] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [ ] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [ ] get /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups
   - [ ] put /api/1.1/cachegroups/:id
   - [ ] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [ ] get /api/1.1/cdns
   - [ ] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns
   - [ ] put /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [ ] get /api/1.1/cdns/:name/snapshot
   - [ ] get /api/1.1/cdns/:name/snapshot/new
   - [ ] put /api/1.1/cdns/:id/snapshot
   - [ ] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [ ] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
   - [ ] get /api/1.1/deliveryservices/:id
   - [ ] post /api/1.1/deliveryservices
   - [ ] put /api/1.1/deliveryservices/:id
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
   - [ ] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [ ] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] post /api/1.1/deliveryservices/:dsId/regexes
   - [ ] put /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] delete /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] get /api/1.1/deliveryservice_matches
   - [ ] get /api/1.1/deliveryserviceserver
   - [ ] post /api/1.1/deliveryserviceserver
   - [ ] get /api/1.1/divisions
   - [ ] get /api/1.1/divisions/:id
   - [ ] get /api/1.1/divisions/name/:name
   - [ ] put /api/1.1/divisions/:id
   - [ ] post /api/1.1/divisions
   - [ ] delete /api/1.1/divisions/:id
   - [ 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [ ] get /api/1.1/asns
   - [ ] get /api/1.1/asns
   - [ ] get /api/1.1/asns/:id
   - [ ] post /api/1.1/asns
   - [ ] put /api/1.1/asns/:id
   - [ ] delete /api/1.1/asns/:id
   - [ ] get /api/1.1/caches/stats
   - [ ] get /api/1.1/cachegroups
   - [ ] get /api/1.1/cachegroups/trimmed
   - [ ] get /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups
   - [ ] put /api/1.1/cachegroups/:id
   - [ ] delete /api/1.1/cachegroups/:id
   - [ ] post /api/1.1/cachegroups/:id/deliveryservices
   - [ ] post /api/1.1/cachegroups/:id/queue_update
   - [ ] get /api/1.1/cdns
   - [ ] get /api/1.1/cdns/:id
   - [ ] get /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns
   - [ ] put /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/:id
   - [ ] delete /api/1.1/cdns/name/:name
   - [ ] post /api/1.1/cdns/:id/queue_update
   - [ ] get /api/1.1/cdns/health
   - [ ] get /api/1.1/cdns/:name/health
   - [ ] get /api/1.1/cdns/capacity
   - [ ] get /api/1.1/cdns/routing
   - [ ] get /api/1.1/cdns/:name/snapshot
   - [ ] get /api/1.1/cdns/:name/snapshot/new
   - [ ] put /api/1.1/cdns/:id/snapshot
   - [ ] put /api/1.1/snapshot/:cdn_name
   - [ ] get 
/api/1.1/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys
   - [ ] post /api/1.1/cdns/dnsseckeys/generate
   - [ ] get /api/1.1/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/1.1/cdns/dnsseckeys/refresh
   - [ ] get /api/1.1/cdns/name/:name/sslkeys
   - [ ] get /api/1.1/cdns/configs
   - [ ] get /api/1.1/cdns/:name/configs/routing
   - [ ] get /api/1.1/cdns/:name/configs/monitoring
   - [ ] get /api/1.1/cdns/domains
   - [ ] get /api/1.1/logs
   - [ ] get /api/1.1/logs/:days/days
   - [ ] get /api/1.1/logs/newcount
   - [ ] get /api/1.1/servers/:id/configfiles/ats
   - [ ] get /api/1.1/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/servers/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/1.1/dbdump
   - [ ] get /api/1.1/deliveryservices
   - [ ] get /api/1.1/deliveryservices/:id
   - [ ] post /api/1.1/deliveryservices
   - [ ] put /api/1.1/deliveryservices/:id
   - [ ] put /api/1.1/deliveryservices/:id/safe
   - [ ] delete /api/1.1/deliveryservices/:id
   - [ ] get /api/1.1/servers/:id/deliveryservices
   - [ ] post /api/1.1/deliveryservices/:xml_id/servers
   - [ ] delete /api/1.1/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/1.1/deliveryservices/:id/health
   - [ ] get /api/1.1/deliveryservices/:id/capacity
   - [ ] get /api/1.1/deliveryservices/:id/routing
   - [ ] get /api/1.1/deliveryservices/:id/state
   - [ ] post /api/1.1/deliveryservices/request
   - [ ] get /internal/api/1.1/steering
   - [ ] get /internal/api/1.1/steering/:xml_id
   - [ ] put /internal/api/1.1/steering/:xml_id
   - [ ] get /api/1.1/steering/:id/targets
   - [ ] get /api/1.1/steering/:id/targets/:target_id
   - [ ] post /api/1.1/steering/:id/targets
   - [ ] put /api/1.1/steering/:id/targets/:target_id
   - [ ] delete /api/1.1/steering/:id/targets/:target_id
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/1.1/deliveryservices/sslkeys/generate
   - [ ] post /api/1.1/deliveryservices/sslkeys/add
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/1.1/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/1.1/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/1.1/deliveryservices/:id/urlkeys
   - [ ] get /api/1.1/deliveryservices_regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes
   - [ ] get /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] post /api/1.1/deliveryservices/:dsId/regexes
   - [ ] put /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] delete /api/1.1/deliveryservices/:dsId/regexes/:id
   - [ ] get /api/1.1/deliveryservice_matches
   - [ ] get /api/1.1/deliveryserviceserver
   - [ ] post /api/1.1/deliveryserviceserver
   - [ ] get /api/1.1/divisions
   - [ ] get /api/1.1/divisions/:id
   - [ ] get /api/1.1/divisions/name/:name
   - [ ] put /api/1.1/divisions/:id
   - [ ] post /api/1.1/divisions
   - [ ] delete /api/1.1/divisions/:id
   - [ 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [ ] get /api/$version/asns
   - [ ] get /api/$version/asns/:id
   - [ ] post /api/$version/asns
   - [ ] put /api/$version/asns/:id
   - [ ] delete /api/$version/asns/:id
   - [ ] get /api/$version/caches/stats
   - [ ] get /api/$version/cachegroups
   - [ ] get /api/$version/cachegroups/trimmed
   - [ ] get /api/$version/cachegroups/:id
   - [ ] post /api/$version/cachegroups
   - [ ] put /api/$version/cachegroups/:id
   - [ ] delete /api/$version/cachegroups/:id
   - [ ] post /api/$version/cachegroups/:id/deliveryservices
   - [ ] post /api/$version/cachegroups/:id/queue_update
   - [ ] get /api/$version/cdns
   - [ ] get /api/$version/cdns/:id
   - [ ] get /api/$version/cdns/name/:name
   - [ ] post /api/$version/cdns
   - [ ] put /api/$version/cdns/:id
   - [ ] delete /api/$version/cdns/:id
   - [ ] delete /api/$version/cdns/name/:name
   - [ ] post /api/$version/cdns/:id/queue_update
   - [ ] get /api/$version/cdns/health
   - [ ] get /api/$version/cdns/:name/health
   - [ ] get /api/$version/cdns/capacity
   - [ ] get /api/$version/cdns/routing
   - [ ] get /api/$version/cdns/:name/snapshot
   - [ ] get /api/$version/cdns/:name/snapshot/new
   - [ ] put /api/$version/cdns/:id/snapshot
   - [ ] put /api/$version/snapshot/:cdn_name
   - [ ] get 
/api/$version/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/$version/cdns/name/:name/dnsseckeys
   - [ ] post /api/$version/cdns/dnsseckeys/generate
   - [ ] get /api/$version/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/$version/cdns/dnsseckeys/refresh
   - [ ] get /api/$version/cdns/name/:name/sslkeys
   - [ ] get /api/$version/cdns/configs
   - [ ] get /api/$version/cdns/:name/configs/routing
   - [ ] get /api/$version/cdns/:name/configs/monitoring
   - [ ] get /api/$version/cdns/domains
   - [ ] get /api/$version/logs
   - [ ] get /api/$version/logs/:days/days
   - [ ] get /api/$version/logs/newcount
   - [ ] get /api/$version/servers/:id/configfiles/ats
   - [ ] get /api/$version/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/$version/servers/:id/configfiles/ats/:filename
   - [ ] get /api/$version/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/$version/dbdump
   - [ ] get /api/$version/deliveryservices
   - [ ] get /api/$version/deliveryservices/:id
   - [ ] post /api/$version/deliveryservices
   - [ ] put /api/$version/deliveryservices/:id
   - [ ] put /api/$version/deliveryservices/:id/safe
   - [ ] delete /api/$version/deliveryservices/:id
   - [ ] get /api/$version/servers/:id/deliveryservices
   - [ ] post /api/$version/deliveryservices/:xml_id/servers
   - [ ] delete /api/$version/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/$version/deliveryservices/:id/health
   - [ ] get /api/$version/deliveryservices/:id/capacity
   - [ ] get /api/$version/deliveryservices/:id/routing
   - [ ] get /api/$version/deliveryservices/:id/state
   - [ ] post /api/$version/deliveryservices/request
   - [ ] get /internal/api/$version/steering
   - [ ] get /internal/api/$version/steering/:xml_id
   - [ ] put /internal/api/$version/steering/:xml_id
   - [ ] get /api/$version/steering/:id/targets
   - [ ] get /api/$version/steering/:id/targets/:target_id
   - [ ] post /api/$version/steering/:id/targets
   - [ ] put /api/$version/steering/:id/targets/:target_id
   - [ ] delete /api/$version/steering/:id/targets/:target_id
   - [ ] get /api/$version/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/$version/deliveryservices/sslkeys/generate
   - [ ] post /api/$version/deliveryservices/sslkeys/add
   - [ ] get /api/$version/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/$version/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/$version/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/$version/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/$version/deliveryservices/:id/urlkeys
   - [ ] get /api/$version/deliveryservices_regexes
   - [ ] get /api/$version/deliveryservices/:dsId/regexes
   - [ ] get /api/$version/deliveryservices/:dsId/regexes/:id
   - [ ] post /api/$version/deliveryservices/:dsId/regexes
   - [ ] put /api/$version/deliveryservices/:dsId/regexes/:id
   - 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/$version/asns
   - [x] get /api/$version/asns/:id
   - [ ] post /api/$version/asns
   - [ ] put /api/$version/asns/:id
   - [ ] delete /api/$version/asns/:id
   - [ ] get /api/$version/caches/stats
   - [ ] get /api/$version/cachegroups
   - [ ] get /api/$version/cachegroups/trimmed
   - [ ] get /api/$version/cachegroups/:id
   - [ ] post /api/$version/cachegroups
   - [ ] put /api/$version/cachegroups/:id
   - [ ] delete /api/$version/cachegroups/:id
   - [ ] post /api/$version/cachegroups/:id/deliveryservices
   - [ ] post /api/$version/cachegroups/:id/queue_update
   - [ ] get /api/$version/cdns
   - [ ] get /api/$version/cdns/:id
   - [ ] get /api/$version/cdns/name/:name
   - [ ] post /api/$version/cdns
   - [ ] put /api/$version/cdns/:id
   - [ ] delete /api/$version/cdns/:id
   - [ ] delete /api/$version/cdns/name/:name
   - [ ] post /api/$version/cdns/:id/queue_update
   - [ ] get /api/$version/cdns/health
   - [ ] get /api/$version/cdns/:name/health
   - [ ] get /api/$version/cdns/capacity
   - [ ] get /api/$version/cdns/routing
   - [ ] get /api/$version/cdns/:name/snapshot
   - [ ] get /api/$version/cdns/:name/snapshot/new
   - [ ] put /api/$version/cdns/:id/snapshot
   - [ ] put /api/$version/snapshot/:cdn_name
   - [ ] get 
/api/$version/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/$version/cdns/name/:name/dnsseckeys
   - [ ] post /api/$version/cdns/dnsseckeys/generate
   - [ ] get /api/$version/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/$version/cdns/dnsseckeys/refresh
   - [ ] get /api/$version/cdns/name/:name/sslkeys
   - [ ] get /api/$version/cdns/configs
   - [ ] get /api/$version/cdns/:name/configs/routing
   - [ ] get /api/$version/cdns/:name/configs/monitoring
   - [ ] get /api/$version/cdns/domains
   - [ ] get /api/$version/logs
   - [ ] get /api/$version/logs/:days/days
   - [ ] get /api/$version/logs/newcount
   - [ ] get /api/$version/servers/:id/configfiles/ats
   - [ ] get /api/$version/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/$version/servers/:id/configfiles/ats/:filename
   - [ ] get /api/$version/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/$version/dbdump
   - [ ] get /api/$version/deliveryservices
   - [ ] get /api/$version/deliveryservices/:id
   - [ ] post /api/$version/deliveryservices
   - [ ] put /api/$version/deliveryservices/:id
   - [ ] put /api/$version/deliveryservices/:id/safe
   - [ ] delete /api/$version/deliveryservices/:id
   - [ ] get /api/$version/servers/:id/deliveryservices
   - [ ] post /api/$version/deliveryservices/:xml_id/servers
   - [ ] delete /api/$version/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/$version/deliveryservices/:id/health
   - [ ] get /api/$version/deliveryservices/:id/capacity
   - [ ] get /api/$version/deliveryservices/:id/routing
   - [ ] get /api/$version/deliveryservices/:id/state
   - [ ] post /api/$version/deliveryservices/request
   - [ ] get /internal/api/$version/steering
   - [ ] get /internal/api/$version/steering/:xml_id
   - [ ] put /internal/api/$version/steering/:xml_id
   - [ ] get /api/$version/steering/:id/targets
   - [ ] get /api/$version/steering/:id/targets/:target_id
   - [ ] post /api/$version/steering/:id/targets
   - [ ] put /api/$version/steering/:id/targets/:target_id
   - [ ] delete /api/$version/steering/:id/targets/:target_id
   - [ ] get /api/$version/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/$version/deliveryservices/sslkeys/generate
   - [ ] post /api/$version/deliveryservices/sslkeys/add
   - [ ] get /api/$version/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/$version/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/$version/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/$version/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/$version/deliveryservices/:id/urlkeys
   - [ ] get /api/$version/deliveryservices_regexes
   - [ ] get /api/$version/deliveryservices/:dsId/regexes
   - [ ] get /api/$version/deliveryservices/:dsId/regexes/:id
   - [ ] post /api/$version/deliveryservices/:dsId/regexes
   - [ ] put /api/$version/deliveryservices/:dsId/regexes/:id
   - 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [x] get /api/1.1/asns
   - [x] get /api/$version/asns
   - [ ] get /api/$version/asns/:id
   - [ ] post /api/$version/asns
   - [ ] put /api/$version/asns/:id
   - [ ] delete /api/$version/asns/:id
   - [ ] get /api/$version/caches/stats
   - [ ] get /api/$version/cachegroups
   - [ ] get /api/$version/cachegroups/trimmed
   - [ ] get /api/$version/cachegroups/:id
   - [ ] post /api/$version/cachegroups
   - [ ] put /api/$version/cachegroups/:id
   - [ ] delete /api/$version/cachegroups/:id
   - [ ] post /api/$version/cachegroups/:id/deliveryservices
   - [ ] post /api/$version/cachegroups/:id/queue_update
   - [ ] get /api/$version/cdns
   - [ ] get /api/$version/cdns/:id
   - [ ] get /api/$version/cdns/name/:name
   - [ ] post /api/$version/cdns
   - [ ] put /api/$version/cdns/:id
   - [ ] delete /api/$version/cdns/:id
   - [ ] delete /api/$version/cdns/name/:name
   - [ ] post /api/$version/cdns/:id/queue_update
   - [ ] get /api/$version/cdns/health
   - [ ] get /api/$version/cdns/:name/health
   - [ ] get /api/$version/cdns/capacity
   - [ ] get /api/$version/cdns/routing
   - [ ] get /api/$version/cdns/:name/snapshot
   - [ ] get /api/$version/cdns/:name/snapshot/new
   - [ ] put /api/$version/cdns/:id/snapshot
   - [ ] put /api/$version/snapshot/:cdn_name
   - [ ] get 
/api/$version/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/$version/cdns/name/:name/dnsseckeys
   - [ ] post /api/$version/cdns/dnsseckeys/generate
   - [ ] get /api/$version/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/$version/cdns/dnsseckeys/refresh
   - [ ] get /api/$version/cdns/name/:name/sslkeys
   - [ ] get /api/$version/cdns/configs
   - [ ] get /api/$version/cdns/:name/configs/routing
   - [ ] get /api/$version/cdns/:name/configs/monitoring
   - [ ] get /api/$version/cdns/domains
   - [ ] get /api/$version/logs
   - [ ] get /api/$version/logs/:days/days
   - [ ] get /api/$version/logs/newcount
   - [ ] get /api/$version/servers/:id/configfiles/ats
   - [ ] get /api/$version/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/$version/servers/:id/configfiles/ats/:filename
   - [ ] get /api/$version/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/$version/dbdump
   - [ ] get /api/$version/deliveryservices
   - [ ] get /api/$version/deliveryservices/:id
   - [ ] post /api/$version/deliveryservices
   - [ ] put /api/$version/deliveryservices/:id
   - [ ] put /api/$version/deliveryservices/:id/safe
   - [ ] delete /api/$version/deliveryservices/:id
   - [ ] get /api/$version/servers/:id/deliveryservices
   - [ ] post /api/$version/deliveryservices/:xml_id/servers
   - [ ] delete /api/$version/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/$version/deliveryservices/:id/health
   - [ ] get /api/$version/deliveryservices/:id/capacity
   - [ ] get /api/$version/deliveryservices/:id/routing
   - [ ] get /api/$version/deliveryservices/:id/state
   - [ ] post /api/$version/deliveryservices/request
   - [ ] get /internal/api/$version/steering
   - [ ] get /internal/api/$version/steering/:xml_id
   - [ ] put /internal/api/$version/steering/:xml_id
   - [ ] get /api/$version/steering/:id/targets
   - [ ] get /api/$version/steering/:id/targets/:target_id
   - [ ] post /api/$version/steering/:id/targets
   - [ ] put /api/$version/steering/:id/targets/:target_id
   - [ ] delete /api/$version/steering/:id/targets/:target_id
   - [ ] get /api/$version/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/$version/deliveryservices/sslkeys/generate
   - [ ] post /api/$version/deliveryservices/sslkeys/add
   - [ ] get /api/$version/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/$version/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/$version/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/$version/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/$version/deliveryservices/:id/urlkeys
   - [ ] get /api/$version/deliveryservices_regexes
   - [ ] get /api/$version/deliveryservices/:dsId/regexes
   - [ ] get /api/$version/deliveryservices/:dsId/regexes/:id
   - [ ] post /api/$version/deliveryservices/:dsId/regexes
   - [ ] put /api/$version/deliveryservices/:dsId/regexes/:id
   - 

[GitHub] rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints in Go

2018-05-08 Thread GitBox
rob05c commented on issue #2232: Rewrite Traffic Ops CRConfig Table Endpoints 
in Go
URL: 
https://github.com/apache/incubator-trafficcontrol/issues/2232#issuecomment-387444293
 
 
   Ok, we have PRs for all major table routes, but many of them are only 
"CRUD", and missing additional endpoints. So I'm listing all Perl API routes 
here. 
   * if you've verified a route does not use one of the CRConfig tables 
(above), follow it with a bullet noting that. Be sure to verify any tables the 
route does use do not link a CRConfig table, in those tables' 
`traffic_ops/app/lib/Schema/Result`
   * if there is an unmerged PR, follow with a bullet linking the PR
   * if the route is in Go, in master, check it off
   
   - [ ] get /api/1.1/asns
   - [ ] get /api/$version/asns
   - [ ] get /api/$version/asns/:id
   - [ ] post /api/$version/asns
   - [ ] put /api/$version/asns/:id
   - [ ] delete /api/$version/asns/:id
   - [ ] get /api/$version/caches/stats
   - [ ] get /api/$version/cachegroups
   - [ ] get /api/$version/cachegroups/trimmed
   - [ ] get /api/$version/cachegroups/:id
   - [ ] post /api/$version/cachegroups
   - [ ] put /api/$version/cachegroups/:id
   - [ ] delete /api/$version/cachegroups/:id
   - [ ] post /api/$version/cachegroups/:id/deliveryservices
   - [ ] post /api/$version/cachegroups/:id/queue_update
   - [ ] get /api/$version/cdns
   - [ ] get /api/$version/cdns/:id
   - [ ] get /api/$version/cdns/name/:name
   - [ ] post /api/$version/cdns
   - [ ] put /api/$version/cdns/:id
   - [ ] delete /api/$version/cdns/:id
   - [ ] delete /api/$version/cdns/name/:name
   - [ ] post /api/$version/cdns/:id/queue_update
   - [ ] get /api/$version/cdns/health
   - [ ] get /api/$version/cdns/:name/health
   - [ ] get /api/$version/cdns/capacity
   - [ ] get /api/$version/cdns/routing
   - [ ] get /api/$version/cdns/:name/snapshot
   - [ ] get /api/$version/cdns/:name/snapshot/new
   - [ ] put /api/$version/cdns/:id/snapshot
   - [ ] put /api/$version/snapshot/:cdn_name
   - [ ] get 
/api/$version/cdns/metric_types/:metric_type/start_date/:start_date/end_date/:end_date
   - [ ] get /api/$version/cdns/name/:name/dnsseckeys
   - [ ] post /api/$version/cdns/dnsseckeys/generate
   - [ ] get /api/$version/cdns/name/:name/dnsseckeys/delete
   - [ ] get /internal/api/$version/cdns/dnsseckeys/refresh
   - [ ] get /api/$version/cdns/name/:name/sslkeys
   - [ ] get /api/$version/cdns/configs
   - [ ] get /api/$version/cdns/:name/configs/routing
   - [ ] get /api/$version/cdns/:name/configs/monitoring
   - [ ] get /api/$version/cdns/domains
   - [ ] get /api/$version/logs
   - [ ] get /api/$version/logs/:days/days
   - [ ] get /api/$version/logs/newcount
   - [ ] get /api/$version/servers/:id/configfiles/ats
   - [ ] get /api/$version/profiles/:id/configfiles/ats/:filename
   - [ ] get /api/$version/servers/:id/configfiles/ats/:filename
   - [ ] get /api/$version/cdns/:id/configfiles/ats/:filename
   - [ ] get /api/$version/dbdump
   - [ ] get /api/$version/deliveryservices
   - [ ] get /api/$version/deliveryservices/:id
   - [ ] post /api/$version/deliveryservices
   - [ ] put /api/$version/deliveryservices/:id
   - [ ] put /api/$version/deliveryservices/:id/safe
   - [ ] delete /api/$version/deliveryservices/:id
   - [ ] get /api/$version/servers/:id/deliveryservices
   - [ ] post /api/$version/deliveryservices/:xml_id/servers
   - [ ] delete /api/$version/deliveryservice_server/:dsId/:serverId
   - [ ] get /api/$version/deliveryservices/:id/health
   - [ ] get /api/$version/deliveryservices/:id/capacity
   - [ ] get /api/$version/deliveryservices/:id/routing
   - [ ] get /api/$version/deliveryservices/:id/state
   - [ ] post /api/$version/deliveryservices/request
   - [ ] get /internal/api/$version/steering
   - [ ] get /internal/api/$version/steering/:xml_id
   - [ ] put /internal/api/$version/steering/:xml_id
   - [ ] get /api/$version/steering/:id/targets
   - [ ] get /api/$version/steering/:id/targets/:target_id
   - [ ] post /api/$version/steering/:id/targets
   - [ ] put /api/$version/steering/:id/targets/:target_id
   - [ ] delete /api/$version/steering/:id/targets/:target_id
   - [ ] get /api/$version/deliveryservices/xmlId/:xmlid/sslkeys
   - [ ] post /api/$version/deliveryservices/sslkeys/generate
   - [ ] post /api/$version/deliveryservices/sslkeys/add
   - [ ] get /api/$version/deliveryservices/xmlId/:xmlid/sslkeys/delete
   - [ ] post /api/$version/deliveryservices/xmlId/:xmlId/urlkeys/generate
   - [ ] post 
/api/$version/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
   - [ ] get /api/$version/deliveryservices/xmlId/:xmlId/urlkeys
   - [ ] get /api/$version/deliveryservices/:id/urlkeys
   - [ ] get /api/$version/deliveryservices_regexes
   - [ ] get /api/$version/deliveryservices/:dsId/regexes
   - [ ] get /api/$version/deliveryservices/:dsId/regexes/:id
   - [ ] post /api/$version/deliveryservices/:dsId/regexes
   - [ ] put /api/$version/deliveryservices/:dsId/regexes/:id
   -