Uploaded image for project: 'PuppetDB'
  1. PuppetDB
  2. PDB-2771

expose the "depth" field as queryable on the fact-paths endpoint

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PDB 4.2.0
    • Component/s: None
    • Labels:
      None
    • Template:

      Description

      This may or may not actually need to be a returned field, but being able to query on it would allow the middleware to make more efficient queries against PDB here:

      https://github.com/puppetlabs/pe-console-middleware/blob/2016.3.x/src/puppetlabs/pe_console_middleware/cm/facts.clj#L92

      currently structured fact paths are stripped in the middleware – doing it in PDB would mean PDB can avoid ordering/deduplicating a bunch of unused paths.

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                Unassigned
                Reporter:
                wyatt Wyatt Alt
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: