)]}'
{"functionaltests/api/v1/behaviors/secret_behaviors.py":[{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"8a5369aa5ad7720eca8c318997799a2feaef9322","unresolved":false,"context_lines":[{"line_number":49,"context_line":"        :param secret_ref: HATEOS ref of the secret to be updated"},{"line_number":50,"context_line":"        :param payload: new payload to be sent to server"},{"line_number":51,"context_line":"        :param payload_content_type: value for the Content-Type header"},{"line_number":52,"context_line":"        :param payload_content_encoding: value for the Content-Encoding header"},{"line_number":53,"context_line":"        :param use_auth: Boolean for whether to send authentication headers"},{"line_number":54,"context_line":"        :return: the response from the PUT update"},{"line_number":55,"context_line":"        \"\"\""}],"source_content_type":"text/x-python","patch_set":3,"id":"5aa745d1_705a5a85","line":52,"updated":"2015-04-16 15:20:34.000000000","message":"can you add a :param for extra_headers?","commit_id":"3a6a5fc0fb2f827845dc1f9a88b9d5dddf3337b0"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"8a5369aa5ad7720eca8c318997799a2feaef9322","unresolved":false,"context_lines":[{"line_number":60,"context_line":"            headers \u003d {\u0027Content-Type\u0027: payload_content_type,"},{"line_number":61,"context_line":"                       \u0027Content-Encoding\u0027: payload_content_encoding}"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"        if extra_headers and isinstance(extra_headers, dict):"},{"line_number":64,"context_line":"            headers.update(extra_headers)"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"        return self.client.put(secret_ref, data\u003dpayload, extra_headers\u003dheaders,"}],"source_content_type":"text/x-python","patch_set":3,"id":"5aa745d1_30dcd2e3","line":63,"updated":"2015-04-16 15:20:34.000000000","message":"do we need to explicitly check for extra_headers being a dict?  Do we have any code that passes in something other than a dict?  If so then they need to fix that.","commit_id":"3a6a5fc0fb2f827845dc1f9a88b9d5dddf3337b0"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"8a5369aa5ad7720eca8c318997799a2feaef9322","unresolved":false,"context_lines":[{"line_number":73,"context_line":"        headers \u003d {\u0027Accept\u0027: payload_content_type,"},{"line_number":74,"context_line":"                   \u0027Accept-Encoding\u0027: payload_content_encoding}"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"        if extra_headers and isinstance(extra_headers, dict):"},{"line_number":77,"context_line":"            headers.update(extra_headers)"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"        return self.client.get(secret_ref + \u0027/payload\u0027,"}],"source_content_type":"text/x-python","patch_set":3,"id":"5aa745d1_d0f92e4f","line":76,"updated":"2015-04-16 15:20:34.000000000","message":"same as above","commit_id":"3a6a5fc0fb2f827845dc1f9a88b9d5dddf3337b0"}],"functionaltests/api/v1/security/test_secrets.py":[{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"267ad6c0e06e9a5fcf1be292123a11714efd7ea0","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright (c) 2014 Rackspace, 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":"9a80dd14_35eca0bb","line":1,"updated":"2015-03-17 19:15:43.000000000","message":"2015 :-)","commit_id":"43676e266901829c36ba308c80fff92dfe0434a7"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"267ad6c0e06e9a5fcf1be292123a11714efd7ea0","unresolved":false,"context_lines":[{"line_number":20,"context_line":"from functionaltests.api.v1.models import secret_models"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"# TODO(tdink) Move to a config file"},{"line_number":23,"context_line":"secret_create_defaults_data \u003d {"},{"line_number":24,"context_line":"    \"name\": \"AES key\","},{"line_number":25,"context_line":"    \"expiration\": \"2018-02-28T19:14:44.180394\","},{"line_number":26,"context_line":"    \"algorithm\": \"aes\","}],"source_content_type":"text/x-python","patch_set":1,"id":"9a80dd14_555f5475","line":23,"updated":"2015-03-17 19:15:43.000000000","message":"we have changed how we do this default data (but not merged yet as I type this).  Might want to look at https://review.openstack.org/#/c/163564/","commit_id":"43676e266901829c36ba308c80fff92dfe0434a7"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"267ad6c0e06e9a5fcf1be292123a11714efd7ea0","unresolved":false,"context_lines":[{"line_number":77,"context_line":"        self.behaviors.delete_all_created_secrets()"},{"line_number":78,"context_line":"        super(SecretsTestCase, self).tearDown()"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"    # UNAUTHED TESTS #"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"    @testcase.attr(\u0027negative\u0027)"},{"line_number":83,"context_line":"    def test_unauthed_huge_dummy_token_no_proj_id(self):"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a80dd14_d5d984f5","line":80,"updated":"2015-03-17 19:15:43.000000000","message":"not sure what else is coming but maybe want to make this class SecretsUnauthTestCase?","commit_id":"43676e266901829c36ba308c80fff92dfe0434a7"},{"author":{"_account_id":6783,"name":"Nathan Reller","email":"nathan.s.reller@gmail.com","username":"rellerreller"},"change_message_id":"ce9cbecd855cb12be119c2043c71b393a3a5f4f1","unresolved":false,"context_lines":[{"line_number":138,"context_line":"            dummy_secret_ref, data\u003dNone, extra_headers\u003dheaders,"},{"line_number":139,"context_line":"            use_auth\u003dFalse"},{"line_number":140,"context_line":"        )"},{"line_number":141,"context_line":"        self.assertEqual(resp.status_code, 401)"},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"    @testcase.attr(\u0027negative\u0027)"},{"line_number":144,"context_line":"    def test_unauthed_delete_no_proj_id(self):"}],"source_content_type":"text/x-python","patch_set":2,"id":"9a80dd14_8675f633","line":141,"updated":"2015-03-18 16:53:54.000000000","message":"We had a huge debate over this on Monday. The format is\n\nassertEqual(expected, actual)\n\nYou will have to make this change to all occurrences.","commit_id":"4b15792869e8c3ba8aee5342c9374136100d92c6"}]}
