{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/fxa-email-service/issues/166","repository_url":"https://api.github.com/repos/mozilla/fxa-email-service","labels_url":"https://api.github.com/repos/mozilla/fxa-email-service/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/fxa-email-service/issues/166/comments","events_url":"https://api.github.com/repos/mozilla/fxa-email-service/issues/166/events","html_url":"https://github.com/mozilla/fxa-email-service/issues/166","id":349689623,"node_id":"MDU6SXNzdWUzNDk2ODk2MjM=","number":166,"title":"Migrate away from using fxa-auth-db's database & schema","user":{"login":"jbuck","id":578466,"node_id":"MDQ6VXNlcjU3ODQ2Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/578466?v=4","gravatar_id":"","url":"https://api.github.com/users/jbuck","html_url":"https://github.com/jbuck","followers_url":"https://api.github.com/users/jbuck/followers","following_url":"https://api.github.com/users/jbuck/following{/other_user}","gists_url":"https://api.github.com/users/jbuck/gists{/gist_id}","starred_url":"https://api.github.com/users/jbuck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbuck/subscriptions","organizations_url":"https://api.github.com/users/jbuck/orgs","repos_url":"https://api.github.com/users/jbuck/repos","events_url":"https://api.github.com/users/jbuck/events{/privacy}","received_events_url":"https://api.github.com/users/jbuck/received_events","type":"User","site_admin":false},"labels":[{"id":1059588940,"node_id":"MDU6TGFiZWwxMDU5NTg4OTQw","url":"https://api.github.com/repos/mozilla/fxa-email-service/labels/train-124","name":"train-124","color":"d4c5f9","default":false},{"id":913435109,"node_id":"MDU6TGFiZWw5MTM0MzUxMDk=","url":"https://api.github.com/repos/mozilla/fxa-email-service/labels/waffle:active","name":"waffle:active","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"philbooth","id":64367,"node_id":"MDQ6VXNlcjY0MzY3","avatar_url":"https://avatars2.githubusercontent.com/u/64367?v=4","gravatar_id":"","url":"https://api.github.com/users/philbooth","html_url":"https://github.com/philbooth","followers_url":"https://api.github.com/users/philbooth/followers","following_url":"https://api.github.com/users/philbooth/following{/other_user}","gists_url":"https://api.github.com/users/philbooth/gists{/gist_id}","starred_url":"https://api.github.com/users/philbooth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philbooth/subscriptions","organizations_url":"https://api.github.com/users/philbooth/orgs","repos_url":"https://api.github.com/users/philbooth/repos","events_url":"https://api.github.com/users/philbooth/events{/privacy}","received_events_url":"https://api.github.com/users/philbooth/received_events","type":"User","site_admin":false},"assignees":[{"login":"philbooth","id":64367,"node_id":"MDQ6VXNlcjY0MzY3","avatar_url":"https://avatars2.githubusercontent.com/u/64367?v=4","gravatar_id":"","url":"https://api.github.com/users/philbooth","html_url":"https://github.com/philbooth","followers_url":"https://api.github.com/users/philbooth/followers","following_url":"https://api.github.com/users/philbooth/following{/other_user}","gists_url":"https://api.github.com/users/philbooth/gists{/gist_id}","starred_url":"https://api.github.com/users/philbooth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philbooth/subscriptions","organizations_url":"https://api.github.com/users/philbooth/orgs","repos_url":"https://api.github.com/users/philbooth/repos","events_url":"https://api.github.com/users/philbooth/events{/privacy}","received_events_url":"https://api.github.com/users/philbooth/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/mozilla/fxa-email-service/milestones/1","html_url":"https://github.com/mozilla/fxa-email-service/milestone/1","labels_url":"https://api.github.com/repos/mozilla/fxa-email-service/milestones/1/labels","id":3295646,"node_id":"MDk6TWlsZXN0b25lMzI5NTY0Ng==","number":1,"title":"FxA-151: Email deliverability","description":"Send 100% of traffic via the email service, further decouple it from the auth server and fully enable alternative providers (including metrics).","creator":{"login":"philbooth","id":64367,"node_id":"MDQ6VXNlcjY0MzY3","avatar_url":"https://avatars2.githubusercontent.com/u/64367?v=4","gravatar_id":"","url":"https://api.github.com/users/philbooth","html_url":"https://github.com/philbooth","followers_url":"https://api.github.com/users/philbooth/followers","following_url":"https://api.github.com/users/philbooth/following{/other_user}","gists_url":"https://api.github.com/users/philbooth/gists{/gist_id}","starred_url":"https://api.github.com/users/philbooth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philbooth/subscriptions","organizations_url":"https://api.github.com/users/philbooth/orgs","repos_url":"https://api.github.com/users/philbooth/repos","events_url":"https://api.github.com/users/philbooth/events{/privacy}","received_events_url":"https://api.github.com/users/philbooth/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":53,"state":"open","created_at":"2018-04-25T09:32:29Z","updated_at":"2018-10-04T06:49:30Z","due_on":"2018-12-21T08:00:00Z","closed_at":null},"comments":12,"created_at":"2018-08-11T00:15:04Z","updated_at":"2018-10-04T10:55:56Z","closed_at":null,"author_association":"MEMBER","body":"There's two parts to this:\r\n\r\n1) From an operational POV, once we're only using fxa-email-service in production we can spin up a new database rather than reusing the fxa-auth-db's database.\r\n2) It'd be good to add database migrations to this repo at that point in time"},"comment":{"url":"https://api.github.com/repos/mozilla/fxa-email-service/issues/comments/426974642","html_url":"https://github.com/mozilla/fxa-email-service/issues/166#issuecomment-426974642","issue_url":"https://api.github.com/repos/mozilla/fxa-email-service/issues/166","id":426974642,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjk3NDY0Mg==","user":{"login":"philbooth","id":64367,"node_id":"MDQ6VXNlcjY0MzY3","avatar_url":"https://avatars2.githubusercontent.com/u/64367?v=4","gravatar_id":"","url":"https://api.github.com/users/philbooth","html_url":"https://github.com/philbooth","followers_url":"https://api.github.com/users/philbooth/followers","following_url":"https://api.github.com/users/philbooth/following{/other_user}","gists_url":"https://api.github.com/users/philbooth/gists{/gist_id}","starred_url":"https://api.github.com/users/philbooth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philbooth/subscriptions","organizations_url":"https://api.github.com/users/philbooth/orgs","repos_url":"https://api.github.com/users/philbooth/repos","events_url":"https://api.github.com/users/philbooth/events{/privacy}","received_events_url":"https://api.github.com/users/philbooth/received_events","type":"User","site_admin":false},"created_at":"2018-10-04T10:55:56Z","updated_at":"2018-10-04T10:55:56Z","author_association":"MEMBER","body":"Although I've been working on this and have a patch that's nearly ready for review, there's some ops-related stuff that needs to happen before things can take effect in prod:\r\n\r\n* Set up notification queues in dev, stage and prod for communication between the email service and the auth server. This is so that, when the email service starts processing bounce, complaint and delivery events, it can tell the auth server to log metrics (which is FxA-specific logic).\r\n\r\n* Tweak the auth server so that it listens to the new notification queue and doesn't do any of the db-related activity associated with handling bounce, complaint and delivery events. Instead it will just log metrics data.\r\n\r\n* Deploy the queues binary from this repo and configure it to point at the notification queue.\r\n\r\nSome of these things need to happen simultaneously and some are pre-requisites for others, so I'll need to co-ordinate with @jrgm when I get back from PTO about when the convenient time to do it all is, what order to do it in and how we can test whether it's working when it's done.\r\n\r\nJust wanted to get it written down somewhere now as I realised it's only in my head at that moment."}}
{"actor":{"display_login":"philbooth"}}