{"action":"created","issue":{"url":"https://api.github.com/repos/ministryofjustice/prison-visits/issues/280","labels_url":"https://api.github.com/repos/ministryofjustice/prison-visits/issues/280/labels{/name}","comments_url":"https://api.github.com/repos/ministryofjustice/prison-visits/issues/280/comments","events_url":"https://api.github.com/repos/ministryofjustice/prison-visits/issues/280/events","html_url":"https://github.com/ministryofjustice/prison-visits/pull/280","id":104875090,"number":280,"title":"Add sidekiq web admin UI rackup script and required gems","user":{"login":"ashb","id":34150,"avatar_url":"https://avatars.githubusercontent.com/u/34150?v=3","gravatar_id":"","url":"https://api.github.com/users/ashb","html_url":"https://github.com/ashb","followers_url":"https://api.github.com/users/ashb/followers","following_url":"https://api.github.com/users/ashb/following{/other_user}","gists_url":"https://api.github.com/users/ashb/gists{/gist_id}","starred_url":"https://api.github.com/users/ashb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashb/subscriptions","organizations_url":"https://api.github.com/users/ashb/orgs","repos_url":"https://api.github.com/users/ashb/repos","events_url":"https://api.github.com/users/ashb/events{/privacy}","received_events_url":"https://api.github.com/users/ashb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-04T11:39:37Z","updated_at":"2015-09-04T11:55:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ministryofjustice/prison-visits/pulls/280","html_url":"https://github.com/ministryofjustice/prison-visits/pull/280","diff_url":"https://github.com/ministryofjustice/prison-visits/pull/280.diff","patch_url":"https://github.com/ministryofjustice/prison-visits/pull/280.patch"},"body":"Sidekiq has a nice admin interface that gives us queue status, and can review errors etc.\r\n\r\nRather than using basic auth we are going to put this behind an OAuth2 gateway (run separately) and configured in the load-balancer to live under /sidekiq.\r\n\r\nAlthough sidekiq is sinatra and could be mounted in the PVB app putting just one path behind OAuth would involve installing omniauth and we felt this was a smaller and safer change to make it happen this way. (It also means that there's less scope that a mistake in the config/routes.rb could open it up to the world, but that was not the driving factor behind doing it this way.)"},"comment":{"url":"https://api.github.com/repos/ministryofjustice/prison-visits/issues/comments/137716590","html_url":"https://github.com/ministryofjustice/prison-visits/pull/280#issuecomment-137716590","issue_url":"https://api.github.com/repos/ministryofjustice/prison-visits/issues/280","id":137716590,"user":{"login":"SteveMarshall","id":2210,"avatar_url":"https://avatars.githubusercontent.com/u/2210?v=3","gravatar_id":"","url":"https://api.github.com/users/SteveMarshall","html_url":"https://github.com/SteveMarshall","followers_url":"https://api.github.com/users/SteveMarshall/followers","following_url":"https://api.github.com/users/SteveMarshall/following{/other_user}","gists_url":"https://api.github.com/users/SteveMarshall/gists{/gist_id}","starred_url":"https://api.github.com/users/SteveMarshall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteveMarshall/subscriptions","organizations_url":"https://api.github.com/users/SteveMarshall/orgs","repos_url":"https://api.github.com/users/SteveMarshall/repos","events_url":"https://api.github.com/users/SteveMarshall/events{/privacy}","received_events_url":"https://api.github.com/users/SteveMarshall/received_events","type":"User","site_admin":false},"created_at":"2015-09-04T11:55:49Z","updated_at":"2015-09-04T11:55:49Z","body":"@pdb … and now master."}}