)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"eab605aea8ed860275fb9d9e68c93cbc2f6622d2","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Julia Kreger \u003cjuliaashleykreger@gmail.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2021-02-01 16:01:57 -0800"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"WIP: Tea pot response"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Signal to the API requestor when something is absurd and"},{"line_number":10,"context_line":"the API won\u0027t do it.... by indicating the API is a Tea Pot."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"cfcd7765_16497e7b","line":7,"updated":"2021-02-12 13:01:21.000000000","message":"As much as I love it, it should probably be unauthorized with a verbose explanation :)","commit_id":"76c8603c8f49af8e985673e3d30752ee030bc622"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"50a97dc062f67f720a4e44ba0dde1cfea32ad295","unresolved":true,"context_lines":[{"line_number":10,"context_line":"the API won\u0027t do it.... by indicating the API is a Tea Pot."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"In all seriousness, the API should likely say \"this is not\""},{"line_number":13,"context_line":"an endpoint that a user should be trying ot use. I could see"},{"line_number":14,"context_line":"system, but we don\u0027t have a good way to restrict it in the"},{"line_number":15,"context_line":"system/project scoped universe. So it becomes IM_A_TEAPOT"},{"line_number":16,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"70add66e_004d9921","line":13,"updated":"2021-02-02 09:45:25.000000000","message":"From wikipedia:\n\n418 I\u0027m a teapot (RFC 2324, RFC 7168)\nThis code was defined in 1998 as one of the traditional IETF April Fools\u0027 jokes, in RFC 2324, Hyper Text Coffee Pot Control Protocol, and is not expected to be implemented by actual HTTP servers. The RFC specifies this code should be returned by teapots requested to brew coffee.[53] This HTTP status is used as an Easter egg in some websites, such as Google.com\u0027s I\u0027m a teapot easter egg.\n\nhttps://en.wikipedia.org/wiki/List_of_HTTP_status_codes#418","commit_id":"76c8603c8f49af8e985673e3d30752ee030bc622"}],"ironic/api/controllers/v1/ramdisk.py":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"eab605aea8ed860275fb9d9e68c93cbc2f6622d2","unresolved":false,"context_lines":[{"line_number":96,"context_line":""},{"line_number":97,"context_line":"        api_utils.check_policy(\u0027baremetal:driver:ipa_lookup\u0027)"},{"line_number":98,"context_line":"        req_policy_values \u003d api.request.context.to_policy_values()"},{"line_number":99,"context_line":"        if req_policy_values.get(\u0027project_id\u0027):"},{"line_number":100,"context_line":"            raise exception.InvalidUtilityRequest("},{"line_number":101,"context_line":"                \u0027A user has attempted to access a utility API.\u0027)"},{"line_number":102,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"25e3b634_860d1fae","line":99,"updated":"2021-02-12 13:01:21.000000000","message":"Can we better detect the presence of authentication? This would work even with http_basic.\n\nAnd maybe we need to make IPA send a specific user agent..","commit_id":"76c8603c8f49af8e985673e3d30752ee030bc622"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"4674cb0af8d99ee15a0037104752a051f6ff8032","unresolved":false,"context_lines":[{"line_number":96,"context_line":""},{"line_number":97,"context_line":"        api_utils.check_policy(\u0027baremetal:driver:ipa_lookup\u0027)"},{"line_number":98,"context_line":"        req_policy_values \u003d api.request.context.to_policy_values()"},{"line_number":99,"context_line":"        if req_policy_values.get(\u0027project_id\u0027):"},{"line_number":100,"context_line":"            raise exception.InvalidUtilityRequest("},{"line_number":101,"context_line":"                \u0027A user has attempted to access a utility API.\u0027)"},{"line_number":102,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"c80ae049_d92daaa0","line":99,"in_reply_to":"25e3b634_860d1fae","updated":"2021-06-21 15:07:31.000000000","message":"It was more about just short circuiting a user access to the endpoint.","commit_id":"76c8603c8f49af8e985673e3d30752ee030bc622"}]}
