Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-3657

Create a ResourceMerger-style ResourceProvider which merges based on resource super types

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Resource Merger 1.2.0
    • Component/s: Extensions
    • Labels:
      None

      Description

      The current MergingResourceProvider does a good job of a single use case - merging resources relative to the search paths. A second use case for merging is to merge resources based on their sling:resourceSuperType inheritance, i.e.

      /content/siteA@sling:resourceSuperType=/content/siteB
      /content/siteB@sling:resourceSuperType=/content/siteC

      It should be possible to generate a merged resource which combines /content/siteA, /content/siteB, and /content/siteC (in reverse order so that siteA overrides siteB, etc.).

        Attachments

        1. SLING-3657.patch
          46 kB
          Justin Edelson

          Activity

            People

            • Assignee:
              justinedelson Justin Edelson
              Reporter:
              justinedelson Justin Edelson
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: