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

Limit root query endpoint to active nodes

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PDB 5.0.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Team:
      Data Platform
    • Story Points:
      3
    • Sprint:
      Hopper/Triage, PuppetDB 2017-05-03, PuppetDB 2017-05-31
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      PQL queries and structured queries issued to the root query endpoint now automatically exclude deactivated and expired nodes. This has always been the case for all other query endpoints, and is nearly always what you want.
    • QA Risk Assessment:
      Needs Assessment

      Description

      What we have now is really confusing and increasingly indefensible.

      Also need to figure out some way to get at all nodes as well, maybe with a different route, an additional query parameter, or an 'all_nodes' entity.

      In the PE HA docs we have the user do this manually, with the appropriate condition in PQL; we should remove that, since it's no longer needed. We should take a look for other such cases as well.

      (the orchestrator may be doing this in its query munging code)

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  russell.mull Russell Mull
                  Reporter:
                  russell.mull Russell Mull
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: