Uploaded image for project: 'Hippo Site Toolkit 2'
  1. Hippo Site Toolkit 2
  2. HSTTWO-3166

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 2.28.07
    • Fix Version/s: 2.28.08
    • Component/s: None
    • Labels:
      None
    • Similar issues:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: