{"action":"created","issue":{"url":"https://api.github.com/repos/guardian/bonobo/issues/64","labels_url":"https://api.github.com/repos/guardian/bonobo/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/guardian/bonobo/issues/64/comments","events_url":"https://api.github.com/repos/guardian/bonobo/issues/64/events","html_url":"https://github.com/guardian/bonobo/pull/64","id":116611516,"number":64,"title":"Migrate endpoint","user":{"login":"marialivia16","id":5732563,"avatar_url":"https://avatars.githubusercontent.com/u/5732563?v=3","gravatar_id":"","url":"https://api.github.com/users/marialivia16","html_url":"https://github.com/marialivia16","followers_url":"https://api.github.com/users/marialivia16/followers","following_url":"https://api.github.com/users/marialivia16/following{/other_user}","gists_url":"https://api.github.com/users/marialivia16/gists{/gist_id}","starred_url":"https://api.github.com/users/marialivia16/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marialivia16/subscriptions","organizations_url":"https://api.github.com/users/marialivia16/orgs","repos_url":"https://api.github.com/users/marialivia16/repos","events_url":"https://api.github.com/users/marialivia16/events{/privacy}","received_events_url":"https://api.github.com/users/marialivia16/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/guardian/bonobo/labels/Not-ready-to-merge","name":"Not-ready-to-merge","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-12T18:32:49Z","updated_at":"2015-11-18T13:47:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/guardian/bonobo/pulls/64","html_url":"https://github.com/guardian/bonobo/pull/64","diff_url":"https://github.com/guardian/bonobo/pull/64.diff","patch_url":"https://github.com/guardian/bonobo/pull/64.patch"},"body":"- Start writing the migrate endpoint in `controllers/Migration.scala`. It hasn't been tested yet, but theoretically it should save a new consumer and key to Kong and then to DynamoDb. To do: check if the key is inactive.\r\n- Use enumeratum for Tier model.\r\n- Start writing tests: add a json example file.\r\n\r\n[Tests might fail at the moment]"},"comment":{"url":"https://api.github.com/repos/guardian/bonobo/issues/comments/157717957","html_url":"https://github.com/guardian/bonobo/pull/64#issuecomment-157717957","issue_url":"https://api.github.com/repos/guardian/bonobo/issues/64","id":157717957,"user":{"login":"cb372","id":106760,"avatar_url":"https://avatars.githubusercontent.com/u/106760?v=3","gravatar_id":"","url":"https://api.github.com/users/cb372","html_url":"https://github.com/cb372","followers_url":"https://api.github.com/users/cb372/followers","following_url":"https://api.github.com/users/cb372/following{/other_user}","gists_url":"https://api.github.com/users/cb372/gists{/gist_id}","starred_url":"https://api.github.com/users/cb372/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cb372/subscriptions","organizations_url":"https://api.github.com/users/cb372/orgs","repos_url":"https://api.github.com/users/cb372/repos","events_url":"https://api.github.com/users/cb372/events{/privacy}","received_events_url":"https://api.github.com/users/cb372/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T13:47:23Z","updated_at":"2015-11-18T13:47:23Z","body":"I'll review this after the changes in #65 have been applied and it merges cleanly."}}