Uploaded image for project: 'Puppet Server'
  1. Puppet Server
  2. SERVER-1925

List all tasks: Puppet Server API

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: SERVER 5.1.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Team:
      Organizational Scale
    • Story Points:
      3
    • Sprint:
      Org Scale Red Team 2017-08-22, Org Scale Red Team 2017-09-05, Org Scale 2017-09-19
    • QA Risk Assessment:
      Needs Assessment

      Description

      out of scope: implement "errors" key
      out of scope: code_id. Make it always null. Normally "<SHA>_<environment>".

      environment object lists all modules, module lists its tasks (only name ("<module>::<task_file>" needed)

      response body:

      [{"name": "module::taskA", "environment": [{"name": "foo", "code_id": null}]}]
      

      Utilize existing error handling (like "environment not found" error in environment_classes workflow) to return full error responses where possible.

      Out of scope:

      • Elaborate error handling. Even when things don't make "sense" (like metadata without tasks), try to naively return data. Only error if data is unparseable.
      • code_id. Make it always null. Normally "<SHA>_<environment>".

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              qa qa
              Reporter:
              lizzi Lizzi Lindboe
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support