)]}'
{"heat/engine/api.py":[{"author":{"_account_id":7193,"name":"Thomas Spatzier","email":"thomas.spatzier@icloud.com","username":"thomasspatzier"},"change_message_id":"08cd73a6a145779f40a91932897b594bb96f0472","unresolved":false,"context_lines":[{"line_number":280,"context_line":"            res[api.PARAM_ALLOWED_PATTERN] \u003d c.pattern"},{"line_number":281,"context_line":""},{"line_number":282,"context_line":"        if c.description:"},{"line_number":283,"context_line":"            res[api.PARAM_CONSTRAINT_DESCRIPTION] \u003d c.description"},{"line_number":284,"context_line":""},{"line_number":285,"context_line":"    return res"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAUH%2F93GE%3D","line":283,"updated":"2014-02-03 07:45:20.000000000","message":"So the current problem with HOT constraints and the reason why I left out translation of constraint description in the first pass is in HOT each constraint can have its own description. Therefore, the last one being translated wins. In CFN in contrast, there is only one ConstraintDescription.\n\nHowever, maybe what you are doing here is the only thing that can really be done at the moment. Or we could concatenate the descriptions of all HOT constraints into one single ConstraintDescription. This would maybe looks similar to what CFN does, since in CFN you find things like \"Password must be between 6 and 10 characters, and contain only alphanumeric characters\". In HOT this would be two constraints (length, allowed_pattern).","commit_id":"553e03f94cccc270e1b172030bfa8e08d55dde7a"},{"author":{"_account_id":7385,"name":"Thomas Herve","email":"therve@redhat.com","username":"therve"},"change_message_id":"70e3824e6eda54a32856dcc1a75082004e350c70","unresolved":false,"context_lines":[{"line_number":280,"context_line":"            res[api.PARAM_ALLOWED_PATTERN] \u003d c.pattern"},{"line_number":281,"context_line":""},{"line_number":282,"context_line":"        if c.description:"},{"line_number":283,"context_line":"            res[api.PARAM_CONSTRAINT_DESCRIPTION] \u003d c.description"},{"line_number":284,"context_line":""},{"line_number":285,"context_line":"    return res"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAUH%2F927g%3D","line":283,"in_reply_to":"AAAAUH%2F93GE%3D","updated":"2014-02-03 08:51:34.000000000","message":"Good idea. I though we could ignore the multiple description case, but it\u0027s easy enough to fix with your solution, done.","commit_id":"553e03f94cccc270e1b172030bfa8e08d55dde7a"}]}
