[GitHub] [trafficcontrol] mitchell852 commented on issue #3966: Add server capabilities API

2019-10-11 Thread GitBox
mitchell852 commented on issue #3966: Add server capabilities API URL: https://github.com/apache/trafficcontrol/pull/3966#issuecomment-541107445 > Unknown parameters should be ignored. agree This is an automated

[GitHub] [trafficcontrol] mitchell852 commented on issue #3966: Add server capabilities API

2019-10-11 Thread GitBox
mitchell852 commented on issue #3966: Add server capabilities API URL: https://github.com/apache/trafficcontrol/pull/3966#issuecomment-541107333 > Trimming whitespace should be fine. It should be documented, but the extra safety seems like a good thing to me. agree

[GitHub] [trafficcontrol] mitchell852 commented on issue #3966: Add server capabilities API

2019-10-10 Thread GitBox
mitchell852 commented on issue #3966: Add server capabilities API URL: https://github.com/apache/trafficcontrol/pull/3966#issuecomment-540607241 Just a thought. What about a GET response like: ``` { "response": [ { "name": "bar", "lastUpdated":

[GitHub] [trafficcontrol] mitchell852 commented on issue #3966: Add server capabilities API

2019-10-10 Thread GitBox
mitchell852 commented on issue #3966: Add server capabilities API URL: https://github.com/apache/trafficcontrol/pull/3966#issuecomment-540599816 Are there any restrictions on server capability name? I.e. no spaces, alphanumeric only, etc...

[GitHub] [trafficcontrol] mitchell852 commented on issue #3966: Add server capabilities API

2019-10-09 Thread GitBox
mitchell852 commented on issue #3966: Add server capabilities API URL: https://github.com/apache/trafficcontrol/pull/3966#issuecomment-540090948 > Should POST/DELETE only be admin? Right now I have it set to Operations. probably a question for @rob05c

[GitHub] [trafficcontrol] mitchell852 commented on issue #3966: Add server capabilities API

2019-10-09 Thread GitBox
mitchell852 commented on issue #3966: Add server capabilities API URL: https://github.com/apache/trafficcontrol/pull/3966#issuecomment-540061661 i don't suppose you happened to add entries to seeds.sql for creating a "capability" (i'm talking about a user capability here) like the

[GitHub] [trafficcontrol] mitchell852 commented on issue #3966: Add server capabilities API

2019-10-09 Thread GitBox
mitchell852 commented on issue #3966: Add server capabilities API URL: https://github.com/apache/trafficcontrol/pull/3966#issuecomment-540043806 without reading thru the code, does DELETE validate that the "server capability" is: a. not being used by any server and b. is not

[GitHub] [trafficcontrol] mitchell852 commented on issue #3966: Add server capabilities API

2019-10-08 Thread GitBox
mitchell852 commented on issue #3966: Add server capabilities API URL: https://github.com/apache/trafficcontrol/pull/3966#issuecomment-539697696 > Updated the description with routes and expected payloads. GET /server_capabilities[?name=] POST /server_capabilities DELETE

[GitHub] [trafficcontrol] mitchell852 commented on issue #3966: Add server capabilities API

2019-10-08 Thread GitBox
mitchell852 commented on issue #3966: Add server capabilities API URL: https://github.com/apache/trafficcontrol/pull/3966#issuecomment-539687719 Since there are no docs, can you add to your PR description what that routes are and the expected request payloads for each?