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 2019/04/10 15:56:26 UTC

[GitHub] [trafficcontrol] ocket8888 opened a new pull request #3478: Mock Traffic Ops Server

ocket8888 opened a new pull request #3478: Mock Traffic Ops Server
URL: https://github.com/apache/trafficcontrol/pull/3478
 
 
   ## What does this PR (Pull Request) do?
   - [x] This PR is not related to any Issue
   
   Adds a "Mock" Traffic Ops server that provides static, immutable, and deterministic responses to the same routes as the actual Traffic Ops API. The purpose of this is for testing API clients (e.g. ORT, which is the client I, personally ,am specifically interested in testing with this), since the API itself cannot be guaranteed to produce the same response to subsequent requests made to any given endpoint.
   
   ## Which Traffic Control components are affected by this PR?
   - Documentation
   - Traffic Control Client (Go)
   
   ## What is the best way to verify this PR?
   Please build and run the mock Traffic Ops server (see the provided README in `traffic_ops/client_tests`), and build and view the documentation (which can be found under "Tools"). No tests are provided because that feels like a dependency recursion... But more seriously because the intention is for this to BE a testing tool.
   
   ## If this is a bug fix, what versions of Traffic Ops are affected?
   N/A
   
   ## The following criteria are ALL met by this PR
   - [x] This PR includes tests OR I have explained why tests are unnecessary
   - [x] This PR includes documentation OR I have explained why documentation is unnecessary
   - [x] This PR includes an update to CHANGELOG.md OR such an update is not necessary
   - [x] This PR includes any and all required license headers
   - [x] This PR ensures that database migration sequence is correct OR 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


With regards,
Apache Git Services