[PDB-207] Support extracting particular fields from an endpoint Created: 2013/12/04  Updated: 2016/01/20  Resolved: 2014/11/17

Status: Closed
Project: PuppetDB
Component/s: None
Affects Version/s: None
Fix Version/s: PDB 3.0.0

Type: New Feature Priority: Normal
Reporter: redmine.exporter Assignee: Ryan Senior
Resolution: Fixed Votes: 0
Labels: redmine
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to PDB-749 Add validation to the query engine Ready for Engineering
Template:
Epic Link: High availability improvements
Story Points: 3
Sprint: PuppetDB 2014-11-19

 Description   

Similar to #20257, this is a case of an invalid query not being detected before things break.

curl -v -G -H "Accept: application/json" --data-urlencode 'query=["extract", "exported", ["=", "exported", false]]' http://localhost:8080/v2/resources/Package



 Comments   
Comment by Ken Barber [ 2014/11/05 ]

Hijacking this ticket, to just add some sort of feature to support extracting fields. It maybe be that we use extract, or some other mechanism - we'll figure it out.

Generated at Sun Jun 16 15:46:47 PDT 2019 using JIRA 7.7.1#77002-sha1:e75ca93d5574d9409c0630b81c894d9065296414.