{"action":"created","comment":{"url":"https://api.github.com/repos/codice/ddf/pulls/comments/68699697","id":68699697,"diff_hunk":"@@ -74,15 +149,21 @@ public Response startDownloadToCacheOnly(@PathParam(\"sourceId\") String sourceId,\n                     sourceId);\n             ResourceResponse resourceResponse = catalogFramework.getResource(resourceRequest,\n                     sourceId);\n+\n             if (resourceResponse == null) {\n                 String message = String.format(ERROR_MESSAGE_TEMPLATE, metacardId, sourceId);\n                 LOGGER.error(message);\n                 throw new DownloadToCacheOnlyException(Status.INTERNAL_SERVER_ERROR, message);\n             }\n+\n+            ResourceDownloadResponse resourceDownloadResponse =\n+                    new ResourceDownloadResponse((String) resourceResponse.getPropertyValue(\n+                            \"downloadIdentifier\"));","path":"catalog/core/catalog-core-standardframework/src/main/java/ddf/catalog/resource/download/ResourceDownloadEndpoint.java","position":142,"original_position":142,"commit_id":"bcc0f2db8c5258812dd8cfa0cf53f3ce431e104d","original_commit_id":"bcc0f2db8c5258812dd8cfa0cf53f3ce431e104d","user":{"login":"Lambeaux","id":7215534,"avatar_url":"https://avatars.githubusercontent.com/u/7215534?v=3","gravatar_id":"","url":"https://api.github.com/users/Lambeaux","html_url":"https://github.com/Lambeaux","followers_url":"https://api.github.com/users/Lambeaux/followers","following_url":"https://api.github.com/users/Lambeaux/following{/other_user}","gists_url":"https://api.github.com/users/Lambeaux/gists{/gist_id}","starred_url":"https://api.github.com/users/Lambeaux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lambeaux/subscriptions","organizations_url":"https://api.github.com/users/Lambeaux/orgs","repos_url":"https://api.github.com/users/Lambeaux/repos","events_url":"https://api.github.com/users/Lambeaux/events{/privacy}","received_events_url":"https://api.github.com/users/Lambeaux/received_events","type":"User","site_admin":false},"body":"Per my comment above, is this key _\"downloadIdentifier\"_ correct? ","created_at":"2016-06-28T05:35:26Z","updated_at":"2016-06-28T05:35:26Z","html_url":"https://github.com/codice/ddf/pull/910#discussion_r68699697","pull_request_url":"https://api.github.com/repos/codice/ddf/pulls/910","_links":{"self":{"href":"https://api.github.com/repos/codice/ddf/pulls/comments/68699697"},"html":{"href":"https://github.com/codice/ddf/pull/910#discussion_r68699697"},"pull_request":{"href":"https://api.github.com/repos/codice/ddf/pulls/910"}}},"pull_request":{"url":"https://api.github.com/repos/codice/ddf/pulls/910","id":75182433,"html_url":"https://github.com/codice/ddf/pull/910","diff_url":"https://github.com/codice/ddf/pull/910.diff","patch_url":"https://github.com/codice/ddf/pull/910.patch","issue_url":"https://api.github.com/repos/codice/ddf/issues/910","number":910,"state":"open","locked":false,"title":"DDF-2239: As an Integrator, I need the ability to get the list of all current cache downloads for all users","user":{"login":"lessarderic","id":11377558,"avatar_url":"https://avatars.githubusercontent.com/u/11377558?v=3","gravatar_id":"","url":"https://api.github.com/users/lessarderic","html_url":"https://github.com/lessarderic","followers_url":"https://api.github.com/users/lessarderic/followers","following_url":"https://api.github.com/users/lessarderic/following{/other_user}","gists_url":"https://api.github.com/users/lessarderic/gists{/gist_id}","starred_url":"https://api.github.com/users/lessarderic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lessarderic/subscriptions","organizations_url":"https://api.github.com/users/lessarderic/orgs","repos_url":"https://api.github.com/users/lessarderic/repos","events_url":"https://api.github.com/users/lessarderic/events{/privacy}","received_events_url":"https://api.github.com/users/lessarderic/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\n - Added logic to the ReliableResourceDownloadManager to get the list of in-progress downloads\r\n - Added unit tests for DownloadInfo and ReliableResourceDownloadManager\r\n - Added experimental note to resource download endpoint and reformatted TestFederation code.\r\n - Added new method to WaitCondition class to return the last result returned by the Callable.\r\n\r\n#### Who is reviewing it (please choose AT LEAST two reviewers that need to approve the PR before it can get merged; if a component team is listed, at least one of its members needs to approve)?\r\n@garrettfreibott \r\n@cmthom10 \r\n@oconnormi \r\n@Lambeaux \r\n@bantillo \r\n\r\n#### Choose 2 committers to review/merge the PR (please choose ONLY two committers from below, delete the rest).\r\n@jlcsmith\r\n@pklinef\r\n\r\n#### How should this be tested?\r\nRun integration tests\r\n\r\n#### Any background context you want to provide?\r\n#### What are the relevant tickets?\r\nDDF-2239\r\nDDF-2207\r\n#### Screenshots (if appropriate)\r\n#### Checklist:\r\n- [ ] Documentation Updated\r\n- [x] Update / Add Unit Tests\r\n- [x] Update / Add Integration Tests\r\n","created_at":"2016-06-24T22:30:08Z","updated_at":"2016-06-28T05:35:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"46c1c5086b4869917b60d519dbda2fa6d7df2c40","assignee":{"login":"pklinef","id":700518,"avatar_url":"https://avatars.githubusercontent.com/u/700518?v=3","gravatar_id":"","url":"https://api.github.com/users/pklinef","html_url":"https://github.com/pklinef","followers_url":"https://api.github.com/users/pklinef/followers","following_url":"https://api.github.com/users/pklinef/following{/other_user}","gists_url":"https://api.github.com/users/pklinef/gists{/gist_id}","starred_url":"https://api.github.com/users/pklinef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pklinef/subscriptions","organizations_url":"https://api.github.com/users/pklinef/orgs","repos_url":"https://api.github.com/users/pklinef/repos","events_url":"https://api.github.com/users/pklinef/events{/privacy}","received_events_url":"https://api.github.com/users/pklinef/received_events","type":"User","site_admin":false},"assignees":[{"login":"pklinef","id":700518,"avatar_url":"https://avatars.githubusercontent.com/u/700518?v=3","gravatar_id":"","url":"https://api.github.com/users/pklinef","html_url":"https://github.com/pklinef","followers_url":"https://api.github.com/users/pklinef/followers","following_url":"https://api.github.com/users/pklinef/following{/other_user}","gists_url":"https://api.github.com/users/pklinef/gists{/gist_id}","starred_url":"https://api.github.com/users/pklinef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pklinef/subscriptions","organizations_url":"https://api.github.com/users/pklinef/orgs","repos_url":"https://api.github.com/users/pklinef/repos","events_url":"https://api.github.com/users/pklinef/events{/privacy}","received_events_url":"https://api.github.com/users/pklinef/received_events","type":"User","site_admin":false},{"login":"jlcsmith","id":4503545,"avatar_url":"https://avatars.githubusercontent.com/u/4503545?v=3","gravatar_id":"","url":"https://api.github.com/users/jlcsmith","html_url":"https://github.com/jlcsmith","followers_url":"https://api.github.com/users/jlcsmith/followers","following_url":"https://api.github.com/users/jlcsmith/following{/other_user}","gists_url":"https://api.github.com/users/jlcsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/jlcsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlcsmith/subscriptions","organizations_url":"https://api.github.com/users/jlcsmith/orgs","repos_url":"https://api.github.com/users/jlcsmith/repos","events_url":"https://api.github.com/users/jlcsmith/events{/privacy}","received_events_url":"https://api.github.com/users/jlcsmith/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/codice/ddf/pulls/910/commits","review_comments_url":"https://api.github.com/repos/codice/ddf/pulls/910/comments","review_comment_url":"https://api.github.com/repos/codice/ddf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codice/ddf/issues/910/comments","statuses_url":"https://api.github.com/repos/codice/ddf/statuses/bcc0f2db8c5258812dd8cfa0cf53f3ce431e104d","head":{"label":"lessarderic:DDF-2207","ref":"DDF-2207","sha":"bcc0f2db8c5258812dd8cfa0cf53f3ce431e104d","user":{"login":"lessarderic","id":11377558,"avatar_url":"https://avatars.githubusercontent.com/u/11377558?v=3","gravatar_id":"","url":"https://api.github.com/users/lessarderic","html_url":"https://github.com/lessarderic","followers_url":"https://api.github.com/users/lessarderic/followers","following_url":"https://api.github.com/users/lessarderic/following{/other_user}","gists_url":"https://api.github.com/users/lessarderic/gists{/gist_id}","starred_url":"https://api.github.com/users/lessarderic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lessarderic/subscriptions","organizations_url":"https://api.github.com/users/lessarderic/orgs","repos_url":"https://api.github.com/users/lessarderic/repos","events_url":"https://api.github.com/users/lessarderic/events{/privacy}","received_events_url":"https://api.github.com/users/lessarderic/received_events","type":"User","site_admin":false},"repo":{"id":31987179,"name":"ddf","full_name":"lessarderic/ddf","owner":{"login":"lessarderic","id":11377558,"avatar_url":"https://avatars.githubusercontent.com/u/11377558?v=3","gravatar_id":"","url":"https://api.github.com/users/lessarderic","html_url":"https://github.com/lessarderic","followers_url":"https://api.github.com/users/lessarderic/followers","following_url":"https://api.github.com/users/lessarderic/following{/other_user}","gists_url":"https://api.github.com/users/lessarderic/gists{/gist_id}","starred_url":"https://api.github.com/users/lessarderic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lessarderic/subscriptions","organizations_url":"https://api.github.com/users/lessarderic/orgs","repos_url":"https://api.github.com/users/lessarderic/repos","events_url":"https://api.github.com/users/lessarderic/events{/privacy}","received_events_url":"https://api.github.com/users/lessarderic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lessarderic/ddf","description":"The Distributed Data Framework - Distribution, SDK, and Test","fork":true,"url":"https://api.github.com/repos/lessarderic/ddf","forks_url":"https://api.github.com/repos/lessarderic/ddf/forks","keys_url":"https://api.github.com/repos/lessarderic/ddf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lessarderic/ddf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lessarderic/ddf/teams","hooks_url":"https://api.github.com/repos/lessarderic/ddf/hooks","issue_events_url":"https://api.github.com/repos/lessarderic/ddf/issues/events{/number}","events_url":"https://api.github.com/repos/lessarderic/ddf/events","assignees_url":"https://api.github.com/repos/lessarderic/ddf/assignees{/user}","branches_url":"https://api.github.com/repos/lessarderic/ddf/branches{/branch}","tags_url":"https://api.github.com/repos/lessarderic/ddf/tags","blobs_url":"https://api.github.com/repos/lessarderic/ddf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lessarderic/ddf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lessarderic/ddf/git/refs{/sha}","trees_url":"https://api.github.com/repos/lessarderic/ddf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lessarderic/ddf/statuses/{sha}","languages_url":"https://api.github.com/repos/lessarderic/ddf/languages","stargazers_url":"https://api.github.com/repos/lessarderic/ddf/stargazers","contributors_url":"https://api.github.com/repos/lessarderic/ddf/contributors","subscribers_url":"https://api.github.com/repos/lessarderic/ddf/subscribers","subscription_url":"https://api.github.com/repos/lessarderic/ddf/subscription","commits_url":"https://api.github.com/repos/lessarderic/ddf/commits{/sha}","git_commits_url":"https://api.github.com/repos/lessarderic/ddf/git/commits{/sha}","comments_url":"https://api.github.com/repos/lessarderic/ddf/comments{/number}","issue_comment_url":"https://api.github.com/repos/lessarderic/ddf/issues/comments{/number}","contents_url":"https://api.github.com/repos/lessarderic/ddf/contents/{+path}","compare_url":"https://api.github.com/repos/lessarderic/ddf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lessarderic/ddf/merges","archive_url":"https://api.github.com/repos/lessarderic/ddf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lessarderic/ddf/downloads","issues_url":"https://api.github.com/repos/lessarderic/ddf/issues{/number}","pulls_url":"https://api.github.com/repos/lessarderic/ddf/pulls{/number}","milestones_url":"https://api.github.com/repos/lessarderic/ddf/milestones{/number}","notifications_url":"https://api.github.com/repos/lessarderic/ddf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lessarderic/ddf/labels{/name}","releases_url":"https://api.github.com/repos/lessarderic/ddf/releases{/id}","deployments_url":"https://api.github.com/repos/lessarderic/ddf/deployments","created_at":"2015-03-10T23:21:08Z","updated_at":"2016-01-20T21:44:23Z","pushed_at":"2016-06-28T00:51:19Z","git_url":"git://github.com/lessarderic/ddf.git","ssh_url":"git@github.com:lessarderic/ddf.git","clone_url":"https://github.com/lessarderic/ddf.git","svn_url":"https://github.com/lessarderic/ddf","homepage":"","size":144453,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"codice:master","ref":"master","sha":"48574a905a98ab095e4eff0a948047100ec350ed","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":15173563,"name":"ddf","full_name":"codice/ddf","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","description":"Distributed Data Framework - an open source, modular integration framework.","fork":false,"url":"https://api.github.com/repos/codice/ddf","forks_url":"https://api.github.com/repos/codice/ddf/forks","keys_url":"https://api.github.com/repos/codice/ddf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codice/ddf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codice/ddf/teams","hooks_url":"https://api.github.com/repos/codice/ddf/hooks","issue_events_url":"https://api.github.com/repos/codice/ddf/issues/events{/number}","events_url":"https://api.github.com/repos/codice/ddf/events","assignees_url":"https://api.github.com/repos/codice/ddf/assignees{/user}","branches_url":"https://api.github.com/repos/codice/ddf/branches{/branch}","tags_url":"https://api.github.com/repos/codice/ddf/tags","blobs_url":"https://api.github.com/repos/codice/ddf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codice/ddf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codice/ddf/git/refs{/sha}","trees_url":"https://api.github.com/repos/codice/ddf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codice/ddf/statuses/{sha}","languages_url":"https://api.github.com/repos/codice/ddf/languages","stargazers_url":"https://api.github.com/repos/codice/ddf/stargazers","contributors_url":"https://api.github.com/repos/codice/ddf/contributors","subscribers_url":"https://api.github.com/repos/codice/ddf/subscribers","subscription_url":"https://api.github.com/repos/codice/ddf/subscription","commits_url":"https://api.github.com/repos/codice/ddf/commits{/sha}","git_commits_url":"https://api.github.com/repos/codice/ddf/git/commits{/sha}","comments_url":"https://api.github.com/repos/codice/ddf/comments{/number}","issue_comment_url":"https://api.github.com/repos/codice/ddf/issues/comments{/number}","contents_url":"https://api.github.com/repos/codice/ddf/contents/{+path}","compare_url":"https://api.github.com/repos/codice/ddf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codice/ddf/merges","archive_url":"https://api.github.com/repos/codice/ddf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codice/ddf/downloads","issues_url":"https://api.github.com/repos/codice/ddf/issues{/number}","pulls_url":"https://api.github.com/repos/codice/ddf/pulls{/number}","milestones_url":"https://api.github.com/repos/codice/ddf/milestones{/number}","notifications_url":"https://api.github.com/repos/codice/ddf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codice/ddf/labels{/name}","releases_url":"https://api.github.com/repos/codice/ddf/releases{/id}","deployments_url":"https://api.github.com/repos/codice/ddf/deployments","created_at":"2013-12-13T20:38:28Z","updated_at":"2016-06-14T21:40:37Z","pushed_at":"2016-06-28T04:53:10Z","git_url":"git://github.com/codice/ddf.git","ssh_url":"git@github.com:codice/ddf.git","clone_url":"https://github.com/codice/ddf.git","svn_url":"https://github.com/codice/ddf","homepage":"http://ddf.codice.org","size":272224,"stargazers_count":39,"watchers_count":39,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":81,"mirror_url":null,"open_issues_count":26,"forks":81,"open_issues":26,"watchers":39,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codice/ddf/pulls/910"},"html":{"href":"https://github.com/codice/ddf/pull/910"},"issue":{"href":"https://api.github.com/repos/codice/ddf/issues/910"},"comments":{"href":"https://api.github.com/repos/codice/ddf/issues/910/comments"},"review_comments":{"href":"https://api.github.com/repos/codice/ddf/pulls/910/comments"},"review_comment":{"href":"https://api.github.com/repos/codice/ddf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codice/ddf/pulls/910/commits"},"statuses":{"href":"https://api.github.com/repos/codice/ddf/statuses/bcc0f2db8c5258812dd8cfa0cf53f3ce431e104d"}}}}
{"actor":{"display_login":"Lambeaux"}}