)]}'
{"neutron_lib/api/converters.py":[{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"d7578911a2ee8e5420ba84bbaf6a27fc0c401b20","unresolved":false,"context_lines":[{"line_number":254,"context_line":"        raise n_exc.InvalidInput(error_message\u003derror_message)"},{"line_number":255,"context_line":""},{"line_number":256,"context_line":""},{"line_number":257,"context_line":"def convert_to_string(data):"},{"line_number":258,"context_line":"    \"\"\"Convert a data value into a string"},{"line_number":259,"context_line":""},{"line_number":260,"context_line":"    :param data: The data value to convert to a string."}],"source_content_type":"text/x-python","patch_set":1,"id":"1f1a1f67_eb86dedb","line":257,"range":{"start_line":257,"start_character":4,"end_line":257,"end_character":21},"updated":"2017-07-21 13:08:32.000000000","message":"Since this is a public API we should include a release note.","commit_id":"b6804a622ad820f2276c2830d0eab0bbc065400f"},{"author":{"_account_id":13702,"name":"yushiro","username":"yushiro","inactive":true},"change_message_id":"7d2c111dcc820f849003fa8614fcf35782a0acec","unresolved":false,"context_lines":[{"line_number":254,"context_line":"        raise n_exc.InvalidInput(error_message\u003derror_message)"},{"line_number":255,"context_line":""},{"line_number":256,"context_line":""},{"line_number":257,"context_line":"def convert_to_string(data):"},{"line_number":258,"context_line":"    \"\"\"Convert a data value into a string"},{"line_number":259,"context_line":""},{"line_number":260,"context_line":"    :param data: The data value to convert to a string."}],"source_content_type":"text/x-python","patch_set":1,"id":"1f1a1f67_212cf797","line":257,"range":{"start_line":257,"start_character":4,"end_line":257,"end_character":21},"in_reply_to":"1f1a1f67_eb86dedb","updated":"2017-07-21 13:44:29.000000000","message":"I\u0027ll add.","commit_id":"b6804a622ad820f2276c2830d0eab0bbc065400f"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"d7578911a2ee8e5420ba84bbaf6a27fc0c401b20","unresolved":false,"context_lines":[{"line_number":261,"context_line":"    :returns: The string value of \u0027data\u0027 if it exists"},{"line_number":262,"context_line":"    \"\"\""},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"    return str(data) if data else None"}],"source_content_type":"text/x-python","patch_set":1,"id":"1f1a1f67_6b1d2ebc","line":264,"range":{"start_line":264,"start_character":22,"end_line":264,"end_character":28},"updated":"2017-07-21 13:08:32.000000000","message":"So an empty string should return None? that\u0027s the behavior now IIUC.","commit_id":"b6804a622ad820f2276c2830d0eab0bbc065400f"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"9cdb8c4e826da4de1832427697c785f31265da0c","unresolved":false,"context_lines":[{"line_number":261,"context_line":"    :returns: The string value of \u0027data\u0027 if it exists"},{"line_number":262,"context_line":"    \"\"\""},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"    return str(data) if data else None"}],"source_content_type":"text/x-python","patch_set":1,"id":"1f1a1f67_8b476abd","line":264,"updated":"2017-07-21 13:07:13.000000000","message":"can you add UT?","commit_id":"b6804a622ad820f2276c2830d0eab0bbc065400f"},{"author":{"_account_id":13702,"name":"yushiro","username":"yushiro","inactive":true},"change_message_id":"0293fd89b3860f2b6c678a3ce3ba04b275dea255","unresolved":false,"context_lines":[{"line_number":261,"context_line":"    :returns: The string value of \u0027data\u0027 if it exists"},{"line_number":262,"context_line":"    \"\"\""},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"    return str(data) if data else None"}],"source_content_type":"text/x-python","patch_set":1,"id":"1f1a1f67_41eff386","line":264,"range":{"start_line":264,"start_character":22,"end_line":264,"end_character":28},"in_reply_to":"1f1a1f67_41bb73e4","updated":"2017-07-21 13:58:40.000000000","message":"OK, will change.","commit_id":"b6804a622ad820f2276c2830d0eab0bbc065400f"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"b12466dce60601421ff11dc3f492bf44f4e3c096","unresolved":false,"context_lines":[{"line_number":261,"context_line":"    :returns: The string value of \u0027data\u0027 if it exists"},{"line_number":262,"context_line":"    \"\"\""},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"    return str(data) if data else None"}],"source_content_type":"text/x-python","patch_set":1,"id":"1f1a1f67_41bb73e4","line":264,"range":{"start_line":264,"start_character":22,"end_line":264,"end_character":28},"in_reply_to":"1f1a1f67_615f8f0e","updated":"2017-07-21 13:51:24.000000000","message":"i guess it\u0027s better to check \"is None\" explicitly.\nrather than converting an empty string and 0 to None.\nafter all, this converter has a name which doesn\u0027t imply port_range and might be used for other things in future.","commit_id":"b6804a622ad820f2276c2830d0eab0bbc065400f"},{"author":{"_account_id":13702,"name":"yushiro","username":"yushiro","inactive":true},"change_message_id":"7d2c111dcc820f849003fa8614fcf35782a0acec","unresolved":false,"context_lines":[{"line_number":261,"context_line":"    :returns: The string value of \u0027data\u0027 if it exists"},{"line_number":262,"context_line":"    \"\"\""},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"    return str(data) if data else None"}],"source_content_type":"text/x-python","patch_set":1,"id":"1f1a1f67_615f8f0e","line":264,"range":{"start_line":264,"start_character":22,"end_line":264,"end_character":28},"in_reply_to":"1f1a1f67_6b1d2ebc","updated":"2017-07-21 13:44:29.000000000","message":"Yes, that\u0027s a current behavior.  However, I\u0027d like to convert from integer to string.","commit_id":"b6804a622ad820f2276c2830d0eab0bbc065400f"},{"author":{"_account_id":13702,"name":"yushiro","username":"yushiro","inactive":true},"change_message_id":"7d2c111dcc820f849003fa8614fcf35782a0acec","unresolved":false,"context_lines":[{"line_number":261,"context_line":"    :returns: The string value of \u0027data\u0027 if it exists"},{"line_number":262,"context_line":"    \"\"\""},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"    return str(data) if data else None"}],"source_content_type":"text/x-python","patch_set":1,"id":"1f1a1f67_01a45b07","line":264,"in_reply_to":"1f1a1f67_8b476abd","updated":"2017-07-21 13:44:29.000000000","message":"will add.","commit_id":"b6804a622ad820f2276c2830d0eab0bbc065400f"}],"neutron_lib/api/definitions/firewall.py":[{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"d7578911a2ee8e5420ba84bbaf6a27fc0c401b20","unresolved":false,"context_lines":[{"line_number":83,"context_line":"                                   \u0027is_visible\u0027: True, \u0027default\u0027: None},"},{"line_number":84,"context_line":"        \u0027source_port\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":85,"context_line":"                        \u0027validate\u0027: {\u0027type:port_range\u0027: None},"},{"line_number":86,"context_line":"                        \u0027convert_to\u0027: converters.convert_to_string,"},{"line_number":87,"context_line":"                        \u0027default\u0027: None, \u0027is_visible\u0027: True},"},{"line_number":88,"context_line":"        \u0027destination_port\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":89,"context_line":"                             \u0027validate\u0027: {\u0027type:port_range\u0027: None},"}],"source_content_type":"text/x-python","patch_set":1,"id":"1f1a1f67_4bc6f218","line":86,"range":{"start_line":86,"start_character":49,"end_line":86,"end_character":66},"updated":"2017-07-21 13:08:32.000000000","message":"The API doesn\u0027t do this for you?\nIIUC we use string types all over but haven\u0027t yet needed a convert_to_string, what am I missing?","commit_id":"b6804a622ad820f2276c2830d0eab0bbc065400f"},{"author":{"_account_id":13702,"name":"yushiro","username":"yushiro","inactive":true},"change_message_id":"7d2c111dcc820f849003fa8614fcf35782a0acec","unresolved":false,"context_lines":[{"line_number":83,"context_line":"                                   \u0027is_visible\u0027: True, \u0027default\u0027: None},"},{"line_number":84,"context_line":"        \u0027source_port\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":85,"context_line":"                        \u0027validate\u0027: {\u0027type:port_range\u0027: None},"},{"line_number":86,"context_line":"                        \u0027convert_to\u0027: converters.convert_to_string,"},{"line_number":87,"context_line":"                        \u0027default\u0027: None, \u0027is_visible\u0027: True},"},{"line_number":88,"context_line":"        \u0027destination_port\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":89,"context_line":"                             \u0027validate\u0027: {\u0027type:port_range\u0027: None},"}],"source_content_type":"text/x-python","patch_set":1,"id":"1f1a1f67_e10cbf3c","line":86,"range":{"start_line":86,"start_character":49,"end_line":86,"end_character":66},"in_reply_to":"1f1a1f67_4bc6f218","updated":"2017-07-21 13:44:29.000000000","message":"Yes.  In firewall, we can specify \u0027source_port\u0027 or \u0027destination_port\u0027 with following formats:\n\n port\n\n* case.1 -\u003e 100 (integer)\n* case.2 -\u003e \u0027100\u0027 (string)\n\n \u003cmin_port\u003e:\u003cmax_port\u003e\n\n* case.3 -\u003e \"100:200\"\n\nIf converter is missing, current situation,  we cannot follow case.1.","commit_id":"b6804a622ad820f2276c2830d0eab0bbc065400f"}],"releasenotes/notes/add-convert-to-string-524541aa6224f66f.yaml":[{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"829f8ce6fcafcfae43f6838fdba6a2c7bef3c883","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    A new converter ``convert_to_string`` into ``neutron_lib.api.converters``."},{"line_number":5,"context_line":"    This method can convert an argument which is not None into string value."}],"source_content_type":"text/x-yaml","patch_set":3,"id":"ff346bd7_327db06e","line":4,"range":{"start_line":4,"start_character":42,"end_line":4,"end_character":46},"updated":"2017-07-21 17:13:35.000000000","message":"\"was added to\"?","commit_id":"768dcc05afdc9677c1ed55a473f07eb11190f6a7"}],"releasenotes/notes/add-new-converter-524541aa6224f66f.yaml":[{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"f7090404c26f8cd4aee18c28a0f0462425b35bc2","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"1f1a1f67_3c61ba3a","updated":"2017-07-21 14:24:43.000000000","message":"Nit: a file name slug such as add-convert-to-string would be more descriptive than the generic \"add-new-converter\".","commit_id":"c1f36873306210e555e7debc49f3546466214334"},{"author":{"_account_id":13702,"name":"yushiro","username":"yushiro","inactive":true},"change_message_id":"3f46e1ffb98d3316f7c853831156fea2fb1d6977","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"1f1a1f67_1cc27eea","in_reply_to":"1f1a1f67_3c61ba3a","updated":"2017-07-21 14:31:14.000000000","message":"Done","commit_id":"c1f36873306210e555e7debc49f3546466214334"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"f7090404c26f8cd4aee18c28a0f0462425b35bc2","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    A new converter ``convert_to_string`` into neutron_lib.api.converters. This"},{"line_number":5,"context_line":"    method can convert an argument which is not None into string value."}],"source_content_type":"text/x-yaml","patch_set":2,"id":"1f1a1f67_fc0c6295","line":4,"range":{"start_line":4,"start_character":47,"end_line":4,"end_character":73},"updated":"2017-07-21 14:24:43.000000000","message":"use::\n\n  ``neutron_lib.api.converters``","commit_id":"c1f36873306210e555e7debc49f3546466214334"},{"author":{"_account_id":13702,"name":"yushiro","username":"yushiro","inactive":true},"change_message_id":"3f46e1ffb98d3316f7c853831156fea2fb1d6977","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    A new converter ``convert_to_string`` into neutron_lib.api.converters. This"},{"line_number":5,"context_line":"    method can convert an argument which is not None into string value."}],"source_content_type":"text/x-yaml","patch_set":2,"id":"1f1a1f67_fcb6a28a","line":4,"range":{"start_line":4,"start_character":47,"end_line":4,"end_character":73},"in_reply_to":"1f1a1f67_fc0c6295","updated":"2017-07-21 14:31:14.000000000","message":"Done","commit_id":"c1f36873306210e555e7debc49f3546466214334"}]}
