{"action":"opened","issue":{"url":"https://api.github.com/repos/medic/medic-webapp/issues/2432","repository_url":"https://api.github.com/repos/medic/medic-webapp","labels_url":"https://api.github.com/repos/medic/medic-webapp/issues/2432/labels{/name}","comments_url":"https://api.github.com/repos/medic/medic-webapp/issues/2432/comments","events_url":"https://api.github.com/repos/medic/medic-webapp/issues/2432/events","html_url":"https://github.com/medic/medic-webapp/issues/2432","id":161900314,"number":2432,"title":"Remove XML parsing and replace it with JSON views","user":{"login":"SCdF","id":583851,"avatar_url":"https://avatars.githubusercontent.com/u/583851?v=3","gravatar_id":"","url":"https://api.github.com/users/SCdF","html_url":"https://github.com/SCdF","followers_url":"https://api.github.com/users/SCdF/followers","following_url":"https://api.github.com/users/SCdF/following{/other_user}","gists_url":"https://api.github.com/users/SCdF/gists{/gist_id}","starred_url":"https://api.github.com/users/SCdF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SCdF/subscriptions","organizations_url":"https://api.github.com/users/SCdF/orgs","repos_url":"https://api.github.com/users/SCdF/repos","events_url":"https://api.github.com/users/SCdF/events{/privacy}","received_events_url":"https://api.github.com/users/SCdF/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/medic/medic-webapp/labels/2%20-%20Active%20Work","name":"2 - Active Work","color":"bfd4f2"},{"url":"https://api.github.com/repos/medic/medic-webapp/labels/Feature%20Request","name":"Feature Request","color":"6fc5af"},{"url":"https://api.github.com/repos/medic/medic-webapp/labels/medic-analytics","name":"medic-analytics","color":"111111"},{"url":"https://api.github.com/repos/medic/medic-webapp/labels/Performance","name":"Performance","color":"f7c6c7"},{"url":"https://api.github.com/repos/medic/medic-webapp/labels/Technical%20Debt","name":"Technical Debt","color":"7a5887"}],"state":"open","locked":false,"assignee":{"login":"SCdF","id":583851,"avatar_url":"https://avatars.githubusercontent.com/u/583851?v=3","gravatar_id":"","url":"https://api.github.com/users/SCdF","html_url":"https://github.com/SCdF","followers_url":"https://api.github.com/users/SCdF/followers","following_url":"https://api.github.com/users/SCdF/following{/other_user}","gists_url":"https://api.github.com/users/SCdF/gists{/gist_id}","starred_url":"https://api.github.com/users/SCdF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SCdF/subscriptions","organizations_url":"https://api.github.com/users/SCdF/orgs","repos_url":"https://api.github.com/users/SCdF/repos","events_url":"https://api.github.com/users/SCdF/events{/privacy}","received_events_url":"https://api.github.com/users/SCdF/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/medic/medic-webapp/milestones/54","html_url":"https://github.com/medic/medic-webapp/milestones/June%2013th%20-%20June%2027th","labels_url":"https://api.github.com/repos/medic/medic-webapp/milestones/54/labels","id":1822322,"number":54,"title":"June 13th - June 27th","description":"","creator":{"login":"garethbowen","id":2064938,"avatar_url":"https://avatars.githubusercontent.com/u/2064938?v=3","gravatar_id":"","url":"https://api.github.com/users/garethbowen","html_url":"https://github.com/garethbowen","followers_url":"https://api.github.com/users/garethbowen/followers","following_url":"https://api.github.com/users/garethbowen/following{/other_user}","gists_url":"https://api.github.com/users/garethbowen/gists{/gist_id}","starred_url":"https://api.github.com/users/garethbowen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garethbowen/subscriptions","organizations_url":"https://api.github.com/users/garethbowen/orgs","repos_url":"https://api.github.com/users/garethbowen/repos","events_url":"https://api.github.com/users/garethbowen/events{/privacy}","received_events_url":"https://api.github.com/users/garethbowen/received_events","type":"User","site_admin":false},"open_issues":38,"closed_issues":33,"state":"open","created_at":"2016-06-12T20:18:42Z","updated_at":"2016-06-23T11:29:30Z","due_on":"2016-06-26T12:00:00Z","closed_at":null},"comments":0,"created_at":"2016-06-23T11:29:30Z","updated_at":"2016-06-23T11:29:30Z","closed_at":null,"body":"medic-analytics currently parses 2.6+ XML reports and uses that to generate tables. \r\n\r\nAfter looking into the medic-webapp codebase we discovered it doesn't need to do this, because we extract everything relevant out of the XML and put it into JSON anyway.\r\n\r\nThis means that it is possible to simply generate a view into the JSON instead of copying data from XML into tables.\r\n\r\nThis is much preferable:\r\n - It makes the importer faster\r\n - It makes the importer more stable (see #2431 and #2430 and sort of #2264)\r\n\r\nIt may reduce performance in actual analytics, but if this is the case we can change those views to be materialized and regenerate them at the end of every run."}}
{"actor":{"display_login":"SCdF"}}