{"action":"created","issue":{"url":"https://api.github.com/repos/cmbi/hommod-rest/issues/15","repository_url":"https://api.github.com/repos/cmbi/hommod-rest","labels_url":"https://api.github.com/repos/cmbi/hommod-rest/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/cmbi/hommod-rest/issues/15/comments","events_url":"https://api.github.com/repos/cmbi/hommod-rest/issues/15/events","html_url":"https://github.com/cmbi/hommod-rest/issues/15","id":179440623,"number":15,"title":"Add update mechanism","user":{"login":"jonblack","id":175080,"avatar_url":"https://avatars.githubusercontent.com/u/175080?v=3","gravatar_id":"","url":"https://api.github.com/users/jonblack","html_url":"https://github.com/jonblack","followers_url":"https://api.github.com/users/jonblack/followers","following_url":"https://api.github.com/users/jonblack/following{/other_user}","gists_url":"https://api.github.com/users/jonblack/gists{/gist_id}","starred_url":"https://api.github.com/users/jonblack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonblack/subscriptions","organizations_url":"https://api.github.com/users/jonblack/orgs","repos_url":"https://api.github.com/users/jonblack/repos","events_url":"https://api.github.com/users/jonblack/events{/privacy}","received_events_url":"https://api.github.com/users/jonblack/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-27T09:24:48Z","updated_at":"2016-12-12T09:54:41Z","closed_at":null,"body":"The update scripts produce models before they are needed so future requests are quick. When a model doesn't exist, it's produced on-the-fly which is time consuming.\n\nThe update script was being run on `bamboo` but the produced files were never used by the frontend on `chelonium`. The service has since been removed from bamboo because it makes more sense to run the script on chelonium.\n\nThe docker scripts need updating to add the updating as a separate process. Care needs to be taken to ensure it doesn't slow the machine down too much.\n"},"comment":{"url":"https://api.github.com/repos/cmbi/hommod-rest/issues/comments/266386332","html_url":"https://github.com/cmbi/hommod-rest/issues/15#issuecomment-266386332","issue_url":"https://api.github.com/repos/cmbi/hommod-rest/issues/15","id":266386332,"user":{"login":"cbaakman","id":5469619,"avatar_url":"https://avatars.githubusercontent.com/u/5469619?v=3","gravatar_id":"","url":"https://api.github.com/users/cbaakman","html_url":"https://github.com/cbaakman","followers_url":"https://api.github.com/users/cbaakman/followers","following_url":"https://api.github.com/users/cbaakman/following{/other_user}","gists_url":"https://api.github.com/users/cbaakman/gists{/gist_id}","starred_url":"https://api.github.com/users/cbaakman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbaakman/subscriptions","organizations_url":"https://api.github.com/users/cbaakman/orgs","repos_url":"https://api.github.com/users/cbaakman/repos","events_url":"https://api.github.com/users/cbaakman/events{/privacy}","received_events_url":"https://api.github.com/users/cbaakman/received_events","type":"User","site_admin":false},"created_at":"2016-12-12T09:54:41Z","updated_at":"2016-12-12T09:54:41Z","body":"APScheduler looks fine. Hommod rest knows what to update by looking at the mtime of the model archive files."}}
{"actor":{"display_login":"cbaakman"}}