{"action":"created","comment":{"url":"https://api.github.com/repos/Cryptonomic/Conseil/pulls/comments/244144110","pull_request_review_id":188078290,"id":244144110,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NDE0NDExMA==","diff_hunk":"@@ -43,9 +43,19 @@ object Conseil extends App with LazyLogging with EnableCORSDirectives {\n           pathPrefix(\"tezos\") {\n             Tezos(system.dispatchers.lookup(\"akka.tezos-dispatcher\")).route\n           }\n-        } ~ logRequest(\"Service route\", Logging.DebugLevel) {\n-          pathPrefix(\"metadata\") {\n-            PlatformDiscovery(conf)(system.dispatchers.lookup(\"akka.tezos-dispatcher\")).route\n+        } ~ pathPrefix(\"v2\") {\n+          logRequest(\"Discovery route\", Logging.DebugLevel) {\n+            pathPrefix(\"metadata\") {\n+              PlatformDiscovery(conf)(system.dispatchers.lookup(\"akka.tezos-dispatcher\")).route\n+            }\n+          } ~ logRequest(\"Query route\", Logging.DebugLevel) {","path":"src/main/scala/tech/cryptonomic/conseil/Conseil.scala","position":null,"original_position":21,"commit_id":"01b308091acbe60e44430e9420eb9e24f8c30da5","original_commit_id":"755805dcf3d58b50357c32e00cb52394624c8017","user":{"login":"piotrkosecki","id":2283610,"node_id":"MDQ6VXNlcjIyODM2MTA=","avatar_url":"https://avatars3.githubusercontent.com/u/2283610?v=4","gravatar_id":"","url":"https://api.github.com/users/piotrkosecki","html_url":"https://github.com/piotrkosecki","followers_url":"https://api.github.com/users/piotrkosecki/followers","following_url":"https://api.github.com/users/piotrkosecki/following{/other_user}","gists_url":"https://api.github.com/users/piotrkosecki/gists{/gist_id}","starred_url":"https://api.github.com/users/piotrkosecki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotrkosecki/subscriptions","organizations_url":"https://api.github.com/users/piotrkosecki/orgs","repos_url":"https://api.github.com/users/piotrkosecki/repos","events_url":"https://api.github.com/users/piotrkosecki/events{/privacy}","received_events_url":"https://api.github.com/users/piotrkosecki/received_events","type":"User","site_admin":false},"body":"ok, removed extra route, I assume when the real query route comes I just add new one","created_at":"2018-12-27T12:30:53Z","updated_at":"2018-12-27T12:30:53Z","html_url":"https://github.com/Cryptonomic/Conseil/pull/205#discussion_r244144110","pull_request_url":"https://api.github.com/repos/Cryptonomic/Conseil/pulls/205","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/Cryptonomic/Conseil/pulls/comments/244144110"},"html":{"href":"https://github.com/Cryptonomic/Conseil/pull/205#discussion_r244144110"},"pull_request":{"href":"https://api.github.com/repos/Cryptonomic/Conseil/pulls/205"}},"in_reply_to_id":243862550},"pull_request":{"url":"https://api.github.com/repos/Cryptonomic/Conseil/pulls/205","id":236887280,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2ODg3Mjgw","html_url":"https://github.com/Cryptonomic/Conseil/pull/205","diff_url":"https://github.com/Cryptonomic/Conseil/pull/205.diff","patch_url":"https://github.com/Cryptonomic/Conseil/pull/205.patch","issue_url":"https://api.github.com/repos/Cryptonomic/Conseil/issues/205","number":205,"state":"open","locked":false,"title":"Conseil 189/190 additional query operations and query extensions","user":{"login":"piotrkosecki","id":2283610,"node_id":"MDQ6VXNlcjIyODM2MTA=","avatar_url":"https://avatars3.githubusercontent.com/u/2283610?v=4","gravatar_id":"","url":"https://api.github.com/users/piotrkosecki","html_url":"https://github.com/piotrkosecki","followers_url":"https://api.github.com/users/piotrkosecki/followers","following_url":"https://api.github.com/users/piotrkosecki/following{/other_user}","gists_url":"https://api.github.com/users/piotrkosecki/gists{/gist_id}","starred_url":"https://api.github.com/users/piotrkosecki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotrkosecki/subscriptions","organizations_url":"https://api.github.com/users/piotrkosecki/orgs","repos_url":"https://api.github.com/users/piotrkosecki/repos","events_url":"https://api.github.com/users/piotrkosecki/events{/privacy}","received_events_url":"https://api.github.com/users/piotrkosecki/received_events","type":"User","site_admin":false},"body":"Prepared new query extensions described in #189 and #190 :\r\n```\r\n{\r\n    \"fields\": [\"\", ... \"\"],\r\n    \"predicates\": [\r\n        {\r\n            \"field\": \"\",\r\n            \"operation\": \"\", // all operations: in, between, like, lt, gt, eq, startsWith, endsWith, before, after\r\n            \"set\": [\"\", ... \"\"],\r\n            \"inverse\": \"false\",\r\n            \"precision\": 2 // optional value for decimal comparison, column value is rounded at first and then compared\r\n        }\r\n    ]\r\n}\r\n```\r\nSome of the validations are on hold till I will get caching implemented. \r\nPlease merge after this https://github.com/Cryptonomic/Conseil/pull/195","created_at":"2018-12-07T14:35:59Z","updated_at":"2018-12-27T12:30:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e4af55928585c96c63e431ee7d2507eb6283f8f7","assignee":null,"assignees":[],"requested_reviewers":[{"login":"ba205","id":7725054,"node_id":"MDQ6VXNlcjc3MjUwNTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/7725054?v=4","gravatar_id":"","url":"https://api.github.com/users/ba205","html_url":"https://github.com/ba205","followers_url":"https://api.github.com/users/ba205/followers","following_url":"https://api.github.com/users/ba205/following{/other_user}","gists_url":"https://api.github.com/users/ba205/gists{/gist_id}","starred_url":"https://api.github.com/users/ba205/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ba205/subscriptions","organizations_url":"https://api.github.com/users/ba205/orgs","repos_url":"https://api.github.com/users/ba205/repos","events_url":"https://api.github.com/users/ba205/events{/privacy}","received_events_url":"https://api.github.com/users/ba205/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Cryptonomic/Conseil/pulls/205/commits","review_comments_url":"https://api.github.com/repos/Cryptonomic/Conseil/pulls/205/comments","review_comment_url":"https://api.github.com/repos/Cryptonomic/Conseil/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Cryptonomic/Conseil/issues/205/comments","statuses_url":"https://api.github.com/repos/Cryptonomic/Conseil/statuses/01b308091acbe60e44430e9420eb9e24f8c30da5","head":{"label":"Cryptonomic:CONSEIL-189-Additional-query-operations","ref":"CONSEIL-189-Additional-query-operations","sha":"01b308091acbe60e44430e9420eb9e24f8c30da5","user":{"login":"Cryptonomic","id":34078414,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MDc4NDE0","avatar_url":"https://avatars0.githubusercontent.com/u/34078414?v=4","gravatar_id":"","url":"https://api.github.com/users/Cryptonomic","html_url":"https://github.com/Cryptonomic","followers_url":"https://api.github.com/users/Cryptonomic/followers","following_url":"https://api.github.com/users/Cryptonomic/following{/other_user}","gists_url":"https://api.github.com/users/Cryptonomic/gists{/gist_id}","starred_url":"https://api.github.com/users/Cryptonomic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cryptonomic/subscriptions","organizations_url":"https://api.github.com/users/Cryptonomic/orgs","repos_url":"https://api.github.com/users/Cryptonomic/repos","events_url":"https://api.github.com/users/Cryptonomic/events{/privacy}","received_events_url":"https://api.github.com/users/Cryptonomic/received_events","type":"Organization","site_admin":false},"repo":{"id":112683908,"node_id":"MDEwOlJlcG9zaXRvcnkxMTI2ODM5MDg=","name":"Conseil","full_name":"Cryptonomic/Conseil","private":false,"owner":{"login":"Cryptonomic","id":34078414,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MDc4NDE0","avatar_url":"https://avatars0.githubusercontent.com/u/34078414?v=4","gravatar_id":"","url":"https://api.github.com/users/Cryptonomic","html_url":"https://github.com/Cryptonomic","followers_url":"https://api.github.com/users/Cryptonomic/followers","following_url":"https://api.github.com/users/Cryptonomic/following{/other_user}","gists_url":"https://api.github.com/users/Cryptonomic/gists{/gist_id}","starred_url":"https://api.github.com/users/Cryptonomic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cryptonomic/subscriptions","organizations_url":"https://api.github.com/users/Cryptonomic/orgs","repos_url":"https://api.github.com/users/Cryptonomic/repos","events_url":"https://api.github.com/users/Cryptonomic/events{/privacy}","received_events_url":"https://api.github.com/users/Cryptonomic/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Cryptonomic/Conseil","description":"Query API for decentralized platforms.","fork":false,"url":"https://api.github.com/repos/Cryptonomic/Conseil","forks_url":"https://api.github.com/repos/Cryptonomic/Conseil/forks","keys_url":"https://api.github.com/repos/Cryptonomic/Conseil/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Cryptonomic/Conseil/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Cryptonomic/Conseil/teams","hooks_url":"https://api.github.com/repos/Cryptonomic/Conseil/hooks","issue_events_url":"https://api.github.com/repos/Cryptonomic/Conseil/issues/events{/number}","events_url":"https://api.github.com/repos/Cryptonomic/Conseil/events","assignees_url":"https://api.github.com/repos/Cryptonomic/Conseil/assignees{/user}","branches_url":"https://api.github.com/repos/Cryptonomic/Conseil/branches{/branch}","tags_url":"https://api.github.com/repos/Cryptonomic/Conseil/tags","blobs_url":"https://api.github.com/repos/Cryptonomic/Conseil/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Cryptonomic/Conseil/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Cryptonomic/Conseil/git/refs{/sha}","trees_url":"https://api.github.com/repos/Cryptonomic/Conseil/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Cryptonomic/Conseil/statuses/{sha}","languages_url":"https://api.github.com/repos/Cryptonomic/Conseil/languages","stargazers_url":"https://api.github.com/repos/Cryptonomic/Conseil/stargazers","contributors_url":"https://api.github.com/repos/Cryptonomic/Conseil/contributors","subscribers_url":"https://api.github.com/repos/Cryptonomic/Conseil/subscribers","subscription_url":"https://api.github.com/repos/Cryptonomic/Conseil/subscription","commits_url":"https://api.github.com/repos/Cryptonomic/Conseil/commits{/sha}","git_commits_url":"https://api.github.com/repos/Cryptonomic/Conseil/git/commits{/sha}","comments_url":"https://api.github.com/repos/Cryptonomic/Conseil/comments{/number}","issue_comment_url":"https://api.github.com/repos/Cryptonomic/Conseil/issues/comments{/number}","contents_url":"https://api.github.com/repos/Cryptonomic/Conseil/contents/{+path}","compare_url":"https://api.github.com/repos/Cryptonomic/Conseil/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Cryptonomic/Conseil/merges","archive_url":"https://api.github.com/repos/Cryptonomic/Conseil/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Cryptonomic/Conseil/downloads","issues_url":"https://api.github.com/repos/Cryptonomic/Conseil/issues{/number}","pulls_url":"https://api.github.com/repos/Cryptonomic/Conseil/pulls{/number}","milestones_url":"https://api.github.com/repos/Cryptonomic/Conseil/milestones{/number}","notifications_url":"https://api.github.com/repos/Cryptonomic/Conseil/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Cryptonomic/Conseil/labels{/name}","releases_url":"https://api.github.com/repos/Cryptonomic/Conseil/releases{/id}","deployments_url":"https://api.github.com/repos/Cryptonomic/Conseil/deployments","created_at":"2017-12-01T02:12:56Z","updated_at":"2018-12-21T06:05:11Z","pushed_at":"2018-12-27T12:27:59Z","git_url":"git://github.com/Cryptonomic/Conseil.git","ssh_url":"git@github.com:Cryptonomic/Conseil.git","clone_url":"https://github.com/Cryptonomic/Conseil.git","svn_url":"https://github.com/Cryptonomic/Conseil","homepage":"","size":3903,"stargazers_count":23,"watchers_count":23,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":48,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":3,"open_issues":48,"watchers":23,"default_branch":"master"}},"base":{"label":"Cryptonomic:master","ref":"master","sha":"34440b8eb55a316348d0372808590cd206a88c91","user":{"login":"Cryptonomic","id":34078414,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MDc4NDE0","avatar_url":"https://avatars0.githubusercontent.com/u/34078414?v=4","gravatar_id":"","url":"https://api.github.com/users/Cryptonomic","html_url":"https://github.com/Cryptonomic","followers_url":"https://api.github.com/users/Cryptonomic/followers","following_url":"https://api.github.com/users/Cryptonomic/following{/other_user}","gists_url":"https://api.github.com/users/Cryptonomic/gists{/gist_id}","starred_url":"https://api.github.com/users/Cryptonomic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cryptonomic/subscriptions","organizations_url":"https://api.github.com/users/Cryptonomic/orgs","repos_url":"https://api.github.com/users/Cryptonomic/repos","events_url":"https://api.github.com/users/Cryptonomic/events{/privacy}","received_events_url":"https://api.github.com/users/Cryptonomic/received_events","type":"Organization","site_admin":false},"repo":{"id":112683908,"node_id":"MDEwOlJlcG9zaXRvcnkxMTI2ODM5MDg=","name":"Conseil","full_name":"Cryptonomic/Conseil","private":false,"owner":{"login":"Cryptonomic","id":34078414,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MDc4NDE0","avatar_url":"https://avatars0.githubusercontent.com/u/34078414?v=4","gravatar_id":"","url":"https://api.github.com/users/Cryptonomic","html_url":"https://github.com/Cryptonomic","followers_url":"https://api.github.com/users/Cryptonomic/followers","following_url":"https://api.github.com/users/Cryptonomic/following{/other_user}","gists_url":"https://api.github.com/users/Cryptonomic/gists{/gist_id}","starred_url":"https://api.github.com/users/Cryptonomic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cryptonomic/subscriptions","organizations_url":"https://api.github.com/users/Cryptonomic/orgs","repos_url":"https://api.github.com/users/Cryptonomic/repos","events_url":"https://api.github.com/users/Cryptonomic/events{/privacy}","received_events_url":"https://api.github.com/users/Cryptonomic/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Cryptonomic/Conseil","description":"Query API for decentralized platforms.","fork":false,"url":"https://api.github.com/repos/Cryptonomic/Conseil","forks_url":"https://api.github.com/repos/Cryptonomic/Conseil/forks","keys_url":"https://api.github.com/repos/Cryptonomic/Conseil/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Cryptonomic/Conseil/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Cryptonomic/Conseil/teams","hooks_url":"https://api.github.com/repos/Cryptonomic/Conseil/hooks","issue_events_url":"https://api.github.com/repos/Cryptonomic/Conseil/issues/events{/number}","events_url":"https://api.github.com/repos/Cryptonomic/Conseil/events","assignees_url":"https://api.github.com/repos/Cryptonomic/Conseil/assignees{/user}","branches_url":"https://api.github.com/repos/Cryptonomic/Conseil/branches{/branch}","tags_url":"https://api.github.com/repos/Cryptonomic/Conseil/tags","blobs_url":"https://api.github.com/repos/Cryptonomic/Conseil/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Cryptonomic/Conseil/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Cryptonomic/Conseil/git/refs{/sha}","trees_url":"https://api.github.com/repos/Cryptonomic/Conseil/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Cryptonomic/Conseil/statuses/{sha}","languages_url":"https://api.github.com/repos/Cryptonomic/Conseil/languages","stargazers_url":"https://api.github.com/repos/Cryptonomic/Conseil/stargazers","contributors_url":"https://api.github.com/repos/Cryptonomic/Conseil/contributors","subscribers_url":"https://api.github.com/repos/Cryptonomic/Conseil/subscribers","subscription_url":"https://api.github.com/repos/Cryptonomic/Conseil/subscription","commits_url":"https://api.github.com/repos/Cryptonomic/Conseil/commits{/sha}","git_commits_url":"https://api.github.com/repos/Cryptonomic/Conseil/git/commits{/sha}","comments_url":"https://api.github.com/repos/Cryptonomic/Conseil/comments{/number}","issue_comment_url":"https://api.github.com/repos/Cryptonomic/Conseil/issues/comments{/number}","contents_url":"https://api.github.com/repos/Cryptonomic/Conseil/contents/{+path}","compare_url":"https://api.github.com/repos/Cryptonomic/Conseil/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Cryptonomic/Conseil/merges","archive_url":"https://api.github.com/repos/Cryptonomic/Conseil/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Cryptonomic/Conseil/downloads","issues_url":"https://api.github.com/repos/Cryptonomic/Conseil/issues{/number}","pulls_url":"https://api.github.com/repos/Cryptonomic/Conseil/pulls{/number}","milestones_url":"https://api.github.com/repos/Cryptonomic/Conseil/milestones{/number}","notifications_url":"https://api.github.com/repos/Cryptonomic/Conseil/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Cryptonomic/Conseil/labels{/name}","releases_url":"https://api.github.com/repos/Cryptonomic/Conseil/releases{/id}","deployments_url":"https://api.github.com/repos/Cryptonomic/Conseil/deployments","created_at":"2017-12-01T02:12:56Z","updated_at":"2018-12-21T06:05:11Z","pushed_at":"2018-12-27T12:27:59Z","git_url":"git://github.com/Cryptonomic/Conseil.git","ssh_url":"git@github.com:Cryptonomic/Conseil.git","clone_url":"https://github.com/Cryptonomic/Conseil.git","svn_url":"https://github.com/Cryptonomic/Conseil","homepage":"","size":3903,"stargazers_count":23,"watchers_count":23,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":48,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":3,"open_issues":48,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Cryptonomic/Conseil/pulls/205"},"html":{"href":"https://github.com/Cryptonomic/Conseil/pull/205"},"issue":{"href":"https://api.github.com/repos/Cryptonomic/Conseil/issues/205"},"comments":{"href":"https://api.github.com/repos/Cryptonomic/Conseil/issues/205/comments"},"review_comments":{"href":"https://api.github.com/repos/Cryptonomic/Conseil/pulls/205/comments"},"review_comment":{"href":"https://api.github.com/repos/Cryptonomic/Conseil/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Cryptonomic/Conseil/pulls/205/commits"},"statuses":{"href":"https://api.github.com/repos/Cryptonomic/Conseil/statuses/01b308091acbe60e44430e9420eb9e24f8c30da5"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"piotrkosecki"}}