{"action":"closed","number":259,"pull_request":{"url":"https://api.github.com/repos/project-koku/masu/pulls/259","id":230897718,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMwODk3NzE4","html_url":"https://github.com/project-koku/masu/pull/259","diff_url":"https://github.com/project-koku/masu/pull/259.diff","patch_url":"https://github.com/project-koku/masu/pull/259.patch","issue_url":"https://api.github.com/repos/project-koku/masu/issues/259","number":259,"state":"closed","locked":false,"title":"Updating OCP fixed rate charge calculation with latest db schema","user":{"login":"dccurtis","id":4523309,"node_id":"MDQ6VXNlcjQ1MjMzMDk=","avatar_url":"https://avatars0.githubusercontent.com/u/4523309?v=4","gravatar_id":"","url":"https://api.github.com/users/dccurtis","html_url":"https://github.com/dccurtis","followers_url":"https://api.github.com/users/dccurtis/followers","following_url":"https://api.github.com/users/dccurtis/following{/other_user}","gists_url":"https://api.github.com/users/dccurtis/gists{/gist_id}","starred_url":"https://api.github.com/users/dccurtis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dccurtis/subscriptions","organizations_url":"https://api.github.com/users/dccurtis/orgs","repos_url":"https://api.github.com/users/dccurtis/repos","events_url":"https://api.github.com/users/dccurtis/events{/privacy}","received_events_url":"https://api.github.com/users/dccurtis/received_events","type":"User","site_admin":false},"body":"Updating masu fixed rate charge calculation to handle provider-specific rates and other changes to accommodate latest db schema.\r\n\r\n**Testing**\r\n1. Add an OCP provider upload data to upload service\r\n2.  Add memory and cpu rates in koku\r\n3. Download/Ingest/Process from masu\r\n4. Confirm Koku API charge information is present\r\n\r\n**Test Results**\r\n[masu_fixed_rate_db_update_ut.txt](https://github.com/project-koku/masu/files/2581639/masu_fixed_rate_db_update_ut.txt)\r\n","created_at":"2018-11-14T16:25:13Z","updated_at":"2018-11-14T20:30:52Z","closed_at":"2018-11-14T20:30:51Z","merged_at":"2018-11-14T20:30:51Z","merge_commit_sha":"0cf40a6b73687cba4138257ed1330aad4e6d30ce","assignee":{"login":"dccurtis","id":4523309,"node_id":"MDQ6VXNlcjQ1MjMzMDk=","avatar_url":"https://avatars0.githubusercontent.com/u/4523309?v=4","gravatar_id":"","url":"https://api.github.com/users/dccurtis","html_url":"https://github.com/dccurtis","followers_url":"https://api.github.com/users/dccurtis/followers","following_url":"https://api.github.com/users/dccurtis/following{/other_user}","gists_url":"https://api.github.com/users/dccurtis/gists{/gist_id}","starred_url":"https://api.github.com/users/dccurtis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dccurtis/subscriptions","organizations_url":"https://api.github.com/users/dccurtis/orgs","repos_url":"https://api.github.com/users/dccurtis/repos","events_url":"https://api.github.com/users/dccurtis/events{/privacy}","received_events_url":"https://api.github.com/users/dccurtis/received_events","type":"User","site_admin":false},"assignees":[{"login":"dccurtis","id":4523309,"node_id":"MDQ6VXNlcjQ1MjMzMDk=","avatar_url":"https://avatars0.githubusercontent.com/u/4523309?v=4","gravatar_id":"","url":"https://api.github.com/users/dccurtis","html_url":"https://github.com/dccurtis","followers_url":"https://api.github.com/users/dccurtis/followers","following_url":"https://api.github.com/users/dccurtis/following{/other_user}","gists_url":"https://api.github.com/users/dccurtis/gists{/gist_id}","starred_url":"https://api.github.com/users/dccurtis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dccurtis/subscriptions","organizations_url":"https://api.github.com/users/dccurtis/orgs","repos_url":"https://api.github.com/users/dccurtis/repos","events_url":"https://api.github.com/users/dccurtis/events{/privacy}","received_events_url":"https://api.github.com/users/dccurtis/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":927870949,"node_id":"MDU6TGFiZWw5Mjc4NzA5NDk=","url":"https://api.github.com/repos/project-koku/masu/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"milestone":{"url":"https://api.github.com/repos/project-koku/masu/milestones/13","html_url":"https://github.com/project-koku/masu/milestone/13","labels_url":"https://api.github.com/repos/project-koku/masu/milestones/13/labels","id":3652514,"node_id":"MDk6TWlsZXN0b25lMzY1MjUxNA==","number":13,"title":"Sprint 13","description":"","creator":{"login":"chambridge","id":29379759,"node_id":"MDQ6VXNlcjI5Mzc5NzU5","avatar_url":"https://avatars3.githubusercontent.com/u/29379759?v=4","gravatar_id":"","url":"https://api.github.com/users/chambridge","html_url":"https://github.com/chambridge","followers_url":"https://api.github.com/users/chambridge/followers","following_url":"https://api.github.com/users/chambridge/following{/other_user}","gists_url":"https://api.github.com/users/chambridge/gists{/gist_id}","starred_url":"https://api.github.com/users/chambridge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chambridge/subscriptions","organizations_url":"https://api.github.com/users/chambridge/orgs","repos_url":"https://api.github.com/users/chambridge/repos","events_url":"https://api.github.com/users/chambridge/events{/privacy}","received_events_url":"https://api.github.com/users/chambridge/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2018-09-13T17:54:33Z","updated_at":"2018-11-14T20:30:51Z","due_on":"2018-11-23T08:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/project-koku/masu/pulls/259/commits","review_comments_url":"https://api.github.com/repos/project-koku/masu/pulls/259/comments","review_comment_url":"https://api.github.com/repos/project-koku/masu/pulls/comments{/number}","comments_url":"https://api.github.com/repos/project-koku/masu/issues/259/comments","statuses_url":"https://api.github.com/repos/project-koku/masu/statuses/675fbeba28b7a4b82a304ceeae7ef372e1faf5ca","head":{"label":"dccurtis:ocp_tiers_no_uuid","ref":"ocp_tiers_no_uuid","sha":"675fbeba28b7a4b82a304ceeae7ef372e1faf5ca","user":{"login":"dccurtis","id":4523309,"node_id":"MDQ6VXNlcjQ1MjMzMDk=","avatar_url":"https://avatars0.githubusercontent.com/u/4523309?v=4","gravatar_id":"","url":"https://api.github.com/users/dccurtis","html_url":"https://github.com/dccurtis","followers_url":"https://api.github.com/users/dccurtis/followers","following_url":"https://api.github.com/users/dccurtis/following{/other_user}","gists_url":"https://api.github.com/users/dccurtis/gists{/gist_id}","starred_url":"https://api.github.com/users/dccurtis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dccurtis/subscriptions","organizations_url":"https://api.github.com/users/dccurtis/orgs","repos_url":"https://api.github.com/users/dccurtis/repos","events_url":"https://api.github.com/users/dccurtis/events{/privacy}","received_events_url":"https://api.github.com/users/dccurtis/received_events","type":"User","site_admin":false},"repo":{"id":147553216,"node_id":"MDEwOlJlcG9zaXRvcnkxNDc1NTMyMTY=","name":"masu","full_name":"dccurtis/masu","private":false,"owner":{"login":"dccurtis","id":4523309,"node_id":"MDQ6VXNlcjQ1MjMzMDk=","avatar_url":"https://avatars0.githubusercontent.com/u/4523309?v=4","gravatar_id":"","url":"https://api.github.com/users/dccurtis","html_url":"https://github.com/dccurtis","followers_url":"https://api.github.com/users/dccurtis/followers","following_url":"https://api.github.com/users/dccurtis/following{/other_user}","gists_url":"https://api.github.com/users/dccurtis/gists{/gist_id}","starred_url":"https://api.github.com/users/dccurtis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dccurtis/subscriptions","organizations_url":"https://api.github.com/users/dccurtis/orgs","repos_url":"https://api.github.com/users/dccurtis/repos","events_url":"https://api.github.com/users/dccurtis/events{/privacy}","received_events_url":"https://api.github.com/users/dccurtis/received_events","type":"User","site_admin":false},"html_url":"https://github.com/dccurtis/masu","description":"Data ingestion engine for project-koku","fork":true,"url":"https://api.github.com/repos/dccurtis/masu","forks_url":"https://api.github.com/repos/dccurtis/masu/forks","keys_url":"https://api.github.com/repos/dccurtis/masu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dccurtis/masu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dccurtis/masu/teams","hooks_url":"https://api.github.com/repos/dccurtis/masu/hooks","issue_events_url":"https://api.github.com/repos/dccurtis/masu/issues/events{/number}","events_url":"https://api.github.com/repos/dccurtis/masu/events","assignees_url":"https://api.github.com/repos/dccurtis/masu/assignees{/user}","branches_url":"https://api.github.com/repos/dccurtis/masu/branches{/branch}","tags_url":"https://api.github.com/repos/dccurtis/masu/tags","blobs_url":"https://api.github.com/repos/dccurtis/masu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dccurtis/masu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dccurtis/masu/git/refs{/sha}","trees_url":"https://api.github.com/repos/dccurtis/masu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dccurtis/masu/statuses/{sha}","languages_url":"https://api.github.com/repos/dccurtis/masu/languages","stargazers_url":"https://api.github.com/repos/dccurtis/masu/stargazers","contributors_url":"https://api.github.com/repos/dccurtis/masu/contributors","subscribers_url":"https://api.github.com/repos/dccurtis/masu/subscribers","subscription_url":"https://api.github.com/repos/dccurtis/masu/subscription","commits_url":"https://api.github.com/repos/dccurtis/masu/commits{/sha}","git_commits_url":"https://api.github.com/repos/dccurtis/masu/git/commits{/sha}","comments_url":"https://api.github.com/repos/dccurtis/masu/comments{/number}","issue_comment_url":"https://api.github.com/repos/dccurtis/masu/issues/comments{/number}","contents_url":"https://api.github.com/repos/dccurtis/masu/contents/{+path}","compare_url":"https://api.github.com/repos/dccurtis/masu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dccurtis/masu/merges","archive_url":"https://api.github.com/repos/dccurtis/masu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dccurtis/masu/downloads","issues_url":"https://api.github.com/repos/dccurtis/masu/issues{/number}","pulls_url":"https://api.github.com/repos/dccurtis/masu/pulls{/number}","milestones_url":"https://api.github.com/repos/dccurtis/masu/milestones{/number}","notifications_url":"https://api.github.com/repos/dccurtis/masu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dccurtis/masu/labels{/name}","releases_url":"https://api.github.com/repos/dccurtis/masu/releases{/id}","deployments_url":"https://api.github.com/repos/dccurtis/masu/deployments","created_at":"2018-09-05T17:12:51Z","updated_at":"2018-11-13T16:55:18Z","pushed_at":"2018-11-14T16:15:38Z","git_url":"git://github.com/dccurtis/masu.git","ssh_url":"git@github.com:dccurtis/masu.git","clone_url":"https://github.com/dccurtis/masu.git","svn_url":"https://github.com/dccurtis/masu","homepage":null,"size":3950,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"project-koku:master","ref":"master","sha":"ff0d8b18901948ce3fd878752999050353d1a6f6","user":{"login":"project-koku","id":37702693,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3NzAyNjkz","avatar_url":"https://avatars1.githubusercontent.com/u/37702693?v=4","gravatar_id":"","url":"https://api.github.com/users/project-koku","html_url":"https://github.com/project-koku","followers_url":"https://api.github.com/users/project-koku/followers","following_url":"https://api.github.com/users/project-koku/following{/other_user}","gists_url":"https://api.github.com/users/project-koku/gists{/gist_id}","starred_url":"https://api.github.com/users/project-koku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/project-koku/subscriptions","organizations_url":"https://api.github.com/users/project-koku/orgs","repos_url":"https://api.github.com/users/project-koku/repos","events_url":"https://api.github.com/users/project-koku/events{/privacy}","received_events_url":"https://api.github.com/users/project-koku/received_events","type":"Organization","site_admin":false},"repo":{"id":132777214,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI3NzcyMTQ=","name":"masu","full_name":"project-koku/masu","private":false,"owner":{"login":"project-koku","id":37702693,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3NzAyNjkz","avatar_url":"https://avatars1.githubusercontent.com/u/37702693?v=4","gravatar_id":"","url":"https://api.github.com/users/project-koku","html_url":"https://github.com/project-koku","followers_url":"https://api.github.com/users/project-koku/followers","following_url":"https://api.github.com/users/project-koku/following{/other_user}","gists_url":"https://api.github.com/users/project-koku/gists{/gist_id}","starred_url":"https://api.github.com/users/project-koku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/project-koku/subscriptions","organizations_url":"https://api.github.com/users/project-koku/orgs","repos_url":"https://api.github.com/users/project-koku/repos","events_url":"https://api.github.com/users/project-koku/events{/privacy}","received_events_url":"https://api.github.com/users/project-koku/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/project-koku/masu","description":"Data ingestion engine for project-koku","fork":false,"url":"https://api.github.com/repos/project-koku/masu","forks_url":"https://api.github.com/repos/project-koku/masu/forks","keys_url":"https://api.github.com/repos/project-koku/masu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/project-koku/masu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/project-koku/masu/teams","hooks_url":"https://api.github.com/repos/project-koku/masu/hooks","issue_events_url":"https://api.github.com/repos/project-koku/masu/issues/events{/number}","events_url":"https://api.github.com/repos/project-koku/masu/events","assignees_url":"https://api.github.com/repos/project-koku/masu/assignees{/user}","branches_url":"https://api.github.com/repos/project-koku/masu/branches{/branch}","tags_url":"https://api.github.com/repos/project-koku/masu/tags","blobs_url":"https://api.github.com/repos/project-koku/masu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/project-koku/masu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/project-koku/masu/git/refs{/sha}","trees_url":"https://api.github.com/repos/project-koku/masu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/project-koku/masu/statuses/{sha}","languages_url":"https://api.github.com/repos/project-koku/masu/languages","stargazers_url":"https://api.github.com/repos/project-koku/masu/stargazers","contributors_url":"https://api.github.com/repos/project-koku/masu/contributors","subscribers_url":"https://api.github.com/repos/project-koku/masu/subscribers","subscription_url":"https://api.github.com/repos/project-koku/masu/subscription","commits_url":"https://api.github.com/repos/project-koku/masu/commits{/sha}","git_commits_url":"https://api.github.com/repos/project-koku/masu/git/commits{/sha}","comments_url":"https://api.github.com/repos/project-koku/masu/comments{/number}","issue_comment_url":"https://api.github.com/repos/project-koku/masu/issues/comments{/number}","contents_url":"https://api.github.com/repos/project-koku/masu/contents/{+path}","compare_url":"https://api.github.com/repos/project-koku/masu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/project-koku/masu/merges","archive_url":"https://api.github.com/repos/project-koku/masu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/project-koku/masu/downloads","issues_url":"https://api.github.com/repos/project-koku/masu/issues{/number}","pulls_url":"https://api.github.com/repos/project-koku/masu/pulls{/number}","milestones_url":"https://api.github.com/repos/project-koku/masu/milestones{/number}","notifications_url":"https://api.github.com/repos/project-koku/masu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/project-koku/masu/labels{/name}","releases_url":"https://api.github.com/repos/project-koku/masu/releases{/id}","deployments_url":"https://api.github.com/repos/project-koku/masu/deployments","created_at":"2018-05-09T15:28:45Z","updated_at":"2018-11-09T20:55:27Z","pushed_at":"2018-11-14T20:30:51Z","git_url":"git://github.com/project-koku/masu.git","ssh_url":"git@github.com:project-koku/masu.git","clone_url":"https://github.com/project-koku/masu.git","svn_url":"https://github.com/project-koku/masu","homepage":null,"size":3792,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":28,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":4,"open_issues":28,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/project-koku/masu/pulls/259"},"html":{"href":"https://github.com/project-koku/masu/pull/259"},"issue":{"href":"https://api.github.com/repos/project-koku/masu/issues/259"},"comments":{"href":"https://api.github.com/repos/project-koku/masu/issues/259/comments"},"review_comments":{"href":"https://api.github.com/repos/project-koku/masu/pulls/259/comments"},"review_comment":{"href":"https://api.github.com/repos/project-koku/masu/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/project-koku/masu/pulls/259/commits"},"statuses":{"href":"https://api.github.com/repos/project-koku/masu/statuses/675fbeba28b7a4b82a304ceeae7ef372e1faf5ca"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"dccurtis","id":4523309,"node_id":"MDQ6VXNlcjQ1MjMzMDk=","avatar_url":"https://avatars0.githubusercontent.com/u/4523309?v=4","gravatar_id":"","url":"https://api.github.com/users/dccurtis","html_url":"https://github.com/dccurtis","followers_url":"https://api.github.com/users/dccurtis/followers","following_url":"https://api.github.com/users/dccurtis/following{/other_user}","gists_url":"https://api.github.com/users/dccurtis/gists{/gist_id}","starred_url":"https://api.github.com/users/dccurtis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dccurtis/subscriptions","organizations_url":"https://api.github.com/users/dccurtis/orgs","repos_url":"https://api.github.com/users/dccurtis/repos","events_url":"https://api.github.com/users/dccurtis/events{/privacy}","received_events_url":"https://api.github.com/users/dccurtis/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":435,"deletions":345,"changed_files":16}}
{"actor":{"display_login":"dccurtis"}}