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

Support to cherry pick which hst configuration main config node to inherit

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Similar issues:

      Description

      currently we support the following kind of inheritance

      + hst:hst
         + hst:configurations
            + corporate
                + hst:pages
                + hst:sitemap
                + hst:templates
                + hst:workspace
                    + hst:sitemenus
                    + hst:containers
            + subsite 
                - hst:inheritsfrom = {../corporate, ../corporate/hst:workspace/hst:containers}
      

      Above, we inherit in subsite all non workspace configuration from 'corporate' and all workspace containers. We should also be able to only inherit the hst:templates from corporate non workspace nodes, for example thus

      + hst:hst
         + hst:configurations
            + corporate
                + hst:pages
                + hst:sitemap
                + hst:templates
                + hst:workspace
                    + hst:sitemenus
                    + hst:containers
            + subsite 
                - hst:inheritsfrom = {../corporate/hst:templates, ../corporate/hst:workspace/hst:containers}
      

      Supporting this in org.hippoecm.hst.configuration.cache.CompositeConfigurationNodes should be almost trivial

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                aschrijvers Ard Schrijvers
                Reporter:
                aschrijvers Ard Schrijvers
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: