[PDB-4271] Create a new query endpoint/AST entity to query certname lifetime data Created: 2019/02/25  Updated: 2019/05/13  Resolved: 2019/04/10

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

Type: New Feature Priority: Normal
Reporter: Austin Blatt Assignee: Robert Roland
Resolution: Fixed Votes: 0
Labels: resolved-issue-added
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Blocks
blocks PDB-4267 Allow nodes to opt out of some garbag... Closed
Relates
relates to PDB-4270 Support a new "configure expiration" ... Closed
Template:
Team: PuppetDB
Release Notes: New Feature
Release Notes Summary: Experimental feature.

The /nodes query endpoint will now return two additional fields indicating if the node has been configured to never expire its facts. To view these fields in a query, you must add the "include_fact_expiration=true" argument to your query string.
QA Risk Assessment: Needs Assessment

 Description   

Query the data added in PDB-4270 to return data that looks like

 

 

{
 “certname”: “foo”
 “expire” : {
             “factsets” : {
                           “value”: false
                           “producer_timestamp” : ISO8601
              }
            }
}

 


Generated at Sat Dec 14 02:23:33 PST 2019 using JIRA 7.7.1#77002-sha1:e75ca93d5574d9409c0630b81c894d9065296414.