{"action":"opened","number":19,"pull_request":{"url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/pulls/19","id":195961125,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1OTYxMTI1","html_url":"https://github.com/DataBiosphere/cgp-dss-data-loader/pull/19","diff_url":"https://github.com/DataBiosphere/cgp-dss-data-loader/pull/19.diff","patch_url":"https://github.com/DataBiosphere/cgp-dss-data-loader/pull/19.patch","issue_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/issues/19","number":19,"state":"open","locked":false,"title":"Support new schema (resolves LOAD-18, LOAD-17, LOAD-20, LOAD-21)","user":{"login":"jessebrennan","id":10734740,"node_id":"MDQ6VXNlcjEwNzM0NzQw","avatar_url":"https://avatars1.githubusercontent.com/u/10734740?v=4","gravatar_id":"","url":"https://api.github.com/users/jessebrennan","html_url":"https://github.com/jessebrennan","followers_url":"https://api.github.com/users/jessebrennan/followers","following_url":"https://api.github.com/users/jessebrennan/following{/other_user}","gists_url":"https://api.github.com/users/jessebrennan/gists{/gist_id}","starred_url":"https://api.github.com/users/jessebrennan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessebrennan/subscriptions","organizations_url":"https://api.github.com/users/jessebrennan/orgs","repos_url":"https://api.github.com/users/jessebrennan/repos","events_url":"https://api.github.com/users/jessebrennan/events{/privacy}","received_events_url":"https://api.github.com/users/jessebrennan/received_events","type":"User","site_admin":false},"body":"_Note: I realize there should be only one issue per PR. most of those are sub-tasks of the main issue LOAD-18, and the last (LOAD-17) is essentially a test and should be included with this PR_\r\n\r\nThis PR adds support for loading data with the new metadata schema defined in [shemas.py](https://github.com/DataBiosphere/cgp-dss-data-loader/compare/feature/new-schema#diff-ab51b0be30526ca96aa5c76078e556b7).\r\n\r\n**What's new:**\r\n - [a revised README](https://github.com/DataBiosphere/cgp-dss-data-loader/compare/feature/new-schema#diff-04c6e90faac2675aa89e2176d2eec7d8) explaining how to run the loader with the new format and how its different from loading from the old format\r\n - Tests that run against the output of the new [**newt-transformer**](https://github.com/jessebrennan/newt-transformer#transforming-data-from-sheepdog-exporter) (LOAD-20)\r\n - Test for the metadata.json that gets loaded to make sure that it's formatted according to the schema we give to the dss (LOAD-17)\r\n - The new loader that can understand the new format that is output from **newt-transformer** (LOAD-18, LOAD-21)\r\n\r\n**What still needs to be done:**\r\n \r\n\r\n- [ ] I haven't yet tried to upload the 107 using the new format. I was waiting for input from @mikebaumann before doing this. Since the new 'standard' loader passes tests, I don't imagine this will be an issue however.\r\n- [ ] Possibly (depending on input of @david4096 and @mikebaumann) remove the old gen3 loader. I think we should keep it around for at least another iteration as a backup.","created_at":"2018-06-19T21:19:00Z","updated_at":"2018-06-19T21:19:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/pulls/19/commits","review_comments_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/pulls/19/comments","review_comment_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/issues/19/comments","statuses_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/statuses/a957e8a6176a31224975ffc63f6cf58c0909fb1b","head":{"label":"DataBiosphere:feature/new-schema","ref":"feature/new-schema","sha":"a957e8a6176a31224975ffc63f6cf58c0909fb1b","user":{"login":"DataBiosphere","id":32805087,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyODA1MDg3","avatar_url":"https://avatars0.githubusercontent.com/u/32805087?v=4","gravatar_id":"","url":"https://api.github.com/users/DataBiosphere","html_url":"https://github.com/DataBiosphere","followers_url":"https://api.github.com/users/DataBiosphere/followers","following_url":"https://api.github.com/users/DataBiosphere/following{/other_user}","gists_url":"https://api.github.com/users/DataBiosphere/gists{/gist_id}","starred_url":"https://api.github.com/users/DataBiosphere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataBiosphere/subscriptions","organizations_url":"https://api.github.com/users/DataBiosphere/orgs","repos_url":"https://api.github.com/users/DataBiosphere/repos","events_url":"https://api.github.com/users/DataBiosphere/events{/privacy}","received_events_url":"https://api.github.com/users/DataBiosphere/received_events","type":"Organization","site_admin":false},"repo":{"id":132820416,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI4MjA0MTY=","name":"cgp-dss-data-loader","full_name":"DataBiosphere/cgp-dss-data-loader","owner":{"login":"DataBiosphere","id":32805087,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyODA1MDg3","avatar_url":"https://avatars0.githubusercontent.com/u/32805087?v=4","gravatar_id":"","url":"https://api.github.com/users/DataBiosphere","html_url":"https://github.com/DataBiosphere","followers_url":"https://api.github.com/users/DataBiosphere/followers","following_url":"https://api.github.com/users/DataBiosphere/following{/other_user}","gists_url":"https://api.github.com/users/DataBiosphere/gists{/gist_id}","starred_url":"https://api.github.com/users/DataBiosphere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataBiosphere/subscriptions","organizations_url":"https://api.github.com/users/DataBiosphere/orgs","repos_url":"https://api.github.com/users/DataBiosphere/repos","events_url":"https://api.github.com/users/DataBiosphere/events{/privacy}","received_events_url":"https://api.github.com/users/DataBiosphere/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DataBiosphere/cgp-dss-data-loader","description":"Simple data loader for CGP HCA Data Store","fork":false,"url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader","forks_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/forks","keys_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/teams","hooks_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/hooks","issue_events_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/issues/events{/number}","events_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/events","assignees_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/assignees{/user}","branches_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/branches{/branch}","tags_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/tags","blobs_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/git/refs{/sha}","trees_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/statuses/{sha}","languages_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/languages","stargazers_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/stargazers","contributors_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/contributors","subscribers_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/subscribers","subscription_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/subscription","commits_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/commits{/sha}","git_commits_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/git/commits{/sha}","comments_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/comments{/number}","issue_comment_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/issues/comments{/number}","contents_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/contents/{+path}","compare_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/merges","archive_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/downloads","issues_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/issues{/number}","pulls_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/pulls{/number}","milestones_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/milestones{/number}","notifications_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/labels{/name}","releases_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/releases{/id}","deployments_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/deployments","created_at":"2018-05-09T22:46:08Z","updated_at":"2018-06-07T20:05:14Z","pushed_at":"2018-06-19T20:34:09Z","git_url":"git://github.com/DataBiosphere/cgp-dss-data-loader.git","ssh_url":"git@github.com:DataBiosphere/cgp-dss-data-loader.git","clone_url":"https://github.com/DataBiosphere/cgp-dss-data-loader.git","svn_url":"https://github.com/DataBiosphere/cgp-dss-data-loader","homepage":null,"size":261,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2,"open_issues":11,"watchers":1,"default_branch":"develop"}},"base":{"label":"DataBiosphere:develop","ref":"develop","sha":"092b353c1123c158c0a78a8e80c7684971b3d19c","user":{"login":"DataBiosphere","id":32805087,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyODA1MDg3","avatar_url":"https://avatars0.githubusercontent.com/u/32805087?v=4","gravatar_id":"","url":"https://api.github.com/users/DataBiosphere","html_url":"https://github.com/DataBiosphere","followers_url":"https://api.github.com/users/DataBiosphere/followers","following_url":"https://api.github.com/users/DataBiosphere/following{/other_user}","gists_url":"https://api.github.com/users/DataBiosphere/gists{/gist_id}","starred_url":"https://api.github.com/users/DataBiosphere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataBiosphere/subscriptions","organizations_url":"https://api.github.com/users/DataBiosphere/orgs","repos_url":"https://api.github.com/users/DataBiosphere/repos","events_url":"https://api.github.com/users/DataBiosphere/events{/privacy}","received_events_url":"https://api.github.com/users/DataBiosphere/received_events","type":"Organization","site_admin":false},"repo":{"id":132820416,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI4MjA0MTY=","name":"cgp-dss-data-loader","full_name":"DataBiosphere/cgp-dss-data-loader","owner":{"login":"DataBiosphere","id":32805087,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyODA1MDg3","avatar_url":"https://avatars0.githubusercontent.com/u/32805087?v=4","gravatar_id":"","url":"https://api.github.com/users/DataBiosphere","html_url":"https://github.com/DataBiosphere","followers_url":"https://api.github.com/users/DataBiosphere/followers","following_url":"https://api.github.com/users/DataBiosphere/following{/other_user}","gists_url":"https://api.github.com/users/DataBiosphere/gists{/gist_id}","starred_url":"https://api.github.com/users/DataBiosphere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataBiosphere/subscriptions","organizations_url":"https://api.github.com/users/DataBiosphere/orgs","repos_url":"https://api.github.com/users/DataBiosphere/repos","events_url":"https://api.github.com/users/DataBiosphere/events{/privacy}","received_events_url":"https://api.github.com/users/DataBiosphere/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DataBiosphere/cgp-dss-data-loader","description":"Simple data loader for CGP HCA Data Store","fork":false,"url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader","forks_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/forks","keys_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/teams","hooks_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/hooks","issue_events_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/issues/events{/number}","events_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/events","assignees_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/assignees{/user}","branches_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/branches{/branch}","tags_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/tags","blobs_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/git/refs{/sha}","trees_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/statuses/{sha}","languages_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/languages","stargazers_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/stargazers","contributors_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/contributors","subscribers_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/subscribers","subscription_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/subscription","commits_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/commits{/sha}","git_commits_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/git/commits{/sha}","comments_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/comments{/number}","issue_comment_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/issues/comments{/number}","contents_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/contents/{+path}","compare_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/merges","archive_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/downloads","issues_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/issues{/number}","pulls_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/pulls{/number}","milestones_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/milestones{/number}","notifications_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/labels{/name}","releases_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/releases{/id}","deployments_url":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/deployments","created_at":"2018-05-09T22:46:08Z","updated_at":"2018-06-07T20:05:14Z","pushed_at":"2018-06-19T20:34:09Z","git_url":"git://github.com/DataBiosphere/cgp-dss-data-loader.git","ssh_url":"git@github.com:DataBiosphere/cgp-dss-data-loader.git","clone_url":"https://github.com/DataBiosphere/cgp-dss-data-loader.git","svn_url":"https://github.com/DataBiosphere/cgp-dss-data-loader","homepage":null,"size":261,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2,"open_issues":11,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/pulls/19"},"html":{"href":"https://github.com/DataBiosphere/cgp-dss-data-loader/pull/19"},"issue":{"href":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/issues/19"},"comments":{"href":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/DataBiosphere/cgp-dss-data-loader/statuses/a957e8a6176a31224975ffc63f6cf58c0909fb1b"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":5,"additions":736,"deletions":97,"changed_files":9}}
{"actor":{"display_login":"jessebrennan"}}