Uploaded image for project: 'Apache Curator'
  1. Apache Curator
  2. CURATOR-608

ZPath resolved state documentation improvements

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.1.0
    • 5.2.1
    • Framework
    • None

    Description

      ZPaths support parameters, which are special path elements in parenthesis (i.e., {one}) that may be substituted with values at runtime.

      ZPaths also have a resolved state, which checks if a ZPath parsed with `parseWithIds()` still contains any parameters left to be substituted.

      Additionally, ZPaths may be created with `parse()` which contain string elements which appear to be parameters (elements in parenthesis) but are not treated as such, always resulting in a path which is considered fully-resolved.

      The documentation for these methods should be updated to better indicate this behavior difference, clearly stating what "resolved" state indicates based on the method that generated the ZPath.

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            Ryan0751 Ryan Ruel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 40m
                2h 40m