)]}'
{"api-ref/source/v2/examples/amphora-show-stats-response.json":[{"author":{"_account_id":10273,"name":"Adam Harwell","email":"flux.adam@gmail.com","username":"rm_you"},"change_message_id":"7726ed1d56cffa880854c7a4c2d4637e743b3036","unresolved":false,"context_lines":[{"line_number":4,"context_line":"            \"active_connections\": 48629,"},{"line_number":5,"context_line":"            \"bytes_in\": 65671420,"},{"line_number":6,"context_line":"            \"bytes_out\": 774771186,"},{"line_number":7,"context_line":"            \"id\": \"63d8349e-c4d7-4156-bc94-29260607b04f\","},{"line_number":8,"context_line":"            \"listener_id\": \"bbe44114-cda2-4fe0-b192-d9e24ce661db\","},{"line_number":9,"context_line":"            \"loadbalancer_id\": \"65b5a7c3-1437-4909-84cf-cec9f7e371ea\","},{"line_number":10,"context_line":"            \"request_errors\": 0,"}],"source_content_type":"application/json","patch_set":10,"id":"3f79a3b5_2fc47d0c","line":7,"updated":"2018-12-10 18:29:29.000000000","message":"What is this ID? I notice it\u0027s the same in both examples... If it\u0027s neither lb_id or listener_id, what is it?","commit_id":"d9aef81f92f479e8ed6c854fd428b0f4f4efcc06"}],"octavia/api/root_controller.py":[{"author":{"_account_id":10273,"name":"Adam Harwell","email":"flux.adam@gmail.com","username":"rm_you"},"change_message_id":"7726ed1d56cffa880854c7a4c2d4637e743b3036","unresolved":false,"context_lines":[{"line_number":78,"context_line":"            self._add_a_version(versions, \u0027v2.2\u0027, \u0027v2\u0027, \u0027SUPPORTED\u0027,"},{"line_number":79,"context_line":"                                \u00272018-07-31T00:00:00Z\u0027, host_url)"},{"line_number":80,"context_line":"            self._add_a_version(versions, \u0027v2.3\u0027, \u0027v2\u0027, \u0027CURRENT\u0027,"},{"line_number":81,"context_line":"                                \u00272018-08-24T00:00:00Z\u0027, host_url)"},{"line_number":82,"context_line":"        return {\u0027versions\u0027: versions}"}],"source_content_type":"text/x-python","patch_set":10,"id":"3f79a3b5_0feae175","line":81,"updated":"2018-12-10 18:29:29.000000000","message":"The way we do these dates is a little ridiculous, is this supposed to actually mean something? I wish there was a way to have this autogenerated on merge or something... I guess it doesn\u0027t really matter though, other than poor users maybe thinking this version existed several months before it actually did.","commit_id":"d9aef81f92f479e8ed6c854fd428b0f4f4efcc06"}],"octavia/api/v2/controllers/amphora.py":[{"author":{"_account_id":10273,"name":"Adam Harwell","email":"flux.adam@gmail.com","username":"rm_you"},"change_message_id":"fb46a322f14172c16183890e82e5a427a9aab930","unresolved":false,"context_lines":[{"line_number":154,"context_line":""},{"line_number":155,"context_line":"        stats \u003d self.repositories.get_amphora_stats(context.session,"},{"line_number":156,"context_line":"                                                    self.amp_id)"},{"line_number":157,"context_line":"        if stats \u003d\u003d []:"},{"line_number":158,"context_line":"            raise exceptions.NotFound(resource\u003ddata_models.Amphora._name(),"},{"line_number":159,"context_line":"                                      id\u003dself.amp_id)"},{"line_number":160,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"5f7c97a3_b31a6a15","line":157,"updated":"2018-07-27 20:08:32.000000000","message":"What is the case where `if not stats` fails here?","commit_id":"b77a526920cd4b4142c3a0300219247b2ad0780f"},{"author":{"_account_id":11628,"name":"Michael Johnson","email":"johnsomor@gmail.com","username":"johnsom"},"change_message_id":"8ea0164577710fc493338236213450f18e24abdb","unresolved":false,"context_lines":[{"line_number":154,"context_line":""},{"line_number":155,"context_line":"        stats \u003d self.repositories.get_amphora_stats(context.session,"},{"line_number":156,"context_line":"                                                    self.amp_id)"},{"line_number":157,"context_line":"        if stats \u003d\u003d []:"},{"line_number":158,"context_line":"            raise exceptions.NotFound(resource\u003ddata_models.Amphora._name(),"},{"line_number":159,"context_line":"                                      id\u003dself.amp_id)"},{"line_number":160,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"5f7c97a3_d2c4b743","line":157,"in_reply_to":"5f7c97a3_b31a6a15","updated":"2018-07-28 22:46:30.000000000","message":"Yeah, could have been written that way.","commit_id":"b77a526920cd4b4142c3a0300219247b2ad0780f"}],"octavia/api/v2/types/amphora.py":[{"author":{"_account_id":10273,"name":"Adam Harwell","email":"flux.adam@gmail.com","username":"rm_you"},"change_message_id":"7726ed1d56cffa880854c7a4c2d4637e743b3036","unresolved":false,"context_lines":[{"line_number":66,"context_line":"    active_connections \u003d wtypes.wsattr(wtypes.IntegerType())"},{"line_number":67,"context_line":"    bytes_in \u003d wtypes.wsattr(wtypes.IntegerType())"},{"line_number":68,"context_line":"    bytes_out \u003d wtypes.wsattr(wtypes.IntegerType())"},{"line_number":69,"context_line":"    id \u003d wtypes.wsattr(wtypes.UuidType())"},{"line_number":70,"context_line":"    listener_id \u003d wtypes.wsattr(wtypes.UuidType())"},{"line_number":71,"context_line":"    loadbalancer_id \u003d wtypes.wsattr(wtypes.UuidType())"},{"line_number":72,"context_line":"    request_errors \u003d wtypes.wsattr(wtypes.IntegerType())"}],"source_content_type":"text/x-python","patch_set":10,"id":"3f79a3b5_19a9abd9","line":69,"updated":"2018-12-10 18:29:29.000000000","message":"What is an \"amphora statistics id\"?","commit_id":"d9aef81f92f479e8ed6c854fd428b0f4f4efcc06"},{"author":{"_account_id":6579,"name":"Nir Magnezi","email":"nmagnezi@redhat.com","username":"nmagnezi"},"change_message_id":"1689e7a8866d190a456d558f0ab35f9a17e94901","unresolved":false,"context_lines":[{"line_number":66,"context_line":"    active_connections \u003d wtypes.wsattr(wtypes.IntegerType())"},{"line_number":67,"context_line":"    bytes_in \u003d wtypes.wsattr(wtypes.IntegerType())"},{"line_number":68,"context_line":"    bytes_out \u003d wtypes.wsattr(wtypes.IntegerType())"},{"line_number":69,"context_line":"    id \u003d wtypes.wsattr(wtypes.UuidType())"},{"line_number":70,"context_line":"    listener_id \u003d wtypes.wsattr(wtypes.UuidType())"},{"line_number":71,"context_line":"    loadbalancer_id \u003d wtypes.wsattr(wtypes.UuidType())"},{"line_number":72,"context_line":"    request_errors \u003d wtypes.wsattr(wtypes.IntegerType())"}],"source_content_type":"text/x-python","patch_set":10,"id":"1f769fc5_5f27d165","line":69,"in_reply_to":"3f79a3b5_19a9abd9","updated":"2018-12-25 13:49:19.000000000","message":"Looks like it:\n\n(Pdb) pp self.os_admin.amphora_client.get_amphora_stats(amphora_id\u003d\u0027f748d93c-8aa7-452f-82c5-e983b8b55ebf\u0027, return_object_only\u003dTrue)\n[{u\u0027active_connections\u0027: 0,\n  u\u0027bytes_in\u0027: 0,\n  u\u0027bytes_out\u0027: 0,\n  u\u0027id\u0027: u\u0027f748d93c-8aa7-452f-82c5-e983b8b55ebf\u0027,\n  u\u0027listener_id\u0027: u\u002761984263-8a83-4c35-951b-c90925ee5357\u0027,\n  u\u0027loadbalancer_id\u0027: u\u002733a4684e-8d9b-4b88-86db-d6328012e784\u0027,\n  u\u0027request_errors\u0027: 0,\n  u\u0027total_connections\u0027: 0}]","commit_id":"d9aef81f92f479e8ed6c854fd428b0f4f4efcc06"}]}
