)]}'
{"manifests/policy/base.pp":[{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"65861b596e51f673aab9cac3924662c92929bc24","unresolved":true,"context_lines":[{"line_number":54,"context_line":"  case $file_format {"},{"line_number":55,"context_line":"    \u0027json\u0027: {"},{"line_number":56,"context_line":"      $file_lens \u003d \u0027Json.lns\u0027"},{"line_number":57,"context_line":"      warning(\u0027Json format is deprecated and will be removed in a future release\u0027)"},{"line_number":58,"context_line":"    }"},{"line_number":59,"context_line":"    \u0027yaml\u0027: {"},{"line_number":60,"context_line":"      $file_lens \u003d \u0027Yaml.lns\u0027"}],"source_content_type":"text/x-puppet","patch_set":1,"id":"2eb179b8_077d4af8","line":57,"range":{"start_line":57,"start_character":81,"end_line":57,"end_character":82},"updated":"2020-12-29 17:37:39.000000000","message":"we also provide a tool[1] for this migration. It will convert the existing JSON formatted file into YAML formatted in backward compatible way (by keeping the overridden rule as it is). You can mention about the here too which can be helpful for operators.\n\n[1] https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html","commit_id":"6a5742ca892528069a8675e28a06b9e4fbcaec6a"},{"author":{"_account_id":9816,"name":"Takashi Kajinami","email":"kajinamit@oss.nttdata.com","username":"kajinamit"},"change_message_id":"2c3ccfcf42eb303af261b1d3ee2a5c787f60dc55","unresolved":true,"context_lines":[{"line_number":54,"context_line":"  case $file_format {"},{"line_number":55,"context_line":"    \u0027json\u0027: {"},{"line_number":56,"context_line":"      $file_lens \u003d \u0027Json.lns\u0027"},{"line_number":57,"context_line":"      warning(\u0027Json format is deprecated and will be removed in a future release\u0027)"},{"line_number":58,"context_line":"    }"},{"line_number":59,"context_line":"    \u0027yaml\u0027: {"},{"line_number":60,"context_line":"      $file_lens \u003d \u0027Yaml.lns\u0027"}],"source_content_type":"text/x-puppet","patch_set":1,"id":"dd47b952_f116efa7","line":57,"range":{"start_line":57,"start_character":81,"end_line":57,"end_character":82},"in_reply_to":"2eb179b8_077d4af8","updated":"2020-12-31 03:03:18.000000000","message":"In Puppet OpenStack we maintain all contents (precisely speaking additional contents from the default policy files in packages). If the users have appropriate definition of policy rules in puppet parameters/hieradata then puppet modules automatically take care of conversion from json to yaml.\n\nSince we don\u0027t expect that users directly manage contents of yaml/json file, I don\u0027t think it\u0027s very useful to explain existing tools to convert policy file.","commit_id":"6a5742ca892528069a8675e28a06b9e4fbcaec6a"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"2fd8936cbc1eda60faff28bb0c0a8b7f1a279fad","unresolved":true,"context_lines":[{"line_number":54,"context_line":"  case $file_format {"},{"line_number":55,"context_line":"    \u0027json\u0027: {"},{"line_number":56,"context_line":"      $file_lens \u003d \u0027Json.lns\u0027"},{"line_number":57,"context_line":"      warning(\u0027Json format is deprecated and will be removed in a future release\u0027)"},{"line_number":58,"context_line":"    }"},{"line_number":59,"context_line":"    \u0027yaml\u0027: {"},{"line_number":60,"context_line":"      $file_lens \u003d \u0027Yaml.lns\u0027"}],"source_content_type":"text/x-puppet","patch_set":1,"id":"f6bb0b3a_aca5658a","line":57,"range":{"start_line":57,"start_character":81,"end_line":57,"end_character":82},"in_reply_to":"dd47b952_f116efa7","updated":"2020-12-31 17:24:38.000000000","message":"i see, make sense.","commit_id":"6a5742ca892528069a8675e28a06b9e4fbcaec6a"}],"releasenotes/notes/migrate-policy-format-from-json-to-yaml-f52394d9f6ef3524.yaml":[{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"65861b596e51f673aab9cac3924662c92929bc24","unresolved":true,"context_lines":[{"line_number":2,"context_line":"deprecations:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Json format of policy files has been deprecated and will be removed in"},{"line_number":5,"context_line":"    a future release. Use yaml format instead."}],"source_content_type":"text/x-yaml","patch_set":1,"id":"2f8ad5cd_b5ab9846","line":5,"range":{"start_line":5,"start_character":45,"end_line":5,"end_character":46},"updated":"2020-12-29 17:37:39.000000000","message":"ditto, mentioning about migration tool can help here.","commit_id":"6a5742ca892528069a8675e28a06b9e4fbcaec6a"}]}
