)]}'
{"watcher/api/validation/__init__.py":[{"author":{"_account_id":25695,"name":"Deepak Mourya","email":"deepakmoriya7@gmail.com","username":"deepak_mourya"},"change_message_id":"9c2ee2b5d3186ed6509859e82fd64ec572f75a24","unresolved":false,"context_lines":[{"line_number":24,"context_line":"    def add_validator(func):"},{"line_number":25,"context_line":"        @functools.wraps(func)"},{"line_number":26,"context_line":"        def wrapper(*args, **kwargs):"},{"line_number":27,"context_line":"            import pdb"},{"line_number":28,"context_line":"            pdb.set_trace()"},{"line_number":29,"context_line":"            schema_validator \u003d validator.SchemaValidator("},{"line_number":30,"context_line":"                request_body_schema)"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_dd535116","line":27,"updated":"2018-05-13 03:28:44.000000000","message":"You can remove this.","commit_id":"5acd94b3929373ab93d1ca6a67f3a035b2a3c24d"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"2393a479b2e71eb73d314eed625b30976a3c0073","unresolved":false,"context_lines":[{"line_number":24,"context_line":"    def add_validator(func):"},{"line_number":25,"context_line":"        @functools.wraps(func)"},{"line_number":26,"context_line":"        def wrapper(*args, **kwargs):"},{"line_number":27,"context_line":"            schema_validator \u003d validator.SchemaValidator("},{"line_number":28,"context_line":"                request_body_schema)"},{"line_number":29,"context_line":"            schema_validator.validate(kwargs)"},{"line_number":30,"context_line":"            return func(*args, **kwargs)"}],"source_content_type":"text/x-python","patch_set":5,"id":"5f7c97a3_0f45ebb3","line":27,"range":{"start_line":27,"start_character":41,"end_line":27,"end_character":56},"updated":"2018-06-13 03:33:47.000000000","message":"this is giving module error in dependent patch. it is _SchemaValidator not SchemaValidator","commit_id":"80d231fca5c58cf9f72ad7ecef9cceaca10d9e90"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"273c0034a49f335bedc2abba0ef77b734b76a377","unresolved":false,"context_lines":[{"line_number":26,"context_line":"        def wrapper(*args, **kwargs):"},{"line_number":27,"context_line":"            schema_validator \u003d validator._SchemaValidator("},{"line_number":28,"context_line":"                request_body_schema)"},{"line_number":29,"context_line":"            schema_validator.validate(kwargs)"},{"line_number":30,"context_line":"            return func(*args, **kwargs)"},{"line_number":31,"context_line":"        return wrapper"},{"line_number":32,"context_line":"    return add_validator"}],"source_content_type":"text/x-python","patch_set":7,"id":"5f7c97a3_e8fde908","line":29,"range":{"start_line":29,"start_character":38,"end_line":29,"end_character":44},"updated":"2018-06-27 05:08:09.000000000","message":"this is not the complete request body you can get in WSME+pecan. if you want to use the request body then you might need to combine all the arg from param and request body and then validate it against JSON schema.","commit_id":"9fe5c26841fcce1cee2cc2c76b6f8b8d17549efc"}],"watcher/api/validation/parameter_type.py":[{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"f2b89a29130c01cff532e801866469809468d99e","unresolved":false,"context_lines":[{"line_number":15,"context_line":"CONF \u003d watcher.conf.CONF"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"uid \u003d {"},{"line_number":19,"context_line":"    \u0027type\u0027: \u0027string\u0027,"},{"line_number":20,"context_line":"    \u0027maxLength\u0027: 32,"},{"line_number":21,"context_line":"    \u0027minLength\u0027: 32,"}],"source_content_type":"text/x-python","patch_set":4,"id":"5f7c97a3_c1fb1545","line":18,"range":{"start_line":18,"start_character":0,"end_line":18,"end_character":3},"updated":"2018-05-17 05:03:14.000000000","message":"you mean uuid?\n\nAnd we should have some schema using this. before actual need we should not add those.","commit_id":"27804496afb012a4a71bd09db9ea25d510ef6697"}],"watcher/api/validation/validator.py":[{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"f2b89a29130c01cff532e801866469809468d99e","unresolved":false,"context_lines":[{"line_number":62,"context_line":""},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"@jsonschema.FormatChecker.cls_checks(\u0027date-time\u0027)"},{"line_number":65,"context_line":"def _validate_datetime_format(param_value):"},{"line_number":66,"context_line":"    try:"},{"line_number":67,"context_line":"        timeutils.parse_isotime(param_value)"},{"line_number":68,"context_line":"    except ValueError:"}],"source_content_type":"text/x-python","patch_set":4,"id":"5f7c97a3_21d689c5","line":65,"range":{"start_line":65,"start_character":4,"end_line":65,"end_character":29},"updated":"2018-05-17 05:03:14.000000000","message":"I think you need to add these FormatCheckers on need basis when they are needed by schema.","commit_id":"27804496afb012a4a71bd09db9ea25d510ef6697"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"f2b89a29130c01cff532e801866469809468d99e","unresolved":false,"context_lines":[{"line_number":72,"context_line":""},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"@jsonschema.FormatChecker.cls_checks(\u0027name\u0027, exception.InvalidName)"},{"line_number":75,"context_line":"def _validate_name(param_value):"},{"line_number":76,"context_line":"    if not param_value:"},{"line_number":77,"context_line":"        msg \u003d \"The \u0027name\u0027 can not be None.\""},{"line_number":78,"context_line":"        raise exception.InvalidName(reason\u003dmsg)"}],"source_content_type":"text/x-python","patch_set":4,"id":"5f7c97a3_a1f37973","line":75,"range":{"start_line":75,"start_character":4,"end_line":75,"end_character":18},"updated":"2018-05-17 05:03:14.000000000","message":"ditto","commit_id":"27804496afb012a4a71bd09db9ea25d510ef6697"}]}
