Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-3166

Backport to 7.9: Support pre-processing of to-be-served binaries

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.28.07
    • 2.28.08
    • None
    • None

    Description

      In order to support preprocessing of to-be-served binaries, we're currently forking the BinariesServet class. We add meta-data to the binary page just before it gets inserted into the cache. The use case is to impose a project-specific licensing scheme on binaries.

      To be able to get rid of the fork, we locally added a few extension points, such that we can subclass the BinariesServlet to add the project specific logic to it.

      Marijan has discussed this with Ard in the past, and here's the issue for it. I'm attaching a diff with our changes, relative to the 7.9 site-toolkit branch on 12/01/2015 (POM version 2.28.08-SNAPSHOT).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tjeger Tobias Jeger
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: