{"action":"created","issue":{"url":"https://api.github.com/repos/Islandora-CLAW/islandora_image/issues/20","repository_url":"https://api.github.com/repos/Islandora-CLAW/islandora_image","labels_url":"https://api.github.com/repos/Islandora-CLAW/islandora_image/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/Islandora-CLAW/islandora_image/issues/20/comments","events_url":"https://api.github.com/repos/Islandora-CLAW/islandora_image/issues/20/events","html_url":"https://github.com/Islandora-CLAW/islandora_image/pull/20","id":304459332,"number":20,"title":"Re-exporting tiff and jp2 bundle yml","user":{"login":"dannylamb","id":20773151,"avatar_url":"https://avatars3.githubusercontent.com/u/20773151?v=4","gravatar_id":"","url":"https://api.github.com/users/dannylamb","html_url":"https://github.com/dannylamb","followers_url":"https://api.github.com/users/dannylamb/followers","following_url":"https://api.github.com/users/dannylamb/following{/other_user}","gists_url":"https://api.github.com/users/dannylamb/gists{/gist_id}","starred_url":"https://api.github.com/users/dannylamb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dannylamb/subscriptions","organizations_url":"https://api.github.com/users/dannylamb/orgs","repos_url":"https://api.github.com/users/dannylamb/repos","events_url":"https://api.github.com/users/dannylamb/events{/privacy}","received_events_url":"https://api.github.com/users/dannylamb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-12T17:04:32Z","updated_at":"2018-03-12T17:06:03Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/Islandora-CLAW/islandora_image/pulls/20","html_url":"https://github.com/Islandora-CLAW/islandora_image/pull/20","diff_url":"https://github.com/Islandora-CLAW/islandora_image/pull/20.diff","patch_url":"https://github.com/Islandora-CLAW/islandora_image/pull/20.patch"},"body":"**GitHub Issue**: Resolves https://github.com/Islandora-CLAW/CLAW/issues/816\r\n\r\n# What does this Pull Request do?\r\n\r\nRe-exports our yml for tiff and jp2 media bundles.\r\n\r\n# What's new?\r\nJust the new yml.  The important bits are that the source fields are set to `field_file`\r\n\r\n# How should this be tested?\r\n\r\nDelete the bundles and re-import them using the files in this PR.  You can use drupal/drush or Drupal's config synchronization UI.\r\n\r\nAfter that, you should be able to add tiffs and jp2s to `islandora_image` objects using the REST API.\r\n\r\nFor JP2:\r\n```bash\r\ncurl -X POST -u admin:islandora -H \"Content-Type: image/jp2\" -H \"Content-Disposition: attachment; filename=\\\"sample.jp2\\\"\" --data-binary @sample.jp2 http://localhost:8000/node/2/media/field_jp2/add/jp2\r\n```\r\n\r\nFor TIFF:\r\n```\r\ncurl -X POST -u admin:islandora -H \"Content-Type: image/tiff\" -H \"Content-Disposition: attachment; filename=\\\"test.tiff\\\"\" --data-binary @test.tiff http://localhost:8000/node/2/media/field_tiff/add/image_tiff\r\n```\r\n\r\n# Interested parties\r\n@mjordan @Islandora-CLAW/committers"},"comment":{"url":"https://api.github.com/repos/Islandora-CLAW/islandora_image/issues/comments/372386498","html_url":"https://github.com/Islandora-CLAW/islandora_image/pull/20#issuecomment-372386498","issue_url":"https://api.github.com/repos/Islandora-CLAW/islandora_image/issues/20","id":372386498,"user":{"login":"mjordan","id":403918,"avatar_url":"https://avatars1.githubusercontent.com/u/403918?v=4","gravatar_id":"","url":"https://api.github.com/users/mjordan","html_url":"https://github.com/mjordan","followers_url":"https://api.github.com/users/mjordan/followers","following_url":"https://api.github.com/users/mjordan/following{/other_user}","gists_url":"https://api.github.com/users/mjordan/gists{/gist_id}","starred_url":"https://api.github.com/users/mjordan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjordan/subscriptions","organizations_url":"https://api.github.com/users/mjordan/orgs","repos_url":"https://api.github.com/users/mjordan/repos","events_url":"https://api.github.com/users/mjordan/events{/privacy}","received_events_url":"https://api.github.com/users/mjordan/received_events","type":"User","site_admin":false},"created_at":"2018-03-12T17:06:03Z","updated_at":"2018-03-12T17:06:03Z","author_association":"NONE","body":"I'll test this."}}
{"actor":{"display_login":"mjordan"}}