)]}'
{"barbican/common/validators.py":[{"author":{"_account_id":7262,"name":"John Vrbanac","email":"john.vrbanac@linux.com","username":"john.vrbanac"},"change_message_id":"24f85fd04a064673076456cd41f0385ee98aa083","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"baa041b7_602a432e","updated":"2015-04-05 02:40:15.000000000","message":"Most of these changes are completely unnecessary. Please revert them.","commit_id":"280d628eae2b430752d1eb2aafda36d23c41dd1a"},{"author":{"_account_id":7262,"name":"John Vrbanac","email":"john.vrbanac@linux.com","username":"john.vrbanac"},"change_message_id":"24f85fd04a064673076456cd41f0385ee98aa083","unresolved":false,"context_lines":[{"line_number":710,"context_line":"            cfg.IntOpt(\u0027consumer_maxlength\u0027,"},{"line_number":711,"context_line":"                       default\u003ddefault_consumer_maxlength),"},{"line_number":712,"context_line":"        ]"},{"line_number":713,"context_line":"        cfg.register_opts(consumer_maxlength)"},{"line_number":714,"context_line":""},{"line_number":715,"context_line":"    def validate(self, json_data, parent_schema\u003dNone):"},{"line_number":716,"context_line":"        schema_name \u003d self._full_name("}],"source_content_type":"text/x-python","patch_set":1,"id":"baa041b7_40229f53","line":713,"updated":"2015-04-05 02:40:15.000000000","message":"this doesn\u0027t need to be a configurable option.","commit_id":"280d628eae2b430752d1eb2aafda36d23c41dd1a"},{"author":{"_account_id":7262,"name":"John Vrbanac","email":"john.vrbanac@linux.com","username":"john.vrbanac"},"change_message_id":"24f85fd04a064673076456cd41f0385ee98aa083","unresolved":false,"context_lines":[{"line_number":717,"context_line":"            parent_schema)"},{"line_number":718,"context_line":"        # Ensure that the name of our consumer is not"},{"line_number":719,"context_line":"        # longer than the configured maxlength."},{"line_number":720,"context_line":"        if(len(json_data.get(\u0027name\u0027)) \u003e"},{"line_number":721,"context_line":"           CONF.consumer_maxlength):"},{"line_number":722,"context_line":"                # Abort as our consumer name is"},{"line_number":723,"context_line":"                # too big."}],"source_content_type":"text/x-python","patch_set":1,"id":"baa041b7_c0d46f21","line":720,"updated":"2015-04-05 02:40:15.000000000","message":"Please use JSONSchema for this validation instead of writing a custom validator.","commit_id":"280d628eae2b430752d1eb2aafda36d23c41dd1a"}],"barbican/tests/common/test_validators.py":[{"author":{"_account_id":7262,"name":"John Vrbanac","email":"john.vrbanac@linux.com","username":"john.vrbanac"},"change_message_id":"003a676ee0c4e85a844f7d2c3c2ee9f5a10aeb33","unresolved":false,"context_lines":[{"line_number":163,"context_line":""},{"line_number":164,"context_line":"        self.assertTrue(\u0027expiration\u0027 in result)"},{"line_number":165,"context_line":"        self.assertTrue("},{"line_number":166,"context_line":"            isinstance(result[\u0027expiration\u0027], datetime.datetime))"},{"line_number":167,"context_line":""},{"line_number":168,"context_line":"    def test_should_validate_future_expiration_no_t(self):"},{"line_number":169,"context_line":"        self.secret_req[\u0027expiration\u0027] \u003d \u00272114-02-28 19:14:44.180394\u0027"}],"source_content_type":"text/x-python","patch_set":6,"id":"7aaa499b_806244d7","line":166,"updated":"2015-04-12 04:28:05.000000000","message":"you\u0027re changing a bunch of random lines that don\u0027t need to be changed. Please revert them.","commit_id":"b9842db9dcf47fbdacc6c8bc9fb587971f782d6b"},{"author":{"_account_id":7262,"name":"John Vrbanac","email":"john.vrbanac@linux.com","username":"john.vrbanac"},"change_message_id":"a747df9956ff6891a50a89be12ec552c5df3a7b8","unresolved":false,"context_lines":[{"line_number":163,"context_line":""},{"line_number":164,"context_line":"        self.assertTrue(\u0027expiration\u0027 in result)"},{"line_number":165,"context_line":"        self.assertTrue("},{"line_number":166,"context_line":"            isinstance(result[\u0027expiration\u0027], datetime.datetime))"},{"line_number":167,"context_line":""},{"line_number":168,"context_line":"    def test_should_validate_future_expiration_no_t(self):"},{"line_number":169,"context_line":"        self.secret_req[\u0027expiration\u0027] \u003d \u00272114-02-28 19:14:44.180394\u0027"}],"source_content_type":"text/x-python","patch_set":7,"id":"7aaa499b_d1f8c44b","line":166,"updated":"2015-04-15 05:01:07.000000000","message":"Most of these changes shouldn\u0027t be here. So whatever it takes to get these things reverted for you, that\u0027s what needs to get done.","commit_id":"963f4b149d679b5a6a47a0a7a6effd0aacad7891"},{"author":{"_account_id":7262,"name":"John Vrbanac","email":"john.vrbanac@linux.com","username":"john.vrbanac"},"change_message_id":"a747df9956ff6891a50a89be12ec552c5df3a7b8","unresolved":false,"context_lines":[{"line_number":949,"context_line":"        jcIiOc9Htt5aYhJwxtf90m2xo9DJR65Su3Btx1LCVXDF4KN00pjQpp+qgzXCkT/JAxAXam3NiLXR"},{"line_number":950,"context_line":"        HaBaa3tKqlR6HZ3aIWMSaVA4ZBn7YEKLM2jRhj0LdQOnugpGkt9kE1xR2Nem6A8lDLYb8kcZ82tz"},{"line_number":951,"context_line":"        DtYVpDR2OKlgA1RQGRdgfcAsHdun2hcrKamW7kflAqLy4VqLvWKtz7srNtp2HSk"},{"line_number":952,"context_line":"        \"\"\""},{"line_number":953,"context_line":"        consumer_req \u003d {\u0027name\u0027: longname, \u0027url\u0027: self.URL}"},{"line_number":954,"context_line":"        self.assertRaises("},{"line_number":955,"context_line":"            excep.InvalidObject,"}],"source_content_type":"text/x-python","patch_set":7,"id":"7aaa499b_91c0fce1","line":952,"updated":"2015-04-15 05:01:07.000000000","message":"Replace longname with a proper C style name with an underscore splitting the words. Perhaps change the name to \"oversized_name\".\n\nAlso, you don\u0027t need to use a literal string for this. Use:\n\n    oversized_name \u003d \u0027a\u0027 * 256","commit_id":"963f4b149d679b5a6a47a0a7a6effd0aacad7891"}]}
