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

make shorthand syntax queries work in top-level extract

    Details

    • Type: New Feature
    • Status: Accepted
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Template:

      Description

      These queries currently throw exceptions:

      curl -X GET http://localhost:8080/v4/resources --data-urlencode 'query=["extract",["parameter","name"],["~","certname",".*"]]'

      curl -X GET http://localhost:8080/v4/facts --data-urlencode 'query=["extract",["fact","uptime_hours"],["~","certname",".*"]]'

      we should make them valid queries

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

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

                  Dates

                  • Created:
                    Updated: