{"action":"opened","issue":{"url":"https://api.github.com/repos/RedHatInsights/insights-host-inventory/issues/51","repository_url":"https://api.github.com/repos/RedHatInsights/insights-host-inventory","labels_url":"https://api.github.com/repos/RedHatInsights/insights-host-inventory/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/RedHatInsights/insights-host-inventory/issues/51/comments","events_url":"https://api.github.com/repos/RedHatInsights/insights-host-inventory/issues/51/events","html_url":"https://github.com/RedHatInsights/insights-host-inventory/issues/51","id":385236981,"node_id":"MDU6SXNzdWUzODUyMzY5ODE=","number":51,"title":"Allow unauthenticated routes","user":{"login":"Glutexo","id":1161096,"node_id":"MDQ6VXNlcjExNjEwOTY=","avatar_url":"https://avatars1.githubusercontent.com/u/1161096?v=4","gravatar_id":"","url":"https://api.github.com/users/Glutexo","html_url":"https://github.com/Glutexo","followers_url":"https://api.github.com/users/Glutexo/followers","following_url":"https://api.github.com/users/Glutexo/following{/other_user}","gists_url":"https://api.github.com/users/Glutexo/gists{/gist_id}","starred_url":"https://api.github.com/users/Glutexo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Glutexo/subscriptions","organizations_url":"https://api.github.com/users/Glutexo/orgs","repos_url":"https://api.github.com/users/Glutexo/repos","events_url":"https://api.github.com/users/Glutexo/events{/privacy}","received_events_url":"https://api.github.com/users/Glutexo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-28T12:05:19Z","updated_at":"2018-11-28T12:05:19Z","closed_at":null,"author_association":"COLLABORATOR","body":"There are at least two reasons why we need to allow unauthenticated routes:\r\n\r\n* A health check endpoint for the health probe (#46)\r\n* The Swagger UI Console\r\n\r\nTo be compliant with the OpenAPI specification file and to avoid ugly hacks for the Swagger UI, authenticated operations must be explicitly marked. All other ones are considered not requiring the identity header.\r\n\r\nSteps:\r\n\r\n* [ ] Support unauthenticated operations (#50)\r\n* [ ] Allow a creation of additional operations in tests (#45)\r\n* [ ] Test unauthenticated operations (_No pull request yet_)\r\n* [ ] Mark the unauthenticated operations automatically by the OpenAPI specification (_No pull request yet_)\r\n\r\nPull requests:\r\n\r\n* [ ] #50 **ready for a review**, without functional tests\r\n* [ ] #45 **ready for a review**, will allow having functional tests for #50\r\n"}}
{"actor":{"display_login":"Glutexo"}}