1. 03 Aug, 2016 1 commit
  2. 29 Jul, 2016 1 commit
    • Wyatt Alt's avatar
      (PDB-2632) add inventory endpoint and support for dotted fields · 8b1d17f2
      Wyatt Alt authored
      This commit adds an inventory endpoint of fact name=>value pairs, along with
      capability to query it and the resources parameters column with "dotted syntax"
      like [= parameters.foo bar]. Also add support in PQL. This does not include
      projection of nested elements.
  3. 23 Jun, 2016 1 commit
  4. 21 Apr, 2016 1 commit
    • wkalt's avatar
      (PDB-2624) allow colons in routes · 53a381fb
      wkalt authored
      Fixes a regex bug introduced in the switch to comidi, which disallowed colons
      in routes (e.g resource types/titles, etc)
  5. 25 Feb, 2016 1 commit
    • Andrew Roetker's avatar
      (PDB-2438) Fix pretty-printing parameter for POST · 2f8c8c9d
      Andrew Roetker authored
      This commit fixes our `pretty` parameter for query POSTs, before this
      commit we weren't properly passing the param from the POST body to the
      produce-streaming-body function and weren't allowing the parameter
      through validation.
  6. 16 Feb, 2016 1 commit
  7. 27 Jan, 2016 1 commit
    • Ken Barber's avatar
      (PDB-1927) PQL translation to AST · e8ac34c0
      Ken Barber authored
      This patch introduces the new Puppet query language to PuppetDB. It provides a basic
      parse for this capability, documentation for the new language and a hook in the
      index endpoint for the HTTP API side.
      As this work is fairly new and extensive, some of the expected work has been
      broken into future tickets. For now, this is marked as experimental until we are
      happy with the language.
      Signed-off-by: default avatarKen Barber <ken@bob.sh>
  8. 14 Jan, 2016 4 commits
    • Ryan Senior's avatar
      (PDB-2242) URLDecode all route params · a1be3140
      Ryan Senior authored
      This commit changes make-pdb-handler to decode all route-params before
      calling any handlers. This commit also changes the name of the basic
      handler construction function from `create-handler` to
      `create-query-handler` to more clearly communicate it's intent.
    • Ryan Senior's avatar
      (PDB-2242) Remove some redundant param-specs · 4fb1e523
      Ryan Senior authored
      Existing moustache handlers each provided param specs that were used to
      validing incoming request parameters. With the newly refactored
      handlers.clj, most of these can go away. The extract-query function
      includes a default which most handlers use.
    • Ryan Senior's avatar
      (PDB-2242) Added schema to non-query routes · cb277ec1
      Ryan Senior authored
      Added schema checks to the non-query comidi routes (admin, metrics,
      meta, dashcoard). Removed some unnecessary bidi ns requires.
    • Ryan Senior's avatar
      (PDB-2242) Moved handlers from v4 to handlers.clj · 0ba591f3
      Ryan Senior authored
      All query routes moved from http/v4.clj to http/handlers.clj and are
      parameterized by version (currently only v4). This
      leaves v4.clj with only the top-level routes (i.e. /facts) and passes the
      version into the corresponding routes function (facts-routes) for
      handling the nested routes under that segment.