{"action":"created","comment":{"url":"https://api.github.com/repos/codice/ddf-catalog/pulls/comments/27737156","id":27737156,"diff_hunk":"@@ -273,10 +291,13 @@ public SourceResponse query(QueryRequest queryRequest) throws UnsupportedQueryEx\n                 Metacard metacard = null;\n                 List<Result> resultQueue = new ArrayList<Result>();\n                 try {\n-                    metacard = inputTransformer.transform(responseStream);\n-                } catch (IOException e) {\n-                    LOGGER.debug(\"Problem with transformation.\", e);\n-                } catch (CatalogTransformerException e) {\n+                    final byte[] bytes = IOUtils.toByteArray(responseStream);","path":"opensearch/catalog-opensearch-source/src/main/java/ddf/catalog/source/opensearch/OpenSearchSource.java","position":133,"original_position":133,"commit_id":"68b2a403fe19b6b9eb0152f0530c80bc5b783ffb","original_commit_id":"68b2a403fe19b6b9eb0152f0530c80bc5b783ffb","user":{"login":"stustison","id":4391679,"avatar_url":"https://avatars.githubusercontent.com/u/4391679?v=3","gravatar_id":"","url":"https://api.github.com/users/stustison","html_url":"https://github.com/stustison","followers_url":"https://api.github.com/users/stustison/followers","following_url":"https://api.github.com/users/stustison/following{/other_user}","gists_url":"https://api.github.com/users/stustison/gists{/gist_id}","starred_url":"https://api.github.com/users/stustison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stustison/subscriptions","organizations_url":"https://api.github.com/users/stustison/orgs","repos_url":"https://api.github.com/users/stustison/repos","events_url":"https://api.github.com/users/stustison/events{/privacy}","received_events_url":"https://api.github.com/users/stustison/received_events","type":"User","site_admin":false},"body":"The performance will most likely be negligible. The point is, don't blow up memory. Just about any magic number will be better than simply dumping a byte stream that you do not control directly into memory.","created_at":"2015-04-03T16:02:11Z","updated_at":"2015-04-03T16:02:11Z","html_url":"https://github.com/codice/ddf-catalog/pull/68#discussion_r27737156","pull_request_url":"https://api.github.com/repos/codice/ddf-catalog/pulls/68","_links":{"self":{"href":"https://api.github.com/repos/codice/ddf-catalog/pulls/comments/27737156"},"html":{"href":"https://github.com/codice/ddf-catalog/pull/68#discussion_r27737156"},"pull_request":{"href":"https://api.github.com/repos/codice/ddf-catalog/pulls/68"}}},"pull_request":{"url":"https://api.github.com/repos/codice/ddf-catalog/pulls/68","id":32463708,"html_url":"https://github.com/codice/ddf-catalog/pull/68","diff_url":"https://github.com/codice/ddf-catalog/pull/68.diff","patch_url":"https://github.com/codice/ddf-catalog/pull/68.patch","issue_url":"https://api.github.com/repos/codice/ddf-catalog/issues/68","number":68,"state":"open","locked":false,"title":"DDF-1149 OpenSearch Source dynamically looks up transformers based on th...","user":{"login":"brendan-hofmann","id":8660335,"avatar_url":"https://avatars.githubusercontent.com/u/8660335?v=3","gravatar_id":"","url":"https://api.github.com/users/brendan-hofmann","html_url":"https://github.com/brendan-hofmann","followers_url":"https://api.github.com/users/brendan-hofmann/followers","following_url":"https://api.github.com/users/brendan-hofmann/following{/other_user}","gists_url":"https://api.github.com/users/brendan-hofmann/gists{/gist_id}","starred_url":"https://api.github.com/users/brendan-hofmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendan-hofmann/subscriptions","organizations_url":"https://api.github.com/users/brendan-hofmann/orgs","repos_url":"https://api.github.com/users/brendan-hofmann/repos","events_url":"https://api.github.com/users/brendan-hofmann/events{/privacy}","received_events_url":"https://api.github.com/users/brendan-hofmann/received_events","type":"User","site_admin":false},"body":"...e incoming namespace.","created_at":"2015-04-01T21:40:07Z","updated_at":"2015-04-03T16:02:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1cdc337393fcaea7e5b6a0c005bc33c9501abf7b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/codice/ddf-catalog/pulls/68/commits","review_comments_url":"https://api.github.com/repos/codice/ddf-catalog/pulls/68/comments","review_comment_url":"https://api.github.com/repos/codice/ddf-catalog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codice/ddf-catalog/issues/68/comments","statuses_url":"https://api.github.com/repos/codice/ddf-catalog/statuses/68b2a403fe19b6b9eb0152f0530c80bc5b783ffb","head":{"label":"brendan-hofmann:DDF-1149","ref":"DDF-1149","sha":"68b2a403fe19b6b9eb0152f0530c80bc5b783ffb","user":{"login":"brendan-hofmann","id":8660335,"avatar_url":"https://avatars.githubusercontent.com/u/8660335?v=3","gravatar_id":"","url":"https://api.github.com/users/brendan-hofmann","html_url":"https://github.com/brendan-hofmann","followers_url":"https://api.github.com/users/brendan-hofmann/followers","following_url":"https://api.github.com/users/brendan-hofmann/following{/other_user}","gists_url":"https://api.github.com/users/brendan-hofmann/gists{/gist_id}","starred_url":"https://api.github.com/users/brendan-hofmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendan-hofmann/subscriptions","organizations_url":"https://api.github.com/users/brendan-hofmann/orgs","repos_url":"https://api.github.com/users/brendan-hofmann/repos","events_url":"https://api.github.com/users/brendan-hofmann/events{/privacy}","received_events_url":"https://api.github.com/users/brendan-hofmann/received_events","type":"User","site_admin":false},"repo":{"id":26139180,"name":"ddf-catalog","full_name":"brendan-hofmann/ddf-catalog","owner":{"login":"brendan-hofmann","id":8660335,"avatar_url":"https://avatars.githubusercontent.com/u/8660335?v=3","gravatar_id":"","url":"https://api.github.com/users/brendan-hofmann","html_url":"https://github.com/brendan-hofmann","followers_url":"https://api.github.com/users/brendan-hofmann/followers","following_url":"https://api.github.com/users/brendan-hofmann/following{/other_user}","gists_url":"https://api.github.com/users/brendan-hofmann/gists{/gist_id}","starred_url":"https://api.github.com/users/brendan-hofmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendan-hofmann/subscriptions","organizations_url":"https://api.github.com/users/brendan-hofmann/orgs","repos_url":"https://api.github.com/users/brendan-hofmann/repos","events_url":"https://api.github.com/users/brendan-hofmann/events{/privacy}","received_events_url":"https://api.github.com/users/brendan-hofmann/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brendan-hofmann/ddf-catalog","description":"","fork":true,"url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog","forks_url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog/forks","keys_url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog/teams","hooks_url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog/hooks","issue_events_url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog/issues/events{/number}","events_url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog/events","assignees_url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog/assignees{/user}","branches_url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog/branches{/branch}","tags_url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog/tags","blobs_url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog/git/refs{/sha}","trees_url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog/statuses/{sha}","languages_url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog/languages","stargazers_url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog/stargazers","contributors_url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog/contributors","subscribers_url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog/subscribers","subscription_url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog/subscription","commits_url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog/commits{/sha}","git_commits_url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog/git/commits{/sha}","comments_url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog/comments{/number}","issue_comment_url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog/issues/comments{/number}","contents_url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog/contents/{+path}","compare_url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog/merges","archive_url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog/downloads","issues_url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog/issues{/number}","pulls_url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog/pulls{/number}","milestones_url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog/milestones{/number}","notifications_url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog/labels{/name}","releases_url":"https://api.github.com/repos/brendan-hofmann/ddf-catalog/releases{/id}","created_at":"2014-11-03T21:17:50Z","updated_at":"2014-11-20T21:04:50Z","pushed_at":"2015-04-01T21:38:59Z","git_url":"git://github.com/brendan-hofmann/ddf-catalog.git","ssh_url":"git@github.com:brendan-hofmann/ddf-catalog.git","clone_url":"https://github.com/brendan-hofmann/ddf-catalog.git","svn_url":"https://github.com/brendan-hofmann/ddf-catalog","homepage":null,"size":17635,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"codice:master","ref":"master","sha":"2cf6846d436c835fc4c0226155604e8c6f95b591","user":{"login":"codice","id":2386734,"avatar_url":"https://avatars.githubusercontent.com/u/2386734?v=3","gravatar_id":"","url":"https://api.github.com/users/codice","html_url":"https://github.com/codice","followers_url":"https://api.github.com/users/codice/followers","following_url":"https://api.github.com/users/codice/following{/other_user}","gists_url":"https://api.github.com/users/codice/gists{/gist_id}","starred_url":"https://api.github.com/users/codice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codice/subscriptions","organizations_url":"https://api.github.com/users/codice/orgs","repos_url":"https://api.github.com/users/codice/repos","events_url":"https://api.github.com/users/codice/events{/privacy}","received_events_url":"https://api.github.com/users/codice/received_events","type":"Organization","site_admin":false},"repo":{"id":15779703,"name":"ddf-catalog","full_name":"codice/ddf-catalog","owner":{"login":"codice","id":2386734,"avatar_url":"https://avatars.githubusercontent.com/u/2386734?v=3","gravatar_id":"","url":"https://api.github.com/users/codice","html_url":"https://github.com/codice","followers_url":"https://api.github.com/users/codice/followers","following_url":"https://api.github.com/users/codice/following{/other_user}","gists_url":"https://api.github.com/users/codice/gists{/gist_id}","starred_url":"https://api.github.com/users/codice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codice/subscriptions","organizations_url":"https://api.github.com/users/codice/orgs","repos_url":"https://api.github.com/users/codice/repos","events_url":"https://api.github.com/users/codice/events{/privacy}","received_events_url":"https://api.github.com/users/codice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codice/ddf-catalog","description":"","fork":false,"url":"https://api.github.com/repos/codice/ddf-catalog","forks_url":"https://api.github.com/repos/codice/ddf-catalog/forks","keys_url":"https://api.github.com/repos/codice/ddf-catalog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codice/ddf-catalog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codice/ddf-catalog/teams","hooks_url":"https://api.github.com/repos/codice/ddf-catalog/hooks","issue_events_url":"https://api.github.com/repos/codice/ddf-catalog/issues/events{/number}","events_url":"https://api.github.com/repos/codice/ddf-catalog/events","assignees_url":"https://api.github.com/repos/codice/ddf-catalog/assignees{/user}","branches_url":"https://api.github.com/repos/codice/ddf-catalog/branches{/branch}","tags_url":"https://api.github.com/repos/codice/ddf-catalog/tags","blobs_url":"https://api.github.com/repos/codice/ddf-catalog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codice/ddf-catalog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codice/ddf-catalog/git/refs{/sha}","trees_url":"https://api.github.com/repos/codice/ddf-catalog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codice/ddf-catalog/statuses/{sha}","languages_url":"https://api.github.com/repos/codice/ddf-catalog/languages","stargazers_url":"https://api.github.com/repos/codice/ddf-catalog/stargazers","contributors_url":"https://api.github.com/repos/codice/ddf-catalog/contributors","subscribers_url":"https://api.github.com/repos/codice/ddf-catalog/subscribers","subscription_url":"https://api.github.com/repos/codice/ddf-catalog/subscription","commits_url":"https://api.github.com/repos/codice/ddf-catalog/commits{/sha}","git_commits_url":"https://api.github.com/repos/codice/ddf-catalog/git/commits{/sha}","comments_url":"https://api.github.com/repos/codice/ddf-catalog/comments{/number}","issue_comment_url":"https://api.github.com/repos/codice/ddf-catalog/issues/comments{/number}","contents_url":"https://api.github.com/repos/codice/ddf-catalog/contents/{+path}","compare_url":"https://api.github.com/repos/codice/ddf-catalog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codice/ddf-catalog/merges","archive_url":"https://api.github.com/repos/codice/ddf-catalog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codice/ddf-catalog/downloads","issues_url":"https://api.github.com/repos/codice/ddf-catalog/issues{/number}","pulls_url":"https://api.github.com/repos/codice/ddf-catalog/pulls{/number}","milestones_url":"https://api.github.com/repos/codice/ddf-catalog/milestones{/number}","notifications_url":"https://api.github.com/repos/codice/ddf-catalog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codice/ddf-catalog/labels{/name}","releases_url":"https://api.github.com/repos/codice/ddf-catalog/releases{/id}","created_at":"2014-01-09T21:14:36Z","updated_at":"2015-04-01T18:58:50Z","pushed_at":"2015-04-02T01:09:39Z","git_url":"git://github.com/codice/ddf-catalog.git","ssh_url":"git@github.com:codice/ddf-catalog.git","clone_url":"https://github.com/codice/ddf-catalog.git","svn_url":"https://github.com/codice/ddf-catalog","homepage":null,"size":19905,"stargazers_count":4,"watchers_count":4,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":5,"forks":20,"open_issues":5,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codice/ddf-catalog/pulls/68"},"html":{"href":"https://github.com/codice/ddf-catalog/pull/68"},"issue":{"href":"https://api.github.com/repos/codice/ddf-catalog/issues/68"},"comments":{"href":"https://api.github.com/repos/codice/ddf-catalog/issues/68/comments"},"review_comments":{"href":"https://api.github.com/repos/codice/ddf-catalog/pulls/68/comments"},"review_comment":{"href":"https://api.github.com/repos/codice/ddf-catalog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codice/ddf-catalog/pulls/68/commits"},"statuses":{"href":"https://api.github.com/repos/codice/ddf-catalog/statuses/68b2a403fe19b6b9eb0152f0530c80bc5b783ffb"}}}}