)]}'
{"openstackclient/tests/network/v2/fakes.py":[{"author":{"_account_id":8410,"name":"Richard Theis","email":"rtheis@us.ibm.com","username":"rtheis"},"change_message_id":"c75ff88f67e4b5ded81efeb32a396898e11faadf","unresolved":false,"context_lines":[{"line_number":154,"context_line":""},{"line_number":155,"context_line":"            # OpenStack SDK automatically translates project_id to tenant_id."},{"line_number":156,"context_line":"            # So we need an additional attr to simulate this behavior."},{"line_number":157,"context_line":"            \u0027project_id\u0027: project_id,"},{"line_number":158,"context_line":"        }"},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"        # Overwrite default attributes."}],"source_content_type":"text/x-python","patch_set":2,"id":"dae33548_3e9ca968","line":157,"updated":"2016-02-16 15:22:25.000000000","message":"What error do you get if this isn\u0027t done?  Also, there are other fakes that are impacted.","commit_id":"5dbc5dd3cfd3d5505100095dc5fff78ebf260f84"},{"author":{"_account_id":8410,"name":"Richard Theis","email":"rtheis@us.ibm.com","username":"rtheis"},"change_message_id":"cf95c0edde35c7b3c73979f7a985aa580c61a656","unresolved":false,"context_lines":[{"line_number":154,"context_line":""},{"line_number":155,"context_line":"            # OpenStack SDK automatically translates project_id to tenant_id."},{"line_number":156,"context_line":"            # So we need an additional attr to simulate this behavior."},{"line_number":157,"context_line":"            \u0027project_id\u0027: project_id,"},{"line_number":158,"context_line":"        }"},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"        # Overwrite default attributes."}],"source_content_type":"text/x-python","patch_set":2,"id":"bae84128_cf31d4ee","line":157,"in_reply_to":"dae33548_3550a85e","updated":"2016-02-19 15:52:01.000000000","message":"The OpenStack SDK also translates these binding attributes because a property name cannot have a colon in it.","commit_id":"5dbc5dd3cfd3d5505100095dc5fff78ebf260f84"},{"author":{"_account_id":14937,"name":"Tang Chen","email":"imtangchen@163.com","username":"tangchen"},"change_message_id":"139d5e8e9d496a9f864c1e687950051c700b4a19","unresolved":false,"context_lines":[{"line_number":154,"context_line":""},{"line_number":155,"context_line":"            # OpenStack SDK automatically translates project_id to tenant_id."},{"line_number":156,"context_line":"            # So we need an additional attr to simulate this behavior."},{"line_number":157,"context_line":"            \u0027project_id\u0027: project_id,"},{"line_number":158,"context_line":"        }"},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"        # Overwrite default attributes."}],"source_content_type":"text/x-python","patch_set":2,"id":"dae33548_90101d5b","line":157,"in_reply_to":"dae33548_3e9ca968","updated":"2016-02-17 08:15:46.000000000","message":"Something like: \"FakeResource has no attr named project_id\".\nThis is because it has only tenant_id.\n\nThis problem exists all along. In the original code, I wrote:\n    network.project_id \u003d project_id\n\nI think it is better to define it in the attrs[]. It is OK if we don\u0027t merge this patch. But I\u0027d like to do a refactor.","commit_id":"5dbc5dd3cfd3d5505100095dc5fff78ebf260f84"},{"author":{"_account_id":14937,"name":"Tang Chen","email":"imtangchen@163.com","username":"tangchen"},"change_message_id":"357e0b3333ba5c8ee047eb8aa2f9676a734635e6","unresolved":false,"context_lines":[{"line_number":154,"context_line":""},{"line_number":155,"context_line":"            # OpenStack SDK automatically translates project_id to tenant_id."},{"line_number":156,"context_line":"            # So we need an additional attr to simulate this behavior."},{"line_number":157,"context_line":"            \u0027project_id\u0027: project_id,"},{"line_number":158,"context_line":"        }"},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"        # Overwrite default attributes."}],"source_content_type":"text/x-python","patch_set":2,"id":"dae33548_3550a85e","line":157,"in_reply_to":"dae33548_7f6b3885","updated":"2016-02-19 01:56:10.000000000","message":"Hi Richard,\n\nI think I missed the one in FakePort. But after looking into the code, I think it is better not define it in the attrs. The comment in FakePort is more clear to me.\n\nBut would you please tell me why do we need to do this special mapping ?\nhttps://github.com/openstack/python-openstackclient/blob/master/openstackclient/tests/network/v2/fakes.py#L278","commit_id":"5dbc5dd3cfd3d5505100095dc5fff78ebf260f84"},{"author":{"_account_id":8410,"name":"Richard Theis","email":"rtheis@us.ibm.com","username":"rtheis"},"change_message_id":"4bc51b11c81f9f99d6d68de642d9314dfdf24565","unresolved":false,"context_lines":[{"line_number":154,"context_line":""},{"line_number":155,"context_line":"            # OpenStack SDK automatically translates project_id to tenant_id."},{"line_number":156,"context_line":"            # So we need an additional attr to simulate this behavior."},{"line_number":157,"context_line":"            \u0027project_id\u0027: project_id,"},{"line_number":158,"context_line":"        }"},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"        # Overwrite default attributes."}],"source_content_type":"text/x-python","patch_set":2,"id":"dae33548_7f6b3885","line":157,"in_reply_to":"dae33548_90101d5b","updated":"2016-02-18 19:58:31.000000000","message":"A refactor is OK by me.  I suggest handling in a single patch set for all fake resources that are impacted.","commit_id":"5dbc5dd3cfd3d5505100095dc5fff78ebf260f84"},{"author":{"_account_id":8410,"name":"Richard Theis","email":"rtheis@us.ibm.com","username":"rtheis"},"change_message_id":"8910eb986a4daa29be34e37ad72cea6763a93c89","unresolved":false,"context_lines":[{"line_number":162,"context_line":""},{"line_number":163,"context_line":"        # Set default methods."},{"line_number":164,"context_line":"        network_methods \u003d {"},{"line_number":165,"context_line":"            \u0027keys\u0027: [\u0027id\u0027, \u0027name\u0027, \u0027admin_state_up\u0027, \u0027router_external\u0027,"},{"line_number":166,"context_line":"                     \u0027status\u0027, \u0027subnets\u0027, \u0027tenant_id\u0027, \u0027availability_zones\u0027,"},{"line_number":167,"context_line":"                     \u0027availability_zone_hints\u0027],"},{"line_number":168,"context_line":"        }"}],"source_content_type":"text/x-python","patch_set":2,"id":"dae33548_e6b4dd82","line":165,"updated":"2016-02-18 22:32:20.000000000","message":"Do you need project_id set in keys?","commit_id":"5dbc5dd3cfd3d5505100095dc5fff78ebf260f84"},{"author":{"_account_id":14937,"name":"Tang Chen","email":"imtangchen@163.com","username":"tangchen"},"change_message_id":"357e0b3333ba5c8ee047eb8aa2f9676a734635e6","unresolved":false,"context_lines":[{"line_number":162,"context_line":""},{"line_number":163,"context_line":"        # Set default methods."},{"line_number":164,"context_line":"        network_methods \u003d {"},{"line_number":165,"context_line":"            \u0027keys\u0027: [\u0027id\u0027, \u0027name\u0027, \u0027admin_state_up\u0027, \u0027router_external\u0027,"},{"line_number":166,"context_line":"                     \u0027status\u0027, \u0027subnets\u0027, \u0027tenant_id\u0027, \u0027availability_zones\u0027,"},{"line_number":167,"context_line":"                     \u0027availability_zone_hints\u0027],"},{"line_number":168,"context_line":"        }"}],"source_content_type":"text/x-python","patch_set":2,"id":"dae33548_b5caf818","line":165,"in_reply_to":"dae33548_e6b4dd82","updated":"2016-02-19 01:56:10.000000000","message":"No, we don\u0027t need to. project_id is not really an attr of network obj.","commit_id":"5dbc5dd3cfd3d5505100095dc5fff78ebf260f84"}]}
