Bug 1343180

Summary: [RFE] content views with the their version in Composite Content Views should exposed to the client as a foreman fact
Product: Red Hat Satellite Reporter: Prakash Ghadge <pghadge>
Component: PuppetAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED CURRENTRELEASE QA Contact: Stephen Wadeley <swadeley>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1.8CC: bbuckingham, bkearney, mhulan, mtaru, oprazak, rjerrido, swadeley
Target Milestone: 6.4.0Keywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-06 22:06:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 2 Bryan Kearney 2016-07-26 18:56:27 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 6 Ondřej Pražák 2018-05-25 09:12:21 UTC
Connecting redmine issue http://projects.theforeman.org/issues/18228 from this bug

Comment 7 Satellite Program 2018-05-25 10:03:47 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/18228 has been resolved.

Comment 12 Stephen Wadeley 2018-10-24 14:45:51 UTC
Hello

The changes made as per comment 6 can now be listed as follows:

~]# curl -X GET -k -u admin https://<sat6-4.example.com/api/hosts/:id/enc | json_reformat

<snip>



{
    "data": {
        "parameters": {
            "kt_env": "Library",
            "kt_cv": "Test-CCV-One",
            "foreman_host_collections": [

            ],
            "lifecycle_environment": "Library",
            "content_view": "Test-CCV-One",
            "content_view_info": {
                "label": "Test-CCV-One",
                "latest-version": "2.0",
                "version": "2.0",
                "published": "2018-10-24T07:29:19.671Z",
                "components": {
                    "Test-CV-1": {
                        "version": "1.0",
                        "published": "2018-10-23T13:27:32.383Z"
                    },
                    "Test-CV-2": {
                        "version": "1.0",
                        "published": "2018-10-23T13:32:54.127Z"
                    }
                }
            },

</snip>

Thank you

Comment 13 Bryan Kearney 2018-11-06 22:06:18 UTC
Based on comment 12, I am closing this as current release. The fix exists in 6.4. If you are using 6.4 and still eeing issues please feel free to open a new bug.