You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "Jeremy Mitchell (JIRA)" <ji...@apache.org> on 2017/01/25 16:56:26 UTC

[jira] [Closed] (TC-94) Add Deliveryservice Regex CRUD capabilities

     [ https://issues.apache.org/jira/browse/TC-94?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeremy Mitchell closed TC-94.
-----------------------------

> Add Deliveryservice Regex CRUD capabilities
> -------------------------------------------
>
>                 Key: TC-94
>                 URL: https://issues.apache.org/jira/browse/TC-94
>             Project: Traffic Control
>          Issue Type: Improvement
>          Components: Traffic Ops API
>            Reporter: Jeremy Mitchell
>            Assignee: Jeremy Mitchell
>            Priority: Minor
>
> Currently you cannot manage delivery service regexes through the API. Here is what you should be able to do:
> 1. Get all regexes for a ds (GET /api/deliveryservices/4/regexes)
> 2. Get a single regex for a ds (GET /api/deliveryservices/4/regexes/1)
> 3. Create a ds regex (POST /api/deliveryservices/4/regexes)
> 4. Update a ds regex (PUT /api/deliveryservices/4/regexes/1)
> 5. Delete a ds regex (DELETE /api/deliveryservices/4/regexes/1)
> (technically, you can do #1 using /api/deliveryservices_regexes but it returns all regexes for every ds...)
> Notes:
> - create / update / delete should be limited to ops or above role
> - you should not be able to delete to last remaining regex on a ds. having zero regexes on a ds is bad for the traffic router.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)