{"action":"created","comment":{"url":"https://api.github.com/repos/hawkular/hawkular-metrics/pulls/comments/67693046","id":67693046,"diff_hunk":"@@ -0,0 +1,85 @@\n+/*\n+ * Copyright 2014-2016 Red Hat, Inc. and/or its affiliates\n+ * and other contributors as indicated by the @author tags.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *    http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+package org.hawkular.metrics.api.jaxrs;\n+\n+import java.util.List;\n+\n+/**\n+ * @author jsanda\n+ */\n+public class QueryRequest {","path":"api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/QueryRequest.java","position":24,"original_position":24,"commit_id":"5c8a69a7c4a948b411f0ed066c0fd00a5e486268","original_commit_id":"5c8a69a7c4a948b411f0ed066c0fd00a5e486268","user":{"login":"tsegismont","id":1500598,"avatar_url":"https://avatars.githubusercontent.com/u/1500598?v=3","gravatar_id":"","url":"https://api.github.com/users/tsegismont","html_url":"https://github.com/tsegismont","followers_url":"https://api.github.com/users/tsegismont/followers","following_url":"https://api.github.com/users/tsegismont/following{/other_user}","gists_url":"https://api.github.com/users/tsegismont/gists{/gist_id}","starred_url":"https://api.github.com/users/tsegismont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsegismont/subscriptions","organizations_url":"https://api.github.com/users/tsegismont/orgs","repos_url":"https://api.github.com/users/tsegismont/repos","events_url":"https://api.github.com/users/tsegismont/events{/privacy}","received_events_url":"https://api.github.com/users/tsegismont/received_events","type":"User","site_admin":false},"body":"I'm not entirely sure but I believe Swagger can analyze doc in body params.","created_at":"2016-06-20T13:55:32Z","updated_at":"2016-06-20T13:55:32Z","html_url":"https://github.com/hawkular/hawkular-metrics/pull/518#discussion_r67693046","pull_request_url":"https://api.github.com/repos/hawkular/hawkular-metrics/pulls/518","_links":{"self":{"href":"https://api.github.com/repos/hawkular/hawkular-metrics/pulls/comments/67693046"},"html":{"href":"https://github.com/hawkular/hawkular-metrics/pull/518#discussion_r67693046"},"pull_request":{"href":"https://api.github.com/repos/hawkular/hawkular-metrics/pulls/518"}}},"pull_request":{"url":"https://api.github.com/repos/hawkular/hawkular-metrics/pulls/518","id":74184948,"html_url":"https://github.com/hawkular/hawkular-metrics/pull/518","diff_url":"https://github.com/hawkular/hawkular-metrics/pull/518.diff","patch_url":"https://github.com/hawkular/hawkular-metrics/pull/518.patch","issue_url":"https://api.github.com/repos/hawkular/hawkular-metrics/issues/518","number":518,"state":"open","locked":false,"title":"HWKMETRICS-393","user":{"login":"jsanda","id":168121,"avatar_url":"https://avatars.githubusercontent.com/u/168121?v=3","gravatar_id":"","url":"https://api.github.com/users/jsanda","html_url":"https://github.com/jsanda","followers_url":"https://api.github.com/users/jsanda/followers","following_url":"https://api.github.com/users/jsanda/following{/other_user}","gists_url":"https://api.github.com/users/jsanda/gists{/gist_id}","starred_url":"https://api.github.com/users/jsanda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsanda/subscriptions","organizations_url":"https://api.github.com/users/jsanda/orgs","repos_url":"https://api.github.com/users/jsanda/repos","events_url":"https://api.github.com/users/jsanda/events{/privacy}","received_events_url":"https://api.github.com/users/jsanda/received_events","type":"User","site_admin":false},"body":"This PR is *not* ready to merge. I still have refactoring to do to reduce duplicate code, add javadocs, and clean up error handling. I am ready though to start getting some feedback. I have taken a different approach with these new endpoints in that I am streaming the response rather than realizing it entirely in memory before sending to the client.","created_at":"2016-06-17T03:40:23Z","updated_at":"2016-06-20T13:55:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1f4975e0b9fa069b6f8995d689847bc86f4ec5c5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hawkular/hawkular-metrics/pulls/518/commits","review_comments_url":"https://api.github.com/repos/hawkular/hawkular-metrics/pulls/518/comments","review_comment_url":"https://api.github.com/repos/hawkular/hawkular-metrics/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hawkular/hawkular-metrics/issues/518/comments","statuses_url":"https://api.github.com/repos/hawkular/hawkular-metrics/statuses/5c8a69a7c4a948b411f0ed066c0fd00a5e486268","head":{"label":"jsanda:hwkmetrics-393","ref":"hwkmetrics-393","sha":"5c8a69a7c4a948b411f0ed066c0fd00a5e486268","user":{"login":"jsanda","id":168121,"avatar_url":"https://avatars.githubusercontent.com/u/168121?v=3","gravatar_id":"","url":"https://api.github.com/users/jsanda","html_url":"https://github.com/jsanda","followers_url":"https://api.github.com/users/jsanda/followers","following_url":"https://api.github.com/users/jsanda/following{/other_user}","gists_url":"https://api.github.com/users/jsanda/gists{/gist_id}","starred_url":"https://api.github.com/users/jsanda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsanda/subscriptions","organizations_url":"https://api.github.com/users/jsanda/orgs","repos_url":"https://api.github.com/users/jsanda/repos","events_url":"https://api.github.com/users/jsanda/events{/privacy}","received_events_url":"https://api.github.com/users/jsanda/received_events","type":"User","site_admin":false},"repo":{"id":32349316,"name":"hawkular-metrics","full_name":"jsanda/hawkular-metrics","owner":{"login":"jsanda","id":168121,"avatar_url":"https://avatars.githubusercontent.com/u/168121?v=3","gravatar_id":"","url":"https://api.github.com/users/jsanda","html_url":"https://github.com/jsanda","followers_url":"https://api.github.com/users/jsanda/followers","following_url":"https://api.github.com/users/jsanda/following{/other_user}","gists_url":"https://api.github.com/users/jsanda/gists{/gist_id}","starred_url":"https://api.github.com/users/jsanda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsanda/subscriptions","organizations_url":"https://api.github.com/users/jsanda/orgs","repos_url":"https://api.github.com/users/jsanda/repos","events_url":"https://api.github.com/users/jsanda/events{/privacy}","received_events_url":"https://api.github.com/users/jsanda/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jsanda/hawkular-metrics","description":"Time Series Metrics Engine based on Cassandra","fork":true,"url":"https://api.github.com/repos/jsanda/hawkular-metrics","forks_url":"https://api.github.com/repos/jsanda/hawkular-metrics/forks","keys_url":"https://api.github.com/repos/jsanda/hawkular-metrics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jsanda/hawkular-metrics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jsanda/hawkular-metrics/teams","hooks_url":"https://api.github.com/repos/jsanda/hawkular-metrics/hooks","issue_events_url":"https://api.github.com/repos/jsanda/hawkular-metrics/issues/events{/number}","events_url":"https://api.github.com/repos/jsanda/hawkular-metrics/events","assignees_url":"https://api.github.com/repos/jsanda/hawkular-metrics/assignees{/user}","branches_url":"https://api.github.com/repos/jsanda/hawkular-metrics/branches{/branch}","tags_url":"https://api.github.com/repos/jsanda/hawkular-metrics/tags","blobs_url":"https://api.github.com/repos/jsanda/hawkular-metrics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jsanda/hawkular-metrics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jsanda/hawkular-metrics/git/refs{/sha}","trees_url":"https://api.github.com/repos/jsanda/hawkular-metrics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jsanda/hawkular-metrics/statuses/{sha}","languages_url":"https://api.github.com/repos/jsanda/hawkular-metrics/languages","stargazers_url":"https://api.github.com/repos/jsanda/hawkular-metrics/stargazers","contributors_url":"https://api.github.com/repos/jsanda/hawkular-metrics/contributors","subscribers_url":"https://api.github.com/repos/jsanda/hawkular-metrics/subscribers","subscription_url":"https://api.github.com/repos/jsanda/hawkular-metrics/subscription","commits_url":"https://api.github.com/repos/jsanda/hawkular-metrics/commits{/sha}","git_commits_url":"https://api.github.com/repos/jsanda/hawkular-metrics/git/commits{/sha}","comments_url":"https://api.github.com/repos/jsanda/hawkular-metrics/comments{/number}","issue_comment_url":"https://api.github.com/repos/jsanda/hawkular-metrics/issues/comments{/number}","contents_url":"https://api.github.com/repos/jsanda/hawkular-metrics/contents/{+path}","compare_url":"https://api.github.com/repos/jsanda/hawkular-metrics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jsanda/hawkular-metrics/merges","archive_url":"https://api.github.com/repos/jsanda/hawkular-metrics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jsanda/hawkular-metrics/downloads","issues_url":"https://api.github.com/repos/jsanda/hawkular-metrics/issues{/number}","pulls_url":"https://api.github.com/repos/jsanda/hawkular-metrics/pulls{/number}","milestones_url":"https://api.github.com/repos/jsanda/hawkular-metrics/milestones{/number}","notifications_url":"https://api.github.com/repos/jsanda/hawkular-metrics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jsanda/hawkular-metrics/labels{/name}","releases_url":"https://api.github.com/repos/jsanda/hawkular-metrics/releases{/id}","deployments_url":"https://api.github.com/repos/jsanda/hawkular-metrics/deployments","created_at":"2015-03-16T19:55:25Z","updated_at":"2015-03-16T19:55:26Z","pushed_at":"2016-06-17T13:57:15Z","git_url":"git://github.com/jsanda/hawkular-metrics.git","ssh_url":"git@github.com:jsanda/hawkular-metrics.git","clone_url":"https://github.com/jsanda/hawkular-metrics.git","svn_url":"https://github.com/jsanda/hawkular-metrics","homepage":"","size":14625,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"hawkular:master","ref":"master","sha":"56ede2a1bf69da749b4e7092b4b8ed7a399e8f2f","user":{"login":"hawkular","id":10179627,"avatar_url":"https://avatars.githubusercontent.com/u/10179627?v=3","gravatar_id":"","url":"https://api.github.com/users/hawkular","html_url":"https://github.com/hawkular","followers_url":"https://api.github.com/users/hawkular/followers","following_url":"https://api.github.com/users/hawkular/following{/other_user}","gists_url":"https://api.github.com/users/hawkular/gists{/gist_id}","starred_url":"https://api.github.com/users/hawkular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hawkular/subscriptions","organizations_url":"https://api.github.com/users/hawkular/orgs","repos_url":"https://api.github.com/users/hawkular/repos","events_url":"https://api.github.com/users/hawkular/events{/privacy}","received_events_url":"https://api.github.com/users/hawkular/received_events","type":"Organization","site_admin":false},"repo":{"id":17705626,"name":"hawkular-metrics","full_name":"hawkular/hawkular-metrics","owner":{"login":"hawkular","id":10179627,"avatar_url":"https://avatars.githubusercontent.com/u/10179627?v=3","gravatar_id":"","url":"https://api.github.com/users/hawkular","html_url":"https://github.com/hawkular","followers_url":"https://api.github.com/users/hawkular/followers","following_url":"https://api.github.com/users/hawkular/following{/other_user}","gists_url":"https://api.github.com/users/hawkular/gists{/gist_id}","starred_url":"https://api.github.com/users/hawkular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hawkular/subscriptions","organizations_url":"https://api.github.com/users/hawkular/orgs","repos_url":"https://api.github.com/users/hawkular/repos","events_url":"https://api.github.com/users/hawkular/events{/privacy}","received_events_url":"https://api.github.com/users/hawkular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hawkular/hawkular-metrics","description":"Time Series Metrics Engine based on Cassandra","fork":false,"url":"https://api.github.com/repos/hawkular/hawkular-metrics","forks_url":"https://api.github.com/repos/hawkular/hawkular-metrics/forks","keys_url":"https://api.github.com/repos/hawkular/hawkular-metrics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hawkular/hawkular-metrics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hawkular/hawkular-metrics/teams","hooks_url":"https://api.github.com/repos/hawkular/hawkular-metrics/hooks","issue_events_url":"https://api.github.com/repos/hawkular/hawkular-metrics/issues/events{/number}","events_url":"https://api.github.com/repos/hawkular/hawkular-metrics/events","assignees_url":"https://api.github.com/repos/hawkular/hawkular-metrics/assignees{/user}","branches_url":"https://api.github.com/repos/hawkular/hawkular-metrics/branches{/branch}","tags_url":"https://api.github.com/repos/hawkular/hawkular-metrics/tags","blobs_url":"https://api.github.com/repos/hawkular/hawkular-metrics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hawkular/hawkular-metrics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hawkular/hawkular-metrics/git/refs{/sha}","trees_url":"https://api.github.com/repos/hawkular/hawkular-metrics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hawkular/hawkular-metrics/statuses/{sha}","languages_url":"https://api.github.com/repos/hawkular/hawkular-metrics/languages","stargazers_url":"https://api.github.com/repos/hawkular/hawkular-metrics/stargazers","contributors_url":"https://api.github.com/repos/hawkular/hawkular-metrics/contributors","subscribers_url":"https://api.github.com/repos/hawkular/hawkular-metrics/subscribers","subscription_url":"https://api.github.com/repos/hawkular/hawkular-metrics/subscription","commits_url":"https://api.github.com/repos/hawkular/hawkular-metrics/commits{/sha}","git_commits_url":"https://api.github.com/repos/hawkular/hawkular-metrics/git/commits{/sha}","comments_url":"https://api.github.com/repos/hawkular/hawkular-metrics/comments{/number}","issue_comment_url":"https://api.github.com/repos/hawkular/hawkular-metrics/issues/comments{/number}","contents_url":"https://api.github.com/repos/hawkular/hawkular-metrics/contents/{+path}","compare_url":"https://api.github.com/repos/hawkular/hawkular-metrics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hawkular/hawkular-metrics/merges","archive_url":"https://api.github.com/repos/hawkular/hawkular-metrics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hawkular/hawkular-metrics/downloads","issues_url":"https://api.github.com/repos/hawkular/hawkular-metrics/issues{/number}","pulls_url":"https://api.github.com/repos/hawkular/hawkular-metrics/pulls{/number}","milestones_url":"https://api.github.com/repos/hawkular/hawkular-metrics/milestones{/number}","notifications_url":"https://api.github.com/repos/hawkular/hawkular-metrics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hawkular/hawkular-metrics/labels{/name}","releases_url":"https://api.github.com/repos/hawkular/hawkular-metrics/releases{/id}","deployments_url":"https://api.github.com/repos/hawkular/hawkular-metrics/deployments","created_at":"2014-03-13T10:07:30Z","updated_at":"2016-06-16T16:02:07Z","pushed_at":"2016-06-17T13:57:16Z","git_url":"git://github.com/hawkular/hawkular-metrics.git","ssh_url":"git@github.com:hawkular/hawkular-metrics.git","clone_url":"https://github.com/hawkular/hawkular-metrics.git","svn_url":"https://github.com/hawkular/hawkular-metrics","homepage":"","size":17205,"stargazers_count":93,"watchers_count":93,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":45,"mirror_url":null,"open_issues_count":14,"forks":45,"open_issues":14,"watchers":93,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hawkular/hawkular-metrics/pulls/518"},"html":{"href":"https://github.com/hawkular/hawkular-metrics/pull/518"},"issue":{"href":"https://api.github.com/repos/hawkular/hawkular-metrics/issues/518"},"comments":{"href":"https://api.github.com/repos/hawkular/hawkular-metrics/issues/518/comments"},"review_comments":{"href":"https://api.github.com/repos/hawkular/hawkular-metrics/pulls/518/comments"},"review_comment":{"href":"https://api.github.com/repos/hawkular/hawkular-metrics/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hawkular/hawkular-metrics/pulls/518/commits"},"statuses":{"href":"https://api.github.com/repos/hawkular/hawkular-metrics/statuses/5c8a69a7c4a948b411f0ed066c0fd00a5e486268"}}}}
{"actor":{"display_login":"tsegismont"}}