{"action":"opened","number":1985,"pull_request":{"url":"https://api.github.com/repos/codice/ddf/pulls/1985","id":120897348,"html_url":"https://github.com/codice/ddf/pull/1985","diff_url":"https://github.com/codice/ddf/pull/1985.diff","patch_url":"https://github.com/codice/ddf/pull/1985.patch","issue_url":"https://api.github.com/repos/codice/ddf/issues/1985","number":1985,"state":"open","locked":false,"title":"DDF-3012 Guess mimeType of files without extensions","user":{"login":"emanns95","id":12501737,"avatar_url":"https://avatars3.githubusercontent.com/u/12501737?v=3","gravatar_id":"","url":"https://api.github.com/users/emanns95","html_url":"https://github.com/emanns95","followers_url":"https://api.github.com/users/emanns95/followers","following_url":"https://api.github.com/users/emanns95/following{/other_user}","gists_url":"https://api.github.com/users/emanns95/gists{/gist_id}","starred_url":"https://api.github.com/users/emanns95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emanns95/subscriptions","organizations_url":"https://api.github.com/users/emanns95/orgs","repos_url":"https://api.github.com/users/emanns95/repos","events_url":"https://api.github.com/users/emanns95/events{/privacy}","received_events_url":"https://api.github.com/users/emanns95/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nAdds a check to MimeTypeMapperImpl that uses Tika to guess the mimeType of files that do not have file extensions.\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)?\r\n@brendan-hofmann \r\n@ahoffer \r\n@mweser \r\n\r\n#### Select at least one member from relevant component team(s) from below (at least one component team member needs to approve the PR).\r\n[IO](https://github.com/orgs/codice/teams/IO)\r\n\r\n#### Choose 2 committers to review/merge the PR (please choose ONLY two committers from below, delete the rest).\r\n@coyotesqrl\r\n@stustison\r\n\r\n#### How should this be tested? (List steps with links to updated documentation)\r\nRun full tests.\r\nAttempt to ingest an xml file without a file extension. Query it and observe the metacardType is ddf.metacard instead of fallback.common.\r\n\r\n#### Any background context you want to provide?\r\nBefore this change, xml files without a file extension would go into the TikaInputTransformer and get a metacardType of fallback.common.\r\n\r\n#### What are the relevant tickets?\r\n[DDF-3012](https://codice.atlassian.net/browse/DDF-3012)\r\n\r\n#### Checklist:\r\n- [ ] Documentation Updated\r\n- [ ] Change Log Updated\r\n- [ ] Update / Add Unit Tests\r\n- [X] Update / Add Integration Tests\r\n","created_at":"2017-05-16T18:40:31Z","updated_at":"2017-05-16T18:40:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/codice/ddf/pulls/1985/commits","review_comments_url":"https://api.github.com/repos/codice/ddf/pulls/1985/comments","review_comment_url":"https://api.github.com/repos/codice/ddf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codice/ddf/issues/1985/comments","statuses_url":"https://api.github.com/repos/codice/ddf/statuses/754ccb310fb0b754cc9eeef31b9a72587fc9819c","head":{"label":"emanns95:DDF-3012","ref":"DDF-3012","sha":"754ccb310fb0b754cc9eeef31b9a72587fc9819c","user":{"login":"emanns95","id":12501737,"avatar_url":"https://avatars3.githubusercontent.com/u/12501737?v=3","gravatar_id":"","url":"https://api.github.com/users/emanns95","html_url":"https://github.com/emanns95","followers_url":"https://api.github.com/users/emanns95/followers","following_url":"https://api.github.com/users/emanns95/following{/other_user}","gists_url":"https://api.github.com/users/emanns95/gists{/gist_id}","starred_url":"https://api.github.com/users/emanns95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emanns95/subscriptions","organizations_url":"https://api.github.com/users/emanns95/orgs","repos_url":"https://api.github.com/users/emanns95/repos","events_url":"https://api.github.com/users/emanns95/events{/privacy}","received_events_url":"https://api.github.com/users/emanns95/received_events","type":"User","site_admin":false},"repo":{"id":40488022,"name":"ddf","full_name":"emanns95/ddf","owner":{"login":"emanns95","id":12501737,"avatar_url":"https://avatars3.githubusercontent.com/u/12501737?v=3","gravatar_id":"","url":"https://api.github.com/users/emanns95","html_url":"https://github.com/emanns95","followers_url":"https://api.github.com/users/emanns95/followers","following_url":"https://api.github.com/users/emanns95/following{/other_user}","gists_url":"https://api.github.com/users/emanns95/gists{/gist_id}","starred_url":"https://api.github.com/users/emanns95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emanns95/subscriptions","organizations_url":"https://api.github.com/users/emanns95/orgs","repos_url":"https://api.github.com/users/emanns95/repos","events_url":"https://api.github.com/users/emanns95/events{/privacy}","received_events_url":"https://api.github.com/users/emanns95/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/emanns95/ddf","description":"The Distributed Data Framework - Distribution, SDK, and Test","fork":true,"url":"https://api.github.com/repos/emanns95/ddf","forks_url":"https://api.github.com/repos/emanns95/ddf/forks","keys_url":"https://api.github.com/repos/emanns95/ddf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emanns95/ddf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emanns95/ddf/teams","hooks_url":"https://api.github.com/repos/emanns95/ddf/hooks","issue_events_url":"https://api.github.com/repos/emanns95/ddf/issues/events{/number}","events_url":"https://api.github.com/repos/emanns95/ddf/events","assignees_url":"https://api.github.com/repos/emanns95/ddf/assignees{/user}","branches_url":"https://api.github.com/repos/emanns95/ddf/branches{/branch}","tags_url":"https://api.github.com/repos/emanns95/ddf/tags","blobs_url":"https://api.github.com/repos/emanns95/ddf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emanns95/ddf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emanns95/ddf/git/refs{/sha}","trees_url":"https://api.github.com/repos/emanns95/ddf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emanns95/ddf/statuses/{sha}","languages_url":"https://api.github.com/repos/emanns95/ddf/languages","stargazers_url":"https://api.github.com/repos/emanns95/ddf/stargazers","contributors_url":"https://api.github.com/repos/emanns95/ddf/contributors","subscribers_url":"https://api.github.com/repos/emanns95/ddf/subscribers","subscription_url":"https://api.github.com/repos/emanns95/ddf/subscription","commits_url":"https://api.github.com/repos/emanns95/ddf/commits{/sha}","git_commits_url":"https://api.github.com/repos/emanns95/ddf/git/commits{/sha}","comments_url":"https://api.github.com/repos/emanns95/ddf/comments{/number}","issue_comment_url":"https://api.github.com/repos/emanns95/ddf/issues/comments{/number}","contents_url":"https://api.github.com/repos/emanns95/ddf/contents/{+path}","compare_url":"https://api.github.com/repos/emanns95/ddf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emanns95/ddf/merges","archive_url":"https://api.github.com/repos/emanns95/ddf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emanns95/ddf/downloads","issues_url":"https://api.github.com/repos/emanns95/ddf/issues{/number}","pulls_url":"https://api.github.com/repos/emanns95/ddf/pulls{/number}","milestones_url":"https://api.github.com/repos/emanns95/ddf/milestones{/number}","notifications_url":"https://api.github.com/repos/emanns95/ddf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emanns95/ddf/labels{/name}","releases_url":"https://api.github.com/repos/emanns95/ddf/releases{/id}","deployments_url":"https://api.github.com/repos/emanns95/ddf/deployments","created_at":"2015-08-10T14:48:17Z","updated_at":"2017-05-16T15:22:22Z","pushed_at":"2017-05-16T18:33:43Z","git_url":"git://github.com/emanns95/ddf.git","ssh_url":"git@github.com:emanns95/ddf.git","clone_url":"https://github.com/emanns95/ddf.git","svn_url":"https://github.com/emanns95/ddf","homepage":"","size":165749,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"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":"7f5b6bb497ce64280c81c8a3a832bef45943a25a","user":{"login":"codice","id":2386734,"avatar_url":"https://avatars1.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://avatars1.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":"2017-04-12T02:00:28Z","pushed_at":"2017-05-16T18:30:12Z","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":320720,"stargazers_count":59,"watchers_count":59,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":107,"mirror_url":null,"open_issues_count":29,"forks":107,"open_issues":29,"watchers":59,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codice/ddf/pulls/1985"},"html":{"href":"https://github.com/codice/ddf/pull/1985"},"issue":{"href":"https://api.github.com/repos/codice/ddf/issues/1985"},"comments":{"href":"https://api.github.com/repos/codice/ddf/issues/1985/comments"},"review_comments":{"href":"https://api.github.com/repos/codice/ddf/pulls/1985/comments"},"review_comment":{"href":"https://api.github.com/repos/codice/ddf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codice/ddf/pulls/1985/commits"},"statuses":{"href":"https://api.github.com/repos/codice/ddf/statuses/754ccb310fb0b754cc9eeef31b9a72587fc9819c"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":97,"deletions":10,"changed_files":6}}
{"actor":{"display_login":"emanns95"}}