Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: BOLT 1.5.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Team:
      Bolt
    • Sprint:
      Bolt Kanban
    • Release Notes:
      Not Needed
    • QA Risk Assessment:
      Needs Assessment

      Description

      We'll need to create a new ruby application, similar to bolt-server.

      The application should have a '/plan/run' endpoint, which receives requests, starts executing the specified plan, and returns a status response.

      Requests should have the following format:

      • plan_name (required, string)
      • environment (string, default production)
      • job_id (required, string)
      • description (optional, string)
      • params (required, hash)

      {
        "plan_name" : "canary",
        "environment": "production",
         "job_id": "123842",
        "description" : "Start the canary plan on node1 and node2",
        "params" : {
          "nodes" : ["node1.example.com", "node2.example.com"],
          "command" : "whoami",
          "canary" : 1
        }
      }
      

      Response should be

      {status: "running"}

      or an error object

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lucy Lucy Wyman
                Reporter:
                lucy Lucy Wyman
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support