{"action":"created","comment":{"url":"https://api.github.com/repos/paypal/squbs/pulls/comments/60476843","id":60476843,"diff_hunk":"@@ -54,8 +55,13 @@ object TestRoute {\n         clazz.asSubclass(classOf[RouteDefinition]).newInstance()\n       }\n     }\n-    if (webContext.length > 0) pathPrefix(separateOnSlashes(webContext)) {routeDef.route}\n-    else routeDef.route\n+\n+    implicit val routingSettings = RoutingSettings(system.settings.config)\n+    implicit val rejectionHandler:RejectionHandler = routeDef.rejectionHandler.getOrElse(RejectionHandler.default)\n+    implicit val exceptionHandler:ExceptionHandler = routeDef.exceptionHandler.getOrElse(PartialFunction.empty[Throwable, Route])\n+","path":"squbs-testkit/src/main/scala/org/squbs/testkit/streaming/TestRoute.scala","position":20,"original_position":20,"commit_id":"e569d8da95b2fe82550e079c3564cc0836e7c226","original_commit_id":"e569d8da95b2fe82550e079c3564cc0836e7c226","user":{"login":"akara","id":77111,"avatar_url":"https://avatars.githubusercontent.com/u/77111?v=3","gravatar_id":"","url":"https://api.github.com/users/akara","html_url":"https://github.com/akara","followers_url":"https://api.github.com/users/akara/followers","following_url":"https://api.github.com/users/akara/following{/other_user}","gists_url":"https://api.github.com/users/akara/gists{/gist_id}","starred_url":"https://api.github.com/users/akara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akara/subscriptions","organizations_url":"https://api.github.com/users/akara/orgs","repos_url":"https://api.github.com/users/akara/repos","events_url":"https://api.github.com/users/akara/events{/privacy}","received_events_url":"https://api.github.com/users/akara/received_events","type":"User","site_admin":false},"body":"You should not need to pass the type arguments to `PartialFunction.empty`. Please try.","created_at":"2016-04-20T19:59:10Z","updated_at":"2016-04-20T19:59:10Z","html_url":"https://github.com/paypal/squbs/pull/193#discussion_r60476843","pull_request_url":"https://api.github.com/repos/paypal/squbs/pulls/193","_links":{"self":{"href":"https://api.github.com/repos/paypal/squbs/pulls/comments/60476843"},"html":{"href":"https://github.com/paypal/squbs/pull/193#discussion_r60476843"},"pull_request":{"href":"https://api.github.com/repos/paypal/squbs/pulls/193"}}},"pull_request":{"url":"https://api.github.com/repos/paypal/squbs/pulls/193","id":67238491,"html_url":"https://github.com/paypal/squbs/pull/193","diff_url":"https://github.com/paypal/squbs/pull/193.diff","patch_url":"https://github.com/paypal/squbs/pull/193.patch","issue_url":"https://api.github.com/repos/paypal/squbs/issues/193","number":193,"state":"open","locked":false,"title":"#192 TestRoute should honor exceptionHandler and rejectionHandler","user":{"login":"anilgursel","id":3316621,"avatar_url":"https://avatars.githubusercontent.com/u/3316621?v=3","gravatar_id":"","url":"https://api.github.com/users/anilgursel","html_url":"https://github.com/anilgursel","followers_url":"https://api.github.com/users/anilgursel/followers","following_url":"https://api.github.com/users/anilgursel/following{/other_user}","gists_url":"https://api.github.com/users/anilgursel/gists{/gist_id}","starred_url":"https://api.github.com/users/anilgursel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anilgursel/subscriptions","organizations_url":"https://api.github.com/users/anilgursel/orgs","repos_url":"https://api.github.com/users/anilgursel/repos","events_url":"https://api.github.com/users/anilgursel/events{/privacy}","received_events_url":"https://api.github.com/users/anilgursel/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-20T18:48:20Z","updated_at":"2016-04-20T19:59:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bc46a70b12c8518637caf0173d38d03fe8aa14f0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/paypal/squbs/pulls/193/commits","review_comments_url":"https://api.github.com/repos/paypal/squbs/pulls/193/comments","review_comment_url":"https://api.github.com/repos/paypal/squbs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/paypal/squbs/issues/193/comments","statuses_url":"https://api.github.com/repos/paypal/squbs/statuses/e569d8da95b2fe82550e079c3564cc0836e7c226","head":{"label":"anilgursel:master","ref":"master","sha":"e569d8da95b2fe82550e079c3564cc0836e7c226","user":{"login":"anilgursel","id":3316621,"avatar_url":"https://avatars.githubusercontent.com/u/3316621?v=3","gravatar_id":"","url":"https://api.github.com/users/anilgursel","html_url":"https://github.com/anilgursel","followers_url":"https://api.github.com/users/anilgursel/followers","following_url":"https://api.github.com/users/anilgursel/following{/other_user}","gists_url":"https://api.github.com/users/anilgursel/gists{/gist_id}","starred_url":"https://api.github.com/users/anilgursel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anilgursel/subscriptions","organizations_url":"https://api.github.com/users/anilgursel/orgs","repos_url":"https://api.github.com/users/anilgursel/repos","events_url":"https://api.github.com/users/anilgursel/events{/privacy}","received_events_url":"https://api.github.com/users/anilgursel/received_events","type":"User","site_admin":false},"repo":{"id":45846928,"name":"squbs","full_name":"anilgursel/squbs","owner":{"login":"anilgursel","id":3316621,"avatar_url":"https://avatars.githubusercontent.com/u/3316621?v=3","gravatar_id":"","url":"https://api.github.com/users/anilgursel","html_url":"https://github.com/anilgursel","followers_url":"https://api.github.com/users/anilgursel/followers","following_url":"https://api.github.com/users/anilgursel/following{/other_user}","gists_url":"https://api.github.com/users/anilgursel/gists{/gist_id}","starred_url":"https://api.github.com/users/anilgursel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anilgursel/subscriptions","organizations_url":"https://api.github.com/users/anilgursel/orgs","repos_url":"https://api.github.com/users/anilgursel/repos","events_url":"https://api.github.com/users/anilgursel/events{/privacy}","received_events_url":"https://api.github.com/users/anilgursel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anilgursel/squbs","description":"Akka/Spray for Large-Scale Production Deployments","fork":true,"url":"https://api.github.com/repos/anilgursel/squbs","forks_url":"https://api.github.com/repos/anilgursel/squbs/forks","keys_url":"https://api.github.com/repos/anilgursel/squbs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anilgursel/squbs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anilgursel/squbs/teams","hooks_url":"https://api.github.com/repos/anilgursel/squbs/hooks","issue_events_url":"https://api.github.com/repos/anilgursel/squbs/issues/events{/number}","events_url":"https://api.github.com/repos/anilgursel/squbs/events","assignees_url":"https://api.github.com/repos/anilgursel/squbs/assignees{/user}","branches_url":"https://api.github.com/repos/anilgursel/squbs/branches{/branch}","tags_url":"https://api.github.com/repos/anilgursel/squbs/tags","blobs_url":"https://api.github.com/repos/anilgursel/squbs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anilgursel/squbs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anilgursel/squbs/git/refs{/sha}","trees_url":"https://api.github.com/repos/anilgursel/squbs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anilgursel/squbs/statuses/{sha}","languages_url":"https://api.github.com/repos/anilgursel/squbs/languages","stargazers_url":"https://api.github.com/repos/anilgursel/squbs/stargazers","contributors_url":"https://api.github.com/repos/anilgursel/squbs/contributors","subscribers_url":"https://api.github.com/repos/anilgursel/squbs/subscribers","subscription_url":"https://api.github.com/repos/anilgursel/squbs/subscription","commits_url":"https://api.github.com/repos/anilgursel/squbs/commits{/sha}","git_commits_url":"https://api.github.com/repos/anilgursel/squbs/git/commits{/sha}","comments_url":"https://api.github.com/repos/anilgursel/squbs/comments{/number}","issue_comment_url":"https://api.github.com/repos/anilgursel/squbs/issues/comments{/number}","contents_url":"https://api.github.com/repos/anilgursel/squbs/contents/{+path}","compare_url":"https://api.github.com/repos/anilgursel/squbs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anilgursel/squbs/merges","archive_url":"https://api.github.com/repos/anilgursel/squbs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anilgursel/squbs/downloads","issues_url":"https://api.github.com/repos/anilgursel/squbs/issues{/number}","pulls_url":"https://api.github.com/repos/anilgursel/squbs/pulls{/number}","milestones_url":"https://api.github.com/repos/anilgursel/squbs/milestones{/number}","notifications_url":"https://api.github.com/repos/anilgursel/squbs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anilgursel/squbs/labels{/name}","releases_url":"https://api.github.com/repos/anilgursel/squbs/releases{/id}","deployments_url":"https://api.github.com/repos/anilgursel/squbs/deployments","created_at":"2015-11-09T15:27:04Z","updated_at":"2016-02-29T13:50:05Z","pushed_at":"2016-04-20T18:47:31Z","git_url":"git://github.com/anilgursel/squbs.git","ssh_url":"git@github.com:anilgursel/squbs.git","clone_url":"https://github.com/anilgursel/squbs.git","svn_url":"https://github.com/anilgursel/squbs","homepage":"","size":6005,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"paypal:master","ref":"master","sha":"dea801cd644d49e498decff4e30a6a22129bf422","user":{"login":"paypal","id":476675,"avatar_url":"https://avatars.githubusercontent.com/u/476675?v=3","gravatar_id":"","url":"https://api.github.com/users/paypal","html_url":"https://github.com/paypal","followers_url":"https://api.github.com/users/paypal/followers","following_url":"https://api.github.com/users/paypal/following{/other_user}","gists_url":"https://api.github.com/users/paypal/gists{/gist_id}","starred_url":"https://api.github.com/users/paypal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paypal/subscriptions","organizations_url":"https://api.github.com/users/paypal/orgs","repos_url":"https://api.github.com/users/paypal/repos","events_url":"https://api.github.com/users/paypal/events{/privacy}","received_events_url":"https://api.github.com/users/paypal/received_events","type":"Organization","site_admin":false},"repo":{"id":38714007,"name":"squbs","full_name":"paypal/squbs","owner":{"login":"paypal","id":476675,"avatar_url":"https://avatars.githubusercontent.com/u/476675?v=3","gravatar_id":"","url":"https://api.github.com/users/paypal","html_url":"https://github.com/paypal","followers_url":"https://api.github.com/users/paypal/followers","following_url":"https://api.github.com/users/paypal/following{/other_user}","gists_url":"https://api.github.com/users/paypal/gists{/gist_id}","starred_url":"https://api.github.com/users/paypal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paypal/subscriptions","organizations_url":"https://api.github.com/users/paypal/orgs","repos_url":"https://api.github.com/users/paypal/repos","events_url":"https://api.github.com/users/paypal/events{/privacy}","received_events_url":"https://api.github.com/users/paypal/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/paypal/squbs","description":"Akka/Spray for Large-Scale Production Deployments","fork":false,"url":"https://api.github.com/repos/paypal/squbs","forks_url":"https://api.github.com/repos/paypal/squbs/forks","keys_url":"https://api.github.com/repos/paypal/squbs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paypal/squbs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paypal/squbs/teams","hooks_url":"https://api.github.com/repos/paypal/squbs/hooks","issue_events_url":"https://api.github.com/repos/paypal/squbs/issues/events{/number}","events_url":"https://api.github.com/repos/paypal/squbs/events","assignees_url":"https://api.github.com/repos/paypal/squbs/assignees{/user}","branches_url":"https://api.github.com/repos/paypal/squbs/branches{/branch}","tags_url":"https://api.github.com/repos/paypal/squbs/tags","blobs_url":"https://api.github.com/repos/paypal/squbs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paypal/squbs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paypal/squbs/git/refs{/sha}","trees_url":"https://api.github.com/repos/paypal/squbs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paypal/squbs/statuses/{sha}","languages_url":"https://api.github.com/repos/paypal/squbs/languages","stargazers_url":"https://api.github.com/repos/paypal/squbs/stargazers","contributors_url":"https://api.github.com/repos/paypal/squbs/contributors","subscribers_url":"https://api.github.com/repos/paypal/squbs/subscribers","subscription_url":"https://api.github.com/repos/paypal/squbs/subscription","commits_url":"https://api.github.com/repos/paypal/squbs/commits{/sha}","git_commits_url":"https://api.github.com/repos/paypal/squbs/git/commits{/sha}","comments_url":"https://api.github.com/repos/paypal/squbs/comments{/number}","issue_comment_url":"https://api.github.com/repos/paypal/squbs/issues/comments{/number}","contents_url":"https://api.github.com/repos/paypal/squbs/contents/{+path}","compare_url":"https://api.github.com/repos/paypal/squbs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paypal/squbs/merges","archive_url":"https://api.github.com/repos/paypal/squbs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paypal/squbs/downloads","issues_url":"https://api.github.com/repos/paypal/squbs/issues{/number}","pulls_url":"https://api.github.com/repos/paypal/squbs/pulls{/number}","milestones_url":"https://api.github.com/repos/paypal/squbs/milestones{/number}","notifications_url":"https://api.github.com/repos/paypal/squbs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paypal/squbs/labels{/name}","releases_url":"https://api.github.com/repos/paypal/squbs/releases{/id}","deployments_url":"https://api.github.com/repos/paypal/squbs/deployments","created_at":"2015-07-07T20:48:12Z","updated_at":"2016-04-20T04:47:19Z","pushed_at":"2016-04-20T18:48:21Z","git_url":"git://github.com/paypal/squbs.git","ssh_url":"git@github.com:paypal/squbs.git","clone_url":"https://github.com/paypal/squbs.git","svn_url":"https://github.com/paypal/squbs","homepage":"","size":5936,"stargazers_count":32,"watchers_count":32,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":31,"forks":23,"open_issues":31,"watchers":32,"default_branch":"RELEASE-0.7.X"}},"_links":{"self":{"href":"https://api.github.com/repos/paypal/squbs/pulls/193"},"html":{"href":"https://github.com/paypal/squbs/pull/193"},"issue":{"href":"https://api.github.com/repos/paypal/squbs/issues/193"},"comments":{"href":"https://api.github.com/repos/paypal/squbs/issues/193/comments"},"review_comments":{"href":"https://api.github.com/repos/paypal/squbs/pulls/193/comments"},"review_comment":{"href":"https://api.github.com/repos/paypal/squbs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/paypal/squbs/pulls/193/commits"},"statuses":{"href":"https://api.github.com/repos/paypal/squbs/statuses/e569d8da95b2fe82550e079c3564cc0836e7c226"}}}}