{"action":"created","comment":{"url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/pulls/comments/40914201","id":40914201,"diff_hunk":"@@ -37,7 +40,16 @@ class VehicleDirectives(implicit db: Database, mat: ActorMaterializer, ec: Execu\n     pathPrefix(\"vehicles\") {\n       get {\n         pathEnd {\n-          complete(db.run(VehicleDAO.list))\n+          parameter('package.as[Package.NameVersion].?) {\n+            case Some(nameVersion) =>\n+              val packageName   : Package.Name    = Refined(nameVersion.get.split(\"-\").head)","path":"external-resolver/src/main/scala/org/genivi/sota/resolver/vehicle/VehicleDirectives.scala","position":21,"original_position":21,"commit_id":"6fcbe5762d1eb6b4294640bf575a0bf21a36c263","original_commit_id":"6fcbe5762d1eb6b4294640bf575a0bf21a36c263","user":{"login":"stevana","id":5664010,"avatar_url":"https://avatars.githubusercontent.com/u/5664010?v=3","gravatar_id":"","url":"https://api.github.com/users/stevana","html_url":"https://github.com/stevana","followers_url":"https://api.github.com/users/stevana/followers","following_url":"https://api.github.com/users/stevana/following{/other_user}","gists_url":"https://api.github.com/users/stevana/gists{/gist_id}","starred_url":"https://api.github.com/users/stevana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevana/subscriptions","organizations_url":"https://api.github.com/users/stevana/orgs","repos_url":"https://api.github.com/users/stevana/repos","events_url":"https://api.github.com/users/stevana/events{/privacy}","received_events_url":"https://api.github.com/users/stevana/received_events","type":"User","site_admin":false},"body":"Yeah, I agree this is bad. The same thing is done for package filters... It's on my to do list...","created_at":"2015-10-01T13:46:00Z","updated_at":"2015-10-01T13:46:00Z","html_url":"https://github.com/advancedtelematic/rvi_sota_server/pull/147#discussion_r40914201","pull_request_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/pulls/147","_links":{"self":{"href":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/pulls/comments/40914201"},"html":{"href":"https://github.com/advancedtelematic/rvi_sota_server/pull/147#discussion_r40914201"},"pull_request":{"href":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/pulls/147"}}},"pull_request":{"url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/pulls/147","id":46502882,"html_url":"https://github.com/advancedtelematic/rvi_sota_server/pull/147","diff_url":"https://github.com/advancedtelematic/rvi_sota_server/pull/147.diff","patch_url":"https://github.com/advancedtelematic/rvi_sota_server/pull/147.patch","issue_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/issues/147","number":147,"state":"open","locked":false,"title":"Add the ability to list VINs with a specific package installed.","user":{"login":"stevana","id":5664010,"avatar_url":"https://avatars.githubusercontent.com/u/5664010?v=3","gravatar_id":"","url":"https://api.github.com/users/stevana","html_url":"https://github.com/stevana","followers_url":"https://api.github.com/users/stevana/followers","following_url":"https://api.github.com/users/stevana/following{/other_user}","gists_url":"https://api.github.com/users/stevana/gists{/gist_id}","starred_url":"https://api.github.com/users/stevana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevana/subscriptions","organizations_url":"https://api.github.com/users/stevana/orgs","repos_url":"https://api.github.com/users/stevana/repos","events_url":"https://api.github.com/users/stevana/events{/privacy}","received_events_url":"https://api.github.com/users/stevana/received_events","type":"User","site_admin":false},"body":"Requested by @alexhumphreys.","created_at":"2015-10-01T09:40:29Z","updated_at":"2015-10-01T13:46:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f267439e6707a0ee8e3ca4408505ef44309456fe","assignee":{"login":"koshelev","id":1404649,"avatar_url":"https://avatars.githubusercontent.com/u/1404649?v=3","gravatar_id":"","url":"https://api.github.com/users/koshelev","html_url":"https://github.com/koshelev","followers_url":"https://api.github.com/users/koshelev/followers","following_url":"https://api.github.com/users/koshelev/following{/other_user}","gists_url":"https://api.github.com/users/koshelev/gists{/gist_id}","starred_url":"https://api.github.com/users/koshelev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koshelev/subscriptions","organizations_url":"https://api.github.com/users/koshelev/orgs","repos_url":"https://api.github.com/users/koshelev/repos","events_url":"https://api.github.com/users/koshelev/events{/privacy}","received_events_url":"https://api.github.com/users/koshelev/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/pulls/147/commits","review_comments_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/pulls/147/comments","review_comment_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/issues/147/comments","statuses_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/statuses/6fcbe5762d1eb6b4294640bf575a0bf21a36c263","head":{"label":"advancedtelematic:feat/vins-that-have-package","ref":"feat/vins-that-have-package","sha":"6fcbe5762d1eb6b4294640bf575a0bf21a36c263","user":{"login":"advancedtelematic","id":7944633,"avatar_url":"https://avatars.githubusercontent.com/u/7944633?v=3","gravatar_id":"","url":"https://api.github.com/users/advancedtelematic","html_url":"https://github.com/advancedtelematic","followers_url":"https://api.github.com/users/advancedtelematic/followers","following_url":"https://api.github.com/users/advancedtelematic/following{/other_user}","gists_url":"https://api.github.com/users/advancedtelematic/gists{/gist_id}","starred_url":"https://api.github.com/users/advancedtelematic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/advancedtelematic/subscriptions","organizations_url":"https://api.github.com/users/advancedtelematic/orgs","repos_url":"https://api.github.com/users/advancedtelematic/repos","events_url":"https://api.github.com/users/advancedtelematic/events{/privacy}","received_events_url":"https://api.github.com/users/advancedtelematic/received_events","type":"Organization","site_admin":false},"repo":{"id":41109281,"name":"rvi_sota_server","full_name":"advancedtelematic/rvi_sota_server","owner":{"login":"advancedtelematic","id":7944633,"avatar_url":"https://avatars.githubusercontent.com/u/7944633?v=3","gravatar_id":"","url":"https://api.github.com/users/advancedtelematic","html_url":"https://github.com/advancedtelematic","followers_url":"https://api.github.com/users/advancedtelematic/followers","following_url":"https://api.github.com/users/advancedtelematic/following{/other_user}","gists_url":"https://api.github.com/users/advancedtelematic/gists{/gist_id}","starred_url":"https://api.github.com/users/advancedtelematic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/advancedtelematic/subscriptions","organizations_url":"https://api.github.com/users/advancedtelematic/orgs","repos_url":"https://api.github.com/users/advancedtelematic/repos","events_url":"https://api.github.com/users/advancedtelematic/events{/privacy}","received_events_url":"https://api.github.com/users/advancedtelematic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/advancedtelematic/rvi_sota_server","description":"SOTA Reference Implementation project - Server","fork":true,"url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server","forks_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/forks","keys_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/teams","hooks_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/hooks","issue_events_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/issues/events{/number}","events_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/events","assignees_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/assignees{/user}","branches_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/branches{/branch}","tags_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/tags","blobs_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/git/refs{/sha}","trees_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/statuses/{sha}","languages_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/languages","stargazers_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/stargazers","contributors_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/contributors","subscribers_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/subscribers","subscription_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/subscription","commits_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/commits{/sha}","git_commits_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/git/commits{/sha}","comments_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/comments{/number}","issue_comment_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/issues/comments{/number}","contents_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/contents/{+path}","compare_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/merges","archive_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/downloads","issues_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/issues{/number}","pulls_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/pulls{/number}","milestones_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/milestones{/number}","notifications_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/labels{/name}","releases_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/releases{/id}","created_at":"2015-08-20T17:22:41Z","updated_at":"2015-09-17T07:24:32Z","pushed_at":"2015-10-01T13:39:11Z","git_url":"git://github.com/advancedtelematic/rvi_sota_server.git","ssh_url":"git@github.com:advancedtelematic/rvi_sota_server.git","clone_url":"https://github.com/advancedtelematic/rvi_sota_server.git","svn_url":"https://github.com/advancedtelematic/rvi_sota_server","homepage":null,"size":14631,"stargazers_count":2,"watchers_count":2,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":2,"default_branch":"master"}},"base":{"label":"advancedtelematic:master","ref":"master","sha":"ae818f820aee141cb84b40afd7d886c9cffd79e4","user":{"login":"advancedtelematic","id":7944633,"avatar_url":"https://avatars.githubusercontent.com/u/7944633?v=3","gravatar_id":"","url":"https://api.github.com/users/advancedtelematic","html_url":"https://github.com/advancedtelematic","followers_url":"https://api.github.com/users/advancedtelematic/followers","following_url":"https://api.github.com/users/advancedtelematic/following{/other_user}","gists_url":"https://api.github.com/users/advancedtelematic/gists{/gist_id}","starred_url":"https://api.github.com/users/advancedtelematic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/advancedtelematic/subscriptions","organizations_url":"https://api.github.com/users/advancedtelematic/orgs","repos_url":"https://api.github.com/users/advancedtelematic/repos","events_url":"https://api.github.com/users/advancedtelematic/events{/privacy}","received_events_url":"https://api.github.com/users/advancedtelematic/received_events","type":"Organization","site_admin":false},"repo":{"id":41109281,"name":"rvi_sota_server","full_name":"advancedtelematic/rvi_sota_server","owner":{"login":"advancedtelematic","id":7944633,"avatar_url":"https://avatars.githubusercontent.com/u/7944633?v=3","gravatar_id":"","url":"https://api.github.com/users/advancedtelematic","html_url":"https://github.com/advancedtelematic","followers_url":"https://api.github.com/users/advancedtelematic/followers","following_url":"https://api.github.com/users/advancedtelematic/following{/other_user}","gists_url":"https://api.github.com/users/advancedtelematic/gists{/gist_id}","starred_url":"https://api.github.com/users/advancedtelematic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/advancedtelematic/subscriptions","organizations_url":"https://api.github.com/users/advancedtelematic/orgs","repos_url":"https://api.github.com/users/advancedtelematic/repos","events_url":"https://api.github.com/users/advancedtelematic/events{/privacy}","received_events_url":"https://api.github.com/users/advancedtelematic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/advancedtelematic/rvi_sota_server","description":"SOTA Reference Implementation project - Server","fork":true,"url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server","forks_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/forks","keys_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/teams","hooks_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/hooks","issue_events_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/issues/events{/number}","events_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/events","assignees_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/assignees{/user}","branches_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/branches{/branch}","tags_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/tags","blobs_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/git/refs{/sha}","trees_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/statuses/{sha}","languages_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/languages","stargazers_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/stargazers","contributors_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/contributors","subscribers_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/subscribers","subscription_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/subscription","commits_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/commits{/sha}","git_commits_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/git/commits{/sha}","comments_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/comments{/number}","issue_comment_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/issues/comments{/number}","contents_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/contents/{+path}","compare_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/merges","archive_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/downloads","issues_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/issues{/number}","pulls_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/pulls{/number}","milestones_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/milestones{/number}","notifications_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/labels{/name}","releases_url":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/releases{/id}","created_at":"2015-08-20T17:22:41Z","updated_at":"2015-09-17T07:24:32Z","pushed_at":"2015-10-01T13:39:11Z","git_url":"git://github.com/advancedtelematic/rvi_sota_server.git","ssh_url":"git@github.com:advancedtelematic/rvi_sota_server.git","clone_url":"https://github.com/advancedtelematic/rvi_sota_server.git","svn_url":"https://github.com/advancedtelematic/rvi_sota_server","homepage":null,"size":14631,"stargazers_count":2,"watchers_count":2,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/pulls/147"},"html":{"href":"https://github.com/advancedtelematic/rvi_sota_server/pull/147"},"issue":{"href":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/issues/147"},"comments":{"href":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/issues/147/comments"},"review_comments":{"href":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/pulls/147/comments"},"review_comment":{"href":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/pulls/147/commits"},"statuses":{"href":"https://api.github.com/repos/advancedtelematic/rvi_sota_server/statuses/6fcbe5762d1eb6b4294640bf575a0bf21a36c263"}}}}