Uploaded image for project: 'Hippo Configuration Management'
  1. Hippo Configuration Management
  2. HCM-115

Webfiles should not always be (re)imported at startup

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.1
    • Labels:
      None
    • Similar issues:
    • Story Points:
      2
    • Epic Link:
    • Processed by team:
      Platform
    • Sprint:
      Platform161: Pre-GA1

      Description

      The HCM ConfigurationService always invokes the WebFilesService.importJcrWebFileBundle(...) for every webfileresourcebundle definition.

      This is inefficient as the WebFilesService currently force reloads such WebFilesBundle (delete/insert) entirely. Furthermore, this will be destructive on any production runtime WebFiles changes. 

      With the old esv bootstrap this wasn't a problem because this could be controlled through an initialize-item, but no longer through HCM configuration.

      To fix this the WebFilesService should be optimized to calculate (and store) a digest of a bundle, so it can prevent re-importing webfilebundles which didn't change.
      Note that any bundled/deployed changed webfilebundle then still will be destructive on any runtime WebFiles changes.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              adouma Ate Douma
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: