Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-7840

Mount point: file contents under /tasks in modules

    Details

    • Type: Story
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 5.2.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Team:
      Organizational Scale
    • Story Points:
      5
    • Sprint:
      Org Scale Red Team 2017-08-22, Org Scale Red Team 2017-09-05
    • Release Notes:
      New Feature
    • Release Notes Summary:
      A new mount point has been added to the file serving endpoints to access task files in modules. The mount point format is `tasks/<module>`, and it is loaded by default.
    • QA Risk Assessment:
      Needs Assessment

      Description

      Allow task file content to be fetched.

      Requirements:

      • Will allow access to the raw content of any file within the /tasks subdirectory of a module.
      • Does not allow access to any other files.

      There's prior art for this in the file_content mount point for /files and /plugins.

      Confirmed with the Direct Change team that we need not worry about the existing issues with these endpoints – namely, that they load entire files into memory. This will be fixed later.

      Open questions:

      • Are we going to be required to implement behavior for any other endpoints we don't care about, but are related, like file_metadata?

        Attachments

        There are no Sub-Tasks for this issue.

          Activity

            jsd-sla-details-panel

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support