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/04/25 17:41:04 UTC

[jira] [Created] (TC-252) TO API - enhance POST /api/$version/servers/:id/queue_update to queue child servers only

Jeremy Mitchell created TC-252:
----------------------------------

             Summary: TO API - enhance POST /api/$version/servers/:id/queue_update to queue child servers only
                 Key: TC-252
                 URL: https://issues.apache.org/jira/browse/TC-252
             Project: Traffic Control
          Issue Type: New Feature
          Components: Traffic Ops API
            Reporter: Jeremy Mitchell
            Assignee: Jeremy Mitchell
            Priority: Minor
             Fix For: 2.1.0


Provide the ability to queue updates on a cache's children caches (aka the caches that belong to that cache's child cache groups.)

This is needed when a cache is set to admin down and all the child caches will need to fetch updates to get the change to parent.config (which will exclude the parent cache).

The support of a request property like { "childrenOnly":true } would suffice. So you'd have a call like this:

POST /api/$version/servers/:id/queue_update { "action": "queue", "childrenOnly": true }

to queue the updates of the children caches only (not the parent cache).





--
This message was sent by Atlassian JIRA
(v6.3.15#6346)