{"action":"created","comment":{"url":"https://api.github.com/repos/codice/ddf/pulls/comments/61174974","id":61174974,"diff_hunk":"@@ -538,4 +642,72 @@ private void submitToCatalog(ScheduledExecutorService batchScheduler,\n             }\n         }, 100, 100, TimeUnit.MILLISECONDS);\n     }\n+\n+    private int getFilesCount(File rootFile) {","path":"catalog/core/catalog-core-commands/src/main/java/org/codice/ddf/commands/catalog/IngestCommand.java","position":226,"original_position":226,"commit_id":"c7b62631e53a7e696322bc54c733460921ed20b8","original_commit_id":"c7b62631e53a7e696322bc54c733460921ed20b8","user":{"login":"jrnorth","id":4495447,"avatar_url":"https://avatars.githubusercontent.com/u/4495447?v=3","gravatar_id":"","url":"https://api.github.com/users/jrnorth","html_url":"https://github.com/jrnorth","followers_url":"https://api.github.com/users/jrnorth/followers","following_url":"https://api.github.com/users/jrnorth/following{/other_user}","gists_url":"https://api.github.com/users/jrnorth/gists{/gist_id}","starred_url":"https://api.github.com/users/jrnorth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrnorth/subscriptions","organizations_url":"https://api.github.com/users/jrnorth/orgs","repos_url":"https://api.github.com/users/jrnorth/repos","events_url":"https://api.github.com/users/jrnorth/events{/privacy}","received_events_url":"https://api.github.com/users/jrnorth/received_events","type":"User","site_admin":false},"body":"http://stackoverflow.com/a/24006711/2480705","created_at":"2016-04-26T22:20:24Z","updated_at":"2016-04-26T22:20:24Z","html_url":"https://github.com/codice/ddf/pull/730#discussion_r61174974","pull_request_url":"https://api.github.com/repos/codice/ddf/pulls/730","_links":{"self":{"href":"https://api.github.com/repos/codice/ddf/pulls/comments/61174974"},"html":{"href":"https://github.com/codice/ddf/pull/730#discussion_r61174974"},"pull_request":{"href":"https://api.github.com/repos/codice/ddf/pulls/730"}}},"pull_request":{"url":"https://api.github.com/repos/codice/ddf/pulls/730","id":67958795,"html_url":"https://github.com/codice/ddf/pull/730","diff_url":"https://github.com/codice/ddf/pull/730.diff","patch_url":"https://github.com/codice/ddf/pull/730.patch","issue_url":"https://api.github.com/repos/codice/ddf/issues/730","number":730,"state":"open","locked":false,"title":"DDF-2050 Added product data to ingest/dump commands so the entire catalog can be imported/exported.","user":{"login":"bdeining","id":6551038,"avatar_url":"https://avatars.githubusercontent.com/u/6551038?v=3","gravatar_id":"","url":"https://api.github.com/users/bdeining","html_url":"https://github.com/bdeining","followers_url":"https://api.github.com/users/bdeining/followers","following_url":"https://api.github.com/users/bdeining/following{/other_user}","gists_url":"https://api.github.com/users/bdeining/gists{/gist_id}","starred_url":"https://api.github.com/users/bdeining/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdeining/subscriptions","organizations_url":"https://api.github.com/users/bdeining/orgs","repos_url":"https://api.github.com/users/bdeining/repos","events_url":"https://api.github.com/users/bdeining/events{/privacy}","received_events_url":"https://api.github.com/users/bdeining/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\n1) Adds product data to ingest/dump commands so the entire catalog can be imported/exported.  \r\n2) Adds an \"-ic\" option to ignore product data while running ingest/dump commands.\r\n3) Adds Security Logging to ingest/dump commands.\r\n4) Adds some clean up to the catalog-core-commands package.  \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@jrnorth\r\n@glenhein \r\n@dcruver \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@kcwire  \r\n#### How should this be tested?\r\nBuild and run ddf.  Run catalog:ingest / catalog:dump and observe local product data is being ingested and dumped properly.\r\n#### Any background context you want to provide?\r\n#### What are the relevant tickets?\r\nhttps://codice.atlassian.net/browse/DDF-2050\r\n#### Screenshots (if appropriate)\r\n#### Checklist:\r\n- [ ] Documentation Updated\r\n- [X] Update / Add Unit Tests\r\n- [ ] Update / Add Integration Tests","created_at":"2016-04-26T21:10:00Z","updated_at":"2016-04-26T22:20:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"022ebbbb7595df72029403863b5498df98e5156f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/codice/ddf/pulls/730/commits","review_comments_url":"https://api.github.com/repos/codice/ddf/pulls/730/comments","review_comment_url":"https://api.github.com/repos/codice/ddf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codice/ddf/issues/730/comments","statuses_url":"https://api.github.com/repos/codice/ddf/statuses/c7b62631e53a7e696322bc54c733460921ed20b8","head":{"label":"bdeining:DDF-2050","ref":"DDF-2050","sha":"c7b62631e53a7e696322bc54c733460921ed20b8","user":{"login":"bdeining","id":6551038,"avatar_url":"https://avatars.githubusercontent.com/u/6551038?v=3","gravatar_id":"","url":"https://api.github.com/users/bdeining","html_url":"https://github.com/bdeining","followers_url":"https://api.github.com/users/bdeining/followers","following_url":"https://api.github.com/users/bdeining/following{/other_user}","gists_url":"https://api.github.com/users/bdeining/gists{/gist_id}","starred_url":"https://api.github.com/users/bdeining/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdeining/subscriptions","organizations_url":"https://api.github.com/users/bdeining/orgs","repos_url":"https://api.github.com/users/bdeining/repos","events_url":"https://api.github.com/users/bdeining/events{/privacy}","received_events_url":"https://api.github.com/users/bdeining/received_events","type":"User","site_admin":false},"repo":{"id":40979396,"name":"ddf","full_name":"bdeining/ddf","owner":{"login":"bdeining","id":6551038,"avatar_url":"https://avatars.githubusercontent.com/u/6551038?v=3","gravatar_id":"","url":"https://api.github.com/users/bdeining","html_url":"https://github.com/bdeining","followers_url":"https://api.github.com/users/bdeining/followers","following_url":"https://api.github.com/users/bdeining/following{/other_user}","gists_url":"https://api.github.com/users/bdeining/gists{/gist_id}","starred_url":"https://api.github.com/users/bdeining/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdeining/subscriptions","organizations_url":"https://api.github.com/users/bdeining/orgs","repos_url":"https://api.github.com/users/bdeining/repos","events_url":"https://api.github.com/users/bdeining/events{/privacy}","received_events_url":"https://api.github.com/users/bdeining/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bdeining/ddf","description":"The Distributed Data Framework - Distribution, SDK, and Test","fork":true,"url":"https://api.github.com/repos/bdeining/ddf","forks_url":"https://api.github.com/repos/bdeining/ddf/forks","keys_url":"https://api.github.com/repos/bdeining/ddf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bdeining/ddf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bdeining/ddf/teams","hooks_url":"https://api.github.com/repos/bdeining/ddf/hooks","issue_events_url":"https://api.github.com/repos/bdeining/ddf/issues/events{/number}","events_url":"https://api.github.com/repos/bdeining/ddf/events","assignees_url":"https://api.github.com/repos/bdeining/ddf/assignees{/user}","branches_url":"https://api.github.com/repos/bdeining/ddf/branches{/branch}","tags_url":"https://api.github.com/repos/bdeining/ddf/tags","blobs_url":"https://api.github.com/repos/bdeining/ddf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bdeining/ddf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bdeining/ddf/git/refs{/sha}","trees_url":"https://api.github.com/repos/bdeining/ddf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bdeining/ddf/statuses/{sha}","languages_url":"https://api.github.com/repos/bdeining/ddf/languages","stargazers_url":"https://api.github.com/repos/bdeining/ddf/stargazers","contributors_url":"https://api.github.com/repos/bdeining/ddf/contributors","subscribers_url":"https://api.github.com/repos/bdeining/ddf/subscribers","subscription_url":"https://api.github.com/repos/bdeining/ddf/subscription","commits_url":"https://api.github.com/repos/bdeining/ddf/commits{/sha}","git_commits_url":"https://api.github.com/repos/bdeining/ddf/git/commits{/sha}","comments_url":"https://api.github.com/repos/bdeining/ddf/comments{/number}","issue_comment_url":"https://api.github.com/repos/bdeining/ddf/issues/comments{/number}","contents_url":"https://api.github.com/repos/bdeining/ddf/contents/{+path}","compare_url":"https://api.github.com/repos/bdeining/ddf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bdeining/ddf/merges","archive_url":"https://api.github.com/repos/bdeining/ddf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bdeining/ddf/downloads","issues_url":"https://api.github.com/repos/bdeining/ddf/issues{/number}","pulls_url":"https://api.github.com/repos/bdeining/ddf/pulls{/number}","milestones_url":"https://api.github.com/repos/bdeining/ddf/milestones{/number}","notifications_url":"https://api.github.com/repos/bdeining/ddf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bdeining/ddf/labels{/name}","releases_url":"https://api.github.com/repos/bdeining/ddf/releases{/id}","deployments_url":"https://api.github.com/repos/bdeining/ddf/deployments","created_at":"2015-08-18T15:16:49Z","updated_at":"2016-01-11T14:33:01Z","pushed_at":"2016-04-26T21:00:44Z","git_url":"git://github.com/bdeining/ddf.git","ssh_url":"git@github.com:bdeining/ddf.git","clone_url":"https://github.com/bdeining/ddf.git","svn_url":"https://github.com/bdeining/ddf","homepage":"","size":140150,"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":"codice:master","ref":"master","sha":"294dc1e8617dd60fee47a0605eb0fe406327fdb2","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-04-25T16:28:29Z","pushed_at":"2016-04-26T22:06:50Z","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":157342,"stargazers_count":36,"watchers_count":36,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":75,"mirror_url":null,"open_issues_count":14,"forks":75,"open_issues":14,"watchers":36,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codice/ddf/pulls/730"},"html":{"href":"https://github.com/codice/ddf/pull/730"},"issue":{"href":"https://api.github.com/repos/codice/ddf/issues/730"},"comments":{"href":"https://api.github.com/repos/codice/ddf/issues/730/comments"},"review_comments":{"href":"https://api.github.com/repos/codice/ddf/pulls/730/comments"},"review_comment":{"href":"https://api.github.com/repos/codice/ddf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codice/ddf/pulls/730/commits"},"statuses":{"href":"https://api.github.com/repos/codice/ddf/statuses/c7b62631e53a7e696322bc54c733460921ed20b8"}}}}