Uploaded image for project: 'Traffic Control'
  1. Traffic Control
  2. TC-129

Create TO API endpoint to queue all servers for a delivery service

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • None

    Description

      Currently, you can queue updates (flip server.upd_pending field to true):

      • for a specific server
      • for a specific cachegroup (all the servers in that cachegroup)
      • for a specific cdn (all the servers in that cdn)

      but you can't queue updates for:

      • a specific delivery service (all the servers explicitly (edges) or implicitly (mids) assigned to that DS)

      Create the following endpoint restricted to users of ops role or above:

      POST /api/deliveryservices/:id/queue_update

      This endpoint should only queue updates. It should not allow you to dequeue updates because you may inadvertently dequeue server updates for servers that belong to another delivery service that has been queued. To dequeue, you'd have to do it at the cdn, cachegroup or server level.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mitchell852@apache.org Jeremy Mitchell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: