[jira] [Commented] (TC-553) Queue updates API queues updates on all servers, not just caches

2017-08-25 Thread Jeremy Mitchell (JIRA)

[ 
https://issues.apache.org/jira/browse/TC-553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16141847#comment-16141847
 ] 

Jeremy Mitchell commented on TC-553:


this is the api - post("/api/$version/cdns/:id/queue_update

> Queue updates API queues updates on all servers, not just caches
> 
>
> Key: TC-553
> URL: https://issues.apache.org/jira/browse/TC-553
> Project: Traffic Control
>  Issue Type: Bug
>  Components: Traffic Ops API
>Reporter: David Neuman
>Priority: Minor
>
> If you use the API to queue updates for a CDN it queues updates for all 
> servers.  It should only queue updates for caches.  This doesn't really cause 
> any harm, but it's not correct and it makes it so that the other components 
> (TR, TM, etc) show up as queued in the UI, which is annoying.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (TC-553) Queue updates API queues updates on all servers, not just caches

2017-08-25 Thread David Neuman (JIRA)
David Neuman created TC-553:
---

 Summary: Queue updates API queues updates on all servers, not just 
caches
 Key: TC-553
 URL: https://issues.apache.org/jira/browse/TC-553
 Project: Traffic Control
  Issue Type: Bug
  Components: Traffic Ops API
Reporter: David Neuman
Priority: Minor


If you use the API to queue updates for a CDN it queues updates for all 
servers.  It should only queue updates for caches.  This doesn't really cause 
any harm, but it's not correct and it makes it so that the other components 
(TR, TM, etc) show up as queued in the UI, which is annoying.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Resolved] (TC-535) DS URL sig key apis needs to have tenancy check in place

2017-08-25 Thread Nir Sopher (JIRA)

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

Nir Sopher resolved TC-535.
---
Resolution: Fixed

> DS URL sig key apis needs to have tenancy check in place
> 
>
> Key: TC-535
> URL: https://issues.apache.org/jira/browse/TC-535
> Project: Traffic Control
>  Issue Type: Bug
>  Components: Traffic Ops API
>Affects Versions: 2.1.0
>Reporter: Jeremy Mitchell
>Assignee: Nir Sopher
> Fix For: 2.1.0, 2.2.0
>
>
> Tenancy was introduced in 2.1, however, by default it is turned off via the 
> use_tenancy parameter but when activated it is used to limit the scope of 
> delivery services that a user can act on.
> The following APIs needs to check tenancy to ensure users cannot act on ds's 
> that they don't have access to.
> post("/api/$version/deliveryservices/xmlId/:xmlId/urlkeys/generate
> post("/api/$version/deliveryservices/xmlId/:xmlId/urlkeys/copyFromXmlId/:copyFromXmlId
> get("/api/$version/deliveryservices/xmlId/:xmlId/urlkeys



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)