)]}'
{"tests/functional/wsgi/test_version.py":[{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"f10dcfb7ecb26f637dd945b576ec111421b4767f","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright (c) 2013 Rackspace Hosting, Inc."},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\");"},{"line_number":4,"context_line":"# you may not use this file except in compliance with the License."}],"source_content_type":"text/x-python","patch_set":1,"id":"9aa7fdbe_72a76dbd","line":1,"updated":"2014-10-28 11:05:30.000000000","message":"It\u0027s almost 2015 ;)","commit_id":"fe896cb136eff2c9c139865c917be3136f714e66"},{"author":{"_account_id":7488,"name":"Jeffrey Zhang","email":"zhang.lei.fly@gmail.com","username":"Jeffrey4l"},"change_message_id":"bb9235fabe4d6bea6bcedf2d2e6e54b2fa94d454","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright (c) 2013 Rackspace Hosting, Inc."},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\");"},{"line_number":4,"context_line":"# you may not use this file except in compliance with the License."}],"source_content_type":"text/x-python","patch_set":1,"id":"9aa7fdbe_e66abfb1","line":1,"in_reply_to":"9aa7fdbe_72a76dbd","updated":"2014-10-28 13:52:49.000000000","message":"Done","commit_id":"fe896cb136eff2c9c139865c917be3136f714e66"},{"author":{"_account_id":6427,"name":"Kurt Griffiths","email":"kurt.griffiths@rackspace.com","username":"kgriffs"},"change_message_id":"ca7c3f775293ff679663b39501bb28c4305576a3","unresolved":false,"context_lines":[{"line_number":26,"context_line":"        \u0027media-types\u0027: ["},{"line_number":27,"context_line":"            {"},{"line_number":28,"context_line":"                \u0027base\u0027: \u0027application/json\u0027,"},{"line_number":29,"context_line":"                \u0027type\u0027: \u0027application/vnd.openstack.queue-v1+json\u0027"},{"line_number":30,"context_line":"            }"},{"line_number":31,"context_line":"        ],"},{"line_number":32,"context_line":"        \u0027links\u0027: ["}],"source_content_type":"text/x-python","patch_set":2,"id":"9aa7fdbe_f9f790d2","line":29,"updated":"2014-10-29 19:47:12.000000000","message":"DSQ: Each resource has its own media type. Do we need to provide entries for each of: queue, queue list, queue metadata, queue stats, message list, message, claim?","commit_id":"fd21f92cd7d411aef067d91c714453b12fe1f757"},{"author":{"_account_id":7488,"name":"Jeffrey Zhang","email":"zhang.lei.fly@gmail.com","username":"Jeffrey4l"},"change_message_id":"f9af0dd865e89a28caf95b2ebee3f7dcdd43f52f","unresolved":false,"context_lines":[{"line_number":26,"context_line":"        \u0027media-types\u0027: ["},{"line_number":27,"context_line":"            {"},{"line_number":28,"context_line":"                \u0027base\u0027: \u0027application/json\u0027,"},{"line_number":29,"context_line":"                \u0027type\u0027: \u0027application/vnd.openstack.queue-v1+json\u0027"},{"line_number":30,"context_line":"            }"},{"line_number":31,"context_line":"        ],"},{"line_number":32,"context_line":"        \u0027links\u0027: ["}],"source_content_type":"text/x-python","patch_set":2,"id":"5a890539_e9d63527","line":29,"in_reply_to":"5a890539_d4215ba0","updated":"2014-11-17 06:37:05.000000000","message":"I agree with Victoria. \n\nThe queue is the service type rather than a service resource.\n\nAnd we have change the service type from queue to messaging. So the `application/vnd.openstack.messaging-v1+json` is better.\n\nI will change this.","commit_id":"fd21f92cd7d411aef067d91c714453b12fe1f757"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"7d0b47638cf6479e7d0b0be57488e8089c088012","unresolved":false,"context_lines":[{"line_number":26,"context_line":"        \u0027media-types\u0027: ["},{"line_number":27,"context_line":"            {"},{"line_number":28,"context_line":"                \u0027base\u0027: \u0027application/json\u0027,"},{"line_number":29,"context_line":"                \u0027type\u0027: \u0027application/vnd.openstack.queue-v1+json\u0027"},{"line_number":30,"context_line":"            }"},{"line_number":31,"context_line":"        ],"},{"line_number":32,"context_line":"        \u0027links\u0027: ["}],"source_content_type":"text/x-python","patch_set":2,"id":"5a890539_d4215ba0","line":29,"in_reply_to":"9aa7fdbe_f9f790d2","updated":"2014-11-13 16:12:22.000000000","message":"Shouldn\u0027t be the media-type \u0027application/vnd.openstack.messaging-v1+json\u0027 directly?","commit_id":"fd21f92cd7d411aef067d91c714453b12fe1f757"},{"author":{"_account_id":6427,"name":"Kurt Griffiths","email":"kurt.griffiths@rackspace.com","username":"kgriffs"},"change_message_id":"ca7c3f775293ff679663b39501bb28c4305576a3","unresolved":false,"context_lines":[{"line_number":31,"context_line":"        ],"},{"line_number":32,"context_line":"        \u0027links\u0027: ["},{"line_number":33,"context_line":"            {"},{"line_number":34,"context_line":"                \u0027href\u0027: \u0027/v1/\u0027,"},{"line_number":35,"context_line":"                \u0027rel\u0027: \u0027self\u0027"},{"line_number":36,"context_line":"            }"},{"line_number":37,"context_line":"        ]"}],"source_content_type":"text/x-python","patch_set":2,"id":"9aa7fdbe_59197c78","line":34,"updated":"2014-10-29 19:47:12.000000000","message":"Q. Is the trailing slash necessary? That implies a subresource, where /v1 is the actual root resource for the API.","commit_id":"fd21f92cd7d411aef067d91c714453b12fe1f757"},{"author":{"_account_id":7488,"name":"Jeffrey Zhang","email":"zhang.lei.fly@gmail.com","username":"Jeffrey4l"},"change_message_id":"f9af0dd865e89a28caf95b2ebee3f7dcdd43f52f","unresolved":false,"context_lines":[{"line_number":31,"context_line":"        ],"},{"line_number":32,"context_line":"        \u0027links\u0027: ["},{"line_number":33,"context_line":"            {"},{"line_number":34,"context_line":"                \u0027href\u0027: \u0027/v1/\u0027,"},{"line_number":35,"context_line":"                \u0027rel\u0027: \u0027self\u0027"},{"line_number":36,"context_line":"            }"},{"line_number":37,"context_line":"        ]"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a890539_69cde565","line":34,"in_reply_to":"9aa7fdbe_59197c78","updated":"2014-11-17 06:37:05.000000000","message":"I think the `/v1/` is still a resource collections. It will return all the allowed resources. So I prefer to leave it here.\n\n\u003e But from the original paper on REST a full (not ending in /) URL names a resource, while one ending in a slash \u0027/\u0027 is a resource group (probably not worded like that).  [1]\n\nI also checked the nova api\u0027s version discovery[2]. It has the trailing slash too.\n\n[1] http://programmers.stackexchange.com/a/187006\n\n[2] http://paste.openstack.org/show/134023/","commit_id":"fd21f92cd7d411aef067d91c714453b12fe1f757"},{"author":{"_account_id":6427,"name":"Kurt Griffiths","email":"kurt.griffiths@rackspace.com","username":"kgriffs"},"change_message_id":"ca7c3f775293ff679663b39501bb28c4305576a3","unresolved":false,"context_lines":[{"line_number":48,"context_line":"        ],"},{"line_number":49,"context_line":"        \u0027links\u0027: ["},{"line_number":50,"context_line":"            {"},{"line_number":51,"context_line":"                \u0027href\u0027: \u0027/v1.1/\u0027,"},{"line_number":52,"context_line":"                \u0027rel\u0027: \u0027self\u0027"},{"line_number":53,"context_line":"            }"},{"line_number":54,"context_line":"        ]"}],"source_content_type":"text/x-python","patch_set":2,"id":"9aa7fdbe_792560ad","line":51,"updated":"2014-10-29 19:47:12.000000000","message":"Q. Same question as above.","commit_id":"fd21f92cd7d411aef067d91c714453b12fe1f757"}],"zaqar/queues/transport/wsgi/driver.py":[{"author":{"_account_id":10634,"name":"Peng Fei Wang","email":"wpf710@gmail.com","username":"wpf"},"change_message_id":"7132e833ab4487905faf5230387dbafdd9e46d26","unresolved":false,"context_lines":[{"line_number":79,"context_line":"        catalog \u003d ["},{"line_number":80,"context_line":"            (\u0027/v1\u0027, v1_0.public_endpoints(self)),"},{"line_number":81,"context_line":"            (\u0027/v1.1\u0027, v1_1.public_endpoints(self)),"},{"line_number":82,"context_line":"            (\u0027/\u0027, [(\u0027\u0027, version.Resource())])"},{"line_number":83,"context_line":"        ]"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"        if self._conf.admin_mode:"}],"source_content_type":"text/x-python","patch_set":1,"id":"9aa7fdbe_fa9b5d15","line":82,"updated":"2014-10-27 01:34:15.000000000","message":"Q:  should we use the  [(\u0027/\u0027, ......]   ?,  the codes for homedoc (such as http://localhost:8888/v1.1  or http://localhost:8888/v1.1/)  are using the \u0027/\u0027 but not \u0027\u0027","commit_id":"fe896cb136eff2c9c139865c917be3136f714e66"},{"author":{"_account_id":10634,"name":"Peng Fei Wang","email":"wpf710@gmail.com","username":"wpf"},"change_message_id":"5717ba73ea6769ad59b3d2db238ccf6865a84507","unresolved":false,"context_lines":[{"line_number":79,"context_line":"        catalog \u003d ["},{"line_number":80,"context_line":"            (\u0027/v1\u0027, v1_0.public_endpoints(self)),"},{"line_number":81,"context_line":"            (\u0027/v1.1\u0027, v1_1.public_endpoints(self)),"},{"line_number":82,"context_line":"            (\u0027/\u0027, [(\u0027\u0027, version.Resource())])"},{"line_number":83,"context_line":"        ]"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"        if self._conf.admin_mode:"}],"source_content_type":"text/x-python","patch_set":1,"id":"9aa7fdbe_fdd99757","line":82,"in_reply_to":"9aa7fdbe_5dc70396","updated":"2014-10-27 02:36:31.000000000","message":"Ok, Thanks for the explaination","commit_id":"fe896cb136eff2c9c139865c917be3136f714e66"},{"author":{"_account_id":7488,"name":"Jeffrey Zhang","email":"zhang.lei.fly@gmail.com","username":"Jeffrey4l"},"change_message_id":"d7ae216396b7cb5d1e1480f4674d0d264bd4d728","unresolved":false,"context_lines":[{"line_number":79,"context_line":"        catalog \u003d ["},{"line_number":80,"context_line":"            (\u0027/v1\u0027, v1_0.public_endpoints(self)),"},{"line_number":81,"context_line":"            (\u0027/v1.1\u0027, v1_1.public_endpoints(self)),"},{"line_number":82,"context_line":"            (\u0027/\u0027, [(\u0027\u0027, version.Resource())])"},{"line_number":83,"context_line":"        ]"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"        if self._conf.admin_mode:"}],"source_content_type":"text/x-python","patch_set":1,"id":"9aa7fdbe_5dc70396","line":82,"in_reply_to":"9aa7fdbe_fa9b5d15","updated":"2014-10-27 02:17:58.000000000","message":"They are different.\n\nIn the homedoc case: it will plus two str \n    \n    \u0027/v1\u0027 + \u0027/\u0027\n\nThis is reasonable and legal for falcon\n\nBut is the version case, if use the idea like above. It will be like \n\n    (\u0027/\u0027, [(\u0027/\u0027), version.Resource())])\n\nThis will cause the falcon raise exception like: \n\n    ValueError: uri_template may not contain \u0027//\u0027\n\nFalcon can not accept  `\u0027/\u0027 + \u0027/\u0027` \n\nSo I choice the PS\u0027s solution.","commit_id":"fe896cb136eff2c9c139865c917be3136f714e66"}],"zaqar/queues/transport/wsgi/version.py":[{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"f10dcfb7ecb26f637dd945b576ec111421b4767f","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright (c) 2013 Rackspace, Inc."},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\"); you may not"},{"line_number":4,"context_line":"# use this file except in compliance with the License.  You may obtain a copy"}],"source_content_type":"text/x-python","patch_set":1,"id":"9aa7fdbe_92aa1183","line":1,"updated":"2014-10-28 11:05:30.000000000","message":"ditto","commit_id":"fe896cb136eff2c9c139865c917be3136f714e66"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"f10dcfb7ecb26f637dd945b576ec111421b4767f","unresolved":false,"context_lines":[{"line_number":17,"context_line":"from zaqar.queues.transport import utils"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"VERSIONS \u003d {"},{"line_number":21,"context_line":"    \u0027versions\u0027: ["},{"line_number":22,"context_line":"        {"},{"line_number":23,"context_line":"            \u0027id\u0027: \u00271\u0027,"}],"source_content_type":"text/x-python","patch_set":1,"id":"9aa7fdbe_b2ad559d","line":20,"updated":"2014-10-28 11:05:30.000000000","message":"Does this follow a specific standard/format?\n\nI think this dict should be built automatically by introspecting each API\u0027s resource information. For example, I think we should move the dict for version 1 to the v1 resource - same for v1.1 - and build this dict using `V1Resource.version`.\n\nWe currently don\u0027t have a way to disable API versions but it\u0027ll likely happen in Kilo. If an API version is disabled, it shouldn\u0027t appear here, hence the request to make this dict dynamic.","commit_id":"fe896cb136eff2c9c139865c917be3136f714e66"},{"author":{"_account_id":7488,"name":"Jeffrey Zhang","email":"zhang.lei.fly@gmail.com","username":"Jeffrey4l"},"change_message_id":"bb9235fabe4d6bea6bcedf2d2e6e54b2fa94d454","unresolved":false,"context_lines":[{"line_number":17,"context_line":"from zaqar.queues.transport import utils"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"VERSIONS \u003d {"},{"line_number":21,"context_line":"    \u0027versions\u0027: ["},{"line_number":22,"context_line":"        {"},{"line_number":23,"context_line":"            \u0027id\u0027: \u00271\u0027,"}],"source_content_type":"text/x-python","patch_set":1,"id":"9aa7fdbe_6666cf2b","line":20,"in_reply_to":"9aa7fdbe_b2ad559d","updated":"2014-10-28 13:52:49.000000000","message":"yep, this dict follow a wiki standard.[1]\n\n[1] https://wiki.openstack.org/wiki/VersionDiscovery","commit_id":"fe896cb136eff2c9c139865c917be3136f714e66"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"f10dcfb7ecb26f637dd945b576ec111421b4767f","unresolved":false,"context_lines":[{"line_number":21,"context_line":"    \u0027versions\u0027: ["},{"line_number":22,"context_line":"        {"},{"line_number":23,"context_line":"            \u0027id\u0027: \u00271\u0027,"},{"line_number":24,"context_line":"            \u0027status\u0027: \u0027CURRENT\u0027,"},{"line_number":25,"context_line":"            \u0027updated\u0027: \u00272014-9-11T17:47:05Z\u0027,"},{"line_number":26,"context_line":"            \u0027media-types\u0027: ["},{"line_number":27,"context_line":"                {"}],"source_content_type":"text/x-python","patch_set":1,"id":"9aa7fdbe_d2973946","line":24,"updated":"2014-10-28 11:05:30.000000000","message":"Maintenance mode","commit_id":"fe896cb136eff2c9c139865c917be3136f714e66"},{"author":{"_account_id":10634,"name":"Peng Fei Wang","email":"wpf710@gmail.com","username":"wpf"},"change_message_id":"7132e833ab4487905faf5230387dbafdd9e46d26","unresolved":false,"context_lines":[{"line_number":22,"context_line":"        {"},{"line_number":23,"context_line":"            \u0027id\u0027: \u00271\u0027,"},{"line_number":24,"context_line":"            \u0027status\u0027: \u0027CURRENT\u0027,"},{"line_number":25,"context_line":"            \u0027updated\u0027: \u00272014-9-11T17:47:05Z\u0027,"},{"line_number":26,"context_line":"            \u0027media-types\u0027: ["},{"line_number":27,"context_line":"                {"},{"line_number":28,"context_line":"                    \u0027base\u0027: \u0027application/json\u0027,"}],"source_content_type":"text/x-python","patch_set":1,"id":"9aa7fdbe_9a9251f4","line":25,"updated":"2014-10-27 01:34:15.000000000","message":"Q:  how we get the date?","commit_id":"fe896cb136eff2c9c139865c917be3136f714e66"},{"author":{"_account_id":10634,"name":"Peng Fei Wang","email":"wpf710@gmail.com","username":"wpf"},"change_message_id":"5717ba73ea6769ad59b3d2db238ccf6865a84507","unresolved":false,"context_lines":[{"line_number":22,"context_line":"        {"},{"line_number":23,"context_line":"            \u0027id\u0027: \u00271\u0027,"},{"line_number":24,"context_line":"            \u0027status\u0027: \u0027CURRENT\u0027,"},{"line_number":25,"context_line":"            \u0027updated\u0027: \u00272014-9-11T17:47:05Z\u0027,"},{"line_number":26,"context_line":"            \u0027media-types\u0027: ["},{"line_number":27,"context_line":"                {"},{"line_number":28,"context_line":"                    \u0027base\u0027: \u0027application/json\u0027,"}],"source_content_type":"text/x-python","patch_set":1,"id":"9aa7fdbe_5deaa3db","line":25,"in_reply_to":"9aa7fdbe_1da57b03","updated":"2014-10-27 02:36:31.000000000","message":"I am ok then, let\u0027s to see whether some others can provide more comments","commit_id":"fe896cb136eff2c9c139865c917be3136f714e66"},{"author":{"_account_id":7488,"name":"Jeffrey Zhang","email":"zhang.lei.fly@gmail.com","username":"Jeffrey4l"},"change_message_id":"d7ae216396b7cb5d1e1480f4674d0d264bd4d728","unresolved":false,"context_lines":[{"line_number":22,"context_line":"        {"},{"line_number":23,"context_line":"            \u0027id\u0027: \u00271\u0027,"},{"line_number":24,"context_line":"            \u0027status\u0027: \u0027CURRENT\u0027,"},{"line_number":25,"context_line":"            \u0027updated\u0027: \u00272014-9-11T17:47:05Z\u0027,"},{"line_number":26,"context_line":"            \u0027media-types\u0027: ["},{"line_number":27,"context_line":"                {"},{"line_number":28,"context_line":"                    \u0027base\u0027: \u0027application/json\u0027,"}],"source_content_type":"text/x-python","patch_set":1,"id":"9aa7fdbe_1da57b03","line":25,"in_reply_to":"9aa7fdbe_9a9251f4","updated":"2014-10-27 02:17:58.000000000","message":"I get the data from the git log which modified the v1/v1.1 protocol. \n\nMaybe, this should be discus in detail?","commit_id":"fe896cb136eff2c9c139865c917be3136f714e66"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"f10dcfb7ecb26f637dd945b576ec111421b4767f","unresolved":false,"context_lines":[{"line_number":38,"context_line":"        },"},{"line_number":39,"context_line":"        {"},{"line_number":40,"context_line":"            \u0027id\u0027: \u00271.1\u0027,"},{"line_number":41,"context_line":"            \u0027status\u0027: \u0027EXPERIMENTAL\u0027,"},{"line_number":42,"context_line":"            \u0027updated\u0027: \u00272014-9-24T04:06:47Z\u0027,"},{"line_number":43,"context_line":"            \u0027media-types\u0027: ["},{"line_number":44,"context_line":"                {"}],"source_content_type":"text/x-python","patch_set":1,"id":"9aa7fdbe_f2927d55","line":41,"updated":"2014-10-28 11:05:30.000000000","message":"This is our current API, FWIW.","commit_id":"fe896cb136eff2c9c139865c917be3136f714e66"}]}
