Jira (PDB-5258) Investigate where does the `null?` operator works

0 views
Skip to first unread message

Bogdan Irimie (Jira)

unread,
Sep 8, 2021, 4:20:03 AM9/8/21
to puppe...@googlegroups.com
Bogdan Irimie created an issue
 
PuppetDB / Task PDB-5258
Investigate where does the `null?` operator works
Issue Type: Task Task
Assignee: Unassigned
Created: 2021/09/08 1:19 AM
Priority: Normal Normal
Reporter: Bogdan Irimie

1. Check if

curl -sX GET http://localhost:8080/pdb/query/v4/nodes --data-urlencode 'query=["=", ["fact", "id"], <value>]'

works on the `nodes` endpoint.

2. Check if

curl -sX GET http://localhost:8080/pdb/query/v4/inventory --data-urlencode 'query=["null?", ["fact", "id"], false]'

works on the `inventory` endpoint.

3. Check if `null?` work on the resource parameter endpoint
e.g.

["null?", ["parameter", "parametername"], true]

4. Check all endpoints to see if `null?` works or not.

We might need to apply the fix from https://tickets.puppetlabs.com/browse/PDB-4305?focusedCommentId=821546&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-821546 in order to do the test.

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

Bogdan Irimie (Jira)

unread,
Sep 8, 2021, 4:20:03 AM9/8/21
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost- 6 22 . 10 09 .2021
Reply all
Reply to author
Forward
0 new messages