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

Support SNS indices in definition root nodes (config and content)

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Top
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.1
    • Labels:
      None
    • Similar issues:
    • Epic Link:
    • Processed by team:
      Platform
    • Sprint:
      Platform160:BETA!

      Description

      We currently do not allow SNS indices to appear in config or content definition root node paths, such as:

      definitions:

        config:

          /rootChild/child[2]:
            jcr:primaryType: whatever

       

      We have determined that this complicates our lives too much when trying to create consistent output via auto-export (REPO1709), so we want to relax this restriction and allow this to be considered valid. This will require us to do more sophisticated sorting of definition root paths, since a simple lexical sort will lead to incorrect results for e.g. [2] and [10]. We will need to parse the paths and do a more sophisticated mixed lexical/numeric sort.

      If we're going to do this more complex type of path processing, we should also take the opportunity to update our API to use a Path/Name object representation instead of raw Strings for JCR paths.

        Attachments

          Activity

            People

            • Assignee:
              PCentgraf Peter Centgraf
              Reporter:
              PCentgraf Peter Centgraf
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: