Jira (PDB-2641) PQL: Spike/Research shorthand/sugar for specifying Type[title] syntax in some way for resource matching

0 views
Skip to first unread message

Kenneth Barber (JIRA)

unread,
Apr 21, 2016, 11:46:11 AM4/21/16
to puppe...@googlegroups.com
Kenneth Barber created an issue
 
PuppetDB / New Feature PDB-2641
PQL: Spike/Research shorthand/sugar for specifying Type[title] syntax in some way for resource matching
Issue Type: New Feature New Feature
Assignee: Unassigned
Created: 2016/04/21 8:41 AM
Priority: Normal Normal
Reporter: Kenneth Barber

The ticket is about adding some sort of sugar to allow for Type[title] style querying of resource related data.

In dalen's old query facility, he had Type[title] as a first class way of matching resources. This is one way to fix this problem:

resources { Class[foo] }

Another way is to provide a model change that exposes the combination as a string field for matching, for example:

resources { resource = "Class[foo]" }

Or something like that? Either way, we need to make a decision on some sugary syntax for this, and have it apply to anywhere where resources are referenced, right now this is `resources` and `events` I believe, possibly also `resource-statuses` but thats an interesting case to debate over.

The output of this ticket should be a design proposal with socialisation, and tickets to implement the agreed idea.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9)
Atlassian logo

Ryan Senior (JIRA)

unread,
May 23, 2016, 4:39:04 PM5/23/16
to puppe...@googlegroups.com

Claudia Petty (Jira)

unread,
Jun 21, 2023, 10:56:11 AM6/21/23
to puppe...@googlegroups.com
Claudia Petty updated an issue
Change By: Claudia Petty
Labels: new-feature
This message was sent by Atlassian Jira (v8.20.21#820021-sha1:38274c8)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages