)]}'
{"doc/source/template_guide/hot_spec.rst":[{"author":{"_account_id":7193,"name":"Thomas Spatzier","email":"thomas.spatzier@icloud.com","username":"thomasspatzier"},"change_message_id":"c45d49f029f8f93223787c675e3e8f93d51435d1","unresolved":false,"context_lines":[{"line_number":730,"context_line":"--------"},{"line_number":731,"context_line":"The *list_join* function joins a list of strings with the given delimiter. This"},{"line_number":732,"context_line":"function is available beginning with the `2014-10-16` version of HOT."},{"line_number":733,"context_line":"The syntax of the list_join function is as follows:"},{"line_number":734,"context_line":""},{"line_number":735,"context_line":"::"},{"line_number":736,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"baada198_81b34ee8","line":733,"updated":"2014-07-10 10:10:06.000000000","message":"I wonder whether we should have some common header section for each function like bold \"Available Since\" or something so this is easy to spot for users.\n\nOr/and maybe something global in the HOT spec with version history (... \"new in version xyz: ...\")","commit_id":"8a0d83b149cd4227e3e863b55f601e0fbd6f14d3"}],"heat/engine/hot/functions.py":[{"author":{"_account_id":4571,"name":"Steve Baker","email":"sbaker@redhat.com","username":"steve-stevebaker"},"change_message_id":"035c5df194fa717bdb1ef89c873dfd1870fcc83d","unresolved":false,"context_lines":[{"line_number":267,"context_line":"            \u0027str_replace\u0027: Replace,"},{"line_number":268,"context_line":"            \u0027resource_facade\u0027: ResourceFacade,"},{"line_number":269,"context_line":"            \u0027get_file\u0027: GetFile,"},{"line_number":270,"context_line":"        }"},{"line_number":271,"context_line":""},{"line_number":272,"context_line":"    return {}"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_84163ca6","line":270,"updated":"2014-07-08 20:04:55.000000000","message":"I\u0027ve refined my thoughts on how to handle deprecating cfn functions:\n\n- If there was a HOT equivalent in icehouse, or if it is irrelevent to HOT then remove it in 2014-10-16, so this would be:\n  - Fn::GetAZs\n  - Ref\n  - Fn::Replace\n  - Fn::Base64\n  - Fn::MemberListToMap\n  - Fn::ResourceFacade\n\nAnd to give a better user experience (and reduce questions in #heat) the above functions should still be registered in 2014-10-16 with a stub which raises a validation exception that says \"don\u0027t use that, use this!\"\n\nSince list_join has only just been added I\u0027d like Fn::Join to remain until Juno is released.\n\nExtended get_attr handles most uses for Fn::Select, but not for complex structures which don\u0027t come from an attribute, so I would also like Fn::Select to remain in 2014-10-16 for now.\n\nI assume we can continue to change 2014-10-16 until we reach the date. I\u0027m migrating tripleo-heat-templates to HOT right now and I would be wedged without having either list_join in 2013-05-23 or Fn::Select in 2014-10-16","commit_id":"8a0d83b149cd4227e3e863b55f601e0fbd6f14d3"},{"author":{"_account_id":6577,"name":"Sergey Kraynev","email":"sergejyit@gmail.com","username":"skraynev"},"change_message_id":"891789dfc4ff80d14783da80932ecd1925e4f064","unresolved":false,"context_lines":[{"line_number":267,"context_line":"            \u0027str_replace\u0027: Replace,"},{"line_number":268,"context_line":"            \u0027resource_facade\u0027: ResourceFacade,"},{"line_number":269,"context_line":"            \u0027get_file\u0027: GetFile,"},{"line_number":270,"context_line":"        }"},{"line_number":271,"context_line":""},{"line_number":272,"context_line":"    return {}"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_e82fbff4","line":270,"in_reply_to":"baada198_84163ca6","updated":"2014-07-09 07:13:43.000000000","message":"I agree with Steve about warning messages, it really will help us to save time for explanations what happened with some functions.\n\nAbout two mentioned functions I suppose that will be good to use follow plan:\n\n- to leave list_join in 2013-05-23. To have some \"redundant\" functions in old format seems better,  then have not.\n- I agree about some special cases for Fn::Select and understand, that get_attr can not fully cover them. From other side I though that we want became new version of HOT only with our build-in functions (without any AWS). So what do you think about implementation some equivalent function which help us to reject  Fn::Select in 2014-10-16 ? (I think, that it\u0027s possible to do in Juno cycle).","commit_id":"8a0d83b149cd4227e3e863b55f601e0fbd6f14d3"},{"author":{"_account_id":7193,"name":"Thomas Spatzier","email":"thomas.spatzier@icloud.com","username":"thomasspatzier"},"change_message_id":"c45d49f029f8f93223787c675e3e8f93d51435d1","unresolved":false,"context_lines":[{"line_number":267,"context_line":"            \u0027str_replace\u0027: Replace,"},{"line_number":268,"context_line":"            \u0027resource_facade\u0027: ResourceFacade,"},{"line_number":269,"context_line":"            \u0027get_file\u0027: GetFile,"},{"line_number":270,"context_line":"        }"},{"line_number":271,"context_line":""},{"line_number":272,"context_line":"    return {}"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_a1da12e7","line":270,"in_reply_to":"baada198_a036b3b2","updated":"2014-07-10 10:10:06.000000000","message":"+1 on the idea with validation errors that indicate when a function is not supported any more and what the replacement would be; at least for this first version bump.\n\nAbout cfn functions in HOT in general my personal preference would be to remove them - it just looks odd to see mixed templates. If there really is a need for one or the other function, we should maybe just create the HOT counterpart (maybe with some enhancement or cleanup). Sounds like the use cases and requirements could come from Steve\u0027s tripleo porting work.","commit_id":"8a0d83b149cd4227e3e863b55f601e0fbd6f14d3"},{"author":{"_account_id":4257,"name":"Zane Bitter","email":"zbitter@redhat.com","username":"zaneb"},"change_message_id":"168896cfc03da071e8ee7320515031c290667ded","unresolved":false,"context_lines":[{"line_number":267,"context_line":"            \u0027str_replace\u0027: Replace,"},{"line_number":268,"context_line":"            \u0027resource_facade\u0027: ResourceFacade,"},{"line_number":269,"context_line":"            \u0027get_file\u0027: GetFile,"},{"line_number":270,"context_line":"        }"},{"line_number":271,"context_line":""},{"line_number":272,"context_line":"    return {}"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_a036b3b2","line":270,"in_reply_to":"baada198_e82fbff4","updated":"2014-07-09 13:05:12.000000000","message":"Thanks Steve, most of that makes sense to me except this one:\n\n* Since list_join has only just been added I\u0027d like Fn::Join to remain until Juno is released.\n\nIf you want Fn::Join surely you should just continue to use the old template version. Breaking your templates at release time (if we even remember) seems much worse than letting users choose when to migrate.\n\nThis is also related to Sergey\u0027s argument:\n\n* To have some \"redundant\" functions in old format seems better, then have not.\n\nIt\u0027s really not, for reasons discussed in:\nhttp://lists.openstack.org/pipermail/openstack-dev/2014-July/039551.html\n\nAlso:\n\n* I\u0027m migrating tripleo-heat-templates to HOT right now and I would be wedged without having either list_join in 2013-05-23 or Fn::Select in 2014-10-16\n\nThat doesn\u0027t sound right, since 2013-05-23 contains both Fn::Join and Fn::Select.","commit_id":"8a0d83b149cd4227e3e863b55f601e0fbd6f14d3"},{"author":{"_account_id":7193,"name":"Thomas Spatzier","email":"thomas.spatzier@icloud.com","username":"thomasspatzier"},"change_message_id":"7289a09946f8d375e5549c4fd968325a54ee4e1d","unresolved":false,"context_lines":[{"line_number":283,"context_line":"            \u0027resource_facade\u0027: ResourceFacade,"},{"line_number":284,"context_line":"            \u0027get_file\u0027: GetFile,"},{"line_number":285,"context_line":""},{"line_number":286,"context_line":"            \u0027Fn::Select\u0027: cfn_funcs.Select,"},{"line_number":287,"context_line":""},{"line_number":288,"context_line":"            \u0027Fn::GetAZs\u0027: Removed,"},{"line_number":289,"context_line":"            \u0027Ref\u0027: Removed,"}],"source_content_type":"text/x-python","patch_set":2,"id":"baada198_65c6d49b","line":286,"updated":"2014-07-14 12:47:50.000000000","message":"Is Fn::Select really still needed when implementing what you suggested in your ML post?","commit_id":"2e83df11848e62ca18c9b4f45ed4831cf5d9c740"},{"author":{"_account_id":4715,"name":"Angus Salkeld","email":"asalkeld@redhat.com","username":"asalkeld"},"change_message_id":"530339daeb7c3780360191958ed93f6395981aac","unresolved":false,"context_lines":[{"line_number":283,"context_line":"            \u0027resource_facade\u0027: ResourceFacade,"},{"line_number":284,"context_line":"            \u0027get_file\u0027: GetFile,"},{"line_number":285,"context_line":""},{"line_number":286,"context_line":"            \u0027Fn::Select\u0027: cfn_funcs.Select,"},{"line_number":287,"context_line":""},{"line_number":288,"context_line":"            \u0027Fn::GetAZs\u0027: Removed,"},{"line_number":289,"context_line":"            \u0027Ref\u0027: Removed,"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_24049017","line":286,"updated":"2014-07-16 05:38:48.000000000","message":"still Fn:Select?","commit_id":"c26cf90325c7edc3e663785c0fbf1d4211dfa7dd"},{"author":{"_account_id":4571,"name":"Steve Baker","email":"sbaker@redhat.com","username":"steve-stevebaker"},"change_message_id":"5afdf09c11802e0c2cf1c01ae2f51f4cf845d666","unresolved":false,"context_lines":[{"line_number":283,"context_line":"            \u0027resource_facade\u0027: ResourceFacade,"},{"line_number":284,"context_line":"            \u0027get_file\u0027: GetFile,"},{"line_number":285,"context_line":""},{"line_number":286,"context_line":"            \u0027Fn::Select\u0027: cfn_funcs.Select,"},{"line_number":287,"context_line":""},{"line_number":288,"context_line":"            \u0027Fn::GetAZs\u0027: Removed,"},{"line_number":289,"context_line":"            \u0027Ref\u0027: Removed,"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_fd82cdc6","line":286,"in_reply_to":"baada198_0dda0c17","updated":"2014-07-17 23:52:53.000000000","message":"tripleo needs Fn::Select in the short term, since merge.py creates data structures which are selected on. The vast majority of Fn::Select usages will be converted to extended get_attr though.\n\nAgree aim to leave it in for now and remove before Juno","commit_id":"c26cf90325c7edc3e663785c0fbf1d4211dfa7dd"},{"author":{"_account_id":4330,"name":"Tomas Sedovic","email":"tsedovic@redhat.com","username":"tomas-8c8"},"change_message_id":"bef24cef89c5a46c610fec199bc3217bb4c3996a","unresolved":false,"context_lines":[{"line_number":283,"context_line":"            \u0027resource_facade\u0027: ResourceFacade,"},{"line_number":284,"context_line":"            \u0027get_file\u0027: GetFile,"},{"line_number":285,"context_line":""},{"line_number":286,"context_line":"            \u0027Fn::Select\u0027: cfn_funcs.Select,"},{"line_number":287,"context_line":""},{"line_number":288,"context_line":"            \u0027Fn::GetAZs\u0027: Removed,"},{"line_number":289,"context_line":"            \u0027Ref\u0027: Removed,"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_f4f15c02","line":286,"in_reply_to":"baada198_24049017","updated":"2014-07-16 09:58:41.000000000","message":"Speaking of which, do we want to have a HOT equivalent?\n\nTripleO is using Fn::Select all over the place but I think we can get rid of all of them by switching to extended attributes, provider templates and ResourceGroup.\n\nThat said, it might still be useful for getting a particular item from a list or map.","commit_id":"c26cf90325c7edc3e663785c0fbf1d4211dfa7dd"},{"author":{"_account_id":7193,"name":"Thomas Spatzier","email":"thomas.spatzier@icloud.com","username":"thomasspatzier"},"change_message_id":"071bb739c0dc8bd5170dd4e752962972085731f4","unresolved":false,"context_lines":[{"line_number":283,"context_line":"            \u0027resource_facade\u0027: ResourceFacade,"},{"line_number":284,"context_line":"            \u0027get_file\u0027: GetFile,"},{"line_number":285,"context_line":""},{"line_number":286,"context_line":"            \u0027Fn::Select\u0027: cfn_funcs.Select,"},{"line_number":287,"context_line":""},{"line_number":288,"context_line":"            \u0027Fn::GetAZs\u0027: Removed,"},{"line_number":289,"context_line":"            \u0027Ref\u0027: Removed,"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_9a3597dd","line":286,"in_reply_to":"baada198_29c0cfdf","updated":"2014-07-16 16:52:39.000000000","message":"Ok, let\u0027s wait for Steve\u0027s response. IIRC, his motivation to have it was to be able to port tripleo templates and it seems like Tomas said they could get along without maps with the changes you suggested (and are already working on). So yeah, ultimately let\u0027s see if there is still a compelling use case left.","commit_id":"c26cf90325c7edc3e663785c0fbf1d4211dfa7dd"},{"author":{"_account_id":4257,"name":"Zane Bitter","email":"zbitter@redhat.com","username":"zaneb"},"change_message_id":"6ed61a84bdd53246581bd74a0f5913431de6ba70","unresolved":false,"context_lines":[{"line_number":283,"context_line":"            \u0027resource_facade\u0027: ResourceFacade,"},{"line_number":284,"context_line":"            \u0027get_file\u0027: GetFile,"},{"line_number":285,"context_line":""},{"line_number":286,"context_line":"            \u0027Fn::Select\u0027: cfn_funcs.Select,"},{"line_number":287,"context_line":""},{"line_number":288,"context_line":"            \u0027Fn::GetAZs\u0027: Removed,"},{"line_number":289,"context_line":"            \u0027Ref\u0027: Removed,"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_29c0cfdf","line":286,"in_reply_to":"baada198_71c39357","updated":"2014-07-16 16:00:12.000000000","message":"I left it in for now because Steve B asked for it. We can check with him when he gets back if it\u0027s still required. In either case, the idea AIUI would be to remove it before the Juno release. IMO we don\u0027t need a HOT equivalent, though obviously we would consider it if somebody comes up with a compelling use case.","commit_id":"c26cf90325c7edc3e663785c0fbf1d4211dfa7dd"},{"author":{"_account_id":4330,"name":"Tomas Sedovic","email":"tsedovic@redhat.com","username":"tomas-8c8"},"change_message_id":"485dc142d39fb4f0d889f994650b79bc21ca284d","unresolved":false,"context_lines":[{"line_number":283,"context_line":"            \u0027resource_facade\u0027: ResourceFacade,"},{"line_number":284,"context_line":"            \u0027get_file\u0027: GetFile,"},{"line_number":285,"context_line":""},{"line_number":286,"context_line":"            \u0027Fn::Select\u0027: cfn_funcs.Select,"},{"line_number":287,"context_line":""},{"line_number":288,"context_line":"            \u0027Fn::GetAZs\u0027: Removed,"},{"line_number":289,"context_line":"            \u0027Ref\u0027: Removed,"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_f24cdeca","line":286,"in_reply_to":"baada198_9a3597dd","updated":"2014-07-17 08:58:41.000000000","message":"Agreed on waiting on Steve B. I\u0027ve just realised a reason why TripleO may need it in the interim, though:\n\nSteve\u0027s TripleO Heat templates -\u003e HOT patches remove most of the Fn::Select calls, but not all of them. To remove the rest, we\u0027ll need to move to provider resources and ResourceGroups. Which will happen, but not in the same patch.\n\nThe new HOT templates will rely on list_join, though. So without Fn::Select, we wouldn\u0027t be able to use 2013-05-23 (because it doesn\u0027t have list_join) but we can\u0027t use 2014-10-16 either (no Fn::Select).\n\nCould we keep it there for now and remove it before we make the Juno release?","commit_id":"c26cf90325c7edc3e663785c0fbf1d4211dfa7dd"},{"author":{"_account_id":4257,"name":"Zane Bitter","email":"zbitter@redhat.com","username":"zaneb"},"change_message_id":"0dd45d82de462ca5c90b2ef0b8b077ab91d52c1c","unresolved":false,"context_lines":[{"line_number":283,"context_line":"            \u0027resource_facade\u0027: ResourceFacade,"},{"line_number":284,"context_line":"            \u0027get_file\u0027: GetFile,"},{"line_number":285,"context_line":""},{"line_number":286,"context_line":"            \u0027Fn::Select\u0027: cfn_funcs.Select,"},{"line_number":287,"context_line":""},{"line_number":288,"context_line":"            \u0027Fn::GetAZs\u0027: Removed,"},{"line_number":289,"context_line":"            \u0027Ref\u0027: Removed,"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_0dda0c17","line":286,"in_reply_to":"baada198_f24cdeca","updated":"2014-07-17 13:27:39.000000000","message":"I\u0027m fine with that, as long as we remove it before Juno, which it sounds like there is no obstacle to.","commit_id":"c26cf90325c7edc3e663785c0fbf1d4211dfa7dd"},{"author":{"_account_id":7193,"name":"Thomas Spatzier","email":"thomas.spatzier@icloud.com","username":"thomasspatzier"},"change_message_id":"fce5d70b548b3274d8a8f65d35c1c4474842c8e2","unresolved":false,"context_lines":[{"line_number":283,"context_line":"            \u0027resource_facade\u0027: ResourceFacade,"},{"line_number":284,"context_line":"            \u0027get_file\u0027: GetFile,"},{"line_number":285,"context_line":""},{"line_number":286,"context_line":"            \u0027Fn::Select\u0027: cfn_funcs.Select,"},{"line_number":287,"context_line":""},{"line_number":288,"context_line":"            \u0027Fn::GetAZs\u0027: Removed,"},{"line_number":289,"context_line":"            \u0027Ref\u0027: Removed,"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_71c39357","line":286,"in_reply_to":"baada198_f4f15c02","updated":"2014-07-16 13:22:05.000000000","message":"I also had the question whether we still need Fn::Select on a previous patch set. From the ML discussion between Tomas and Zane it sounded like maps would not really be required for the TripleO use case. If that is the case, I would opt for leaving it out. It seems to be covered by the extended functionality of get_attr and get_param.","commit_id":"c26cf90325c7edc3e663785c0fbf1d4211dfa7dd"},{"author":{"_account_id":7193,"name":"Thomas Spatzier","email":"thomas.spatzier@icloud.com","username":"thomasspatzier"},"change_message_id":"430424406e23e978c77098d3f132fce68cfba10b","unresolved":false,"context_lines":[{"line_number":283,"context_line":"            \u0027resource_facade\u0027: ResourceFacade,"},{"line_number":284,"context_line":"            \u0027get_file\u0027: GetFile,"},{"line_number":285,"context_line":""},{"line_number":286,"context_line":"            \u0027Fn::Select\u0027: cfn_funcs.Select,"},{"line_number":287,"context_line":""},{"line_number":288,"context_line":"            \u0027Fn::GetAZs\u0027: Removed,"},{"line_number":289,"context_line":"            \u0027Ref\u0027: Removed,"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_142330a8","line":286,"in_reply_to":"baada198_fd82cdc6","updated":"2014-07-22 16:03:08.000000000","message":"Ok, let\u0027s keep Fn::Select for now and remove it later.","commit_id":"c26cf90325c7edc3e663785c0fbf1d4211dfa7dd"}]}
