Jira (PDB-5162) Accept wildcard `*` for PDB API endpoints

18 views
Skip to first unread message

Henry Wang (Jira)

unread,
Jun 17, 2021, 1:49:01 AM6/17/21
to puppe...@googlegroups.com
Henry Wang created an issue
 
PuppetDB / New Feature PDB-5162
Accept wildcard `*` for PDB API endpoints
Issue Type: New Feature New Feature
Assignee: Unassigned
Created: 2021/06/16 10:48 PM
Priority: Normal Normal
Reporter: Henry Wang

We have a user case that the following API call is reported as working from PE 2019.2.1 (6.7.3) but stopped working after an upgrade to PE 2019.8.6 (6.16.1):

curl -G 'https://corp-puppet-db-np.homedepot.com:8081/pdb/query/v4/environments/*/reports' --data-urlencode 'query=["=", "noop", false]' --data-urlencode 'limit=1' 

After the upgrade, the user just get "not found" returned from that query. Based on some simple troubleshooting, the query works fine if the user substitute one of our environments for '*'. 

I don't find any document saying `*` is supported in these versions. Thus, this ticket created as a feature request first to explorer as it sounds like a good feature to have.

Any comments from PDB engineering team are appreciated.

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo

Henry Wang (Jira)

unread,
Jun 17, 2021, 1:50:01 AM6/17/21
to puppe...@googlegroups.com
Henry Wang updated an issue
Change By: Henry Wang
Affects Version/s: PDB 6.16.1

Henry Wang (Jira)

unread,
Jun 17, 2021, 1:50:02 AM6/17/21
to puppe...@googlegroups.com
Henry Wang updated an issue
We have a user use case that the following API call is reported as working from PE 2019.2.1 (6.7.3) but stopped working after an upgrade to PE 2019.8.6 (6.16.1):
{code:java}curl -G 'https://corp-puppet-db-np.homedepot.com:8081/pdb/query/v4/environments/*/reports' --data-urlencode 'query=["=", "noop", false]' --data-urlencode 'limit=1' {code}

After the upgrade, the user just get "not found" returned from that query. Based on some simple troubleshooting, the query works fine if the user substitute one of our environments for '*'. 

I don't find any document saying `*` is supported in these PE versions. Thus, this ticket created as a feature request first to explorer as it sounds like a good feature to have. 


Any comments from PDB engineering team are appreciated.

 

Henry Wang (Jira)

unread,
Jun 17, 2021, 1:50:02 AM6/17/21
to puppe...@googlegroups.com
Henry Wang updated an issue
We have a user case that the following API call is reported as working from PE 2019.2.1 (6.7.3) but stopped working after an upgrade to PE 2019.8.6 (6.16.1):
{code:java}

curl -G 'https://corp-puppet-db-np.homedepot.com:8081/pdb/query/v4/environments/*/reports' --data-urlencode 'query=["=", "noop", false]' --data-urlencode 'limit=1' {code}
After the upgrade, the user just get "not found" returned from that query. Based on some simple troubleshooting, the query works fine if the user substitute one of our environments for '*'. 

I don't find any document saying `*` is supported in these
PE versions. Thus, this ticket created as a feature request first to explorer as it sounds like a good feature to have.  

Any comments from PDB engineering team are appreciated.

 

Henry Wang (Jira)

unread,
Jun 17, 2021, 1:50:02 AM6/17/21
to puppe...@googlegroups.com
Henry Wang updated an issue
Change By: Henry Wang
Component/s: PuppetDB

Austin Boyd (Jira)

unread,
Jun 17, 2021, 1:54:01 AM6/17/21
to puppe...@googlegroups.com
Austin Boyd updated an issue
Change By: Austin Boyd
Zendesk Ticket Count: 1
Zendesk Ticket IDs: 44717

Austin Boyd (Jira)

unread,
Jun 17, 2021, 1:54:02 AM6/17/21
to puppe...@googlegroups.com
Austin Boyd updated an issue
Change By: Austin Boyd
Labels: jira_escalated

David McTavish (Jira)

unread,
Feb 10, 2022, 9:33:01 AM2/10/22
to puppe...@googlegroups.com
David McTavish updated an issue
Change By: David McTavish
Priority: Normal Low
This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d)
Atlassian logo

Claudia Petty (Jira)

unread,
Jun 21, 2023, 10:57:06 AM6/21/23
to puppe...@googlegroups.com
Claudia Petty updated an issue
Change By: Claudia Petty
Labels: jira_escalated 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