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

[GitHub] [trafficcontrol] rawlinp opened a new pull request #4684: Uncomment Perl routes for /jobs and /jobs/:id

rawlinp opened a new pull request #4684:
URL: https://github.com/apache/trafficcontrol/pull/4684


   ## What does this PR (Pull Request) do?
   
   These routes need to be uncommented in the Perl routes in order for us
   to fall back to them via the TO API routing blacklist. Otherwise,
   falling back to these routes causes TO to 404.
   
   
   - [x] This PR is not related to any issue
   
   ## Which Traffic Control components are affected by this PR?
   
   - Traffic Ops
   
   ## What is the best way to verify this PR?
   
   Configure the TO API routing blacklist to have the /jobs API endpoints fall back to Perl:
   ```
       "traffic_ops_golang" : {
           ...
           "routing_blacklist": {
               "ignore_unknown_routes": false,
               "perl_routes": [1966782041, 2085189426],
               "disabled_routes": []
           },
   ```
   
   Then request `GET /api/1.4/jobs` and `GET /api/1.4/jobs/:id` endpoints, verify that they don't 404 and that they return jobs data successfully from TO-Perl.
   
   ## If this is a bug fix, what versions of Traffic Control are affected?
   
   - master
   - 4.1.0-RC0
   - 4.0.0
   
   ## The following criteria are ALL met by this PR
   
   - [x] Minor route uncommenting, no tests necessary
   - [x] Minor route uncommenting, no docs necessary
   - [x] This PR includes an update to CHANGELOG.md
   - [x] This PR includes any and all required license headers
   - [x] This PR does not include a database migration
   - [x] This PR **DOES NOT FIX A SERIOUS SECURITY VULNERABILITY** (see [the Apache Software Foundation's security guidelines](https://www.apache.org/security/) for details)


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

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