{"action":"created","issue":{"url":"https://api.github.com/repos/SUSE/Portus/issues/363","labels_url":"https://api.github.com/repos/SUSE/Portus/issues/363/labels{/name}","comments_url":"https://api.github.com/repos/SUSE/Portus/issues/363/comments","events_url":"https://api.github.com/repos/SUSE/Portus/issues/363/events","html_url":"https://github.com/SUSE/Portus/pull/363","id":107915245,"number":363,"title":"Added SSL support for the communication between Portus and the registry","user":{"login":"mssola","id":767943,"avatar_url":"https://avatars.githubusercontent.com/u/767943?v=3","gravatar_id":"","url":"https://api.github.com/users/mssola","html_url":"https://github.com/mssola","followers_url":"https://api.github.com/users/mssola/followers","following_url":"https://api.github.com/users/mssola/following{/other_user}","gists_url":"https://api.github.com/users/mssola/gists{/gist_id}","starred_url":"https://api.github.com/users/mssola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mssola/subscriptions","organizations_url":"https://api.github.com/users/mssola/orgs","repos_url":"https://api.github.com/users/mssola/repos","events_url":"https://api.github.com/users/mssola/events{/privacy}","received_events_url":"https://api.github.com/users/mssola/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-23T13:08:49Z","updated_at":"2015-09-23T13:14:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SUSE/Portus/pulls/363","html_url":"https://github.com/SUSE/Portus/pull/363","diff_url":"https://github.com/SUSE/Portus/pull/363.diff","patch_url":"https://github.com/SUSE/Portus/pull/363.patch"},"body":"This fixes some known issues like the setup of the appliance, in which the\r\nPortus instance and the registry just couldn't speak to each other.\r\n\r\nIn order to do this, the `use_ssl` attribute has been introduced. This\r\nattribute can be changed in the \"registries#show\" page in the form of a toggle\r\nbox. There's also a checkbox that allows the admin to set `use_ssl` as true\r\nwhen creating a new registry.\r\n\r\nMoreover, this commit also brings some needed cleaning in regards to classes\r\ndealing with registries.\r\n\r\nFixes #362\r\n\r\nSigned-off-by: Miquel Sabaté Solà <msabate@suse.com>"},"comment":{"url":"https://api.github.com/repos/SUSE/Portus/issues/comments/142595585","html_url":"https://github.com/SUSE/Portus/pull/363#issuecomment-142595585","issue_url":"https://api.github.com/repos/SUSE/Portus/issues/363","id":142595585,"user":{"login":"mssola","id":767943,"avatar_url":"https://avatars.githubusercontent.com/u/767943?v=3","gravatar_id":"","url":"https://api.github.com/users/mssola","html_url":"https://github.com/mssola","followers_url":"https://api.github.com/users/mssola/followers","following_url":"https://api.github.com/users/mssola/following{/other_user}","gists_url":"https://api.github.com/users/mssola/gists{/gist_id}","starred_url":"https://api.github.com/users/mssola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mssola/subscriptions","organizations_url":"https://api.github.com/users/mssola/orgs","repos_url":"https://api.github.com/users/mssola/repos","events_url":"https://api.github.com/users/mssola/events{/privacy}","received_events_url":"https://api.github.com/users/mssola/received_events","type":"User","site_admin":false},"created_at":"2015-09-23T13:14:17Z","updated_at":"2015-09-23T13:14:17Z","body":"Mandatory screenshots:\r\n\r\nToggling `use_ssl`:\r\n![ssl](https://cloud.githubusercontent.com/assets/767943/10045819/ae17948e-6205-11e5-8f83-e9a4207a3d07.png)\r\n\r\nThe modified form for creating a registry:\r\n![ssl1](https://cloud.githubusercontent.com/assets/767943/10045820/ae187476-6205-11e5-9f94-02afd4975af8.png)\r\n"}}