{"action":"created","issue":{"url":"https://api.github.com/repos/aodn/aatams/issues/227","labels_url":"https://api.github.com/repos/aodn/aatams/issues/227/labels{/name}","comments_url":"https://api.github.com/repos/aodn/aatams/issues/227/comments","events_url":"https://api.github.com/repos/aodn/aatams/issues/227/events","html_url":"https://github.com/aodn/aatams/pull/227","id":91184907,"number":227,"title":"Device status now represented as an enum type","user":{"login":"jkburges","id":1849176,"avatar_url":"https://avatars.githubusercontent.com/u/1849176?v=3","gravatar_id":"","url":"https://api.github.com/users/jkburges","html_url":"https://github.com/jkburges","followers_url":"https://api.github.com/users/jkburges/followers","following_url":"https://api.github.com/users/jkburges/following{/other_user}","gists_url":"https://api.github.com/users/jkburges/gists{/gist_id}","starred_url":"https://api.github.com/users/jkburges/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkburges/subscriptions","organizations_url":"https://api.github.com/users/jkburges/orgs","repos_url":"https://api.github.com/users/jkburges/repos","events_url":"https://api.github.com/users/jkburges/events{/privacy}","received_events_url":"https://api.github.com/users/jkburges/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aodn/aatams/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-26T08:04:58Z","updated_at":"2015-06-29T01:55:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/aodn/aatams/pulls/227","html_url":"https://github.com/aodn/aatams/pull/227","diff_url":"https://github.com/aodn/aatams/pull/227.diff","patch_url":"https://github.com/aodn/aatams/pull/227.patch"},"body":"... rather than a database type.\r\nThis is in order to simplify code surrounding device statuses, e.g. the bug fixing which is currently happening around overlapping deployment invalidation.\r\n\r\nIt comes at the cost of it now being harder to add/edit device statuses (i.e. it requires a code change), but the set of statuses has been stable for quite some time, so we can probably live with it."},"comment":{"url":"https://api.github.com/repos/aodn/aatams/issues/comments/116373486","html_url":"https://github.com/aodn/aatams/pull/227#issuecomment-116373486","issue_url":"https://api.github.com/repos/aodn/aatams/issues/227","id":116373486,"user":{"login":"dnahodil","id":2774917,"avatar_url":"https://avatars.githubusercontent.com/u/2774917?v=3","gravatar_id":"","url":"https://api.github.com/users/dnahodil","html_url":"https://github.com/dnahodil","followers_url":"https://api.github.com/users/dnahodil/followers","following_url":"https://api.github.com/users/dnahodil/following{/other_user}","gists_url":"https://api.github.com/users/dnahodil/gists{/gist_id}","starred_url":"https://api.github.com/users/dnahodil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnahodil/subscriptions","organizations_url":"https://api.github.com/users/dnahodil/orgs","repos_url":"https://api.github.com/users/dnahodil/repos","events_url":"https://api.github.com/users/dnahodil/events{/privacy}","received_events_url":"https://api.github.com/users/dnahodil/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T01:55:49Z","updated_at":"2015-06-29T01:55:49Z","body":"As expected this makes things much tidier. Nice one."}}