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

[GitHub] [trafficcontrol] ocket8888 opened a new issue #4612: Update /servers and /servers/{{ID}} to use data from the interfaces tables

ocket8888 opened a new issue #4612: Update /servers and /servers/{{ID}} to use data from the interfaces tables
URL: https://github.com/apache/trafficcontrol/issues/4612
 
 
   ## I'm submitting a ...
   - new feature / enhancement request
   
   ## Description
   The `/servers` endpoint (and `/servers/{{ID}}` which uses the same handler) need to be updated to utilize data from the new tables added by whatever PR resolves #4611.
   
   This depends on #4611
   
   ## Traffic Control components affected ...
   - Documentation
   - Traffic Ops
   
   ## Acceptance Criteria
   * `/servers` in API 1.x:
   	* Uses the tables to provide the right legacy output for the `GET` method (should be unchanged)
   	* Properly translates its legacy input into data for the new tables for the `POST` method (behavior should be unchanged)
   	* Properly translates its legacy input into data for the new tables for the `PUT` method (behavior should be unchanged)
   * `/servers` in API 2.x:
   	* Provides the proper representations of cache servers as outlined in the blueprint for the `GET` method
   	* Properly validates input to the `POST` and `PUT` methods, according to the rules laid out in the blueprint
   	* New behavior adheres to the API guidelines (where applicable)
   	* All behavior changes have been documented
   * CDN-in-a-Box automated data insertion has been updated to use the new format (probably just need to edit a JSON template)
   
   See the [Additional Server Interfaces blueprint](https://github.com/apache/trafficcontrol/blob/master/blueprints/multi-interface-servers.md#serversserversid) 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