Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More information required in policyfile revisions response #2646

Open
vinay033 opened this issue Jul 19, 2021 · 0 comments
Open

More information required in policyfile revisions response #2646

vinay033 opened this issue Jul 19, 2021 · 0 comments

Comments

@vinay033
Copy link

Describe the problem

using chef automate if we call the get policy files API's then we are getting revisions but revision_id always containing { }, but we required all possible information instead of a blank hash.

we need the below parameter instead of a blank hash

  • no of policy groups
  • name of policy groups
  • timestamp

Replication Case

for example, if call the get policy files API then we are getting a response like

request: https://api.chef-server.dev/organizations/pedant_testorg_api_18979/policies

{
    "some_policy_name":{
        "uri":"https://api.chef-server.dev/organizations/pedant_testorg_api_18979/policies/some_policy_name",
        "revisions":{
            "909c26701e291510eacdc6c06d626b9fa5350d25":{ }  <-------------- blank hash
        }
    }
}

Stacktrace

Possible Solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants