)]}'
{"barbican/plugin/interface/secret_store.py":[{"author":{"_account_id":9914,"name":"Ade Lee","email":"alee@redhat.com","username":"alee"},"change_message_id":"ca533ac5fe4bea752254e3a3df3bb20f62c117b3","unresolved":false,"context_lines":[{"line_number":89,"context_line":"                                         len\u003dkey_spec.bit_length)"},{"line_number":90,"context_line":"        super(SecretStoreSupportedPluginNotFound, self).__init__("},{"line_number":91,"context_line":"            message)"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"class SecretContentTypeNotSupportedException(exception.BarbicanHTTPException):"},{"line_number":95,"context_line":"    \"\"\"Raised when support for payload content type is not available.\"\"\""}],"source_content_type":"text/x-python","patch_set":2,"id":"ba5201f7_3a223702","line":92,"updated":"2017-01-03 18:00:44.000000000","message":"This exception is used when a plugin cannot be found for either store() or generate() operations.  The more detailed message you have added only is applicable in generate() operations.\n\nIf you want more specific exceptions, you need to provide separate exceptions for the two cases.","commit_id":"a036ea7f9448d8e0b6368f76a80097f4a08536a8"},{"author":{"_account_id":8623,"name":"Kaitlin Farr","email":"kaitlin.farr@jhuapl.edu","username":"kaitlin.farr"},"change_message_id":"3f2967d5d12a62181fe12d52974523a3655467b7","unresolved":false,"context_lines":[{"line_number":98,"context_line":"    status_code \u003d 400"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"    def __init__(self, key_spec):"},{"line_number":101,"context_line":"        message \u003d u._(\"Could not find a secret generate plugin for generating \""},{"line_number":102,"context_line":"                      \"secret with algorithm \u0027{alg}\u0027 and bit-length \""},{"line_number":103,"context_line":"                      \"\u0027{len}\u0027.\").format(alg\u003dkey_spec.alg,"},{"line_number":104,"context_line":"                                         len\u003dkey_spec.bit_length)"}],"source_content_type":"text/x-python","patch_set":3,"id":"ba5201f7_2000a465","line":101,"range":{"start_line":101,"start_character":40,"end_line":101,"end_character":62},"updated":"2017-01-08 21:39:25.000000000","message":"..secret store plugin..","commit_id":"49bd14e07cfb8b865d3383c2e3f095d5adf5fecd"},{"author":{"_account_id":23185,"name":"Samantha Blanco","email":"samantha.blanco@att.com","username":"sblanco"},"change_message_id":"2a015bb00028862b44babf826c189f29d39bb574","unresolved":false,"context_lines":[{"line_number":77,"context_line":""},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"class SecretStoreSupportedPluginNotFound(exception.BarbicanHTTPException):"},{"line_number":80,"context_line":"    \"\"\"Raised when no secret store supported plugin are found.\"\"\""},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"    client_message \u003d u._(\"Secret store supported plugin not found.\")"},{"line_number":83,"context_line":"    status_code \u003d 400"}],"source_content_type":"text/x-python","patch_set":4,"id":"3a461143_122dfefd","line":80,"range":{"start_line":80,"start_character":52,"end_line":80,"end_character":55},"updated":"2017-01-30 16:44:39.000000000","message":"nit: is","commit_id":"383b2c6bb013c4784982b57142b82f9aa41b11c1"},{"author":{"_account_id":23185,"name":"Samantha Blanco","email":"samantha.blanco@att.com","username":"sblanco"},"change_message_id":"2a015bb00028862b44babf826c189f29d39bb574","unresolved":false,"context_lines":[{"line_number":80,"context_line":"    \"\"\"Raised when no secret store supported plugin are found.\"\"\""},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"    client_message \u003d u._(\"Secret store supported plugin not found.\")"},{"line_number":83,"context_line":"    status_code \u003d 400"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"    def __init__(self, key_spec):"},{"line_number":86,"context_line":"        message \u003d u._(\"Could not find a secret store plugin for storing \""}],"source_content_type":"text/x-python","patch_set":4,"id":"3a461143_12141e9e","line":83,"range":{"start_line":83,"start_character":18,"end_line":83,"end_character":21},"updated":"2017-01-30 16:44:39.000000000","message":"I recognize this is not directly related to the bug, but if this is throwing a not found error, shouldn\u0027t it be 404?","commit_id":"383b2c6bb013c4784982b57142b82f9aa41b11c1"},{"author":{"_account_id":21797,"name":"Jeremy Liu","display_name":"Jeremy Liu","username":"liujiong"},"change_message_id":"72f48009b1d274487d641055b3c1765fd8e58f24","unresolved":false,"context_lines":[{"line_number":80,"context_line":"    \"\"\"Raised when no secret store supported plugin are found.\"\"\""},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"    client_message \u003d u._(\"Secret store supported plugin not found.\")"},{"line_number":83,"context_line":"    status_code \u003d 400"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"    def __init__(self, key_spec):"},{"line_number":86,"context_line":"        message \u003d u._(\"Could not find a secret store plugin for storing \""}],"source_content_type":"text/x-python","patch_set":4,"id":"3a461143_31f1ffcd","line":83,"range":{"start_line":83,"start_character":18,"end_line":83,"end_character":21},"in_reply_to":"3a461143_12141e9e","updated":"2017-01-31 09:50:09.000000000","message":"This error is thrown when the server can not process the request params passing from client. So error code should be 400 instead of 404.","commit_id":"383b2c6bb013c4784982b57142b82f9aa41b11c1"},{"author":{"_account_id":23185,"name":"Samantha Blanco","email":"samantha.blanco@att.com","username":"sblanco"},"change_message_id":"2a015bb00028862b44babf826c189f29d39bb574","unresolved":false,"context_lines":[{"line_number":95,"context_line":"    \"\"\"Raised when no secret generate supported plugin are found.\"\"\""},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"    client_message \u003d u._(\"Secret generate supported plugin not found.\")"},{"line_number":98,"context_line":"    status_code \u003d 400"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"    def __init__(self, key_spec):"},{"line_number":101,"context_line":"        message \u003d u._(\"Could not find a secret store plugin for generating \""}],"source_content_type":"text/x-python","patch_set":4,"id":"3a461143_92280ee4","line":98,"range":{"start_line":98,"start_character":18,"end_line":98,"end_character":21},"updated":"2017-01-30 16:44:39.000000000","message":"Same as L83","commit_id":"383b2c6bb013c4784982b57142b82f9aa41b11c1"},{"author":{"_account_id":23185,"name":"Samantha Blanco","email":"samantha.blanco@att.com","username":"sblanco"},"change_message_id":"2a015bb00028862b44babf826c189f29d39bb574","unresolved":false,"context_lines":[{"line_number":623,"context_line":"        for plugin in active_plugins:"},{"line_number":624,"context_line":"            if plugin.generate_supports(key_spec):"},{"line_number":625,"context_line":"                return plugin"},{"line_number":626,"context_line":"        raise SecretGenerateSupportedPluginNotFound(key_spec)"},{"line_number":627,"context_line":""},{"line_number":628,"context_line":"    def _get_internal_plugin_names(self, secretstore_conf):"},{"line_number":629,"context_line":"        \"\"\"Gets plugin names used for loading via stevedore."}],"source_content_type":"text/x-python","patch_set":4,"id":"3a461143_f2e07298","line":626,"range":{"start_line":626,"start_character":14,"end_line":626,"end_character":51},"updated":"2017-01-30 16:44:39.000000000","message":"Perhaps I\u0027m looking in the wrong place, but this doesn\u0027t seem to exist","commit_id":"383b2c6bb013c4784982b57142b82f9aa41b11c1"},{"author":{"_account_id":21797,"name":"Jeremy Liu","display_name":"Jeremy Liu","username":"liujiong"},"change_message_id":"72f48009b1d274487d641055b3c1765fd8e58f24","unresolved":false,"context_lines":[{"line_number":623,"context_line":"        for plugin in active_plugins:"},{"line_number":624,"context_line":"            if plugin.generate_supports(key_spec):"},{"line_number":625,"context_line":"                return plugin"},{"line_number":626,"context_line":"        raise SecretGenerateSupportedPluginNotFound(key_spec)"},{"line_number":627,"context_line":""},{"line_number":628,"context_line":"    def _get_internal_plugin_names(self, secretstore_conf):"},{"line_number":629,"context_line":"        \"\"\"Gets plugin names used for loading via stevedore."}],"source_content_type":"text/x-python","patch_set":4,"id":"3a461143_51c3eb56","line":626,"range":{"start_line":626,"start_character":14,"end_line":626,"end_character":51},"in_reply_to":"3a461143_f2e07298","updated":"2017-01-31 09:50:09.000000000","message":"It\u0027s defined in line94.","commit_id":"383b2c6bb013c4784982b57142b82f9aa41b11c1"}],"barbican/tests/plugin/interface/test_secret_store.py":[{"author":{"_account_id":23185,"name":"Samantha Blanco","email":"samantha.blanco@att.com","username":"sblanco"},"change_message_id":"2a015bb00028862b44babf826c189f29d39bb574","unresolved":false,"context_lines":[{"line_number":185,"context_line":"        self.manager.extensions \u003d [plugin_mock]"},{"line_number":186,"context_line":"        keySpec \u003d str.KeySpec(str.KeyAlgorithm.AES, 128)"},{"line_number":187,"context_line":"        self.assertRaises("},{"line_number":188,"context_line":"            str.SecretGenerateSupportedPluginNotFound,"},{"line_number":189,"context_line":"            self.manager.get_plugin_generate,"},{"line_number":190,"context_line":"            keySpec,"},{"line_number":191,"context_line":"        )"}],"source_content_type":"text/x-python","patch_set":4,"id":"3a461143_b2da6ae6","line":188,"range":{"start_line":188,"start_character":16,"end_line":188,"end_character":53},"updated":"2017-01-30 16:44:39.000000000","message":"Perhaps I\u0027m looking in the wrong place, but this doesn\u0027t seem to exist","commit_id":"383b2c6bb013c4784982b57142b82f9aa41b11c1"}]}
