)]}'
{"tempest/api/orchestration/stacks/test_limits.py":[{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"49fdc3349b56b5e73a67a031a252835e983ef48d","unresolved":false,"context_lines":[{"line_number":46,"context_line":"        rsrc_snippet \u003d {\u0027type\u0027: \u0027OS::Heat::RandomString\u0027}"},{"line_number":47,"context_line":"        for i in range(CONF.orchestration.max_resources_per_stack + 1):"},{"line_number":48,"context_line":"            rsrc_name \u003d \"random%s\" % i"},{"line_number":49,"context_line":"            template[\u0027resources\u0027][rsrc_name] \u003d rsrc_snippet"},{"line_number":50,"context_line":"        ex \u003d self.assertRaises(exceptions.BadRequest, self.create_stack,"},{"line_number":51,"context_line":"                               self.stack_name, yaml.dump(template))"},{"line_number":52,"context_line":"        self.assertIn(\u0027Maximum resources per stack exceeded\u0027, str(ex))"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAWH%2F%2BXDE%3D","line":49,"updated":"2014-03-27 11:50:37.000000000","message":"Instead of doing it this way, can we instead do the manip fully as strings. For someone not intimately familar with heat this is pretty dense.\n\nSo template \u003d \u0027\u0027\u0027\nheat_template_version: \u00272013-05-23\u0027\nresources:\n\u0027\u0027\u0027\n\nThen \n\nfor ...\ntempate +\u003d \u0027\u0027\u0027snipet\u0027\u0027\u0027 % i","commit_id":"a33808258c80ab83f0694d4848e7f47442cbfe48"},{"author":{"_account_id":4328,"name":"Steven Hardy","email":"steven.hardy@suse.com","username":"shardy"},"change_message_id":"7307d491d506a5abb681298b506497e37f2a9401","unresolved":false,"context_lines":[{"line_number":46,"context_line":"        rsrc_snippet \u003d {\u0027type\u0027: \u0027OS::Heat::RandomString\u0027}"},{"line_number":47,"context_line":"        for i in range(CONF.orchestration.max_resources_per_stack + 1):"},{"line_number":48,"context_line":"            rsrc_name \u003d \"random%s\" % i"},{"line_number":49,"context_line":"            template[\u0027resources\u0027][rsrc_name] \u003d rsrc_snippet"},{"line_number":50,"context_line":"        ex \u003d self.assertRaises(exceptions.BadRequest, self.create_stack,"},{"line_number":51,"context_line":"                               self.stack_name, yaml.dump(template))"},{"line_number":52,"context_line":"        self.assertIn(\u0027Maximum resources per stack exceeded\u0027, str(ex))"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAWH%2F%2BWOE%3D","line":49,"in_reply_to":"AAAAWH%2F%2BXDE%3D","updated":"2014-03-27 13:36:00.000000000","message":"IMHO it makes no sense to generate a yaml document by juggling strings, and will probably be less readable, but I\u0027ll do it that way if you prefer.","commit_id":"a33808258c80ab83f0694d4848e7f47442cbfe48"},{"author":{"_account_id":4328,"name":"Steven Hardy","email":"steven.hardy@suse.com","username":"shardy"},"change_message_id":"9b1ea90c1d61b41b2450561ed2fd3316ff2628ec","unresolved":false,"context_lines":[{"line_number":43,"context_line":"        stack_name \u003d data_utils.rand_name(\u0027heat\u0027)"},{"line_number":44,"context_line":"        # Create a big template, one resource more than the limit"},{"line_number":45,"context_line":"        template \u003d \u0027heat_template_version: \\\u00272013-05-23\\\u0027\\nresources:\\n\u0027"},{"line_number":46,"context_line":"        rsrc_snippet \u003d \u0027  random%s:\\n    type: \\\u0027OS::Heat::RandomString\\\u0027\\n\u0027"},{"line_number":47,"context_line":"        num_resources \u003d CONF.orchestration.max_resources_per_stack + 1"},{"line_number":48,"context_line":"        for i in range(num_resources):"},{"line_number":49,"context_line":"            template +\u003d rsrc_snippet % i"}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAAWH%2F%2BVx8%3D","line":46,"updated":"2014-03-27 14:22:25.000000000","message":"So this is what I was talking about in response to sdague\u0027s request - not only is this harder to read, it\u0027s also much more fragile, because we have to care about stuff like newlines and whitespace, not just a dict.\n\n/me shrugs :)","commit_id":"848e57f9965f4da9322b66de2ed8b18f8c732e83"}],"tempest/config.py":[{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"49fdc3349b56b5e73a67a031a252835e983ef48d","unresolved":false,"context_lines":[{"line_number":570,"context_line":"               default\u003d524288,"},{"line_number":571,"context_line":"               help\u003d\"Value must match heat configuration of the same name.\"),"},{"line_number":572,"context_line":"    cfg.IntOpt(\u0027max_resources_per_stack\u0027,"},{"line_number":573,"context_line":"               default\u003d1000,"},{"line_number":574,"context_line":"               help\u003d\"Value must match heat configuration of the same name.\"),"},{"line_number":575,"context_line":"]"},{"line_number":576,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAWH%2F%2BXC8%3D","line":573,"updated":"2014-03-27 11:50:37.000000000","message":"is this discoverable from the cloud any way? how would someone know how to set this?","commit_id":"a33808258c80ab83f0694d4848e7f47442cbfe48"},{"author":{"_account_id":4328,"name":"Steven Hardy","email":"steven.hardy@suse.com","username":"shardy"},"change_message_id":"2f4f5b06aaedfc3723d732752476d8e7b462f072","unresolved":false,"context_lines":[{"line_number":570,"context_line":"               default\u003d524288,"},{"line_number":571,"context_line":"               help\u003d\"Value must match heat configuration of the same name.\"),"},{"line_number":572,"context_line":"    cfg.IntOpt(\u0027max_resources_per_stack\u0027,"},{"line_number":573,"context_line":"               default\u003d1000,"},{"line_number":574,"context_line":"               help\u003d\"Value must match heat configuration of the same name.\"),"},{"line_number":575,"context_line":"]"},{"line_number":576,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAWH%2F%2BXBs%3D","line":573,"in_reply_to":"AAAAWH%2F%2BXC8%3D","updated":"2014-03-27 11:57:04.000000000","message":"Currently it\u0027s not discoverable via the API, it\u0027s like max_template_size and must be copied from the heat.conf value, which is the same default as here.\n\nIn the future we probably want to add an \"absolute limits\" API like nova has, I raised a BP a while back but we\u0027ve not done it yet:\n\nhttps://blueprints.launchpad.net/heat/+spec/limits-api","commit_id":"a33808258c80ab83f0694d4848e7f47442cbfe48"}]}
