{"action":"opened","number":5,"pull_request":{"url":"https://api.github.com/repos/ghrcdaac/cmr/pulls/5","id":85080511,"html_url":"https://github.com/ghrcdaac/cmr/pull/5","diff_url":"https://github.com/ghrcdaac/cmr/pull/5.diff","patch_url":"https://github.com/ghrcdaac/cmr/pull/5.patch","issue_url":"https://api.github.com/repos/ghrcdaac/cmr/issues/5","number":5,"state":"open","locked":false,"title":"Add integration tests, refactor CFG file","user":{"login":"mileswwatkins","id":4959135,"avatar_url":"https://avatars.githubusercontent.com/u/4959135?v=3","gravatar_id":"","url":"https://api.github.com/users/mileswwatkins","html_url":"https://github.com/mileswwatkins","followers_url":"https://api.github.com/users/mileswwatkins/followers","following_url":"https://api.github.com/users/mileswwatkins/following{/other_user}","gists_url":"https://api.github.com/users/mileswwatkins/gists{/gist_id}","starred_url":"https://api.github.com/users/mileswwatkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mileswwatkins/subscriptions","organizations_url":"https://api.github.com/users/mileswwatkins/orgs","repos_url":"https://api.github.com/users/mileswwatkins/repos","events_url":"https://api.github.com/users/mileswwatkins/events{/privacy}","received_events_url":"https://api.github.com/users/mileswwatkins/received_events","type":"User","site_admin":false},"body":"@amarouane, in updating pyCMR to add integration tests, I made _breaking changes_ to the CFG file structure.\r\n\r\nThese were necessary to expose specific pieces of information, such as which CMR host we're using, and also helped me rearrange the configuration variables into more logical homes (eg, putting the token in `[credentials]` and moving content-type to be shared among all requests). I was also able to refactor out some of the other values, and simplify the search URLs.","created_at":"2016-09-13T16:22:03Z","updated_at":"2016-09-13T16:22:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c3734f67784535f8ed8e839c10d16774796e3ada","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ghrcdaac/cmr/pulls/5/commits","review_comments_url":"https://api.github.com/repos/ghrcdaac/cmr/pulls/5/comments","review_comment_url":"https://api.github.com/repos/ghrcdaac/cmr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ghrcdaac/cmr/issues/5/comments","statuses_url":"https://api.github.com/repos/ghrcdaac/cmr/statuses/565aa918dffb6b0f877c0cefa412b6f395dbe42f","head":{"label":"cumulus-nasa:miles/feature/integration-tests","ref":"miles/feature/integration-tests","sha":"565aa918dffb6b0f877c0cefa412b6f395dbe42f","user":{"login":"cumulus-nasa","id":20669771,"avatar_url":"https://avatars.githubusercontent.com/u/20669771?v=3","gravatar_id":"","url":"https://api.github.com/users/cumulus-nasa","html_url":"https://github.com/cumulus-nasa","followers_url":"https://api.github.com/users/cumulus-nasa/followers","following_url":"https://api.github.com/users/cumulus-nasa/following{/other_user}","gists_url":"https://api.github.com/users/cumulus-nasa/gists{/gist_id}","starred_url":"https://api.github.com/users/cumulus-nasa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cumulus-nasa/subscriptions","organizations_url":"https://api.github.com/users/cumulus-nasa/orgs","repos_url":"https://api.github.com/users/cumulus-nasa/repos","events_url":"https://api.github.com/users/cumulus-nasa/events{/privacy}","received_events_url":"https://api.github.com/users/cumulus-nasa/received_events","type":"Organization","site_admin":false},"repo":{"id":66495041,"name":"cmr","full_name":"cumulus-nasa/cmr","owner":{"login":"cumulus-nasa","id":20669771,"avatar_url":"https://avatars.githubusercontent.com/u/20669771?v=3","gravatar_id":"","url":"https://api.github.com/users/cumulus-nasa","html_url":"https://github.com/cumulus-nasa","followers_url":"https://api.github.com/users/cumulus-nasa/followers","following_url":"https://api.github.com/users/cumulus-nasa/following{/other_user}","gists_url":"https://api.github.com/users/cumulus-nasa/gists{/gist_id}","starred_url":"https://api.github.com/users/cumulus-nasa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cumulus-nasa/subscriptions","organizations_url":"https://api.github.com/users/cumulus-nasa/orgs","repos_url":"https://api.github.com/users/cumulus-nasa/repos","events_url":"https://api.github.com/users/cumulus-nasa/events{/privacy}","received_events_url":"https://api.github.com/users/cumulus-nasa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cumulus-nasa/cmr","description":"Client for CMR APIs","fork":true,"url":"https://api.github.com/repos/cumulus-nasa/cmr","forks_url":"https://api.github.com/repos/cumulus-nasa/cmr/forks","keys_url":"https://api.github.com/repos/cumulus-nasa/cmr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cumulus-nasa/cmr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cumulus-nasa/cmr/teams","hooks_url":"https://api.github.com/repos/cumulus-nasa/cmr/hooks","issue_events_url":"https://api.github.com/repos/cumulus-nasa/cmr/issues/events{/number}","events_url":"https://api.github.com/repos/cumulus-nasa/cmr/events","assignees_url":"https://api.github.com/repos/cumulus-nasa/cmr/assignees{/user}","branches_url":"https://api.github.com/repos/cumulus-nasa/cmr/branches{/branch}","tags_url":"https://api.github.com/repos/cumulus-nasa/cmr/tags","blobs_url":"https://api.github.com/repos/cumulus-nasa/cmr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cumulus-nasa/cmr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cumulus-nasa/cmr/git/refs{/sha}","trees_url":"https://api.github.com/repos/cumulus-nasa/cmr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cumulus-nasa/cmr/statuses/{sha}","languages_url":"https://api.github.com/repos/cumulus-nasa/cmr/languages","stargazers_url":"https://api.github.com/repos/cumulus-nasa/cmr/stargazers","contributors_url":"https://api.github.com/repos/cumulus-nasa/cmr/contributors","subscribers_url":"https://api.github.com/repos/cumulus-nasa/cmr/subscribers","subscription_url":"https://api.github.com/repos/cumulus-nasa/cmr/subscription","commits_url":"https://api.github.com/repos/cumulus-nasa/cmr/commits{/sha}","git_commits_url":"https://api.github.com/repos/cumulus-nasa/cmr/git/commits{/sha}","comments_url":"https://api.github.com/repos/cumulus-nasa/cmr/comments{/number}","issue_comment_url":"https://api.github.com/repos/cumulus-nasa/cmr/issues/comments{/number}","contents_url":"https://api.github.com/repos/cumulus-nasa/cmr/contents/{+path}","compare_url":"https://api.github.com/repos/cumulus-nasa/cmr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cumulus-nasa/cmr/merges","archive_url":"https://api.github.com/repos/cumulus-nasa/cmr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cumulus-nasa/cmr/downloads","issues_url":"https://api.github.com/repos/cumulus-nasa/cmr/issues{/number}","pulls_url":"https://api.github.com/repos/cumulus-nasa/cmr/pulls{/number}","milestones_url":"https://api.github.com/repos/cumulus-nasa/cmr/milestones{/number}","notifications_url":"https://api.github.com/repos/cumulus-nasa/cmr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cumulus-nasa/cmr/labels{/name}","releases_url":"https://api.github.com/repos/cumulus-nasa/cmr/releases{/id}","deployments_url":"https://api.github.com/repos/cumulus-nasa/cmr/deployments","created_at":"2016-08-24T19:52:36Z","updated_at":"2016-08-24T19:52:37Z","pushed_at":"2016-09-13T16:11:18Z","git_url":"git://github.com/cumulus-nasa/cmr.git","ssh_url":"git@github.com:cumulus-nasa/cmr.git","clone_url":"https://github.com/cumulus-nasa/cmr.git","svn_url":"https://github.com/cumulus-nasa/cmr","homepage":null,"size":83,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"ghrcdaac:master","ref":"master","sha":"6782b993f41d86cdf427b77e7a32fcb67425360b","user":{"login":"ghrcdaac","id":18572004,"avatar_url":"https://avatars.githubusercontent.com/u/18572004?v=3","gravatar_id":"","url":"https://api.github.com/users/ghrcdaac","html_url":"https://github.com/ghrcdaac","followers_url":"https://api.github.com/users/ghrcdaac/followers","following_url":"https://api.github.com/users/ghrcdaac/following{/other_user}","gists_url":"https://api.github.com/users/ghrcdaac/gists{/gist_id}","starred_url":"https://api.github.com/users/ghrcdaac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghrcdaac/subscriptions","organizations_url":"https://api.github.com/users/ghrcdaac/orgs","repos_url":"https://api.github.com/users/ghrcdaac/repos","events_url":"https://api.github.com/users/ghrcdaac/events{/privacy}","received_events_url":"https://api.github.com/users/ghrcdaac/received_events","type":"User","site_admin":false},"repo":{"id":56676084,"name":"cmr","full_name":"ghrcdaac/cmr","owner":{"login":"ghrcdaac","id":18572004,"avatar_url":"https://avatars.githubusercontent.com/u/18572004?v=3","gravatar_id":"","url":"https://api.github.com/users/ghrcdaac","html_url":"https://github.com/ghrcdaac","followers_url":"https://api.github.com/users/ghrcdaac/followers","following_url":"https://api.github.com/users/ghrcdaac/following{/other_user}","gists_url":"https://api.github.com/users/ghrcdaac/gists{/gist_id}","starred_url":"https://api.github.com/users/ghrcdaac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghrcdaac/subscriptions","organizations_url":"https://api.github.com/users/ghrcdaac/orgs","repos_url":"https://api.github.com/users/ghrcdaac/repos","events_url":"https://api.github.com/users/ghrcdaac/events{/privacy}","received_events_url":"https://api.github.com/users/ghrcdaac/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ghrcdaac/cmr","description":"Client for CMR APIs","fork":false,"url":"https://api.github.com/repos/ghrcdaac/cmr","forks_url":"https://api.github.com/repos/ghrcdaac/cmr/forks","keys_url":"https://api.github.com/repos/ghrcdaac/cmr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ghrcdaac/cmr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ghrcdaac/cmr/teams","hooks_url":"https://api.github.com/repos/ghrcdaac/cmr/hooks","issue_events_url":"https://api.github.com/repos/ghrcdaac/cmr/issues/events{/number}","events_url":"https://api.github.com/repos/ghrcdaac/cmr/events","assignees_url":"https://api.github.com/repos/ghrcdaac/cmr/assignees{/user}","branches_url":"https://api.github.com/repos/ghrcdaac/cmr/branches{/branch}","tags_url":"https://api.github.com/repos/ghrcdaac/cmr/tags","blobs_url":"https://api.github.com/repos/ghrcdaac/cmr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ghrcdaac/cmr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ghrcdaac/cmr/git/refs{/sha}","trees_url":"https://api.github.com/repos/ghrcdaac/cmr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ghrcdaac/cmr/statuses/{sha}","languages_url":"https://api.github.com/repos/ghrcdaac/cmr/languages","stargazers_url":"https://api.github.com/repos/ghrcdaac/cmr/stargazers","contributors_url":"https://api.github.com/repos/ghrcdaac/cmr/contributors","subscribers_url":"https://api.github.com/repos/ghrcdaac/cmr/subscribers","subscription_url":"https://api.github.com/repos/ghrcdaac/cmr/subscription","commits_url":"https://api.github.com/repos/ghrcdaac/cmr/commits{/sha}","git_commits_url":"https://api.github.com/repos/ghrcdaac/cmr/git/commits{/sha}","comments_url":"https://api.github.com/repos/ghrcdaac/cmr/comments{/number}","issue_comment_url":"https://api.github.com/repos/ghrcdaac/cmr/issues/comments{/number}","contents_url":"https://api.github.com/repos/ghrcdaac/cmr/contents/{+path}","compare_url":"https://api.github.com/repos/ghrcdaac/cmr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ghrcdaac/cmr/merges","archive_url":"https://api.github.com/repos/ghrcdaac/cmr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ghrcdaac/cmr/downloads","issues_url":"https://api.github.com/repos/ghrcdaac/cmr/issues{/number}","pulls_url":"https://api.github.com/repos/ghrcdaac/cmr/pulls{/number}","milestones_url":"https://api.github.com/repos/ghrcdaac/cmr/milestones{/number}","notifications_url":"https://api.github.com/repos/ghrcdaac/cmr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ghrcdaac/cmr/labels{/name}","releases_url":"https://api.github.com/repos/ghrcdaac/cmr/releases{/id}","deployments_url":"https://api.github.com/repos/ghrcdaac/cmr/deployments","created_at":"2016-04-20T09:59:29Z","updated_at":"2016-08-24T18:35:57Z","pushed_at":"2016-09-13T16:22:03Z","git_url":"git://github.com/ghrcdaac/cmr.git","ssh_url":"git@github.com:ghrcdaac/cmr.git","clone_url":"https://github.com/ghrcdaac/cmr.git","svn_url":"https://github.com/ghrcdaac/cmr","homepage":null,"size":72,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ghrcdaac/cmr/pulls/5"},"html":{"href":"https://github.com/ghrcdaac/cmr/pull/5"},"issue":{"href":"https://api.github.com/repos/ghrcdaac/cmr/issues/5"},"comments":{"href":"https://api.github.com/repos/ghrcdaac/cmr/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/ghrcdaac/cmr/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/ghrcdaac/cmr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ghrcdaac/cmr/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/ghrcdaac/cmr/statuses/565aa918dffb6b0f877c0cefa412b6f395dbe42f"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":178,"deletions":122,"changed_files":9}}
{"actor":{"display_login":"mileswwatkins"}}