Uploaded image for project: 'ShrinkWrap'
  1. ShrinkWrap
  2. SHRINKWRAP-496

Implement CacheUrlAsset

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Won't Do
    • Minor
    • None
    • 1.2.3
    • api
    • None

    Description

      In ShrinkWrap UrlAsset downloaded an asset from a URL, which can be external and then it creates the Archive element with that info. The problem is that sometimes you might want to download a big file (2MB) to put inside an Archive, and this means that for each test class that you execute you end up by downloading this file.

      A possible solution could be create a CacheUrlAsset that downloads the content and stores it in

      {java.io.tmp}

      /shrinkwrap so in successive calls before downloading the file again, it can take it directly from cache directory.

      Attachments

        Activity

          People

            Unassigned Unassigned
            asotobu@gmail.com Alex Soto (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: